IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#19114 - 09/16/05 09:47 AM Dynamic Text Object
GregW Offline
Junior Member

Registered: 10/15/01
Posts: 3
Loc: HPG Corp
We have a form that needs to have 2 message areas.

One will be static for 2-4 weeks and the other will change to be about 4-6 different text messages.

We would like an enduser to be able to edit a simple Text file that can be included on a form. There might be paragraph spacing (CrLf) in the text stream.

Is it possible to dynamically import text that is in a text file on a form, similar to the way Images can be included dynamically?

Top
#19115 - 09/16/05 02:50 PM Re: Dynamic Text Object
Anonymous
Unregistered


Hi,
this is feasible but would necessitate a fair amount of coding and some of it in Postscript.
I would recommend page overlays to get the functionality you need. You could also use the add text action to add the information at the beginning of the data file each time it is submitted to PPW and then store the messages in arrays or variables to then apply them on the page for each printoutput. You could also transform the text into an image and pick them up with the picture object.

Hope this helps.
Thanks

Top
#19116 - 09/20/05 11:54 AM Re: Dynamic Text Object
JediToby Offline
OL Expert

Registered: 01/14/02
Posts: 154
Loc: Salt Lake City, UT
Greg,

We have a dynamic text form here that does something like what you're describing. Basically, I've written a PPTalk object that reads pseudo-HTML codes in the data file (containing the variable text) and formats the data appropriately. The method is that it loops through each line individually (thereby giving us CRLF functionality without the postscript coding). This method doesn't require PPWatch, but it did take a fair bit of coding and testing.
_________________________
Toby Dillon
Skymail International

Dim null as nothing = "42"

Top


Moderator:  cosimo, OL Newsgroup Support