Layout Items Linking to ToC Page Number

Does anyone know if there is way to link layout elements to page numbers in a Table of Contents?
For instance, I have a layout full of ads. If I was to move an ad to another page I want the ToC to update the new page number automatically. Is there any way to do this?
Thanks

TOC sees only paragraph styles.
I explained a way of doing this using non-printing tags that are grouped with ads, however, in the June/July 2009 issue of InDesign Magazine. The method allows automated sorting by category and advertiser.

Similar Messages

  • How to setAction  and make a bookmark linked to a page number?

    I am writing a vbscript...
    set ADoc=CreateObject("AcroExch.AVDoc")
    ADoc.Open   "D:\aaa.pdf"
    set BMark = ADoc.GetPDDoc.GetJSObject.BookMarkRoot
    BMS= BMark.Children
    MsgBox     BMS(0).name
    Now i want to give BMS(0) a link to the page number 11.
    Is "setAction" can do this?
    How?

    click file/publish settings/html and use the quality settings dropdown.
    if that doesn't lead to satisfactory file size, you may need to check the properties of each bitmap in the library to see if it's set to over-ride the global settings.

  • Menu items linking to other pages?

    I have built a menu using the forms menu tool in Dreamweaver, and now I would like to link each menu item to a different page. Can this be done and how? does it require SPRY?

    No, you don't need Spry to link pages.
    Highlight the text or image that you want to use as the link.
    Insert > Hyperlink
    Complete the Dialog Box... you can use the little folder icon/button at the right of the Link: field to navigate to the file you want to open with this link
    Clicking the "Help" button there will get you more information about Hyperlinking.
    Or:
    Highlight the text or image you want to use as the link.
    Just to the right of the Link field in the Property Inspector, drag the target icon over to the Files Panel and tap on the file you want to link to
    Of course, you say that you have used the "forms menu tool". Do you mean the "Jump Menu?" That has its own way of working: http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WScbb6b82af5544594822510a94ae8d65-7c1ca .html
    I hope some of this helps!
    Z

  • Fit to Width not working when linking directly to page number

    I have set my initial view to Fit to Width.  If I link only to the file, the document fits to width.  However, when I add a specific page number to the link, the document opens up the full page.  It does not fit to width.  Is there something else I need to set or is that how it is supposed to function?  When I add destinations, the fit to width seems to work fine.

    Try adding the view=fitH parameter like:
    http://example.org/doc.pdf#page=72&view=fitH,100
    www.adobe.com/devnet/acrobat/pdfs/pdf_open_parameters.pdf

  • TOC page number as roman numerals, body as decimal

    Pretty new to the DDX world.  I'm using Cold Fusion 8 to generate a PDF.  I then use DDX to open the pdf, add a Table of Contents and headers/footers.  The Footers contain the page numbers.  Right now, the page numbers just start with the TOC (1) and go to the nd of the document.
    I'm trying to figure out a way to number the TOC with roman numerals, but the rest of the document with decimals.  Right now, I'll accept i, ii, iii, iv, 5, 6, 7... but I'm guessing my customer will want the numbering started over at 1 when we hit the body of the document.  I'll cross that bridge later.  Right now, I can't seem to find a way to mix the numbering.  I know PageLabel is the place to attack, but I've had no luck so far.  My basic DDX markup looks like:
    <DDX>
         <PDF result="out1">
              <TableOfContents>
                   <Header>
                   </Header>
                   <Footer>
                   </Footer>
              </TableOfContents>
              <PDF source="Doc1">
                   <Header>
                   </Header>
                   <Footer>
                   </Footer>
              </PDF>
         </PDF
    </DDX>
    I've placed <PageLabel format="lowerRoman"> at various placing with varying degrees of success.  Any help is greatly appreciated!

    Hello,
    i think the best way ist to create a 2 variables and add at every master page 1 to var1 or var2 .
    At every following site of the first master pages add "1" to var1 .
    At every following site of the second master pages add "1" to var2 .
    With this coding you can fill your var1 and var2 i think
    Put this on every site then i think you can fill var1 and var2 different.
    If not you must make a simple coding var1 = var1 + 1 at site1 and var2 = var2 + 1 at site2
    // data.#pageSet[0].Seite1.AktuelleSeite::ready:layout - (JavaScript, client)
    this.rawValue = xfa.layout.page(this);
    Regards
    Edited by: Florian Martin on Jun 28, 2011 10:51 AM

  • RDF_1 passes last page number to RDF_2

    Hi,
    Scenario
    =======
    User runs Report 1 which is immediately followed by Report 2 (but this appears to the user as only one report).
    Requirement
    ==========
    We need to continue page numbering on Report 2 so that it appears to be one Report.
    Environment
    ==========
    Forms/Reports 11g/ Fusion Middleware/Weblogic.
    Initial Thoughts
    =============
    Somehow record total number of pages of Report 1 then pass this as a parameter when running Report 2?
    Any ideas appreciated.
    Thanks!

    For Smarforms
    Use SFSY-FORMPAGES to display the total number of pages in the Smartforms
    &SFSY-PAGE& Current page number
    &SFSY-FORMPAGE& Total number of pages in the currently formatted layout set
    &SFSY-JOBPAGE& Total number of pages in the currently formatted print request
    &SFSY-COPYCOUNT& Original-1,1st copy-2
    &SFSY-DATE& Date
    &SFSY-TIME& Time
    &SFSY-USERNAME& Username
    I'm using the variable SFSY-FORMPAGES, I get a star "*" instead of the total number of pages.
    There may not be enough space in the window to display the variable, either increase the window dimensions or condense the spaces using &SFSY-FORMPAGES(C)&
    For Sapscript
    SAPscript: Total number of pages
    Description
    From Release 3.0, SAPscript allows you to output the total number of pages on any output page:
    2 new system symbols (note upper case) were therefore introduced:
    &SAPSCRIPT-FORMPAGES&
    Total page number based on the current output layout set:
    &SAPSCRIPT-JOBPAGES&
    Total page number based on all output layout sets created with the function modules OPEN_FORM, START_FORM .. ENDFORM, START_FORM .. END_FORM, ..., CLOSE_FORM
    Examples:
    Page &PAGE& of &SAPSCRIPT-FORMPAGES(C)&
    Specifies the current page number and total page number. The additional specification (C) outputs the symbol in a compressed form, that is the leading blanks are omitted in the 4-character output (default).
    Number of all output pages: &SAPSCRIPT-JOBPAGES(C)&
    Outputs the total number of output pages. Caution: When using this symbol, all output pages must be held in the main storage so that the total page number can be inserted at the end of the output. Larger outputs can affect performance.

  • How to link a value in a cell to a page number?

    I have a series of diagrams that I'd like to create a table for showing the page it's on, and a description of it. during creation, i an simply store the value of the page number in an array, and use it when creating the table, however, if the diagram is moved onto another page, then the cell shows the wrong page number, and the table loses meaning. Is there a way I can link the page number shown in the table cell with that of the page number it's currently on?

    Excellent thank you. While I was creating this sample code, I kept seeing an undefined destination text with either PB or OV shown in the cross references. This was because the textframe inside the frame that contains the image wasn't set to the same geometricBoundaries as the container frame!
    #target indesign
    var doc = app.documents.add();
    // add new page with image
    var page = doc.pages.add();
    var imageGraphic = page.place(File('image.jpg'));
    var imageFrame = imageGraphic[0].parent;
    imageFrame.geometricBounds = [0,0,100,100];
    imageFrame.fit(FitOptions.fillProportionally);
    // add text frame to imageframe for hyperlink dest
    var tf = imageFrame.textFrames.add();
    tf.contents = " ";    // insert blank text
    tf.geometricBounds = [0,0,100,100];     // THIS IS VITAL otherwise the destination becomes invalid for some reason
    var destination = tf.paragraphs.item(0);    // find text / char destination
    var destination = doc.hyperlinkTextDestinations.add(destination, {name:"foo"});    // hyperlinktextdestination reference 
    var creditPage = doc.pages.add();
    var creditPageTF = creditPage.textFrames.add();
    creditPageTF.geometricBounds = [0,300, 100, 400];
    creditPageTF.contents = "...";
    var xRefForm = doc.crossReferenceFormats.item("Page Number");   // Default CS5 xref format that shows "Page 45" etc
    var sourceText = creditPageTF.paragraphs.item(0);
    var source = doc.crossReferenceSources.add(sourceText, xRefForm);
    var destination = doc.hyperlinkTextDestinations.item("foo");     // find text anchor by name from above
    var myLink = doc.hyperlinks.add(source, destination);
    myLink.visible = false;
    very confusingly, there seems to be two types of cross references for cs5, cross references for text, which are actually hyperlinks, and crossreferences for tocs i believe (which I know nothing about atm!)

  • How do I get rid of -1 page number from TOC

    When I create and import a TOC in to my document, the first TOC page has no number, which is OK, the second page is numbered -1 and the last TOC page also has no number. I am trying to get rid of the -1 from the second page. I have tried a number of things from Format >Document>Numbering and Format>Page Layout>Master  Page Usage but nothing succeeds. Would be grateful for any help if anyone recognises this problem. Thanks.

    Got to where the page number is, usually a Master Page, and either delete it, or set it to a color that is set to invisible (via Color Views) prior to publication.
    Check both Left and Right MPs.
    View > Master Pages
    In most templates, the page number is a "#" in the header or footer.

  • Is Acrobat Pro right for us. We have an Employee Handbook that needs editing. Some is current pdf, some from an older version. Want to get all into one handbook, have the table of contents automatically adjust and link to specific pages from the ToC.

    Is Acrobat Pro right for us. We have an Employee Handbook that needs editing. Some is current pdf, some from an older version. Want to get all into one handbook, have the table of contents automatically adjust and link to specific pages from the ToC.

    You can download the trial version (http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html) to convert the PDF back to WORD if you do not have the original. The conversion may not be perfect, but it is typically better than starting from scratch. You may be lucky and get a good result. You might check the settings (in the save screen) to try retain format versus retain text flow. The format version can be a pain to edit since it creates a bunch of text boxes. The flow version may require you to reformat in WORD, but you likely would want to do that anyway.

  • How to print logical page number in TOC of report

    My report has three sections - header, main, trailer.
    after each group break in the main section the page number is saved using the srw.get_page_num(pageNum).
    this records are used to build the toc in the trailer section.
    Problem: srw.get_page_num delivers only the logical pagenum of the section,
    means if the header section spans more than one page (for example 2), the main section starts at physical pagenum 3.
    If I don't know how many pages my header contains I never have the real page number in my toc, beacuse i have to add the number of "header pages" to the saved pagenum of the main section to compute the "physical pagenum".
    Is there a possibility to save the physical pagenum in the header section (in a trigger) ?
    Message was edited by:
    [email protected]

    Thats my huge problem - i can not calculate the number of pages
    nor in the main section neither in the header section.
    The problem is not to know how many pages are in the trailor section.
    I have to know, how many pages are in the header section without to start multiple the report.
    If I have this number i can add it to the "logical" page number" of the main section to get the physical page number of the report.
    the page numbers of the main section are available.
    Message was edited by:
    [email protected]

  • Return PDF page number from the name of the link in InDesign CS4 JS

    Hi, I need to return pdf page number of the linked file in InDesign.Here what I have so far, but my FilePath comes back undefined, and I am not sure if pageNmuber line would work:
        var myArtBack = app.activeDocument.pages[1].rectangles[0].graphics[0];
        var myArtBackName = myArtBack.itemLink.name;
        var myBackFilePath = myArtBackName.filePath;
        var myPageNumber  = myBackFilePath.PDFAttribute.pageNumber;
    Your help is highly appreciated.
    Yulia

    Your first problem is:
    var myBackFilePath = myArtBackName.filePath;
    That should be:
    var myBackFilePath = myArtBack.itemLink.filePath;
    What you should have done is something like:
    var myLink = myArtBack.itemLink;
    var myPageNumber = myLink.parent.pdfAttributes.pageNumber;
    Maybe you need the file path for some other purpose, but that's not the route to information about the PDF graphic (the parent of the link) which has the pdfAttributes property -- property names always start with a lowercase letter.
    Dave

  • Is there any way to link page number with the reference page number within text in InDesign CC and CS6?

    Is there any way to link page number with the reference page number within text in InDesign CC and CS6?

    You should ask in InDesign
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Page number of linked textframe in indesign document

    Hi,
      My indesign document has linked pages 1 - 10 (ie., linked textframes).  I want to take page number of selected text from 5th page., which textframe is linked textframe of 1st page.  When i use the following code for findpage, its returning the page no 1 instead of 5. 
    Kindly reply for me...
    var page = findPage(app.selection[0]);    // selection is a word/para
    function findPage(theObj)
        var thePage = theObj;
        if (thePage.hasOwnProperty("baseline"))
            thePage = thePage.parentTextFrames[0];
        while (thePage.constructor.name != "Page")
            var whatIsIt = thePage.constructor.name;
            switch (whatIsIt)
                case "Story" :
                    thePage = thePage.textFrames[-1].parent;
                    break;
                case  "Character" :
                    thePage = thePage.parentTextFrames[0];
                    break;
                case "Cell" :
                    if ( thePage.insertionPoints[0].parentTextFrames[0] == null)
                        // contents of cell is overset
                        thePage = tryHarderForCell(thePage);
                        if (thePage == null) return null;
                        break;
                    else
                        thePage = thePage.insertionPoints[0].parentTextFrames[0];
                        break;
                case "Application" :
                return null;
            thePage = thePage.parent;
        return thePage ;

    Hi,
      Thank u... Its working...

  • Generalizing the return page number when linking to a page in another app

    Hello.
    I know how to link to a page in another app within the same workspace. However, my problem arises when the user tries to go back to the page in the first app.
    Is there a way to "generalize" the "return path". I do not want to hard-code the return page number within a "back link" element on the target page. I was wondering if there is some sort of substitution string I can use in the return http address that automatically "knows" what the returning page number is. Hope I'm making sense here.
    Thanks for any help/advice.

    Funky:
    I have tried some work but no success
    I don't know what you are asking of me. I have given detailed step-by-step instructions on how to implement what I suggested earlier on in this thread. Look at my postings on 9/13/2006. What part are you having trouble with?
    Could you be more specific?
    I'm afraid I am going to have to ask you the same question.
    if page is not submited (called through Tab)
    Apex standard tabs do submit the page and fire after-submit computations defined on the calling page before branching to the "current" page for the tab you click on.

  • How to get the page number that which have page item?

    i used Ilayouttarget .By using the selection target to get page number that which page have item to be.

    i used Ilayouttarget .By using the selection target to get page number that which page have item to be.

Maybe you are looking for

  • VPN connection works but VPN traffic is blocked

    I have an 881w in a central site which remote users VPN into with desktop client then initiate RDP connection to machines at central site. I configured this mostly with the Easy VPN tool since I am a complete novice with Cisco equipment. We just upgr

  • Link Problem on Uninstall

    Hi, I have recently uninstalled Adobe Reader  8.0 and installed Version 9,0. Now I have a pop up box on booting up which says it can't find  'C\Prog Files\ADOBE\Reader 8.0\Reader\ SL.EXE' After seeing this the first time I deleted it from the List -

  • HT4623 My iPad doesn't want tot let me update it

    It doesn't let me update it I go on the settings general but the update button doesn't show but every time I try to get a new app it tells me I have to update plz help

  • Reconciling payroll and GL

    Hi , We have transferred june 2010 payroll to GL. After posting to GL we see the credit and debit are not equal. how can we troubleshoot this.

  • Newbie to Mac- program install issues.

    Howdie all. I just received a G4 titanium laptop as a gift from my dad-- his old laptop. I, like many others, came from a pure windows experience-- don't hold it against me, it's a new experience. My reason for posting is that I tried installing NetB