Creating and adding an annotation to a tour page

Hello

I write a plugin that will add a FreeText annotation normal to a page, near the top right corner of an existing link annotation to indicate the destination of this annotation to link page. My existing code works fine in most situations: I create a PDAnnot using PDPageCreateAnnot(), passing its bounding box, set its content by using the keys PDTextAnnotSetContents, RC CosDict, DS and DA, then add it using the PDPageAddAnnot() function. The situations that I have a problem with is when the page is turned (pages are usually scanned in and then turned as required), similar to the problem that is described in this discussion: http://forums.adobe.com/thread/851038, namely that the annotation is also shot, such that it is created in user-space coordinates. I set the pdAnnotNoRotate flag and it seems to work properly (apart from the location is still the user coords), until my desire of users to move or resize the annotation, as the bounding box with the sizing handles displayed always shot with the page and the only clickable part is at the junction with this box and the annotation. It may be a bug in Acrobat. Suffice it to say, pdAnnotNoRotate don't help me much.

To remedy this, I have now to transform the bounding box to hold account of the page rotation using a combination of PDPageGetDefaultMatrix(), ASFixedMatrixInvert() and ASFixedMatrixTransformRect(). This concludes the correct bounding box, except that now I don't know how to rotate the contents of the annotation in the same way. I can't find the key turn mentioned in the thread linked to above, and the definition of the matrix on the appearance stream requires that the annotation has made an entry in the key to the AP, which is not after the creation from scratch. Create my own flow of appearance seems like a terribly difficult task when I really want to use the appearance by default anyway, just turned.

My questions are: can someone tell me which section of the PDF reference covers the aforementioned key of 'Rotation '? If not, can I get a flow of appearance by default to add annotation and running? The key to the AP seems to have filled after that my job has run, because if I browse the PDF structure using preflight, new annotation indeed doesn't have a flow of appearance in the key to the AP, but this isn't immediately after creating or adding to a page.

Perhaps there is another method to add an annotation properly rotated to the page?

Thank you, Andrew

I had the time to look at this issue again today and fixed the problem by setting the dictionary entry turn on the annotation to the same value as the rotation of the Page; the framework encompassing was calculated using the matrix by such default as mentioned in my original post. This demonstrated the annotation with the appropriate rotation. The key turn mentioned here does not seem to be documented (at least not in section 12.5.2 reference PDF - Annotation dictionaries), but I guess it's quite safe to use because it's the method that acrobat uses to place a FreeText Annotaion rotated correctly on a tour page.

I am sure also that the NoRotate flag bit has not been set because of the problems mentioned above. It is not too much trouble to recreate annotations If the page is turned.

Tags: Acrobat

Similar Questions

  • Receive the error message "you have been connected with a temporary profile, in this profile, you can access saved files and something new created or added to this profile will not be saved"

    Original title: temporary profile

    I was wondering if anyone can help... I have a compaq laptop, windows 8 and the last few times ive turned on n signed in its took much longer than usual and connect to a temporary profile where it seems that everything I had there before such as files and photos have already disappeared. But it then opens with a message saying something along the lines of. . "You have been logged on with a temporary profile, in this profile, you can access saved files and any new tjing created or added to this profile will not be saved" does anyone know how solve this...

    Hi Lucie,.

    Activation of the built-in Administrator account can help get the problem solved.

    Perform the steps suggested by Pinaki displayed from the link below and see if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-system/Windows-8-keeps-loading-with-temporary-profile/583abee6-645D-42a1-88da-063547c6eea0

    Answer please if you have any questions.

  • I have used Muse on a 30 trial and created a site and added my own domain name and it is now online. I now want to muse and edit and add a few things, but I don't know how to do it? I opened the software, go file and tried to open the is

    I have used Muse on a 30 trial and created a site and added my own domain name and it is now online. I now want to muse and edit and add a few things, but I don't know how to do it? I open the software, go file and tried to open the site, but there is nothing there?

    Please provide a screenshot of the design view after opening the file, also the url of the site online.

    In case the trial is expired, you need to upgrade your membership/registration.

    Thank you

    Sanjit

  • How to get the parameter values of a step type custom when I create file and adding a type of step seq

    I use lv 8.5 and teststand 4.0.

    I did a step type custom and recorded at the MyTypes.ini in pallets of type.

    I specified a default module by opening the properties of the custom step of *.ini type window, then I put some values of the parameters.

    T1) when I open teststand and I add the custom step type manaully in seq file, the labview module parameter values are represented.

    But, if to use file (create and add support prototype stage), the labview module parameter values has the default value.

    Using joint file, how to get the setting custom step type values I put in *.ini?

    Q2) each type of step are automatically by name through the use of LoadTypePaletteFilesEx. When I open teststand and I add the custom step type manaully in seq file, the module is loaded automatically. Inside the attachment, I use a prototype of charge and a fixed path where the module labview is to load the labview module.

    Can I load module automatically without using a prototype of charge or how can I get a dynamic path of type step?

    I solved Q1 for myself by using the mapping tab of the parameter within the configuration to the default module window.

    Everyone knows Q2?

    Thank you.

  • Region is not created, and also the question is not added... Help me

    Hi all,
    I want to create a dynamic region (in the direction using the code). The following code is used, but the thing is the region is not created and the item also not created. Use of the object of the question, I put the guest, it is also not working. Assume that this code is wrong let me know how to create regin and under this region an element.
    the code is:
    OAMessageComponentLayoutBean msgcmpntbean = (OAMessageComponentLayoutBean) createWebBean (pageContext, MESSAGE_COMPONENT_LAYOUT_BEAN);

    OAMessageStyledTextBean msgstyledbean = (OAMessageStyledTextBean) pageContext.getWebBeanFactory () .createWebBean (pageContext, MESSAGE_STYLED_TEXT_BEAN, OAWebBeanConstants.VARCHAR2_DATATYPE, "Login");

    pageContext.getPageLayoutBean () .addIndexedChild (msgcmpntbean);

    msgcmpntbean.setRows (1);
    msgcmpntbean.setColumns (3);

    msgstyledbean.setPrompt ("User Login :");

    Thanks in advance

    Hello

    Change your code in this way

    OAMessageComponentLayoutBean msgcmpntbean is createWebBean (OAMessageComponentLayoutBean) (pageContext, MESSAGE_COMPONENT_LAYOUT_BEAN, null, "msgcmpntbean");.

    OAMessageStyledTextBean msgstyledbean = (OAMessageStyledTextBean) createWebBean (pageContext, MESSAGE_STYLED_TEXT_BEAN, OAWebBeanConstants.VARCHAR2_DATATYPE, "Login");

    msgstyledbean.setPrompt ("User Login :");

    msgcmpntbean .addIndexedChild (msgstyledbean);

    webBean.addIndexedChild (msgcmpntbean);

    certainly it will work in the case of any questions, please let me know

    thanx
    Pratap

  • How does "create and wire case unwired? I can't do anything...

    OK, I have a structure with a ton of events of the event.

    I just added a value that passes through IT. This value is a shift on the outside loop register.

    I see that when your right click the tunnel on the event... There is the switch to turn off 'Use Default if not wired'.

    I also see some options that seem to be doing what I want to do... and that's for cable all unwired connections on the other events with "Entry Tunnels Linkted"-> "create and wire Unwired case."

    When I click on it, the cursor changes to a new form... but here... I can't figure out how to make it work... I tried to do a right-click on the tunnel 'broken' for this purpose... I tried a left click in an event that is unwired... but nothing.

    Can someone help me out here... I think that's what I want... but can't make it work.

    Thank you in advance,

    Cayenne

    After clicking on create and thread, click on the terminal across the structure you want to feed the exit tunnel.  If it is already wired directly to the other tunnel, he'll know what you mean without the extra step to choose the side of the entrance.

  • What is the difference between the activation of remote desktop and adding a 'connection in network connections.

    What is the difference between the activation of remote desktop and adding a 'connection in network connections.

    Hi ChadCrowell,

    Remote Desktop connection allows remote control of your Windows XP Professional computer from another computer running Windows XP Professional or an earlier version of Windows.

    Reference: How to use the Windows XP Professional Remote Desktop feature?

    By creating an incoming connection, a computer can act as a remote access server is running Windows XP Professional, Windows 2000 Professional

    Reference: To make an incoming network connection

    Hope the helps of information.

  • Create and add a message in the log off screen on a Windows 7 PC

    Original title: Log Off Message

    Hi, I was wondering if it is possible to create and add a message in the newspaper off the screen of a Windows 7 PC

    I searched and found only information on adding text in the log to the screen. This text will include the verbiage "Don't forget your USB."

    You can use a script to logoff to do, which is a file that runs automatically when the computer disconnects. http://TechNet.Microsoft.com/en-us/library/cc753583.aspx

  • I would like to know if Windows Backup and Restore will copy a new set of files and adding to what is there in the previous backup folder

    On my old computer (XP), I used app fast backup protection to back up my files to an external drive, Iomega hosted Media Network Hard (2 TB).  I have a new Dell PC with Windows 7 (64 bit) OS.  With the help of a cable I copied all the files from my XP to Windows 7 computer.  All the files on the external hard drive, copied to a "network".  I am able to view all the folders of the Iomega file, but I can't back up my files to protect fast has not been improved to work w/Win 7.  Quick protect is divided into 6 different discs (photo-U, V-ActiveFolders, W-Music, X-backups, Public-Y, Z-movies), Iomega recommends using backup Windows and restore.  "Before you start this process, I would like to know if Windows Backup and Restore will copy a new set of files and adding to what is there in the folder backup previous Player X or if it will start a"new"backup" folder on drive X.

    Original title: BACKUP AND RESTORE

    New.

    Probably in a completely different format than you are accustomed to and accessible in a different way.

    Although I suppose you could create separate jobs for each of the existing partitions, if you wish.  But I would like to backup these partitions to something else before you start. Heh

  • How clone a machine with customization and adding once run commands?

    Hey,.

    I started to use Orchestrator and I really like it. I'm doing something in it, but I encounter a problem. Before when I was cloning of a machine I was using the customization specification. Most of which can be made by Orchestrator, but I'm not able to find in the part Orchestrator of the code that would do the same thing as RUN ONCE comments customization section.

    Can someone help me?

    Thanks in advance

    Zbyszek

    Make it work for me, if I remember correctly.  I have duplicated "Clone, windows with signle NIC and credentials" and added an entry, runOnce (array/string), because Windows customization, Syspred with the 'Get' credentials inside he may take a commandList are the runOnce commands.  I also had to change the inputs internally "Get Windows customization, Syspred with the identification information" of the NULL value for the newly created runOnce.

  • Need to create and add RDM disk while calling reconfigVM

    Hello

    Now I create RDM disk help createdisk method and then added the disk of the virtual machine by using the reconfigvm method using vsphere sdk in c# but I need to create and add the disk while calling the reconfigVM only. I searched and found a code as example.

    diskSpec.operation = VirtualDeviceConfigSpecOperation.add;
    diskSpec.fileOperation = VirtualDeviceConfigSpecFileOperation.create;

    ". According to my understanding, vmdk file can create while adding the LUNs as disk RDM using both add and create function, but then I try these i couldn't succeed. If anyone has tried what can you share your code or suggestions please.

    Thank you

    Vijaya

    Vijaya,

    I guess that how you specify the devicename property is invalid. You just need to assign the devicename you recovered in QueryConfigTarget to the devicename of the backup file.  Please refer below snippet for adding disk:

    Request for more information on specific devices that can be used to back up virtual devices

    CTAR ConfigTarget = cb.getConnection () .getService () .queryConfigTarget (envBrow, hostmor);

    VirtualMachineScsiDiskDeviceInfo [] arrSCSILun = (VirtualMachineScsiDiskDeviceInfo []) ctar.getScsiDisk ();

    HostScsiDisk drive;

    If (arrSCSILun! = null) {}

    for (int i = 0; i)< arrscsilun.length;="" i++)="">

    disc = arrSCSILun [i] .getDisk ();

    If (disk == null) {}

    continue;

    }

    else {}

    deviceName = arrSCSILun [i] .getDisk () .getCanonicalName ();

    }

    Add a disk
    VirtualDeviceConfigSpec diskSpec = new VirtualDeviceConfigSpec();
         
    diskSpec.setFileOperation (VirtualDeviceConfigSpecFileOperation.create);
    diskSpec.setOperation (VirtualDeviceConfigSpecOperation.add);
         
    VirtualDisk disk = new VirtualDisk();
    VirtualDiskRawDiskMappingVer1BackingInfo diskfileBacking = new VirtualDiskRawDiskMappingVer1BackingInfo();
         
    diskfileBacking.setFileName("");
    diskfileBacking.setDiskMode ("persist");
    diskfileBacking.setCompatibilityMode ("physicalMode");
       diskfileBacking.setDeviceName (deviceName); It's the devicename you got above
    System.out.println ("DeviceName assigned is" + deviceName);
    disk.setKey (new Integer(-101));
    disk.setControllerKey (new Integer (diskCtlrKey));
    disk.setUnitNumber (new Integer (0));
    disk.setBacking (diskfileBacking);
    disk.setCapacityInKB (1024);
         
    diskSpec.setDevice (disk);

    And to set the loglevel, please visit: http://kb.vmware.com/kb/1001457

  • Recorded stream damaged when arrested and added

    I am combining feeds from a number of cameras together in a stream of data recorded, let's called it "serverstream.flv".  Source water courses are all webcams, and each user is assigned a stream name based on their name and a user id, such as "1_bob" and "2_julie".

    Sometimes presenters cease broadcasting temporarily and we just switch to a blank window.  The stream side server to stop recording at that time by calling

    serverStream.record (false);

    and then when the presenter is up I start recording with

    serverStream.record ('append');

    Viewers subscribe to serverStream and it works very well for them.  But the recorded flv is corrupted each time that I do this.  He played only until the first record of time stopped, then, after that data are severely mutilated. Some tools of Moyea can extract the audio and video, but the video there are errors with the images frozen or incorrect playback speed.

    But here's the strange part.  I tried just to record the stream of presenter individually, so there is a file called "1_bob.flv" and "2_julie.flv", etc.  In the same way, I'm stopping and adding to the need.  But these recordings are very good, without the corruption at the breakpoints.  After much experimentation, I find that the FLV stored is very good ONLY when they are appointed according to the flow of the camera.  If I create any data stream on the server, called something like "bob_stream" and play the flow "1_bob" on this issue, I get errors in the record.

    What could happen?  Where this might be coming from?

    I must emphasize that this is running FMIS 3.5 and worked perfectly until recently.  Then, the server has been updated with the latest version of FMIS, and we get this problem.  The code both client side and server side application has not changed, so there must be something in the FMIS configuration has changed, but I don't see what it could be.

    Any help would be greatly appreciated.

    I doubt that there can be question of configuration but I'll still check. I do not have your business logic and use very clearly, but before that I have spent more time on what can you change your code bit and see if it works: -.

    1 change the order of reading and recording is

    serverstream.record ();

    serverstream. Play(StreamName,-1)

    2 can you place Application.xml in your application (I mean at the level where you have your main.asc) and add fake

    under the //.

    Try this and tell me what results you get, in the meantime I'll try to look more in detail about your workflow code

  • Shading of a cell and adding a chart above/below a paragraph

    Hi all -

    I create a two column table and a line for the examples. For the left column, I created light gray shading for 30%. For the tag paragraph in that same column, I import a framework, which contains the word "Example", since the reference page. To do this, I selected the Advanced tab in the paragraph designer and selected the framework that I created on the reference page in the list of the drop down box below FMP...

    The image appears in the column of the table, but it seems that the word 'Example' background is not transparent. Thus, the cell shading is blackened by the framework of the reference page. See the file attached .gif.

    Can anyone provide ideas to either make the transparent framework, or adding shading to the framework? Thank you!

    Lance,

    Getting back to your original question, I did a few tests. On the reference page, select the image containing the word example. Then set in the drawing tools, its pattern fill to none; This makes the transparent framework.

    In my tests, I created a graphic image with filling of None and inserted a line of text inside. This method works.

    You can also create a block of text within the graphic image and also set the fill pattern of the block of text votes to zero. This also works.

    Apparently, even if you create a block of text to the reference page, FrameMaker does not name; Therefore, does not allow it in designer paragraph as a frame above / below. But create a graphic image with fill to none DOES not work.

    Good luck

    Van

  • Data Modeler: how to create and use the collection type

    Hello
    essentially of departure I don't understand how (for example) create and use the data based on the type of data varray type.

    Please notify.
    Thank you
    Andrew

    Hi André,.

    You can create new types of collection (varray/table) in two ways:
    (1) in the browser - find 'Types of data' > 'Types of Collection' node menu dropdown - there just 'create new collection type' it
    (2) in the types of data model diagram - you can create collection "some type structured" or collection of references to the it - use 'new Collection... '. "tool and click first on sight structured type and after the structured type that will contain the collection - new attribute is added to the latter and if there is none this type of collection already didn't set the new collection type are created and you can change it later.

    Philippe

  • Adding new items to a Master Page and share them to existing pages

    I need to include new elements of navigation on the master page and I want it appear on the pages that I have already created. I added the new elements on a layer of their own which is part of the master page, but the layer on the part of Pages... option is grayed out.


    jcbluesman wrote:
    > I use CS4, Jim, and here is a link to the .png
    > ( http://idisk.mac.com/jconstant-Public/deimos.png
    >
    > The 3 tabs right on the master page are ones I am trying to
    > share between existing pages. I created them in PS (also CS4), then imported
    > the .psd in this FW document, if that makes a difference.
    >
    > Thank you,
    > Jim
    >
    OK there are two Associates as I see it.

    Each of your pages is made up of a solid, opaque, for a main image bitmap.
    Master Pages, by default, are at the bottom of the layer stack. Your
    tabs ARE present, you just can't see them because they are covered by
    the bitmap image.

    Assuming that you do not have these page images of the elements multiple objects,
    where you can change the blue background, there are always two things you
    can do, which are pretty easy.

    Go to each page and temporarily lower the opacity of the layer 1.
    Use the marquee tool to draw a selection around the area of the tabs.
    Delete the selection.
    Replace the lay full opacity.

    OR

    Try to drag the master page to the top of the layer stack in each page.
    Hide or remove the master page background.
    This option is a little more complicated, but I've been able to do. Expect that the
    bar black to appear before you release the mouse button. You may need to try
    This a few times before it works.

    HTH

    --
    Jim Babbage-. : Community MX:. &. : Adobe Community Expert:.
    http://www.communityMX.com/
    CommunityMX - free resources:
    http://www.communitymx.com/free.cfm
    ---
    . : Fireworks adobe community expert:.
    Adobe Community Expert
    http://tinyurl.com/2a7dyp
    ---
    . : Author:.
    Lynda.com - http://movielibrary.lynda.com/authors/author/?aid=188
    Peachpit Press-
    http://www.Peachpit.com/authors/bio.aspx?a=d98ed798-5ef0-45A8-a70d-4b35fa14c9a4
    Layers Magazine - http://www.layersmagazine.com/author/jim-babbage

Maybe you are looking for

  • Satego X 200 - 21 d - that RAM for upgrade?

    Hello I have a Satego X 200 - 21 d, Modell Nr.: PSPBEE - 007001GR and I want to improve my 2 * 1 GB to 2 * 2 GB memory. Can I use DDR2 memory with support for DDR2 PC2-6400 or DDR2 PC2-5300 speed? Thank youWolfgang

  • Skype error: Fatal Error - cannot load the library 'olepro32.dll' (N

    Normally, my Skype is perfect! but for some strange reason, it stopped working! I tried to research this topic but failed to fill and reslove this He will be very grateful if you guys help me to reslove this!

  • How to install an extension for my router

    original title; HOW to SET UP NET GEAR for MY ROUTER to ALLOW MY EXTENSION greater DISTANCE for RECEPTION OF SIGNAL from main router I have a netgear router and I want to install an Extender (netgear), so I get enough power from further away in my ho

  • System crashed, Reinstall online?

    I would sit on my computer one night, and it restarted all of a sudden.  Then it wouldn't start, and I had no idea why. I could not in safe mode (F8 does simply not pressing) and I couldn't get the coming recovery page up by pressing F11 (even in saf

  • Cisco 7942 + SIP provider

    Hello! Pouvez 7942 Cisco with Firmware SIP used as stand-alone SIP device? I mean can it works with the SIP via NAT provider, as it can Cisco SPA 303?