parsing RTF header and footer
- From: vikas.image@xxxxxxxxx
- Date: 1 Aug 2006 04:53:50 -0700
Hello Everyone
I am trying to create a RTF parser which can automatically recoganize
the header and footer.
Infact one of my client uses our converstion software which converts
RTF to PDF. but the problem is if the rtf document has header and
footer it will not be automatically handled. User has to manually add a
code to add header and footer which infact is not recomended from user
point of View. So to make the story short what i am planning to do is
to automatically retrieve the header information from RTF and put it in
to PDF canvas. But i am not much sure how to do this.
When i open the RTF in notpad i can see the header inforamtion starts
from \Header and ends till /par}. But the problem is if I parse the
document from /Header to \par} it will solve the purpose if customer
has one line of header. But if say customer uses two lines of header
with an space between two lines then i can see two " \par}". This made
me totally confuse. could any one please point out me is this is right
way to do this
Any suggestion regarding this would be higly welcome and appreciated.
My platform is Delphi 7.
.
- Follow-Ups:
- Re: parsing RTF header and footer
- From: Riki Wiki
- Re: parsing RTF header and footer
- Prev by Date: Re: Spell check components?
- Next by Date: Re: Any recommendations for a software protection tool?
- Previous by thread: Seeking a form designer for end users
- Next by thread: Re: parsing RTF header and footer
- Index(es):
Relevant Pages
|