Saving RTF with headers and footers including page numbering
Posted: Sat Mar 15, 2014 8:14 am
Having looked at the various options on the forum I have chosen to go with ...
DBRichViewEdit1SaveRTFExtra
RTFCode :=
'{\header\pard\plain\posxc Header text goes here \par}'+
'{\footer\pard\qr © ABCWXYZ Pty Ltd Page \chpgn of {\field{\*\fldinst NUMPAGES }}\par}';
This works OK but I have several questions about the saved document.
1/ How do I stop the header and footer appearing on page one?
2/ How do I set the format/style of the header/footer ie font, font size etc
3/ How do I set the height allocated for the header / footer?
DBRichViewEdit1SaveRTFExtra
RTFCode :=
'{\header\pard\plain\posxc Header text goes here \par}'+
'{\footer\pard\qr © ABCWXYZ Pty Ltd Page \chpgn of {\field{\*\fldinst NUMPAGES }}\par}';
This works OK but I have several questions about the saved document.
1/ How do I stop the header and footer appearing on page one?
2/ How do I set the format/style of the header/footer ie font, font size etc
3/ How do I set the height allocated for the header / footer?