10-12-2012 06:59 PM
10-12-2012 07:51 PM
You might want to look at the RTF specification and/or work with Tech Support on this question. I do not know whether there is an RTF control string that puts a "page border" control into an RTF document.
One way to test would be to create a Word doc, put a page border in the Word doc, save the Word doc as an RTF file and then try to reverse engineer the RTF file to see what the RTF control string is for the page border. So that is half the equation -- finding out whether RTF has controls for page borders.
Then the other half of the equation is to see whether ODS RTF or ODS TAGSETS.RTF will allow you to insert the RTF control string that you need into your document with ODS. ODS RTF output is meant to be rendered in Word and I'm not sure what part of your output or document would carry the page border information -- I would guess a style template designed for RTF only but... here's the dilemma...if the RTF spec doesn't allow page border controls, then there's no way to get them into ODS RTF output and even if RTF has a control string, you still have to figure out how to pass the control string into ODS and on into the output file.
So I that's why I think you should work with Tech Support on this.
10-15-2012 03:00 PM
Thank you for the help. I was able to find the RTF control words for page border from Microsoft web page.
Here is some text from the site. To use RTF control word, As you said i may need your help/suggestion whether it should be done using style templates or at TAGSETS.RTF OPTIONS?
Since it is applicable at page level i wonder what style element(document/pages/contents) has capable to carry this string.
Page border surrounds header.
Page border surrounds footer.
Page border top.
Page border bottom.
Page border left.
Page border right.
Page border art; the N argument is a value from 1 to 165 representing the number of the border.
N has the bit fields:
bits 0-2 Apply to all pages in section (0), first page in section (1), all but first page in section (2), whole document (3).
bit 3 Display in front (0), in back (1)
bit 5 Offset from text (0), from edge of page (1).
8 Page border for all pages in section measures from text. Always display in front option is set to off.
32 Page border for all pages in section measures from edge of page. Always display in front option is set to on.
40 Page border for all pages in section measures from edge of page. Always display in front option is set to off.
Align paragraph borders and table edges with page border.
10-15-2012 11:52 PM
It is great that you found out that RTF has a page border control string. However, that is just half the issue. As I recommended in my previous posting, I think that you need to open a track with Tech Support. I don't know whether there is a method by which you can insert the control string into the document. If anyone can find out the answer to your question, it's Tech Support. I wouldn't want to have you go down the template road if there's is just no way to touch the part of the document you need.
To open a track with Tech Support, fill out the form at this link: