03-04-2008, 01:24 PM
Hi,
I have many small text files that I am inserting into a separate app document through means of a picklist dialog.
Each small text has simple formatting i.e. Paragraphs, single or double spaces between e.g.
I hope that gives the flavor. Obviously, the texts have more paragraphs than that and there are many > 100.
I have formatted a few as follows:
But this will take too long to do for each text. Is it possible to add simply formatted text into a string without doing the conversion above. I could have the dialog call up independent text files but I want to keep things all in QM macros rather than having to keep local files or network files available.
Thanks,
Stuart
I have many small text files that I am inserting into a separate app document through means of a picklist dialog.
Each small text has simple formatting i.e. Paragraphs, single or double spaces between e.g.
Quote:This is the first sentence of a one sentence paragraph.
This is the first sentence of the second paragraph. This is the second and notice how there is no paragraph return or spaced between the sentences.
This is the third paragraph's first sentence. etc
I hope that gives the flavor. Obviously, the texts have more paragraphs than that and there are many > 100.
I have formatted a few as follows:
str text = "This is the first sentence of a one sentence paragraph.[][]This is the first sentence of the second paragraph. This is the second and notice how there is no paragraph return or spaced between the sentences.[][]This is the third paragraph's first sentence. etc"
But this will take too long to do for each text. Is it possible to add simply formatted text into a string without doing the conversion above. I could have the dialog call up independent text files but I want to keep things all in QM macros rather than having to keep local files or network files available.
Thanks,
Stuart