Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
Vicente_Vega@adobeforums.com #1
Is there an easy way to just modify text content with VB
Hello, I just want to change any given text in a PDF document programatically.
For instance, changing the language of the text within a PDF document to Spanish.
Is there a straight forward way to do this with VB (or other language), using a function or a call within the SDK ?
Thank you all!
Vicente_Vega@adobeforums.com Guest
-
How to *modify* text in HTML::Element
Sorry for the repost, I hit Send too soon. I am using HTML::TreeBuilder to futz with some HTML, and I need to modify the text of some of the... -
text modify
Hi, I have some data column based data I want to modify a bit. 0065 663 517 046 0 1485 0065 663 517 046 3 1500 0065 663 517 046 5 1882... -
Content from a memo field: converting the rich text into plain text
Hi folks, I have an Access 2000 db with a memo field. Into the memo field I put text with bold attributes, URL etc etc What I need to to is... -
Modify a text file directly
Hi all, I have to replace some chuncks out of a text file. My actual way to do this is to put the file contents into a scalar variable : open... -
Modify Text in a Combo Box A2002
I'm trying to validate and change (if necessary) what a user types in a combo box, specifically a person's name. The bound combo box presents... -
PDL@adobeforums.com #2
Re: Is there an easy way to just modify text content with VB
This could be done with a C/C++ plug-in, but not with VB. And it certainly won't be trivial, especially if you expect to be able to convert with proper grammar since the text runs may not necessarily be in the order you see them on screen.
PDL@adobeforums.com Guest
-
Vicente_Vega@adobeforums.com #3
Re: Is there an easy way to just modify text content with VB
Thank you so much, PDL.
Yes I though that.
But, Do you have any hint of how to do it (like the Function, Property or Call name) ?
Thanks again!
Vicente_Vega@adobeforums.com Guest
-
Vicente_Vega@adobeforums.com #4
Re: Is there an easy way to just modify text content with VB
Sorry for not explaining myself clearly.
This is an example of an easy text I want to replace
every time there is a "Date:" I want to replace it with "Fecha:"
but programatically since there are a lot of documents to change.
Thank you!
Vicente_Vega@adobeforums.com Guest
-
malkyt8@adobeforums.com #5
Re: Is there an easy way to just modify text content with VB
hi,
As PDL stated you could use as c/c++ plug-in but this would require you to find the word using a PDDocCreateWordFinder function ( there are similar functions so I would investigate to make sure you pick the most appropriate.
You can the use this to find the word you want to replace. To replace it you would then need to get a note of the location of the word using the PDWord functions. then get the PDEText object(s) (it may be more than one) that contains the word you want to replace and remove it.
Then add a new PDText object at the location stated above with the new text that you want, you could get most of the formatting information from the original object.
AS you can see this is not a straight forward change to make.
HTH
Malky
malkyt8@adobeforums.com Guest



Reply With Quote

