How can I get elements in a page that I have selected?

I have selected a page in the pages panel in InDesign CS3 interface and in my plugin I wish to get all items in the selected page. However when I try to get the IHierarchy smart poiner, It is valid but the hierarchy does not exist! That is GetChildCount(),  gives back 0!<br />What is wrong?<br /><br />My Code:<br /><br />     InterfacePtr<IDocument>document(_docUIDRef, UseDefaultIID());<br />     if(nil == document)<br />     {<br />          CAlert::ErrorAlert("CInDesignDocumentExplorer::inspectDocumentByHierarchy: IDocument is null!");<br /><br />          return;<br />     }<br />     IDataBase* database = ::GetDataBase(document);<br />     if(nil == database)<br />     {<br />          CAlert::ErrorAlert("CInDesignDocumentExplorer::inspectDocumentByHierarchy: IDataBase is null!");<br /><br />          return;<br />     }<br /><br />     InterfacePtr<IPageList>pageList(document, UseDefaultIID());<br />     if(nil == pageList)<br />     {<br />          CAlert::ErrorAlert("CInDesignDocumentExplorer::inspectDocumentByHierarchy: IPageList is null!");<br /><br />          return;<br />     }<br /><br />     UIDRef pageUIDRef(nil, kInvalidUID);<br />     UIDList selectedPages(database);<br />     Utils<ILayoutUIUtils>()->GetSelectedPages(selectedPages);<br />     int32 selectedPageNum = selectedPages.Length();<br />     DebugPrint("%i\n", selectedPageNum);<br />     if (selectedPageNum > 0)<br />     {<br />          pageUIDRef = selectedPages.GetRef(0);<br />     }<br />     else<br />     {<br />          int32 pageCount = pageList->GetPageCount();<br />          DebugPrint("%i\n", pageCount);<br />          UID pageUID = pageList->GetNthPageUID(0);<br />          pageUIDRef = UIDRef(database, pageUID);<br />     }<br /><br />     InterfacePtr<IHierarchy>pageHierarchy(pageUIDRef, UseDefaultIID());<br />     int32 childCount = pageHierarchy->GetChildCount(); // it is == 0!<br />     //traverseIHierarchy(pageHierarchy);<br /><br />Thanks<br /><br />Daniele

Pages are dead ends, they're just for display in the background.
Most PageItems reside in the IHierarchy of kSpreadLayerBoss.
Some are in separate hierarchies, e.g. inlined (into text flow), master pages and TOP.
Dirk

Similar Messages

  • How can I get a version of Pages that is compatible with Mac OSX 10.6.8?

    How can I get a version of Pages that is compatible with Mac OSX 10.6.8?

    Buy an iWork retail package from a source such as Amazon or eBay.
    (88544)

  • How can I get rid of old books that I have deleted from my device? It still shows up as purchased books on "Icloud".

    How can I get rid of old books that I have deleted from my device but still shows up as "purchased books" on "Icloud". I don't want to see some of these books at all. I can sort by one that are PDFs and ones currently on device, but it still gives option to show those old titles. Does anyone know how to erase your "Icloud" history, please?

    Nooooooo! lol... If I want to download again I will, I don't want an electronic trail. Plus when I have Ibooks open, sometimes I will accidently hit the item and it will immediatly try to download it. The problem with that is that its "Time magazines Best Photos of 2012" etc and it locks up my IPAD cuz of sheer size of the book. So I would like it gone from the history. Isn't there a way to clear the history? 

  • How can a customer edit a web page that I have made?

    How can a customer edit a web page that I have made?  The customer should edit the text or pictures by himself. Is this possible? 

    First you can search in this forum "in browser editing".
    Second you may be interested in this video:
    http://tv.adobe.com/de/watch/designtools-in-der-creative-cloud/bearbeitung-im-browser-in-a dobe-muse/

  • How can I get past the iTunes page that offers a free download of iTunes 10+ ?

    My iMac G5 doesn't have the Intel Processors and it operates on OS X 10.4.  Both conditions make it impossible for me to upgrade to iTunes 10.  Every time I attempt to log into the iTunes Store, I am given a page that offers me the opportunity to upgrade to iTunes 10+ and I'm not able to get beyond the page and in to the Store.  My account is current and I'm not happy with this strategy to make my perfectly good iMac obsolete and force me to buy a new one in order to access the iTunes Store.  I need a way to get beyond the page that offers the iTunes 10+ free download, so I can purchase the music I want.  Please help me get around this Apple ploy.
    Uncle Jim Serna

    Many of us don't like it but innovative Apple staying ahead of the curve means those of us on the other side quickly get ignored.  After all, who is it who is spending money on all that hardware and software; the people staying with the newest all the time, or those of us who haven't bought a computer or operating system in 5 years? It's a for-profit company so you can hardly blame them, though it doesn't endear me to the policy of not supporting anything older than 4 years or so.
    More in response to your specific issues, with a G5 you can upgrade to OSX 10.5 (which doesn't require Intel except for iCloud and related) which will allow you to run newer iTunes.  It's a bit of hassle and some cost.
    Alternatively think about buying from some other online retailer such as Amazon and don't forget to write Apple saying what you're doing.
    Edit:
    A comment on Niel's suggestion, I don't think anything less than iTunes 10 gives you access to the iTunes store.

  • How can a get more than 1 page on a greetings card in elements 11

    How can a get more than 1 page on a greetings card in elements 11

    Some menu entries in the main menu bar are hidden if you use the mouse and only appear if you use the keyboard to open the menu (Bug 626825).
    You can see the difference if you use Alt+F to open the File menu or Alt+B to open the Bookmarks menu and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by tapping Alt or by pressing F10.
    * "Bookmark All Tabs" (Shift+Ctrl+D) no longer shows in the Bookmarks menu unless you open the Bookmarks menu via the keyboard (Alt + B).
    * "Bookmark This Page" can be accessed via the right-click context menu of that browser page.
    * "Bookmark All Tabs" can be accessed via the right-click context menu of a tab on the tab bar.
    See also:
    * [[How do I use bookmarks?]]
    * Bookmark All: https://addons.mozilla.org/firefox/addon/bookmark-all/

  • Did the update to OS 5...synched all my apps..then only 11 pages of apps are visible..the others are invisible..If I move an appfrom the 12 plus pages in itunes to a lower page...It becomes visible....WHY?..How can I get all 20 plus pages visible?

    Did the update to OS 5...synched all my apps..then only 11 pages of apps are visible..the others are invisible..If I move an appfrom the 12 plus pages in itunes to a lower page...It becomes visible....WHY?..How can I get all 20 plus pages visible?

    OK....First,you are right, OS 5 has the 11 page limit....you must create folders of Apps until you get below 11 pages of combined folders and apps...NOTE.....the upgrade to OS 5 killed all of my old folders and folder organizations...this may be an issue for all????.....I have over 300 apps so when the old folders went away...I was left with 20 plus pages....only 11 visible....It took me awhile to find out what happened....Since I have 64G it seems that 11 visible pages is a silly limit since the apps are on the machine...

  • How can I get elements 11 to work with 16 bits photos?

    In the expert mode of Photoshop Elements 11, I can only work with 8 bits photos. How can I get Elements 11 to work with 16 bits photos?

    No, you can still buy photoshop cs6 (perpetual license) if one doesn't want to subscribe to the cloud version (photoshop cc version 14)
    Either way is expensive compared to photoshop elements.
    http://www.adobe.com/products/cs6.html?promoid=JOLIS

  • How can I get Elements 11 to open up in Organizer rather than Editor?

    How can I get Elements 11 to open up in Organizer rather than in Editor?

    Well, you can go to Window>Welcome and make your change there, but the welcome screen leaves a process always running, so you would do better to go into the Program Files or Program Files (x86) in windows or the applications folder on a mac and find the actual .exe/application for the organizer and make a desktop shortcut/dock icon and use that in the future to launch the organizer, avoiding the welcome screen entirely.

  • I have elements 12, running on PCS. Just bought a Mac mini, no DVD, how can I get elements onto the Mac?

    I just upgraded from a Pc to a Mac mini, how can I get elements 12 onto the Mac?

    Try this link and after installing validate with your 24 digit serial number - click here for PSE downloads

  • How can I get clip art on Pages like MS Word has?

    How can I get clip art on Pages like MS Word has?

    Pages will use any old graphics, of which there are bucket loads on the internet.
    You just drag, paste or import it or bring it in via the Media Browser:
    Menu > View > Show Media Browser
    If you want WordArt then you will need to create that in another program and bring it in.
    Peter

  • Siri says she can't read my email from the iphone5s lock screen when I'm using the standard headphones, but I could do that on 4s. How can I get my 5s to do that?

    Siri says she can't read my email from the iphone5s lock screen when I'm using the standard headphones, but I could do that on 4s. How can I get my 5s to do that?

    Hi Liz,
    Sorry to hear you are having a similar problem.  Last night I went to the tool bar at the top of iphoto, clicked on "File",  then clicked "Browse Backups" in the drop down menu.    I have an external hard drive that is set up to Time Machine.   The Browse Backups  opened the iphoto pages in the Time Machine.  I selected a date one day ahead of the day I performed the now infamous update, and it showed my iphoto library as it had existed that day.   I then clicked  "Restore Library" at the bottom right corner of the Time Machine screen.   Roughly 2 hours later my iphoto was back to normal.   When I opened iphoto there was a message saying I need to upgrade my program to be compatible with the new version of iphoto(version 9.2.1).  I clicked "Upgrade" and within seconds it had done whatever upgrading it needed to do. 
    The only glitch in the restoration was that it restored the library as it appeared last week, so I no longer had photos I had imported this past weekend.   I simply went back to the Browse Backups in the drop down menu,  when Time Machine opened I selected the page showing my pictures from this weekend and again said to Restore Library.   Roughly 45 minutes later the library was restored including the most recent photos.  
    I am now a happy camper. 
    I don't know if any of this will be of help to you because your email says you are having trouble with photos imported after the upgrade was performed.   Have you had any pop up notices when you first open iphoto,  that tell you you need an upgrade to be compatible with the new iphoto?     If so have you clicked "upgrade"? 
    Good luck Liz,  if you have Time Machine running as a back up to your library, maybe you wil be able to get help there, by following my instructions above.   Otherwise,   good luck with your investigations.   I'd be interested in hearing how you make out.
    Karen

  • My MacBook Pro won't go beyond a white screen, after I pushed the restart button. How can I get it to a login? I have routinely backed it up, but don't know how to bring that up, nor if I have a boot file on that external disk. Help!

    My MacBook Pro won't go beyond a white screen, after I pushed the restart button. How can I get it to a login? I have routinely backed it up, but don't know how to bring that up, nor if I have a boot file on that external disk. Help!

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    To restart an unresponsive computer, press and hold the power button for a few seconds until the power shuts off, then release, wait a few more seconds, and press it again briefly.
    Step 1
    The first step in dealing with a startup failure is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.
    There are several ways to back up a Mac that is unable to start. You need an external hard drive to hold the backup data.
    a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later.
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    If the startup process stops at a blank gray screen with no Apple logo or spinning "daisy wheel," then the startup volume may be full. If you had previously seen warnings of low disk space, this is almost certainly the case. You might be able to start up in safe mode even though you can't start up normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.
    Step 3
    Sometimes a startup failure can be resolved by resetting the NVRAM.
    Step 4
    If a desktop Mac hangs at a plain gray screen with a movable cursor, the keyboard may not be recognized. Press and hold the button on the side of an Apple wireless keyboard to make it discoverable. If need be, replace or recharge the batteries. If you're using a USB keyboard connected to a hub, connect it to a built-in port.
    Step 5
    If there's a built-in optical drive, a disc may be stuck in it. Follow these instructions to eject it.
    Step 6
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to start up, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can start up now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    Step 7
    If you've started from an external storage device, make sure that the internal startup volume is selected in the Startup Disk pane of System Preferences.
    Start up in safe mode. Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to start and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know the login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you start up in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, the startup volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 11. If you ever have another problem with the drive, replace it immediately.
    If you can start and log in in safe mode, empty the Trash, and then open the Finder Info window on the startup volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then restart as usual (i.e., not in safe mode.)
    If the startup process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 8
    Launch Disk Utility in Recovery mode (see Step 1.) Select the startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then restart as usual.
    Step 9
    If the startup device is an aftermarket SSD, it may need a firmware update and/or a forced "garbage collection." Instructions for doing this with a Crucial-branded SSD were posted here. Some of those instructions may apply to other brands of SSD, but you should check with the vendor's tech support.  
    Step 10
    Reinstall the OS. If the Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 11
    Do as in Step 9, but this time erase the startup volume in Disk Utility before installing. The system should automatically restart into the Setup Assistant. Follow the prompts to transfer the data from a Time Machine or other backup.
    Step 12
    This step applies only to models that have a logic-board ("PRAM") battery: all Mac Pro's and some others (not current models.) Both desktop and portable Macs used to have such a battery. The logic-board battery, if there is one, is separate from the main battery of a portable. A dead logic-board battery can cause a startup failure. Typically the failure will be preceded by loss of the settings for the startup disk and system clock. See the user manual for replacement instructions. You may have to take the machine to a service provider to have the battery replaced.
    Step 13
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

  • Where can I get the sample layout pages that were in the older CS Dreamweaver?

    Where can I get the sample layout pages that were in the older CS Dreamweaver. You normally find them when you press "More" on the start screen and you see it on the "layout" section.
    On the CC version you only get 2 out of the 20 that you used to get. How can I get them back?

    You can refer the threads below
    http://forums.adobe.com/message/5491936#5491936
    http://forums.adobe.com/message/3100218
    http://forums.adobe.com/message/5096504#5096504
    Please visit for more starter layouts  http://helpx.adobe.com/dreamweaver/using/getting-started/templates.html

  • Ho do I convert my Elements 5 Catalog to Elements 13 which I just purchased.  I followed one of the tutorials and converted my Elements 5 Catalog to a "pse.13db" file.  How do I get Elements 13 to recognize that converted file?  When I open Elements 13 Ca

    Ho do I convert my Elements 5 Catalog to Elements 13 which I just purchased.  I followed one of the tutorials and converted my Elements 5 Catalog to a "pse.13db" file.  How do I get Elements 13 to recognize that converted file?  When I open Elements 13 Catalog Manager and browse to the correct location, it doesn't show the file.  Help!  Thanks

    Bumps a écrit:
    Yes - I can run both versions on my PC.  But I really would like to have all of my pictures in the same catalog.
    You can't merge catalogs (even PSE13 ones) in any PSE version (only LR can do that). So, converting catalogs is not the solution to your problem.
    Since you have PSE5 working on your computer and your images also, the solution is to 'write metadata to files in PSE5) and to re-import the images in the PSE13 catalog. That won't duplicate your image files and you'll lose albums/collections, stacks and version sets, but you'll recover tags, captions and ratings.
    To be able to re-import the files indexed in PSE5, you may have to move them to a new master folder.
    I am not sure what your problem with the conversion may be. It's quite possible that the resulting catalog.pse13db is ok and that the issue lies in the ability to open it in the PSE13 organizer.
    As stated by dj_page, double clicking on that file should open the organizer with the new catalog. You could test that by creating a dummy catalog in PSE13 and importing a small batch of photos. Locate the path of the catalog with the menu Help/system info. Copy the catalog.pse13db in another folder and the 'double click' way to open the organizer with that moved catalog database.
    For other users that may be interested in using PSE5 (issued in 2006) on newer OS, here is a useful link:
    Adobe - Photoshop Elements : For Windows : Adobe Photoshop Elements 5.0.2 update

Maybe you are looking for