What can cause the RTF keep tag not working correctly?

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

What can cause the RTF keep tag not working correctly?

Postby IDEAL Software Support » Thu Nov 18, 2004 8:07 pm

I wrap the following text within the keep tag. When there are more
than one page, a port of text within keep move to the next page, the
rest of text will remain in the first page. Did anyone know why?

Thank for your help.

Here is the text.

\par \par\widctlpar\keep\keepn STATE OF Maryland\line COUNTY OF
Frederick\line \line On October 21st, 2003, before me,a Notary Public
in and for Frederick County, in the State of Maryland, personally
appeared who acknowledged himself/herself to be the aforesaid officer
of the above named corporation, and that he/she, being authorized so
to do, executed the foregoing instrument for the purposes therein
contained, by signing the name of the corporation by himself/herself
as the officer designated therein.

In witness whereof I hereunto set my hand and official seal,\line
\line <P>WITNESS my hand and official seal,\line \line
<P>_________________________\line NAME\line Notary Expires: 04/07/2007
\line \qr <<IMAGE>>\qj \nokeep\nokeepn\nowidctlpar

jimmy phat
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Postby IDEAL Software Support » Thu Nov 18, 2004 8:08 pm

I tried exactly your demo text and inserted it into an A4 document with the following coordinates:

WriteRTF(100, 2650, -1000, VFREE, "<your demo text>")

and it works correctly and as expected, i.e. the text as a whole is broken to the next page, since

\widctlpar\keep\keepn

are RTF instructions to keep all the following paragraphs together.

If on your machine this text is split over two pages, please mail the page format of the document (A4, US-Letter, ...), the margin settings and the exact command (including all the coordinates) with which you insert the text into the document.

BTW: are you using the latest release of VPE? Maybe this is a bug of an older version. If you are using VPE v3.20 the upgrade to the current v3.50 is free. Simply download the v3.50 trial version and enter your v3.20 license key to unlock it.

Regards
Thorsten Radde
IDEAL Software GmbH
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 43 guests