tabStops in Acrobat Pro XI to generate a Table of contents, text do not fill

Hi all

I've searched the forums for an answer, but could not find. I'm defining the ownership of para.tabStops via JavaScript (or try), but do not see the fruits of my labor. The form field, after running the script:

  1. is not filling with any text
  2. has no tab stops within the field (checked with the properties of the form field text box)

Here is my code snippet:

  //http://blogs.adobe.com/dmcmahon/2012/10/16/acrobat-xi-new-tab-stop-feature-available-for-rich-text-fields/
  //http://blogs.adobe.com/formfeed/2009/06/managing_tab_stops_in_fields.html
  //section, subsection, pages, date, revision
  //defines tab stops for text box, use "\t" to insert a tab
  this.getField("1-1ListOfEffectivePages_M").para.tabStops = "left 0in left 0.25in left 3in left 4.5in left 6in"; 
  var TOCLines = new Array();

  TOCLines[0] = new Object();
  TOCLines[0].text = "Table of Contents" + "\t\t" +  "I" + "\n";
  TOCLines[0].weight = 900; //bold
  TOCLines[0].textSize = 12;
  TOCLines[0].textColor = color.black;

  TOCLines[1] = new Object();
  TOCLines[1].text = "\t" + "List of Effective Pages" + "\t" + "1-1" + "\t" + Date + "\t" + "N/A" + "\n";
  TOCLines[1].textSize = 11;
  TOCLines[1].textColor = color.black;

  //...

  TOCLines[23] = new Object();
  TOCLines[23].text = "Miscellaneous Information" + "\t\t" + "XI" + "\n";
  TOCLines[23].textSize = 12;
  TOCLines[23].weight= 900;
  TOCLines[23].textColor = color.black

  //commit to TOCBox
  this.getField("1-1ListOfEffectivePages_M").richValue = TOCLines;

Obviously, the field I want to be filled is "1-1ListOfEffectivePages_M" and it is in the PDF file.

From what I can tell, there is not a problem with the code (that's what they all say, right?). Online documentation however seems to lack.

I suspect that it is maybe because my PDF form is not dynamic, but I don't know how to check that.

There are dynamic XFA forms and static XFA forms, and AcroForms. If you have an XFA form then you will only be able to change using LCD. AcroForms can only be edited in Acrobat.

If you converted your entire form to XFA then your code should work in Acrobat/Reader, Yes, but this isn't a trivial task, and you will need to purchase LCD because it no longer ships with Acrobat, as it used to be.

Tags: Acrobat

Similar Questions

  • How can I generate a table of contents of bookmarks

    How can I generate a Table of contents of bookmarks in Adobe Acrobat XI?

    Something to try.

    Rick Bostein provided an Action of Acrobat "report bookmark".
    With this report in PDF format you can insert at the beginning of your PDF document to serve as a "TOC".

    Go here:

    https://acrobatusers.com/actions-Exchange

    Scroll a few.

    Be well...

  • When I generate the table of contents from a new .book, I get blank pages between each page of the table of contents

    With FrameMaker 2015. When I generate the table of contents from a new .book, I get blank pages between each page of the table of contents, they are totally blank does not even a block of text. I click on Add> autonomous Create TOC. I keep the default settings. And that's what I'm left with.

    TOC Frame 2015 small.png

    I can get rid of them by special> Delete page. But I never had to do before the 2015 version. I tried with older files generated in frame 10. same thing. If someone has encountered this?

    Master Pages are part of each document.

    You can import master pages from another document (i.e. a ' model') in your current document using the file > import > Formats... option and select layout from the list (deselect all others).

    If you have changed the current TOC for the problem of the Page Master on the left, then simply save the file and use the Edit > update book option for that OCD regenerated by using the new page templates.

  • How to keep the format setting when generating a table of contents

    Hello

    I have a superscript® in a title in a document that should be put in the Table of contents. When I generate the table of contents, I can't keep the format in the table of contents.

    I could cheat and manually change the, but there must be a way that remains with these properties whenever I have to regenerate the table of contents.

    No idea how?

    Kind regards.

    What version of FM?

    What the police?

    There are two separate issues here:

    1. If you are super as a character Format in the files of body, the format must be in character for the OCD catalogue, or the formatting is not applied.
    2. If you do this and get it display correctly in the table of contents, which will break the hyperlink linking it.

    The solution is usually to do great as characters of Unicode natively by exposing and not the character Formats.

    See: TOC link with a character index does not in PDF format

  • All my attempts so far to generate the table of contents for Kindle (.mobi) failed. Can anyone help?

    I used InDesign CC to create an epub file and the TOC and the Navigation bar appear perfectly in Adobe Digital Editions (version 3.0). Then I saved the file to the IDML format open InDesign CS6 and use the Kindle Plugin to create a mobi file. I use the same style of table materials used to create the epub file, but although Kindlegen validates the file, the table of contents is unable to generate. I've been on several discussion forums and many people express problems by having their TOC displayed in Kindle Previewer. Can anyone help?

    Hello

    Kindle requires a separate html file for OCD and even must be referenced in the guide in content.opf element. In your InDesign CC document, generate the table of contents on a page and make sure the option 'Make the anchor text to the source paragraph' is checked.

    Now export the EPUB 3 file. Open EPUB in Sigil (it's a free EPUB editor of Google). Menu Goto tools-> Table of contents-> generate HTML Table of contents. This creates a new xhtml file and automatically adds the element of guidance in content.opf like this:

    Save EPUB and open directly into Kindle Previewer. Table of contents option must be turned on now and should work.

    Please try and let me know if it works.

    Kind regards

    POOJA

    InDesign engineering

  • Generate the table of contents with chapter markers?

    It has been a while since I had to install and create a table of contents for a long document of single file, but I'm sure that I created TOCs in this way in the past. Then, why the text in the Section markers will appear in the table of contents? It is even possible to generate a table of contents that contains text of article marker?

    I use InDesign CS5 in Windows. I have a file single document I'm trying to generate a table of contents for. I designed a 16-page manual in an inDesign file that includes a cover page, table of contents page and seven "chapters."

    I created a separate section for each 'chapter' and used Chapter markers in the top of the page master for chapter names. It's something I did in the past of syntactically long documents containing several chapters.

    I put the first page of each 'chapter' as a new Section on the Pages panel. In numbering and Section Options for each page, I checked the Section getting started, Automatic Page numbering, the Style of Page numbering: 1,2,3,4... and in Section marker: I put the name of 'chapter' in the text box.

    InDesign_Pages_NumberingSectionOptions.jpg

    I've set up paragraph and character Styles and has used throughout my document. When I put in place the table of contents I created everything correctly, including a heading style that I used for all the sub lines in my file and my style of Section marker for chapter names.

    InDesign_TOC.jpg

    When I insert the table of contents, generate headers sub with their page numbers, but the titles of the chapters which are chapter markers do not generate. Am I missing something or is it still possible to enter the text of chapter markers in a table of contents? I'm sure that he's worked in the past. Can anyone offer a solution for this?

    Thank you

    Kat

    Looks like the markers section present only in the table of contents if they are on a document page. Try manually to the substitution of the frame.

  • [CS5 Server/JSX] Generate the table of contents at the beginning of the document

    Hello

    The following script generates a table of contents:

    
      myTOCStyle = myDocument.tocStyles.itemByName("TOC");
      myMasterSpread = myDocument.masterSpreads.item("A-Master");
      myTocPage = myDocument.pages.add(LocationOptions.AT_BEGINNING, myMasterSpread);
      myIndexFrame = myDocument.textFrames.lastItem();
      myBounds = myIndexFrame.geometricBounds;
      myX1 = myBounds[1];
      myY1 = myBounds[0];
      myDocument.createTOC(myTOCStyle, true, undefined, [myX1, myY1]);
    
    

    When I run this Script on the InDesign CS5 server, it generates a table of contents, but it is not placed on the page just added at the beginning. It is placed on the first page containing the content where the table of contents is generated from. Also the added page at the beginning does not contain the elements of the master page, it's just a page of blanco.

    When I run this Script on InDesign CS5 to office, the table of contents are placed on the first page added with this script. Also, does this page contain master page items!

    How is it possible to place the table of contents (with overflow text) before the first page containing the content. The page that contains the table of contents should contain elements of the master page.

    Sjoerd

    myTextFrame = myStory[0].textContainers[0];
    

    He lacked the monarticle after [0]

  • I can't open Microsoft Office files in Adobe Acrobat Pro ms to create .pdf files. Simply, it does not show the files to create the PDF on their part

    I use Adobe Acrobat Pro DC, updated and Microsoft Office 365 with the 2016 desktop application. I'm just trying to follow the tutorial of how to create PDF files and it does not simply show any file that can be opened in the area "opens". I checked, and "All supported formats" is selected. Can I created the good desktop application .pdf files. The guy in the video, learn how to create pdf files seems to open MO files without problem in this box. I use the function 'repair installation' program of the DC MAP and nothing has changed. There is no new update to install. What is going on? Help, please

    Hello

    Acrobat DC does not currently support Office 2016.

    Is expected to be available with the update in October.

    Thank you

    Tanvi

  • After the death of the hard drive on a computer Mac am not abel to reactivate acrobat pro - get msg error S/N # is good, but can not find the product

    the hard drive on my Mac is dead and when I tried to reinstall acrobat pro, I get the msg that the s/n is good, but can not find the product, I have reloaded acrobat pro 3 times and always get the same msg?  Can anyone help?

    This means generally that you install one version upgrade and it does not find the earlier version. You will need to provide the number of the prior product that qualifies for the upgrade.

  • Using Acrobat Pro of XI - form downloaded from the State Office is the filling of cells from a different cell randomly

    I use Acrobat Pro XI - form downloaded from the State Office is the filling of cells to fill with another cell, and the news does not go to the correct cell. That is my family name of Page 1 is filling in another area more later in the application on page 17, where I'm supposed to add an account number. The fields are related so I if I change one, they both change. What is happening about 20 + different cells with different texts / information. Any ideas on how I can break the link between information in cells? Thank you

    They threw the form creation process. Probably copied and pasted the form fields without renaming, obliging to have identical values.

    Report this problem to them and request a corrected version of the file. If you have Acrobat you can rename the fields yourself (if the file is not secure).

  • Where can I get a real Acrobat Pro 7. I have a legal key and do not have the latest versions

    I am a user of Lightroom and Photshop. And sometimes I use Acrobat for simple things. Moving to a new computer, I somehow lost my Acrobat Pro 7. Still, I have a legal key for him and it is useless for most. So I do not look forward to pay €25,-per month. Anyone know wherr can I get a real version of Acrobat 7 Pro? Thank you.

    '7' will work very well on XP (or period of time equivalent Mac OS). '7' doesn't do well under Vista. '7' is a step to go in Windows 7, 8, 8.1 or any what contemporty Mac OS.

    Acrobat 7.x product family spent in the "end of Support" a lot, for a long time. It is not compatible in any BONE of the contemporary.

    Be well...

  • I bought the Adobe Acrobat Pro on disk, then realized that my new laptop is not a CD player. Can I just download it with my number of series or I have to send again?

    I bought a new laptop after that the mine was stolen. I also bought Adobe Acrobat Pro on disk. Then, I realized that my new laptop of steady-state is not a CD player... I can download the software with my serial number or I have to send it back and buy the downloadable version?

    I also bought Adobe Acrobat Pro

    What version?

    You can simply download the Adobe installer, install, then enter your serial number when prompted.

    Download and Installation Help

  • How to insert page codes and generate a table of contents?

    Help!

    I have a Multi-document of 150 pages. I need to know How TO:

    (1) Insert the code of the page, and

    (2) to create a Table of contents which generates the section headers and page numbers.

    My computer is a PC and I am running Acrobat Reader Professional 11. When I open the PDF file that has been created/saved in Acrobat version 7 x, the following message appeared: "Acrobat has detected that this page has no editable text or that he has analyzed the content. These documents are better led by conversion to another format by using the export file option in the editing of content panel. " I exported the PFD to a Word according to the document, but there are many errors in code and text that would be too labour intensive.

    Does anyone know a work-around for my dilemma? Thank you very much for the help!  :-)

    Barbara Hutchison wrote:

    I am running Acrobat Reader Professional 11.

    There is no such thing; It's either

    1. Adobe/Acrobat Reader
    2. Acrobat Pro
    3. Acrobat Standard

    You will need Acrobat, not reader, for what you are trying to reach.  If you do not have Acrobat, what is your version?

  • RH10 fails to generate the table of contents or index

    RH10 has not generated table of contents or index once I have updated a reorganization project and removal of several subjects. I used the editor of broken links to create new links, but this does not solve the problem.

    Hello again

    In this case, it would appear that you may need to apply some patches of RoboHelp. See the link below and take these measures.

    Click here to see

    See you soon... Rick

  • FM10 cannot generate the table of contents with main points

    Hello world

    I've read some useful discussions here on this issue but I still can not to be able to solve this problem of main points for my OCD.

    I already assured that the reference for all my image in my book files have the same reference table of contents of the page entry page. When I generate my OCD the main points are missing!

    I then, open the reference page for the TOC file and paste in the same entries of table of contents of my other image files and then update the book to regenerate the table of contents.

    Also, this does not solve the problem.

    Any help to fix this would be really appreciated!

    Here are some screenshots of my reference page for my OCD (below). I have ensured that this section is present for all of the image files from my book too (in their sections of the reference page for the table of contents).

    ChapterTitleTOC

    ChapterTitleTOC.png

    Heading1TOC

    Heading1TOC.png

    Heading2TOC:

    Heading2TOC.png

    And my OCD generated

    Generated TOC.png

    Open view - reference pages and search for all occurrences of

    <$paratext><$pagenum>

    remove the space between the tags, then press tab once, then make sure you that you have selected to view - toolbars - formatting to display the paragraph on the right-hand panel, then switch to design a so I don't see there you already have 5.76 tab stops then click it and make sure before that the vertical slider of creation is <$paratext>(it should be a sign of angular once you press tab) |<$pagenum> then Now click on your 5.76 and change of play left to right or CHANGE WIDTH see screenshot AFTER YOU press CONTINUE you need to update while paragraph sign for reference pages

Maybe you are looking for