Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Numbering / March 2005

Tip: Looking for answers? Try searching our database.

Page Numbering in RTF

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jim Osborne - 08 Mar 2005 15:15 GMT
I've got a VB.Net application that builds a report in RTF format for viewing
in word. The report is broken down into sections, with Headers, footers etc.
I have page numbering turned on in certain sections of the report and a TOC
field definition in the report as well. My client wants me to add Roman
Numeral page numbering to some additional sections at the beginning of the
report. Here is a clip of the section of my report where I would like the
roman page numbering:

\sect\sectd\pgnlcrm
{\header
{\trowd \trgaph90
\cellx3780
\cellx11340
\cellx15120
\pard\intbl {\f1\fs18 Demo } \cell
\pard\intbl \qc {\f1\fs18 Standard Report Selections} \cell
\pard\intbl \qr {\f1\fs18 Library Properties Page \chpgn } \cell
\row }
}

I have the \pgnlcrm tag just after the section definition, but when I view
this page in Word 2003, my header reads "Page 2" and not the proper "Page
ii".

What am I missing here? Any help would be greatly appreciated.

Jim
Klaus Linke - 17 Mar 2005 02:33 GMT
Hi Jim,

You haven't actually inserted a { page } field anywhere:

\sect\sectd\pgnlcrm
{\header
{\trowd \trgaph90
\cellx3780
\cellx11340
\cellx15120
\pard\intbl {\f1\fs18 {\field{\*\fldinst { page }}}} \cell
\pard\intbl \qc {\f1\fs18 Standard Report Selections} \cell
\pard\intbl \qr {\f1\fs18 Library Properties Page \chpgn } \cell
\row }
}

Regards,
Klaus

> I've got a VB.Net application that builds a report in RTF format for viewing
> in word. The report is broken down into sections, with Headers, footers etc.
[quoted text clipped - 23 lines]
>
> Jim
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.