How to identify whether a page is color page or monochrome page?
Could anyone tell me how to identify whether a page is color page or B/W page. I'm creating a plugin.
I tried using the following code
HDC hdcMem = CreateCompatibleDC(NULL);
if(!hdcMem){
PDPageRelease(objPDPage);
return FALSE;}
char *palette = (char*)malloc(4);
ASFixedMatrix matrixFlipped;
PDPageGetFlippedMatrix(objPDPage,&matrixFlipped);
char *palette = (char*)malloc(4);PDPageDrawContentsToWindow(objPDPage,(void*)NULL,(void*)hdc,false,&matrixFlipped,(ASFixedRect*)NULL,NULL,NULL);
if(PDPageGetPalette(objPDPage,(void*)hdc,palette)){
here the PDPageGetPalette always returns false.
I don't know whats wrong in the code. Please help me.
Any other simpler way to active my task would be appreciable.
Thanks in advance.
HDC hdcMem = CreateCompatibleDC(NULL);
char*palette = (char*)malloc(4);
ASFixedMatrix matrixFlipped;
PDPageGetFlippedMatrix(objPDPage,&matrixFlipped);
PDPageDrawContentsToWindow(objPDPage,(void*)NULL,(void*)hdc,false,&matrixFlipped,(ASFixedRect*)NULL,NULL,NULL);
if(PDPageGetPalette(objPDPage,(void*)hdc,palette))
here the PDPageGetPalette() always returns false. Whats wrong with the code?
I want to check the palette values.
Please help.
Similar Messages
-
How to identify whether a multiline container is empty or not in Workflow?
Hi Experts,
Does any1 know how to identify whether a multiline container
is empty or not in a workflow?
Thanks.
Points wil be rewarded.
VincentDear Vincent,
You can get the report name for the Business Object which contains the multi-line container, from the BO itself. Put a break-point in the report and try executing the workflow. The multiline container is like an internal table in the report. See if the internal table is initial while execution.
Regards,
Michael. -
How to identify whether any data source is created for a table?
hi all,
How to identify whether any extractions is been carried out for a particular table, view or function module(generic extraction)? from r/3.
bcos i need to create an extraction for a table, view and function module. But iam not sure whether any extractions is already been created for those tables, view, function modules??
thanxs
harithaHi,
By passing the following values as selection to table ROOSOURCE we can find whether any data source has been created or not .
EXMETHOD = V
EXTRACTOR = Table name
hope it helps..
regards,
raju -
How to identify whether a TCode is for SAP query or for a customized TCode
Hi,
We have a list of TCodes starting with Y_*
Some of these TCodes could be related to SAP Queries and some could be real custom transactions. How do I find out which one of those are related to SAP queries and which ones are related to custom SAP transactions?
I have already checked table TSTC for the program names of these Transactions, but the program name field (PGMNA) is blank. Also in TCode SE93 the transaction mentioned is START_REPORT. Also for some, when I go to the transaction (Y_*) and then environment->status to check the program name the values found are something like AQ11FI==========F10A==========.
Please help on how to identify whether a TCode is actually for an SAP query or for a customized transaction.
Thanks in advance.
MickThanks Anil.
In TSTC, the filed for program name is blank. Therefore I would have to go to each and every transaction (I have around 250 Y_* TCodes with me) and then to environment->status to get the program name and then check whether it is A......
Is there any easier way to know whether a TCode refers to an SAP query or a custom developed transactions/program.
Mick -
How to identify whether the data extracted is direct, queued, unserialized
hi,
how to identify whether the data extraction from r/3 is direct, queued and unseralized data.
can anyone let me know abt it
regds
harihI,
Direct Delta: With this update mode, the extraction data is transferred with each document posting directly into the BW delta queue. In doing so, each document posting with delta extraction is posted for exactly one LUW in the respective BW delta queues.
This update method is recommended for the following general criteria:
a) A maximum of 10,000 document changes (creating, changing or deleting documents) are accrued between two delta extractions for the application in question. A (considerably) larger number of LUWs in the BW delta queue can result in terminations during extraction.
b) With a future delta initialization, you can ensure that no documents are posted from the start of the recompilation run in R/3 until all delta-init requests have been successfully posted. This applies particularly if, for example, you want to include more organizational units such as another plant or sales organization in the extraction. Stopping the posting of documents always applies to the entire client.
Queued Delta: With this update mode, the extraction data is collected for the affected application instead of being collected in an extraction queue, and can be transferred as usual with the V3 update by means of an updating collective run into the BW delta queue. In doing so, up to 10000 delta extractions of documents for an LUW are compressed for each DataSource into the BW delta queue, depending on the application.
new queued delta
This update method is recommended for the following general criteria:
a) More than 10,000 document changes (creating, changing or deleting a documents) are performed each day for the application in question.
b) In future delta initializations, you must reduce the posting-free phase to executing the recompilation run in R/3. The document postings should be included again when the delta Init requests are posted in BW. Of course, the conditions described above for the update collective run must be taken into account.
Non-serialized V3 Update:With this update mode, the extraction data for the application considered is written as before into the update tables with the help of a V3 update module. They are kept there as long as the data is selected through an updating collective run and are processed. However, in contrast to the current default settings (serialized V3 update), the data in the updating collective run are thereby read without regard to sequence from the update tables and are transferred to the BW delta queue.
unserialized v3 update
This update method is recommended for the following general criteria:
a) Due to the design of the data targets in BW and for the particular application in question, it is irrelevant whether or not the extraction data is transferred to BW in exactly the same sequence in which the data was generated in R/3.
take a look Roberto's weblog series
/people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
/people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
/people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
/people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis
https://weblogs.sdn.sap.com/pub/wlg/126 [original link is broken] [original link is broken] [original link is broken]
doc
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
and oss note 505700
Re: delta methods
go throuth the previous thread
Delta types
hope it helps.. -
How to identify, whether your iphone is permanently unlocked or not?
How to identify, whether your iphone is permanently unlocked or not?
gautam30 wrote:
How to confirm?
Did you not read wjosten's reply? -
How to identify whether my query is been already transported or not?
Hi all,
How to identify whether any transport request are created for my query. And also how to identify whether the query in the production is been transported to the QA.
Thanxs
HarithaHi haritha,
Once the request is generated u can write the request number and chk in the other server STMS ...if u find the request thr ur transportation should be sucessful
chk this link...
http://help.sap.com/saphelp_nw04/helpdata/en/b5/1d733b73a8f706e10000000a11402f/content.htm
It is very simple ,
Goto RSA1> Trasport connections> drag & drop ur query to right side panel--> observe the coulmns ( pakage column ) --> If the pakage is $TMP u can sy that that perticular query is not transported ---> If it other than $TMP ( That query has Transported alreay).
Assign points if helpful
Cheers
Raj -
How to identify whether Technical Content is been installed or not?
Hi all,
Can anyone let me know how to identify whether technical content in BW 3.5 is been installed or not?
thanxs
harithaHi Haritha,
Check this PDF,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90080703-4331-2a10-cd98-9c1e95acdea0
And this link also,
http://help.sap.com/saphelp_nw04/helpdata/en/e5/2d1e3bd129be04e10000000a114084/frameset.htm
Hope this clears your doubt... -
How to Identify whether string contains only numbers
Hi Experts,
How to identify whether a string contains only numbers...
Thanks & Regards,
Neeraj.Hi Neeraj,
ISNUMERIC(String_Field)
The above function returns '0' for non-numerics and
'1' for numeric
Hope this helps.
Regards,
Bala -
How to identify whether that particular process chain is active or not?
Hi all,
How to identify whether that particular process chain is active or not ?
thanxs
harithaIf see the process chain then it will not be greyed out if it is active. Or else check in these tables.
RSPCCHAIN
RSPCCHAINT
to check the logs
RSPCLOGS
RSPCPROCESSLOG
Give the chain name and check in the object version.
Khaja -
How to identify whether a TransientVO value has been changed or not on jsff
Hi
I have a TransientVO view object dragged onto jsff page. Is there any way to identify in backing bean or in Application Module to identify whether there is any attribute value has been modified or not?
Thanks in advance !!Hi:
My understanding is that's ADF's internal business to keep track of RowSet changes. In your code, it's not expensive to explicitly call commit OperationBinding. When your code issue an explicit commit, ADF will check if a real commit necessary or not. If any row or attribute changed, a real commit will happen.
If your application really want to get notified when any attribute changes, and you feel it too much to implement a valueChangeListener for every inputText, you should try a more generic one: rowUpdated(). I never use this one, but according to the manual, your probably can set a flag in your overwritten rowUpdated to flag an attribute value change when it happens.
But I really recommend you simply issue a commit and let ADF decide the necessity of a real commit. If you are really interested in which specific field changes, to me you have only 2 options, 1 is to do valueChangeListener, the other is try to figure out if rowUpdated() helps.
If you feel my answer helps, please mark it as 'helpful'; If it is correct, please mark it as 'correct'.
Thanks,
Alex -
How to check whether a page is published?
Hi
I have a requirement where i need to check a page and print its published date only if the page is published and active. How can i acheive this exactly? What properties in the CRX exactly will tell me if the page is in published state or not?
Thanks
VeenaHi Veena,
On the Publish server you can run the below query to see what Pages where activated during the dateTime range you need. Change the xs:dateTime values based on the date range that you need.
====
/jcr:root/content//*[@jcr:created >= xs:dateTime('2013-04-09T00:00:00.000+02:00') and @jcr:created<= xs:dateTime('2013-04-11T00:00:00.000+02:00') and jcr:primaryType='cq:PageContent']
====
Please note the filter - jcr:rimaryType='cq:PageContent' - in the query. Use this if you only want to check for the pages that got activated. You can remove this filter if you want to check for all content (like images, etc) that got activated.
The results of this query should give you a list of everything that is currently residing on the Publish within a date range when they were activated.
Hope this helps.
Thanks
Ameeth -
How To Identify An Illustrator File's Color Profile?
Hello,
I cannot seem to find where to ID an Illustrator (AI) file's assigned color profile (CS6). I looked in Bridge's Metadata panel, the File Info inside Illustrator, but don't see a color profile anywhere. I can bring up the "assign profile" dialog but it doesn't reveal what the CURRENT color profile is.
Any hints?At the bottom of the document window where it reads the currenty used tool or the number of back steps, you can also select to show the color profile
-
Hi everyone!
I've bought unlocked iphone 5s from official reseller in my country (major mobile operator) and have a question:
Is there an authentic way to identify that the phone was not jailbreaked?First ,what makes you think it could be hacked
There may be telltale "apps" showing or the iPhone will react strangely
Purchased from Whom and Where -
How to identify whether my nokia n8 is genuine pro...
i've purchased n8 two days back and its video quality is not upto the mark compared to 5800. im getting doubt whetther i got defect piece or wat? so please help for the identification of genuine product
http://europe.nokia.com/support/search?page=2&fullcontent=true&cat=support&cnt=1&qt=fake+phone
--------------------------------------------------------------------------------------------------------------------------------------------------------If you find this helpful, pl. hit the White Star in Green Box...
Maybe you are looking for
-
Cannot print file to network drive.
Hello...I've searched the forum and have not seen this specific question. My company recently upgraded to Windows 7 and we use Acrobat X. When we print from something such as Outlook, Word, notepad, etc., then select Adobe PDF as the printer...then
-
JCos (Java Connectors) from one GRC server to multiple clients on same DEV
I have installed SAP GRC Access Controls RAR on a server. I have connected the RAR using JCo's to a client (800) on a DEV R/3 (4.7) box. I have also performed analysis succesfully on the roles and users in this DEV client. I now have another develop
-
Hello. Is it me or does the newly updated Adobe Reader v10.1.3 does not load from Firefox v3.6.28 in Mac OS X 10.5.8? This is after I click on any PDF links on a web site. Safari had no problems though! Thank you in advance.
-
Third party software in transferring songs from ipod back to pc
my computer crashed and i lost all of my songs on my pc, i heard that we can put back all the songs stored in ipod back to pc, using a third party software. do you guys think this is the best way to do it? what are the list of software? i tried doing
-
Please can somebody help, i hvae only had this new ipod since christmas just gone.