lcCurPage.getBody().getMainReferenceArea().addChild(lcSvgArea);
This line is the line that causes the problem.
the "// adds invalid q" is a note to myself for which lines I have
tried, and their result.
If I remove the line, I can open the document with no errors, but
also no data :-(
Thank you.
I hopefully will crack this soon :-)
-----Original Message-----
From: Clay Leeds [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2003 2:18 PM
To: [EMAIL PROTECTED]
Subject: Re: Error in PDF file
Ethan,
I snipped a bit, but found this in your code. Notice the three lines of
code which "adds invalid q". I don't suppose removing these three lines
of code will fix your problem? Otherwise, I can't help. I'm a doctor,
not a... er... never mind... Good luck!
Leet, Ethan C wrote:
> // Create a Page with the PageMaster
> Page lcCurPage = lcPageMaster.makePage(lcAreaTree);
>
> //lcCurPage.getBody().addChild(lcSvgArea); // does nothing
>
> lcCurPage.getBody().getMainReferenceArea().addChild(lcSvgArea);// adds
> invalid q
>
> //lcCurPage.getBody().addChild(lcSvgArea); // does nothing
> //lcBody.getMainReferenceArea().addChildAtStart(lcSvgArea); //
> adds invalid q
> //lcBody.getMainReferenceArea().addChild(lcSvgArea); // adds
> invalid q
> //lcBody.addChild(lcSvgArea); // does nothing
>
> lcAreaTree.addPage(lcCurPage);
> }
>
> This will create an invlaid PDF file that will popup an error
>
> saying Illegal 'q' in text object
--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]