Creating reply annots in Acrobat9

I have written a C++ plugin app which creates annots including reply annots using PDPageCreateAnnot(), setting the relevant CosObjs, then PDPageAddAnnot(). I am using this plugin inside a browser (usually IE8).
If I click on the Comments tab (bottom left of the window), the comments are all shown correctly with their replies. However in the main window, the reply annots are not shown. I think they were in Acrobat 7, so is this a bug in Acrobat 9 ?
If I save the file with my created annots to a PDF file and then load that file into IE8, then the replies are shown correctly. Is there any way of forcing the display of replies in Acrobat 9 without saving the file ?
Thanks,
Duncan

Ok, I've soleved my own problem..<br>
<br>
Apparently the following works:<br>
<br>
<br>
<br>
public void messageReceived(MessageObject mo, AttributeObject outAO) throws MessageReceiverException {<br>
  XMLData myXmlData = mAgent.convertMessageObjectToXML(mo);<br>
<br>
  // Handle the XML request and create an XML reply like :<br>
  String xmlReply = "&lt;test&gt;&lt;a&gt;B&lt;/a&gt;&lt;b&gt;A&lt;/b&gt;&lt;/test&gt;";<br>
<br>
  Object reply = mAgent.createMessageObject(xmlReply)<b>.get("test")</b>;<br>
  outAO.set("test", reply);<br>
}<br>
<br>
<br>
<br>
Cheers,<br>
Ibo<br>

Similar Messages

  • Cannot create/reply/forward email on FireFox 15.0.1

    I was able to create/reply/forward email on AOL with FireFox 14 but with FireFox 15.0 the reply/forward feature only copied the email to the compose page on the first attempt - I had to end/restart FireFox each time I wanted to reply/forward. With the 15.0.1 upgrade I have lost the ability to create/reply/forward - the compose page works except I cannot issue the send or save commands (thank goodness for autosave). Switching to IE solves the problem but my browser of preferance is FireFox.
    This problem only exists for AOL webpage email - yahoo and gmail work perfectly.

    Is the problem with Send and Save that the buttons are missing or that they don't do anything?
    I don't have an AOL account to test, so I can only offer general advice.
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    (You also can clear Firefox's cache completely using:
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now")
    (2) Remove your aol.com cookies (save any pending work first) using either of these:
    * While viewing a page on the site, right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?
    A standard diagnostic to bypass interference by extensions (and some custom settings) is to try Firefox's Safe Mode.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
    Help > Restart with Add-ons Disabled
    In the dialog, click "Start in Safe Mode."
    If the site works correctly, this points to one of your extensions or custom settings as the problem.
    Any change?

  • The bottom bar on my mail has disappeared which means I can't create, reply or forward to an email. Any ideas how to get it back? Touching the screen at the bottom doesn't work!

    The bottom bar in my email seems to have disappeared which means I can't create, reply or forward any emails. Any auggestions to how to get it back? Touching the bottom of the screen doesn't work. Thanks.

    Close all apps in the Multitasking Drawer; Double Tap Home Button to open drawer, Swipe up on each app to close it. Repeat until all apps are closed, touch home screen.
    Restart phone, hold both Home and Power/Sleep buttons down at the same time, continue to hold them down until the Apple Logo appears, Release both buttons and wait for phone to restart.
    Check email app to see if bottom bar and new email icon have come back.
    If not, delete the email account in settings and then add it back in again.
    If mail still not working as it should, you may try doing a Reset All Settings reset in Settings => General => Reset => Reset All Settings.  You won't lose any data, music, apps, videos,pictures, etc.  But you will have to go back in and turn on or off any settings you changed on your phone because everything will be set back to factory defaults.

  • How to create an annotation with respect to zoom?

    Hi,
    Does anyone know how to create an annotation withrespect to the zoom of the pageview?
    I already tried this:
    ASFixed zoom = AVPageViewGetZoom(pageView);
    rect->top += ANNOT_HEIGHT;
    rect->top *= zoom;
    rect->bottom = rect->top - ANNOT_HEIGHT;
    rect->bottom *= zoom;
    rect->right += ANNOT_WIDTH;
    rect->right *= zoom;
    rect->left = rect->right - ANNOT_WIDTH;
    rect->left *= zoom;
    This does not work correctly and the annotation is not drawn at all.

    It seems to me that the sequence
    AVPageViewDragOutNewRect
    AVPageViewDeviceRectToPage
    PDPageAddNewAnnot
    should create an annotation of the size and shape of the rectangle drawn out. I am suspicious of the four lines starting
    rect->top += ANNOT_HEIGHT;
    What are they supposed to do?

  • What is best option to Create an Annotation in PDF from VBA?

    It appears thwere are 2 ways to create an annotation (Like a sticky note) via scritping into a PDF File from VBA
    1. In VBA use the Acrobat Interapplication Communication via OLE to use AcroExch.PDAnnot
    2. Use AcroJS from a VBA call
    My question is:
    What are the pros and cons of each - is one better than anohter/
    How do I call Acro JS from VBA?
    thanks

    ayman hamdan01 wrote:
    hi all
    i read and learn about (( tablespaces and datafiles)) and all option and types like (local , dictionary , autoextend , reuse,segment manual and auto , autoallocate,logging , storage ..etc) , if you are real dba in software company . what is your plan to create best tablespace and datafile ?
    thanks alot
    Edited by: ayman hamdan01 on May 17, 2013 7:58 AMwhich metric measures "best"?
    Is it fewest characters in SQL statement?

  • Cannot create, reply or forward

    Hi
    I can receive mail, but I cannot create, reply or forward.
    Strangely the icons for these functions have disappeared in the toolbar. Only the text remains.
    Please help

    Issue solved.
    Mi

  • Creating custom annotations (Singleton)

    Hi,
    Am bit out date of java so that's why I am posting this;
    Actually I want to write my custom annotation of Singleton like,
    *@Singleton*
    Class Spooler {
    so now when this annotation is applied on any class will become a singleton by automatically providing the Spooler::getInstence() method (donno may be at runtime or compiletime)
    and if user tries to declare the public constructor then there should be a compile time error that @Singleton is applied so the constructor should not be public.
    Am I asking a correct thing regarding the annotations or am already lost due to being outdate
    thanks in advance
    Edited by: user10657941 on Jun 15, 2011 12:18 AM

    What would be the advantage over using the simpler enum singleton?
    enum Spooler {
        INSTANCE;
    }An enum type automatically ensures that only the instances listed are created.

  • Can I change freehand annotation line weight and color BEFORE creating the annotation?

    I'm trying to sign documents and the default pen size is way too big. I can't make my signature small enough to go back and change the size after I write.

    No.  You can only change the properties (Thickness, Color, etc.) of your signature AFTER creating it.
    Once you've created your signature, you can
    Tap the handwritten signature icon (the right-most icon) in the toolbar.
    Tap where you want to add your signature. You will see the popup menu showing "Add Signature" and "Edit Saved Signature".
    Tap Edit Saved Signature to edit it.  You can change the thickness or color of your signature here.
    Additionally, when you tap a newly added signature, you will get a blue rectangle outline with four grabber circles like this.
    You can drag one of the grabber to change the overall size of your signature as well.

  • Management of Objects that  are created via annotations

    Hello,
    I discribe SequenceGenerator via annotation. Could I somehow take control under it in SessionBean-get next value, etc? The same with NamedQuery - could I modify query before executing, for instance?

    I discribe SequenceGenerator via annotation. Could I
    somehow take control under it in SessionBean-get next
    value, etc?As James pointed out, the JPA spec doesn't provide a way to do this but the underlying TopLink Session has a getNextSequenceNumberValue(java.lang.Class domainClass) method you can use to obtain values from the a sequence. In TopLink Essentials you'll have to downcast your EntityManager to oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl and call getServerSession() to obtain the underlying ServerSession.
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("comics");
    EntityManager em = emf.createEntityManager();
    EntityManagerImpl topLinkEm = (EntityManagerImpl)em;
    // get next sequence number for class Title
    Number nextSeqNum = topLinkEm.getServerSession().getNextSequenceNumberValue(Title.class);
    The same with NamedQuery - could I modify
    query before executing, for instance?You can do the same type of thing by downcasting and working with the underlying TopLink Essentials query implementation classes.
    // get named query and downcast
    EJBQueryImpl query = (EJBQueryImpl)em.createNamedQuery("findWithName");
    DatabaseQuery databaseQuery = query.getDatabaseQuery();
    String queryString = databaseQuery.getEJBQLString();
    // augment query
    queryString = queryString + " and t.format = t.format";
    databaseQuery.setEJBQLString(queryString);
    // set parameters and execute
    query.setParameter("name", "Superman");
    List results =      query.getResultList();--Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Creating cwgarph annotations with long arrays

    I'm trying to display CWShape annotaions using long coordinate arrays (more then 520 coordinates). When I do so, no shape is displayed. The problem can be seen with many shape types (polygon,region,line...). Apperantly there is a limit to the size of the Xcoordinate,Ycoordinate arrays.
    Is that true?
    any workaround?

    Hi,
    I created a small VB project showing this problem.
    Press the create plot key and then move the cursors
    Thank you
    Attachments:
    integral.vbp ‏1 KB
    integral.frm ‏14 KB

  • Is there a way to use a statically defined appearance stream in a dynamically created annotation?

    Hello,
    I want to create a document with cascading 'popups'.  Not the built-in text-only popup, but an annotation containing an appearance stream that defines text and images.  I'm currently using widget annotations based on a pushbutton field.
    Each page in my document has many citations that refer to other pages in the document.  When a user hovers over the citation, I want a 'popup' to appear containing a depiction of the destination.  However, as the destination will itself have citations, I also want the 'popup' to contain citations that the user can hover over, triggering another popup, etc.  In this way, a user could navigate throughout the document without leaving the page or even clicking the mouse.
    Obviously, with even a modest number of citations per page, pre-calculating and statically defining all of these widgets causes a combinatorial explosion, making the document sluggish and very large.
    Instead, I'd like to statically define appearance streams once per document, and then dynamically create annotations and assign the appropriate appearance stream using JS as the user navigates.
    So far I've created a named AP in the names dictionary, but I haven't been able to use it to dynamically set an appearance stream of a dynamically created widget annotation.
    Also, I've called Doc.getIcon(), passing in the named AP, which returns an Icon object.  However, after field.buttonSetIcon() and passing in the named AP, the button does not display the icon.
    Is there a way to use a statically defined appearance stream in a dynamically created annotation?
    Thank you,
    Dave

    Hi George, I've gotten named APs to work, and I expect hidden buttons will follow.  Thank you very much!
    Quick follow-up - I will have many documents embedded within the same pdf file, and some of these documents will contain identical popups.  However, I don't want to store identical icons in each document on account of file size.
    Instead, I'd like to store one instance of each icon for all documents in the file.
    Can I store all of the icons in a single document, and then access them by calling <DocName>.getField().getIcon() from any document in the file?
    Thank you again,
    Dave

  • How to properly create complex OCI objects (for Annotation Text)

    I am upgrading a tool that will upload text objects to a table with a ST_ANNOTATION_TEXT field. The app is a C++ app and I need to instantiate a ST_ANNOTATION_TEXT (using OCIObjectNew??). I actually have 2 questions. First, does anyone have an example of how to accomplish this? I seem to be unable to correctly create the annotation text type in C++ to be able to append to (calling OCICollAppend). Second, since ST_ANNOTATION_TEXT is a complex type (contains an array of annotation text elements), do I need to call OCIObjectNew on not only the main ST_ANNOTATION_TEXT type but also for the ST_ANNOTATIONTEXTELEMENT_ARRAY, ST_ANNOT_TEXTELEMENT_ARRAY, and the ST_ANNOTATIONTEXTELEMENT?
    I can't seem to find in info on this so hopefully someone else has been through this.

    user3068343 wrote:
    I am still having an issue where the sub objects are still NULL.Actually I was mistaken. I must have confused getting an Object from OCIObjectNew with using one of its constructor method in a statement.
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28395/oci18nav004.htm#sthref3438 clearly state the object will have NULL attributes, unless the OCI_ATTR_OBJECT_NEWNOTNULL flag is set on the environment handle.
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28395/oci11obj.htm#i446308 further tells you what the default value for the object members will be.
    An older 9i doc http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96594/adobjadv.htm#1008774 also warns about resetting the indicator struct member when you update a member of the object.
    user3068343 wrote:
    ++a) you allocate the object's top-level struct yourself (SDO_GEOMETRY in my case) in C+++
    Above you suggest creating the objects top-level struct myself. How do you create that top level object? I have been using OCIObjectNew on that object as well as its sub objects? Is that how you are creating the top-level object?This technique works only on binds, as objects you get back from defines are always allocated from the object cache. I create the top-level object directly on the stack... This is something I discovered worked, but is not documented, so you're probably on safer ground using OCIObjectNew instead.
    BTW, the reason I can't easily post OCI example code is that my code uses wrappers around the objects that hides most of the OCI:
    Geometry Geometry::make_point(OCIEnv* envhp, OCIError* errhp, float x, float y) {
        Geometry point_geom(envhp, errhp);
        point_geom.set_null(false);
        point_geom.gtype() = 2001;
        PointRef point = point_geom.point();
        point.set_null(false);
        point.x() = x;
        point.y() = y;
        return point_geom;
    }The above creates an 2D point-type SDO_GEOMETRY hidden inside the Geometry class, itself deriving from a GeometryRef class. The latter wraps a C++ API on top of the struct pointers for a SDO_GEOMETRY/SDO_GEOMETRY_ind, while Geometry actually composes the OTT generated value/indicator structs by value, and passes addresses to its nested structs to GeometryRef (its parent class). So GeometryRef can manipulate an object irrelevant of where it was allocated, the stack or the object cache. The Geometry class is a value class, but it's useful for binds only, and like I said uses a behavior which appears to work but is not explicitly documented.
    Unless you have nested objects by reference, nested objects are composed by value in the OTT-generated structs, so the space for all nested objects is already allocated after the first OCIObjectNew. But the members themselves are not initialized, and thus marked as null in the indicator struct.
    In the code above, my Geometry instance is fully allocated (on the stack), but fully uninitialized (the indicator is by default set to all nulls). I first set the atomic flag to non-null, then get the Ref wrapper around its nested SDOPOINT_TYPE to also set it to non-null, and fill in the x/y member (via another NumberRef wrapper, which knows about the member and the indicator for that member, and sets it as non-null when assigned to). Notice how how I return the instance by copy: My point geometry instance doesn't have a pointer-aliasing issue here, only because its two OCIColl* are null. In the general case, you can't copy my value wrappers without making a true deep copy... But I'm getting into the weeds here.
    The important point is that OCIObjectNew doesn't init the nested objects unlike what I stated earlier. Sorry for misleading you on that. --DD                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • E52 unable to reply or create mail for exchange

    Hi
    When I try to create, reply or forward and e-mail, I get an error, unable to complete the command
    I am running newest firmware 022.009
    It llike somthing is going not correct configure under "creating mailbox", I have see that "create mailbox" need finish, after ending the nokia e-mail wizard
    please help
    /Jan

    Got the same issue.
    It definitely has to do with mailbox folder structure. As when I create new account I can see Inbox, Drafts, Sent mail and Deleted folders.Now if I try to create new mail it is ok, I can do it.
    But after initial sync I see only Inbox and Deleted. So, when I try to create new mail or reply, it should be trying to create new draft but there is no place to store it, and error message "Unable to complete command" is displayed.
    Also I can see there are 9 items pending for syncronization.
    It looks like it can help to modify something in my google account, but no idea what has to be done. Tried show and hide different folders but no effect.
    Software is the latest 052.003.C00.01

  • @XmlRootElement is not getting creating while binding XSD

    I am trying to bind XSD using XJC binding compiler (JAXB RI 2.0). While creating Java classes, it is not adding the annotation @XmlRootElement.
    Because of this I am facing errors "@XmlRootElement missing" while marshalling and unmarshalling the XML documents.
    But I tried the samples available with JAXB, those are working fine, ie creating @XmlRootElement annotations.
    The following is the XSD I am using (I didn't attach the included XSDs, I can provide if necessary). It is creating the java class HotelResRequestType, but without @XmlRootElement.
    I am not sure whether the problem is in XSD or somewhere.
    Earlier reply on this highly appreciated.
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema targetNamespace="http://www.opentravel.org/OTA/2003/05" elementFormDefault="qualified" version="2.001" id="OTA2005B" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:include schemaLocation="OTA_HotelCommonTypes.xsd"/>
         <xs:include schemaLocation="OTA_HotelReservation.xsd"/>
         <xs:include schemaLocation="OTA_CommonTypes.xsd"/>
         <xs:include schemaLocation="OTA_AirCommonTypes.xsd"/>
         <xs:include schemaLocation="OTA_SimpleTypes.xsd"/>
         <xs:include schemaLocation="OTA_CommonPrefs.xsd"/>
         <xs:include schemaLocation="OTA_HotelPreferences.xsd"/>
         <xs:include schemaLocation="OTA_Profile.xsd"/>
         <xs:include schemaLocation="OTA_VehicleCommonTypes.xsd"/>
         <xs:include schemaLocation="OTA_AirPreferences.xsd"/>
         <xs:annotation>
              <xs:documentation xml:lang="en">All Schema files </xs:documentation>
         </xs:annotation>
         <xs:element name="OTA_HotelResRQ" type="HotelResRequestType">
              <xs:annotation>
                   <xs:documentation xml:lang="en">Sends a request for a ..... </xs:documentation>
              </xs:annotation>
         </xs:element>
    </xs:schema>
    Thanks,
    Senthil

    Hello Anand,
    POTEXTHEADER-PO_NUMBER
    POTEXTHEADER-PO_ITEM      = 00000
    POTEXTHEADER-TEXT_ID        = 'F01'
    POTEXTHEADER-TEXT_FORM  = '*''
    POTEXTHEADER-TEXT_LINE    = 'YOUR TEXT'
    John.

  • Not able to create new e-mail on N8 using Mail for...

    Not able to create new e-mail on N8 using Mail for Exchange.
    Currently using google for my domain, but settings are the same as explained on the google Sync webpage: http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=147951
    When creating reply on mail the application crashes.  When creating new mail it says "Kan bewerking niet uitvoeren" in english: "Unable to execute action".
    Any idea why creating mail is not possible?
    Regards,
    Joris

    problem is known
    more info there:
    /t5/Nseries-and-S60-Smartphones/N8-syncing-with-Google-contacts-amp-calendar/td-p/772020
    there is little workaround aslo.

Maybe you are looking for

  • My iPad 2 will no longer connect to the internet after iOS 6 update

    HELP!! My iPad doesny connect tot the internet anymore. I down loaded iOS 6 today (9/19/12) and now it doesnt connect tot the internet anymore.

  • 0ORGUNIT short text displayed in variable selection screen

    Hello experts, I use the 0ORGUNIT as variable in the selection screen, when i use the selection button, the 0ORGUNIT is displayed as a hierarchy but the text are in short text. In the query, the text are well displayed in Medium-Lenght text. Where ca

  • Conditional formating in result table

    i am working on Endeca 3.1 version How to do conditional formating in  result table for string metric? is there any way available to achieve this?

  • How to create a AM instance which is secured in junit.

    Hi, While writing the testcase for the junits,we observed that there is no way we can provide the user name and password to our am.createApplicationModule(). My juits are running fine, when I am using the security switch off from the adf-config.xml.

  • BEST PRACTICE FOR AN EFFICIENT SEARCH FACILITY

    Good Morning, Whilst in Training, our Trainer said that the most efficiency from the Sharpoint Search would be to install the Search Facility on a separate server (hardware). Not sure how to have this process done. Your advice and recommendation woul