I love PDFWriter. It was a bit confusing at first but I have now figured it out and I have been able to create some very useful reports within my app. However, I am still having trouble with the Rotation code. It isn't recognized, etc.
I tried a fix by Locutus that involved adding a line of code to the pdfwriter.xml file. That didn't work either. He even supplied me with his .xml and I still can't get it to work. Basically, the line;
PDFWriter1.addText2(30, 90, 10, "© CRL", Fonts.DEGREES_270_ROTATION)
gives me the "unknown member: degrees_270_rotation" message.
DEGREES_270_ROTATION is not actually a choice in the drop-down when I type Fonts. I only get a list of fonts. I did read that perhaps I could simply enter the integer (270, etc.) but that doesn't work either. Of course, the declaration is looking for a string...not an int. It says transformation as String. Not sure what's going on!
I would love to figure this out. With the exception of this problem, PDFWriter has met all of my needs. I would hate to have to throw away 2 weeks of work over this one issue but I really need the rotation part for my app.
Thanks to anyone who may have faced this problem and found a solution. I have version 1.10 of pdfwriter.
Thanks again!
I tried a fix by Locutus that involved adding a line of code to the pdfwriter.xml file. That didn't work either. He even supplied me with his .xml and I still can't get it to work. Basically, the line;
PDFWriter1.addText2(30, 90, 10, "© CRL", Fonts.DEGREES_270_ROTATION)
gives me the "unknown member: degrees_270_rotation" message.
DEGREES_270_ROTATION is not actually a choice in the drop-down when I type Fonts. I only get a list of fonts. I did read that perhaps I could simply enter the integer (270, etc.) but that doesn't work either. Of course, the declaration is looking for a string...not an int. It says transformation as String. Not sure what's going on!
I would love to figure this out. With the exception of this problem, PDFWriter has met all of my needs. I would hate to have to throw away 2 weeks of work over this one issue but I really need the rotation part for my app.
Thanks to anyone who may have faced this problem and found a solution. I have version 1.10 of pdfwriter.
Thanks again!