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

Similar Messages

  • My home network has an Airport Extreme w/Time Capsule as the base and then an Airport Express and a second Airport Extreme to reach different areas of the house.  Is there a way to use the second Airport Extreme for file storage on this network?

    My home network has an Airport Extreme w/Time Capsule as the base and then an Airport Express and a second Airport Extreme to reach different areas of the house.  Is there a way to use the second Airport Extreme for file storage on this network?  Network is administered through an iMac running OS X Yosemite 10.10.2.  Ideally, would like for the second Airport Extreme hard drive to appear on the list of devices in the Finder window.

    Ok.. gottcha
    The problem is network wise.. Yosemite is about equal to tin cans and string.. pathetic.
    Here is my usual set of instructions to get anything working on Yosemite.
    The best way to fix problems is a full factory reset of all the AE in the network.
    Factory reset universal
    Power off the AE.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the AE to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    Then redo the setup from the computer with Yosemite.
    1. Use very short names.. NOT APPLE RECOMMENDED names. No spaces and pure alphanumerics.
    eg AEgen5 and AEwifi for basestation and wireless respectively.
    Even better if the issue is more wireless use AE24ghz and AE5ghz with fixed channels as this also seems to help stop the nonsense.
    2. Use all passwords that also comply but can be a bit longer. ie 8-20 characters mixed case and numbers.. no non-alphanumerics.
    3. Ensure the AE always takes the same IP address.. this is not a problem for AE which is router.. it is a problem for AE which is bridged.. you will need to set static IP in the main router by dhcp reservations or use static IP in the AE which is tricky.
    4. Check your share name on the computer is not changing.. make sure it also complies with the above.. short no spaces and pure alphanumeric..
    5. Make sure IPv6 is set to link-local only in the computer. For example wireless open the network preferences, wireless and advanced / TCP/IP.. and fix the IPv6. to link-local only.
    6. Now mount the disk of the second AE in finder... manually.
    Use Go, Connect to Server and type in the AE ip address.
    SMB://10.0.1.2
    Where you will replace that address with the actual address. The network resource should be discovered and then it will request the password.. type that in and make sure you tick to save it in your keychain.
    There is a lot more jiggery pokery you can try but the above is a good start.. if you find it still unreliable.. don't be surprised.
    Do as much as you want of the above... not all of it is necessary.. only if you want it reliable.. or as reliable as Yosemite in its current incarnation can manage.
    The most important thing is point 6.. mount the disk using direct IP address and not names.. dns in Yosemite is fatally flawed.
    See http://arstechnica.com/apple/2015/01/why-dns-in-os-x-10-10-is-broken-and-what-yo u-can-do-to-fix-it/

  • My MacBook Air does not have an optical drive.  I have a program (Megastar V) which is installed using a CD.  Is there a way to use the optical drive on my PC laptop to install this program on my MacBook Air?

    MacBook Air does not have an optical drive.  There is a program I wish to install on my Air which is an astronomy application called Megastar V.  Installation requires the use of a CD.  Is there a way to use the optical drive on my PC (toshiba laptop using Windows 7) to install this program onto my Air?
    With gratitude,
    Otto

    Thank you for explaining to me how to do this.  I will try it tomorrow and let all of you know how it goes.
    Otto

  • Is there a way to use the iMac's display mode with a Mac mini with out logging in first on the Mac mini

    Is there a way to use the iMac's display mode with a Mac mini with out logging in first on the Mac mini (late2014)
    im currently useing my Mac mini as a portable computer, I take it to the university and use the iMacs there as a monitor but before I can do that I have to log in to my Mac mini first which means doing it blind
    is there a way to put the IMacs into display mode with out logging into my Mac mini first
    or is there a portable monitor that I can use that will not require me to login first

    This
    Target Display Mode: Frequently Asked Questions (FAQ) - Apple Support
    says:
    How do I enable TDM?
    Make sure both computers are turned on and awake. 
    Connect a male-to-male Mini DisplayPort or ThunderBolt cable to each computer.
    Press Command-F2 on the keyboard of the iMac being used as a display to enable TDM.
    Note: In Keyboard System Preferences, if the checkbox is enabled for "Use all F1, F2, etc. keys as standard functions keys," the key combination changes to Command-Fn-F2.
    How do I exit TDM?
    To leave TDM, press Command-F2 on the keyboard of the iMac that is in TDM. You can also exit TDM if you shutdown or sleep either computer or detach the cable.
    Can I use a third-party keyboard or older Apple keyboard to enable TDM?
    Some older Apple keyboards and keyboards not made by Apple may not allow Command-F2 to toggle display modes. You should use an aluminum wired or wireless Apple keyboard to toggle TDM on and

  • HT1541 is there a way to use my itunes credit to send a gift card? i have credit from gift cards on my account and would like to gift some of it to someone else.

    Is there a way to use my itunes credit to send a gift card to someone else. I have credit on my account and would like to gift some of it but cannot figure out how to use the credit to do so. It appears I can only send a gift by charging to my credit card.

    You cannot use gift balance for gifts.
    Sorry

  • Is there a way to use iPhoto and *not* have it import photos?

    Hi there,
    I'm transitioning from a PC to a Mac and everything is going fairly well -- overall a better user experience. One question I have is, is there a way to use iPhoto without having it import photos? My main issue is that currently iPhoto imports all the photos that I want to view/edit in iPhoto and copies them to it's own folder structure. I like to manage my pictures in a folder structure that I define, so I already back up my photos to another location and now I'm finding that iPhoto is just duplicating the pictures that I already have where I want them, sucking up precious space on my SSD.
    So is there a way for me to just point iPhoto to a folder, make my edits on those photos, and have iPhoto automatically save those changes to the original folder I pointed it to, instead of duplicating the photos in it's own folder structure?
    It occasional things like this that makes me miss some Windows features. In this case, I miss Windows Photo Gallery.

    Hm, ok so if I edit my photos (adjust brightness etc) in iPhoto and then export it, does it export with the brightness changed, or does it just export the original?
    It exports whichever you choose - the edited version or the original.
    However, am I the only one with trust issues with importing all my photos into iPhoto? I'm scared the library will get corrupted, etc.
    NO you're not the only one. The protection against any data corruption is a good back up, and you need that for any data on any computer running any OS. But in the case of iPhoto, remember too that the original files are stored exactly as they are imported, in folders, in the filing system.
    that when I go to export the photos, there's a LOT of duplicate file names that the export chokes on, which makes it very tedious, no, painful, for me to export a large number of photos.
    Explore the options under File Name when you export from iPhoto using the File -> Export command
    Regards
    TD

  • Is there a way to use PM4.0 with Windows XPH?

    Is there a way to use PM4.0 with Windows XPH without purchasing the latest suite or upgrades?  I origionally purchased a suite with Pagemaker, Photostyler and Freehand just before Aldus went Adobe, and Win3.1 went Win95, then WinME and WinXP.  I miss PM and have several manyscripts saved on PM4.0 and can not export or import them to any current wordprocessing programs.  I was very far into one manuscript and am now in a position to finish it up but don't want to have to purchase a whole suite in order to do so.  Any suggestions for this old tightwad?  [email protected] 

    Jay Chevako wrote:
    Find an old computer and run win3.1.
    Jay
    Shouldn't that be Win3.0  c.1991?  And with a very early of version ATM (Ver 2?)  if you want to do anything with fonts?
    I think I have a WinME PC in the garage, which if you can re-format with DOS 5 and install Win3 instead (I may have the disks in the garage too), PM4 will positively scream along.
    I reckon it's non starter on a modern WinXP PC, as the OS is so different, but if you're willing to experiment, you never know!
    But if you want to open some old files to extract the text, you can open the PM4 files and save them with a d/l'ed trial copy of PM7, which will be OK on WinXP
    Iechyd da! John
    23:45 27/04/2009

  • Is there a way to use two macs to run one app? I want to use my two macbook pros processors in a shared capacity.

    I have two macbook pros a 2.4ghz and a 2.2ghz. Is there a way to use the other macbook pro to help with any cpu intensive apps like audio and video apps. I haven't had much luck on finding anything about sharing resources. It would be awesome if you could link up two macs and use both of them to power through processor intensive tasks.

    Yep here you go.
    http://www.youtube.com/watch?v=vLujLtgBJC0

  • Is there a way to use iCloud Photo Library WITHOUT syncing?

    The idea I had of iCloud Photo Library was that I could upload my pictures to it and access them from all my devices WITHOUT having to sync them.
    At the end of every month, I move all the photos from my phone to my computer. It helps me save space and keep things tidy. With iCloud Library, I want to access all my photos, but it looks like I must sync them through iCloud, and then to save space in my phone, I have to select "optimise space for iPhone". Is there any way to use iCloud Photo Library as a mere cloud storage? I don't want to keep photos on my phone, neither full resolution or "optimised" ones. I want to put them on iCloud, and when I need them, then I want my phone to download them.
    I realise I could use other cloud storage providers for this, but I have always liked Apple's integration with their own services, so if possible, I would like to use iCloud Photo Library without syncing to my devices. Just keep my stuff in iCloud, and when I tap it, download it.

    www.icloud.com.
    Doesn't work well in IE8 (9 I would think is ok), but is fine in the current version of Chrome.

  • Is there a way to use ipod with new computer without erasing entire library

    I'm not really tech-savvy, but I'm tossing my old computer and getting a new one - is there a way to use my ipod on my new computer without erasing my existing library? It won't let me make changes to my ipod and wants me to erase everything that is on there right now - HELP!

    Connect your iPod to your computer. When you get the message that it is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all the songs from your iPod. When your iPod appears in iTunes enable it for disk use, this is required for most if not all the utilities listed below so they can access the files: Using your iPod as a storage drive
    Once you are safely connected there are a few things you can do to restore your iTunes from the iPod. If you have any iTMS purchases the transfer of purchased content from the iPod to authorised computers was introduced with iTunes 7. A paragraph on it has been added to this article: Transfer iTunes Store purchases using iPod
    The transfer of non iTMS content such as songs imported from CD is designed by default to be one way from iTunes to iPod. However there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. You'll find that they have varying degrees of functionality and some will transfer movies, videos, photos, podcasts and games as well. Have a look at the web pages and documentation, this is just a small selection of what's available, they are generally quite straightforward. You can also read reviews of some of them here: Wired News - Rescue Your Stranded Tunes
    TuneJack Windows Only
    iPod2PC Windows Only
    iGadget Windows Only
    iDump Windows Only
    iRepo Windows Only
    iPodRip Mac & Windows
    YamiPod Mac and Windows Versions
    Music Rescue Mac & Windows
    iPodCopy Mac and Windows Versions
    There is also a manual method of accessing the iPod's hard drive and copying songs back to iTunes on Windows or a Mac. The procedure is a bit involved and won't recover playlists but if you're interested it's available at this link: Two-way Street: Moving Music Off the iPod
    Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync. I would also advise that you get yourself an external hard drive and back your stuff up, relying on an iPod as your sole backup is not a good idea and external drives are comparatively inexpensive these days, you can get loads of storage for a reasonable outlay.

  • I own 3 ipods a g2 g5 and now g6 is there a way to use them all on one PC without losing anything

    I own 3 ipods a g2 g5 and now g6 is there a way to use Sync them all on one PC without losing anything

    iTunes will remember the settings for each device you connect using your account.

  • HT204380 Is there a way of using the same FaceTime account on multiple devices?

    Is there a way of using the same FaceTime account on multiple devices?

    Yes you can use the same Apple ID on multiple devices and FaceTime with each one. You have to associate a different email address on all but one of the devices.
    Lets say you have two iPads and two iPods..... All sharing the same Apple ID. When you set up FaceTime on three of the devices, you have to associate another mail address in Settings>FaceTime>You can be reached for Video calls at>Add Another email address. Add a different email address in that setting and let Apple verify the address.
    After that email address has been verified by Apple (they send you an email to that address so look for it in the inboxes of that email account and follow the instructions in the email), then remove the Apple ID email address on each of those three devices. You can use the primary Apple ID email on the fourth device.
    Obviously, you have to have additional email addresses but you can set up free email accounts with AOL, Yahoo, gmail .... and you can use the email address just for FaceTime if you like.

  • Is there any way to use -useLegacyAOT option in FlashBuilder 4.6?

    I need to build my ipa with old version of Engine because i have some problems about loading images from outside. Since with Air 15 it is default engine, and i cannot quit Air 15 because of the iTunes specs. I cannot add -useLegacyAOT=yes to compiler options on Adobe Flash Builder 4.6 because it seems that it can be added at FB4.7.
    So is there any way to add this options when i am using FB4.6
    Thanks in advance.

    DeepakJ wrote:
    Hi,
    Is there any way to use a control break on Dept column in a SQL query to have a Output-2 instead of Output-1.
    Is there any way to modify the SQL query.
    SQL
    select dept, loc, count(*)
    from dept
    group by dept, locOutput-1
    Dept      Loc       Count(*)
    10         AA        1
    10         BB        2
    10         CC        2
    20         AA        2
    20         BB        2Output-2
    Dept      Loc       Count(*)
    10         AA        1
    BB        2
    CC        2
    20         AA        2
    BB        2
    Yes, using the <tt>lag</tt> analytic function and specified ordering of the data:
    select
        nullif(d.deptno, lag(d.deptno) over (order by d.deptno, d.loc, e.mgr nulls first)) deptno
      , nullif(d.loc, lag(d.loc) over (order by d.deptno, d.loc, e.mgr nulls first)) loc
      , e.mgr
      , count(*) n
    from
        dept d
          join emp e
            on d.deptno = e.deptno
    group by
        d.deptno
      , d.loc
      , e.mgr
    order by
        d.deptno
      , d.loc
      , e.mgr nulls first;
    DEPTNO  LOC       MGR   N
        10  NEW YORK         1
                      7782   1
                      7839   1
        20  DALLAS    7566   2
                      7788   1
                      7839   1
        30  CHICAGO   7698   4
                      7839   1
        40  BOSTON    7698   2
                      7902   1

  • HT3131 Is there a way to use 2 external monitors with the MacBook Pro in closed clamshell mode?

    My internal display on my MBP is having issues and occasionally displays white lines all over the screen. The current external monitor displays properly. Is there a way to use two extrernal monitors intead of one external + the internal display?
    ==========
    Model Name:          MacBook Pro (17-inch, Early 2009)
      Model Identifier:          MacBookPro5,2
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          2.93 GHz
      Number of Processors:          1
      Total Number of Cores:          2
      L2 Cache:          6 MB
      Memory:          8 GB
      Bus Speed:          1.07 GHz
    NVIDIA GeForce 9400M:
      Chipset Model:          NVIDIA GeForce 9400M
      Type:          GPU
      Bus:          PCI
      VRAM (Total):          256 MB
      Vendor:          NVIDIA (0x10de)
      Device ID:          0x0863
      Revision ID:          0x00b1
      ROM Revision:          3436
      gMux Version:          1.7.10
    NVIDIA GeForce 9600M GT:
      Chipset Model:          NVIDIA GeForce 9600M GT
      Type:          GPU
      Bus:          PCIe
      PCIe Lane Width:          x16
      VRAM (Total):          512 MB
      Vendor:          NVIDIA (0x10de)
      Device ID:          0x0647
      Revision ID:          0x00a1
      ROM Revision:          3436
      gMux Version:          1.7.10
      Displays:
    Color LCD:
      Display Type:          LCD
      Resolution:          1920 x 1200
      Pixel Depth:          32-Bit Color (ARGB8888)
      Main Display:          Yes
      Mirror:          Off
      Online:          Yes
      Built-In:          Yes
    Cinema HD:
      Display Type:          LCD
      Resolution:          1920 x 1200
      Pixel Depth:          32-Bit Color (ARGB8888)
      Display Serial Number:          *************
      Mirror:          Off
      Online:          Yes
      Rotation:          Supported

    Hi Mike, this isn't the first such problem report I've seen, perhaps another option...
    http://eshop.macsales.com/item/Newer%20Technology/VIDU2DVIA/

  • Is there a way to use 2 firewire devices on my macbook?

    Hi,
    I want to try using my panasonic gs-120 camcorder to make a little movie of my kids. I have a intel macbook with 2GB. Is there any way to use the camcorder with the firewire port and my external firewire drive? I don't have much internal drive space left? Do I need an adapter?
    Thanks
    Kelli

    KelliSean wrote:
    ... and my external firewire drive? ...
    most firewire-cases offer TWO firewire ports.. simply daisy-chain:
    camera >> ext. HDD >> Mac ..

Maybe you are looking for