Manipulate Document Text using Javascript?


is there way work document text using javascript?  e.g. have document converted pdf.  want make portions appear or dissappear. can make portions of text objects, or already? (if so, name of object are?)

 

thank feedback.

 

andrew

you don't have type of direct control on text on page, there workarounds. if place of text want show/hide on layer (ocg - optional content group), can control it's visibility (and other things). need authoring application allows place text on layers , preserve layers ocgs when converted pdf. can control ocgs javascript.

 

a simpler approach cover text 1 or more opaque buttons, , show/hide buttons javascript. example, if have several buttons in document named "cover", can show buttons (hiding underlying text) with:

 

getfield("cover").display = display.visible;



More discussions in PDF Forms


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support