Why would a newly-created OCMD not be written to the PDF?

I'm concatenating a content stream from a second PDF onto the page content stream of a first PDF. Graphics and structure are working fine, but optional content is failing because the OCMDs I'm creating are being written as free objects.
The function is passed an element from the second PDF's content stream. If the element is a container, the following is executed. I'm leaving out steps related to structure, because it works. Graphics also work. Even newly-created OCGs make it into the output PDF. I'm guessing the OCMD isn't written because there is no reference to it? But  I though the PDEContainerCreate() call would create that reference.
1. Create an OCG with PDOCGCreate().
2. Create an OCMD with PDOCMDCreate(). The OCG is set to control the OCMD.
3. Create new container with PDEContainerCreate(), passing the new OCMD.
4. Check the CosID of the OCMD.
5. Create new content with PDEContentCreate().
6. Assign the new content to the new container with PDEContainerSetContent().
7. Add the container to the first PDF's content stream with PDEContentAddElement().
8. Add all the sub-elements of the element from the second PDF to the new container.

Things are always clearer in the light of morning. Passing false for the inline argument to PDEContainerCreate() is the cause.

Similar Messages

  • Wageytypes which are newly created  are not showing up in the prod.server

    Hi Experts,
    I have newly created 2 new wagetypes.
    1.Arrears on housing loan subsidy  2,arrears on Vehicle loan subsidy
    They are properly showing up in Dev server and properly transported to Quality Server.IN Quality server also it is popping the new wagetypes through Infotype 0015 and system is calculating properly.
    But in Production server i am unable to see the newly created wagetypes through pa30.It is showing the message that """Specified subtype is Invalid""
    What could be the problem.Please advice me to sortout the problem.
    Regards,
    Sai.

    Hi Sai,
    Go to SE09 in the DEV system and search for the transport request that was created when you created the new wage types.
    Click on the transport request and press the transport log icon (second icon from right on the menu) OR choose CtrlShiftF2.
    This will display the details of all the activities performed with the transport request. As you have mentioned, the wage types are available in the QAS system, there should be an entry which says 'Import' for the QAS system.
    If the tranport has been applied to the production system, then the same entry should be seen under the Productions system node. If you only find an entry that says 'Selection for Import', then the tranport has not been applied OR if there are any errors, the same will be highlighted in the log.
    I hope this makes sense since it is difficult to explain the steps to analyse a transport request in a message. Let us know how it goes.
    -Akshay

  • Why would my creative cloud trial not run on a mac?

    I have downloaded the trial and done the troubleshooting recommendations but when i have downloaded my trial and open my download assistant about half way through my installation abox appears saying that a file could not be found, I have tried it mutliple times but it will still not run. I have mountain lion if that effects anything?

    hi i do not have a home/library/logs folder as it is a mac?
    Date: Mon, 29 Oct 2012 05:51:57 -0600
    From: [email protected]
    To: [email protected]
    Subject: why would my creative cloud trial not run on a mac?
        Re: why would my creative cloud trial not run on a mac?
        created by Amit Batra in Adobe Creative Cloud - View the full discussion
    We officially support Mountain Lion, so that shouldn’t be the issue. Can you please do the following: Please place a blank file named asu.trace in $HOME/Library/Logs folderLaunch Adobe Application Manager and initiate the download/install of any application that you expect to failAfter the failure, send us the following files as e-mail attachments (abatra AT adobe.com):
    $HOME/Library/Logs/PDApp.log$HOME/Library/Logs/AdobeDownload/DLM.log$HOME/Library/Logs/Ado beDownload/DLM_Native.log
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4807625#4807625
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4807625#4807625
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4807625#4807625. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Creative Cloud by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • I've just bought online converter and tried to convert my first pdf to excel and it hasn't created a file anything simialr to the pdf table? any ideas why??

    i've just bought online converter and tried to convert my first pdf to excel and it hasn't created a file anything simialr to the pdf table? any ideas why??

    Hi Tony,
    Would it be possible to share the pdf so that I can test it at my end.
    email me at < [email protected]  >
    Regards,
    Rave

  • Why iPhone 6 Plus sound microphone not working, but in the case of sound recordings in conversation mode work?

    Why iPhone 6 Plus sound microphone not working, but in the case of sound recordings in conversation mode work?

    Sighhhh, wasted so much time yesterday and today going around Sony centre and then carphone warehouse. They told me to come back after Easter.
    I came home, banged the phone against the wall and it worked.
    Turned out that mic was working on loud speaker and when using headphones so I thought that the secondary mic is working and the main one (placed with the speakers) isn't. So I banged that part against the wall slightly (in plastic case to prevent scratches) then put the phone underwater, waited for it to dry and now it's working. Idk how well and if it's of perfect quality again but people can hear me well.

  • Why can't I create a gallery in iPhoto in the normal way who in the past? If I sent the gallery to another the pictures are deleted!

    Why can't I create a gallery in iPhoto in the normal way who in the past? If I sent the gallery to another the pictures now will be deleted!

    Before anyone can help, they need information to work with. Basic stuff:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. What were you doing when the problem arose?
    - Did it ever work properly?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    Anything else you can think of that might allow someone else to understand your issue.

  • Why would I get a bright green vertical line down the center of my screen after playing a game?

    Why would I get a bright green vertical line down the middle of my screen after playing a game?

    Hi @DustMidnight85 
    Welcome to the HP Forums!
    It is a wonderful  place to find answers and  information!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp that you are having an issue with the display but if you adjust the position of the display it disappears.
    Here is a link to Display Quality Issues that may help.
    As you stated it goes away when you reposition the display the connection cable may have become  loose or damaged from opening and closing the display.
    Here is a link to the  HP Pavilion 14 Notebook PC, HP Pavilion 14 Touchsmart Notebook PC, HP Pavilion 14 Touchsmart Ultrabo.... Chapter 4 page 36 has removal instructions that may assist you in checking for that problem.
    If your notebook is in warranty or you would like help please contact HP support for assistance.
    Please call our technical support at 800 474 6836. If you live outside the US/Canada Region, please click the link below to get a support number for your region.
    World Wide Phone Support
    Best of Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Why can my 8500 A Plus not download forms from the web?

    Why can my 8500 A Plus not download forms from the web?

    Hey indianadave,
    Are you're apps working from the front panel of the printer? You will want to make sure that you have internet connection to your printer. If you don't, you can follow these steps:
    1. Find your printer's IP address.
    2. Enter the IP address in the address bar of your internet browser.
    3. Click the network tab.
    4. Click IPv4 under the wireless/wired menu on the left hand side of the printer screen.
    5. Set Manual settings.
    6. Set a Manual preferred DNS of 8.8.8.8 and alternate DNS of 8.8.4.4.
    7. Click apply and try downloading the forms again.
    Although I am an HP employee, I am speaking for myself and not for HP.
    If I have resolved your issue, feel free to provide Kudos and make sure you mark this thread as solution provided.

  • I am not able to open the pdf attachments that someone has sent me it comes up with a gray box saying adobe could not open they have sent it a few times in different ways but still can't open it i use windows 7

    I am not able to open the pdf attachments that someone sent me it comes up with a gray box saying adobe cannot open?

    Make sure the pdf has the '.pdf' extension on the file name. I've seen this a few times and adding the extension usually solves the problem.

  • The "portable document format" icon is a Word 2010 icon, so selecting Adobe Reader as action does not work to display the PDF.

    In the Applications tab -- Content Type -- the "portable document format" icon is a Word 2010 icon (not Adobe), so selecting Adobe Reader or preview in Firefox as action does not work to display the PDF. I can see this Applications difference because my other Firefox laptop has the Adobe icon, and I can view PDFs. Essentially, a PDF is coming in as a Word document -- and the computer tries to open it up as a Word file.
    How do I get the correct PDF icon in the Applications list -- the same way it displays (and works) on my other laptop.

    Adobe PDF Plug-In For Firefox and Netscape 10.1.7 ?
    I think you need to add this to the list of applications and the action to take on the type of content. This can also be managed in the about:permissions page. [[Permissions Manager - Give certain websites the ability to store passwords, set cookies and more]]

  • Import Wizard fails to export - object could not be written in the ids-file

    Hello,
    the complete export of the BO environment into a biar-file with the import wizard fails. In the wizard's dialog every option is choosen as "all". When the export is started it stops already in the folder objects. The log file says the object allocation could not be written in the ids-file. So I presume a problem with references.
    In order to figure out which object is responsible for the error I varied the export and finally identified the "repository objects" as the the responsible type of objects. When I now run the export and only use the needed repository objects it works fine.
    But I don't know, if export is complete (I presume it).
    Has anyone a idea what the reason can be for this problem? Can it be fixed in the database? This kind of export did work fine the week before.
    thanks, matthias

    Could you quote the entire error message, word-for-word, verbatim? What Import settings are you using ... Copy, Move, Add?
    Most likely you have a permissions issue, but it will be much more clear to me if I can see the entire message.

  • Newly created Image not listed via REST API

    Hi,
    I have created a image in azure console .Its created successfully and i could see the created image under "Image" tab in console.Also, the image created with the name appending current date, it was not before.But when I am trying to list images by
    using the below REST API its listing images except the newly created images that have the  name appended with current date.
    https://management.core.windows.net/5f2fe4c3-23b3-45c0-a70c-9560b79dcf56/services/images
    header values:
    x-ms-version : 2012-03-01
    Content-Type : application/xml
    Host: management.core.windows.net
    This makes me fail to launch new VM via REST api.I got the response as follows
    <Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>BadRequest</Code><Message>The image vmyffdd-20140605-813455l does not exist.</Message></Error>
    Please look into this.

    hi,
    From the error, your request parameter was incorrect. I guess your image name may be wrong. How did you write your Image name and url? I suggest you don't forget the '.VHD'. Also,if you use the
    VMImageName element which is only available using version 2014-02-01 or higher
    And I suggest you could try this code sample about how to using REST api to create VM :Simple Windows Azure REST API Sample Tool
    Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Newly created index not being used

    Hello friends,
    I am observing that a newly created index on a z table with mandt & a new field is not being used. I have already rebuild index & updated stats for table.
    when we query on this table with where clause having same 2 fields mandt & other.. we expected this index to be used. This table is very large. What more i can do now ?
    In trace/SQL session, we can see it is going full table scan.. and takes very long time.
    this new field contain no data as of now for all existing rows. Is this the reason ? or sometihng else ?
    SQL Statement
    SELECT
    FROM
      "ABSA"
    WHERE
      "MANDT" = :A0 AND "ZABCD" = :A1
    Execution Plan
    Explain from v$sql_plan not possible ->  Explain from PLAN_TABLE is displayed !
    No values in v$sql_plan for Address: 0000000166710240 Hash_value:  3891403872 Child_number:  0 Sql_id:
    SELECT STATEMENT ( Estimated Costs = 905.739 , Estimated #Rows = 110.190.667 )
            1 TABLE ACCESS FULL ZABSA
              ( Estim. Costs = 905.739 , Estim. #Rows = 110.190.667 )
              Estim. CPU-Costs = 152.614.535.266 Estim. IO-Costs = 899.784
              Filter Predicates
    NONUNIQUE  Index   ZABSA~Z01
    Column Name                     #Distinct
    MANDT                                          1
    ZABCD                                         1
    thanks & regards
    ashish
    Edited by: ashish vikas on Mar 3, 2012 9:05 PM

    ashish vikas wrote:
    > Execution Plan
    > Explain from v$sql_plan not possible ->  Explain from PLAN_TABLE is displayed !
    > No values in v$sql_plan for Address: 0000000166710240 Hash_value:  3891403872 Child_number:  0 Sql_id:
    >
    >  SELECT STATEMENT ( Estimated Costs = 905.739 , Estimated #Rows = 110.190.667 )
    >
    >         1 TABLE ACCESS FULL ZABSA
    >           ( Estim. Costs = 905.739 , Estim. #Rows = 110.190.667 )
    >           Estim. CPU-Costs = 152.614.535.266 Estim. IO-Costs = 899.784
    >           Filter Predicates
    >
    > NONUNIQUE  Index   ZABSA~Z01
    > Column Name                     #Distinct
    > MANDT                                          1
    > ZABCD                                         1
    Hi,
    with this WHERE clause, both columns just one distinct value, the Full Table Scan is indded the best approach, beside
    the point you only need a check to evaluate a value is NOT in the result.
    In this case you should HINT the statement to the new index, because the DB will always assume that this index is non-selective.
    Volker

  • Newly created folder not visible in directory tree (Outlook 2013)

    We are using Exchange 2007 on-premise and Outlook 2013 on the client computer.
    When creating a folder in a (very large) existing folder structure from within Outlook, it is not shown in the client. When logging in onto OWA it is visible.
    If we delete the entire client profile and re-create it (causing Outlook to download the entire structure again), the folder is visible.
    When creating a new folder after that, the same issue occurs again.

    I am assuming you are running in cached mode and this is not a shared mailbox.  Have you tried forcing a full client synch?  This should force the online version of the folder structure to be recopied to the client. What is happening behind the
    scenes is that the client is telling the server to add the folder, but the client's information from the server doesn't yet include the new folder - this is why you see the folder disappear.  Once you force the resync, the server will deliver the updated
    folder listing (which I've noticed doesn't happen automatically, sometimes), and the client will then see the new folder (again).

  • Why would Thunderbird ask "create a new Get Satisfaction account" when I want to post a question

    I know I am in wrong place talking about Thunderbird but Mozilla is a name I trust.
    When I want to ask a question in Thunderbird site, I had to make new account when I wanted to post the question it is asking to make another account or use Yahoo/Facebook/Twitter.
    Because of all this kind of cheating and fake things I started using Mozilla products but it seems I was wrong.
    Just enlighten why would two accounts are needed to post a question?
    Thank you

    Good news, thunderbird support is coming to this site soon.
    SEE
    * https://bugzilla.mozilla.org/show_bug.cgi?id=939779
    * https://bugzilla.mozilla.org/show_bug.cgi?id=939781

Maybe you are looking for

  • Keeping pl/sql portlets state...

    Hi! I'll keep this as short as possible :) On my Portal I have one pl/sql menu/navigation-portlet and one or more java portlets. The menu portlet expands end extracts depending on where you click. The menu knows its own state (the way it is extracted

  • How to redeploy workspace in 11.1.2

    When I go to redeploy workspace through the configuration utility, it already has a green check mark and I am unable to redeploy it, I am able to redeploy Shared Services though even though it has a green checkmark. How to I redeploy workspace? Thank

  • Disable Items in User Interface - Custom

    I have been looking through the Control Identifier/Policy ID number from the spreadsheets below. http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=6627 I have been unable to find the following item in order to remove it using gro

  • Adding a Print Server

    Hello, I have a WRT 300N Wireless Router and plan to install a print server. Is there any special settings I have to perform manually since the print server is a D-Link DPG 321? My actual set-up is working fine. ( no problems at all).If I isntall thi

  • Error message after updating to iTunes 9

    I updated my iTunes to the latest version- iTunes 9. After installation, I get message: **yBrowser.exe: Entry point not found**. The procedure entry point sqlite3preparev2 could not be located in the dynamic link library sqlite3.dll. I re-started my