One question on ColorSpace usage via SDk

Hi,
If particular element uses ColorSpace - then I see structure like this:
/CS0 cs 0 scn
Is it possible via PDE layer to change that 0 value to 1 right after "cs" token? Or do I need again to dive into Cos?

Hi Aandi,
After doing all those tests - I've actually found that PDEElementCopy works with an ERROR!
I've used CosStream to see what is inside my PDEContainer's PDEContent before PDEElementCopy operation:
origContent(Indir 30 0 R)
origContent(InDir Stream::)**
Stream offset: 62145; Stream length: 410
(Dir dict::)**
TAG: (Dir name - value == Length)
(Dir integer - val == 410)
q
0 283.465 283.465 -283.465 re
W n
q
1 0 0 1 -8.8535004 134.4385071 cm
/CS0 cs 1 scn
1 i
/GS0 gs
0 0 m
0 82.438 66.83 149.268 149.267 149.268 c
231.705 149.268 298.535 82.438 298.535 0 c
298.535 -82.438 231.705 -149.267 149.267 -149.267 c
66.83 -149.267 0 -82.438 0 0 c
f
Q
Q
q
23.846 48.562 160.373 160.37 re
W n
q
0 g
1 i
/GS0 gs
-160.3720093 0 0 160.3720093 184.2041016 128.7929688 cm
BX /Sh0 sh EX Q
Q
And after:
copyContent(Indir 31 0 R)
copyContent(InDir Stream::)**
Stream offset: 62555; Stream length: 393
(Dir dict::)**
TAG: (Dir name - value == Length)
(Dir integer - val == 393)
q
0 283.465 283.465 -283.465 re
W n
q
1 0 0 1 -8.8535004 134.4385071 cm
/CS0 cs 1 scn
1 i
/GS0 gs
0 0 m
0 82.438 66.83 149.268 149.267 149.268 c
231.705 149.268 298.535 82.438 298.535 0 c
298.535 -82.438 231.705 -149.267 149.267 -149.267 c
66.83 -149.267 0 -82.438 0 0 c
f
Q
Q
q
23.846 48.562 160.373 160.37 re
W n
q
-160.3720093 0 0 160.3720093 184.2041016 128.7929688 cm
BX /Sh0 sh EX Q
Q
As you could see in copy version we have an absence of these lines:
0 g
1 i
/GS0 gs
Why??? I don't know. Maybe it's a bug in SDK... So that was workarounded with CosStreams instead.
Now in regards to CosStream "attach" - for me it was not obvious (from API documentation and samples code) if I could create PDEContainer's PDEContent from CosStream as well, but now I have:
myNewContent = PDEContentCreateFromCosObj (&cStmObj, &oTmpRes);
PDEContainerSetContent(myNewContainer, myNewContent);
and it works perfectly for me.
Now in regards to that "/CS0 cs 1 scn" sequence - you could see it inside my initial CosStream. So while I wanted to create new special marks with SPOT color - I needed to preserve that as well. And didn't find how besides again CosStream tokens parcing and replacing 0 to 1 where needed. I hope there is a better way for that...
Does all of that clarify my thoughts?
Andrejus

Similar Messages

  • Is it possible to track a stolen ipods usage via serial number

    Is it possible to track a stolen ipods usage via serial number

    No. The SN will only help identify the iPod as yours if it is recovered
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it unless you had iOS 7 on the device. With iOS 7, one has to enter the Apple ID and password to restore the device.
    - Apple will do nothing without a court order                                                        
    Reporting a lost or stolen Apple product                                               
      - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • Question about openning files using SDK 10.

    I have written a Plug-In for SDK 9 that works wonderfully. One of the functions is for the user to be able to page (Next/Previous) between PDF files on our server. This functionality now longer works without crashing Acrobat 10. All I am doing is creating the URL path to the next/previous PDF, creating a CustomFileSys with the path and calling AVDocOpenFromFile.
    Does this no longer work with Acrobat 10 SDK?
    Thanks!

    Should work fine, AFAIK.
    For this level of issue, I would open a formal support request with developer support.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Mon, 10 Oct 2011 08:51:08 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Question about openning files using SDK 10.
    Question about openning files using SDK 10.
    created by Greggars<http://forums.adobe.com/people/Greggars> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3963065#3963065

  • Approval Request via sdk

    Dear all,
    I create a purchase order via SDK. I created approval templates and assigned to Purchase order documents. But, In SDK, it does not work. It creates purchase order without checking the approval templates.
    I am using Sap Business One V 9.0. Is it possible to check and send approval request via SDK?
    Regards,
    Manikandan

    Hi,
    Is the issue is resolved.
    If yes,please close the thread.
    Regards,
    Prasad

  • Tracking "Draw document wizard" via SDK for Copying details 1form to other

    hi all,
               is it possible in SAP B1 to use copy from button in User defined form via SDK and use the Draw document wizard.
    let me explain.
                  we have two User form , one Request Form and other Completion Form. we have kept a "Copy Form" button in Completion Form, is there any possibility to copy the required data from the one Request Form to the  Completion Form using Draw document wizard.
    which we can see in GRPO in SAP B1.
    kindly revert back with a solution, its very urgent
    regards
    sandip

    Dear Sandip,
    Going by the description here, I could suggest you a way around of keeping the required(from Form Request ) data in a temp storage like variables etc and then to use those variables in the new form (Form Completion).
    Regrads
    Arshdeep

  • Multiple fill blank objects on one question slide?

    Hellou CP users, is it possible to put multiple fill blank objects on one question slide? And if, how can I manage them for quiz reporting and correct results?
    Yarik

    I think indeed that you want a score for each fill-in-the-blank object, and that is not possible with the default FIB question slides. Only MCQ has partial scoring.
    With TEB's and advanced actions that is possible. Also with the TextArea widget, as I explained in this blog post:
    http://blog.lilybiri.com/widgets-and-custom-questions-part-2
    http://blog.lilybiri.com/extended-textarea-widget-more-functionality
    TEB's have the advantage that as interactive objects, you can attach a score to them which is not the case for the TextArea widgets. But I would recommend getting Jim Leichliter's enhanced version of the TEB's as well, so that you can control what is shown in the TEB if you want to create a question with multiple attempts. I have described a use case recently in these forums but cannot remember exactly which thread. Jim's widget is free:
    http://captivatedev.com/2012/09/16/adobe-captivate-6-x-free-widget-text-entry-box-with-var iables/

  • My form has a list of yes or no questions.  I want to use either cheboxes or radio buttons.  I can't make it work.  When I check yes for one question, it marks all yes answers for all other questions.  If I mark some radio buttons to answer, it unmarks la

    My form has a list of yes or no questions.  I want to use either cheboxes or radio buttons.  Unfortunatly I can't make it work.  When I check yes for one question, it marks all yes answers for all other questions.  If I mark some radio buttons to answer, it unmarks later.  Need immediate help!!!

    Is it that you are using a PDF-based form? Did you copy and paste the Yes/No fields all the way down your form? If so, then all of the yes/no boxes are copies of each other and have the same name and properties in the PDF.
    For example, if you had:
         Question 1 and Question 1 Yes/No checkboxes
         Question 2 and Question 1 Yes/No checkboxes
         Question 3 and Question 1 Yes/No checkboxes
         Question 4 and Question 1 Yes/No checkboxes
    Then whatever answer you selected in Question 1 would populate down through the rest of the form.
    Changing the Yes/No field properties in questions two through four would eliminate the problem.
    I hope that helps,
    Brian

  • Can we ask more than one question at a time in Quick Poll?

    Dear Experts,
    Can we have more than one question at a time in Quick Polling.
    The User has to answer more than one question in single poll.
    is that possible?
    Thanks in advance for your attention.
    Regards,
    Viswes.

    Hi Viswes,
    Through customize u can achieve ur requirement..
    Create two Quickpoll with different campaign name and start ongoing..
    Next create  iview for each quickpoll by using KM QuickPoll iView Template  enter the corresponding campaign name for the quickpoll iview.
    Next create one JspDynPage component in NWDS
    In that JSP file
    <iframe  src="Give the preview path of Quickpoll iView 1" align="left" >
    </iframe>
    <iframe  src="Give the preview path of Quickpoll iView2 " align="left" >
    </iframe>
    Now u create one iview for that JspDynPage component
    in that two Quickpoll question will display in one iView..
    Points are welcome if its helpful
    Regards
    Thillai

  • HT204350 Hey, migration from an old mac late 2008 aluminium to a brand new mac book air. Only the new one has firewire. Transmissiom via wifi estimates ~50h. Is there a faster Way to sync? Tanks in advance

    Hey, migration from an old mac late 2008 aluminium to a brand new mac book air. Only the new one has firewire. Transmissiom via wifi estimates ~50h. Is there a faster Way to sync? Tanks in advance

    I'll venture that your problem here is that you're using two very different versions of Mac OS X.  The USB adapter has been useful to me when making big downloads or while using other networks, but it might not be your case. 
    Here's what I would advise, though it may be less than stellar:  Copy the files you need into folders and move them through a USB flash drive or using that external hard drive of yours. (Could the format be the reason your MBA can't see it?). Some stuff like calendars and contacts can be exported too. At least in Lion, I haven't used Tiger in a while. 
    Good luck.

  • One question about Pricing and Conditions puzzle me for a long time!

    One question about Pricing and Conditions puzzle me for a long time.I take one example to explain my question:
    1-First,my sale order use pricing procedure RVAA01.
    2-Next,the pricing procedure RVAA01 have some condition type,such as EK01(Actual Costs),PR00(Price)....,and so on.
    3-Next,the condition type PR00 define the Access Sequences PR00 as it's Access Sequences.
    4-Next,the Access Sequences PR00 have some Condition tables,such as:
         table 118 : "Empties" Prices (Material-Dependent)
         table 5 : Customer/Material
         table 6 : Price List Type/Currency/Material
         table 4 : Material
    5-Next,I need to maintain Condition tables's Records.Such as the table 5(Customer/Material).I guess the sap would supply one screen for me to input the data of table 5.At this screen,the sap would ask me to select one table,such as table 5.When I select the table 5,the sap would go to the screen to let me input the data of table 5.But when I use the T-CODE VK31 or VK32 to maintain Condition tables's Record,I found it's total different from my guess:
    A-First,I can not found one place for me to open the table,such as table 5,to let me input the data?
    B-Second,For example,when I select the VK31->Discounts/Surcharges->By Customer/Material,the sap show the grid view at the right side.At the each line of the grid view,you need to select the Condition Type at the first field.And this make me confused very much.Why the sap need me to select one Condition Type but not the Condition table?To the normal logic,it ought not to select Condition table but not the Condition Type!
    Dear all,I'm a new one in sd.May be this is a very stupid question.But it did puzzle me for a long time.If any one can  explain this question in detail and let me understand the concept,I will appreciate him/her very much.Thank you.

    Hi,
    You said that you are using the T.codes VK31 or VK32.
    These transaction codes are used to enter condition records for standard condition types. As you can see a grid left side having all the standard condition types like price, discounts, taxes, frieghts.
    Pl check using T.code VK11 OR VK12 (change mode)
    Here you can enter the required condition type, in the intial screen. (like PR00, MWST, K004, K005 .....etc)
    After giving the condition type, press enter or click on Combinations icon on top of the screen. Then you can see all the condition tables which you maintained for that condition type. Like as you said table 118, table 5, table 6 and table 4.
    You can select any table and press enter, then you can go into the screen in which you have all the field cataglogues you maintained for that table. For example you selected combination of Customer/Material (table 5) then after you press enter then you can see customer field on top, and material fields.
    You can give all the required values and save the conditon record.
    Hope this is clear.
    REWARD IF HELPFUL.
    Regards,
    praveen

  • Can We enter Sales Invoice and Incoming Payment VIA SDK

    Dear Experts
    We have to develop an integration bridge with retrieve data from excel sheet and upload in SAP , i want to clear is it possible to enter sales invoices and incoming payment via SDK?. If it is possible please guide me about objects name and any reading material for SDK development.
    Thanks

    Hello,
    Yes it is possible with 2 steps:
    1. you post the invoice
    2. you post the payment
    I have already posted into the forum several examples, you may check them:
    For invoice + payment
    for payment only:
    Regards
    János

  • Where Clause - Modification via SDK

    Good morning,
    We are currently experiencing quite a large performance impact as our record selection formulas, and parameters are not hitting our database (in where clause) and therefore a large amount of data is being pulled back and then filtered out at the report level. Was hoping someone might be able to provide some information on how we could either dynamically append to the where clause via sdk, or devise optional workaround to make sure our selected parameters are passed to the db.
    Environment
    Solaris, with custom User Interface that passes information to crystal reports via SDK. Crystal Reports (2008) with Universe as datasource.
    Thanks,
    Ian S

    Good morning,
    We are currently experiencing quite a large performance impact as our record selection formulas, and parameters are not hitting our database (in where clause) and therefore a large amount of data is being pulled back and then filtered out at the report level. Was hoping someone might be able to provide some information on how we could either dynamically append to the where clause via sdk, or devise optional workaround to make sure our selected parameters are passed to the db.
    Environment
    Solaris, with custom User Interface that passes information to crystal reports via SDK. Crystal Reports (2008) with Universe as datasource.
    Thanks,
    Ian S

  • I just buy a Macbook pro, I have one question that when I use it at home, it is better to plug in AC power cord, or just use teh inernal battery withour AC power?

    I just buy a Macbook pro as a new MAC user. I conceren about internal battery life much. So I have one question that for battery life concern, it is better to use Macbook without AC poower in? or using AC power is better?
    Thanks, welcome anyone who can give me good sugegstion.
    Stephen
    22 Sep. from Taipei
    < Edited By Host >

    Either way is fine.
    About Batteries in Modern Apple Laptops
    Apple - Batteries - Notebooks
    Extending the Life of Your Laptop Battery
    Apple - Batteries
    Determining Battery Cycle Count
    Calibrating your computer's battery for best performance
    MacBook and MacBook Pro- Mac reduces processor speed when battery is removed while operating from an A-C adaptor
    Battery University

  • One question I am looking for help with is, when you hit the history button I want my last fifty pages to show up instead of just fifteen. Is it possible to

    one question I am looking for help with is, when you hit the history button I want my last fifty pages to show up instead of just fifteen. Is it possible to change that setting?
    TY

    The History menu can only show that fixed maximum of 15 as that is hard coded.
    Maybe this extension helps:
    *History Submenus Ⅱ: https://addons.mozilla.org/firefox/addon/history-submenus-2/

  • Hi there.  I have a MBP w/ 10.8.5 and an iPad 2 w/ 6.1.3; can I communicate from one device to the other via FaceTime without having to create another apple id?  Thanks in advance for your time and consideration!

    Hi there.  I have a MBP w/ 10.8.5 and an iPad 2 w/ 6.1.3; can I communicate from one device to the other via FaceTime without having to create another apple id?  Thanks in advance for your time and consideration!

    Hi there.  I have a MBP w/ 10.8.5 and an iPad 2 w/ 6.1.3; can I communicate from one device to the other via FaceTime without having to create another apple id?  Thanks in advance for your time and consideration!

Maybe you are looking for

  • How To Restrict Number Of Rows For Multiple Group In Report Output

    Hi , I have a requirement to restrict number of rows in report output.I have three different group , if i use same no of rows to restrict then output is as expected but if i want Deduction group should have 7 rows , earning should have 5 rows and Tax

  • Why does my lock screen glow green?

    Why does my lock screen glow green? It does it quite often, no affects on  the phone.

  • Error 200140 and 200278 in Finite Retriggerable Encoder Triggered Sampling

    Hello, I have been using a rotary encoder to trigger a retriggerable sampling task. The encoder will give a pulse once per revolution and this will cause Labview to generate a finite pulse train which will be used to sample an analogue channel. The p

  • Getting Error when log-out from Portal

    Hello, Sometimes when I log out from Oracle Portal (by clicking the link "Log Out"), I am getting the following error. Can someone tell me why I am getting this error? Thanks in advance Jay Wed, 20 Dec 2000 04:36:01 GMT ORA-00164: autonomous transact

  • Help me understand how to move pdf's between iPad and MacBook.

    I use the iPad 2 as a electronic reader of research articles.  When reviewing this material I desire to keep the annotations I make to the pdf via the PDFReader app.  I review enough material that I need the MacBook as a storage space.  But I haven't