Am 06.03.2016 um 19:57 schrieb Blake McBride:
Hi,

I am using pdfbox-2.0.0-RC3.jar.  I can't seen to find the AppendMode
enum.  My IDE (intelliJ) tells me:


import org.apache.pdfbox.pdmodel.PDPageContentStream;  exists

import org.apache.pdfbox.pdmodel.PDPageContentStream.AppendMode;  does not exist


and there is no PDPageContentStream.AppendMode

I was getting my example code from:

https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreateLandscapePDF.java?view=markup

The AppendMode may have been done in the last minute, i.e. not in RC3. The best would be that you either get the -SNAPSHOT version from maven, or download the source code and find it there.

Here's the line in old style:


PDPageContentStream contentStream = new PDPageContentStream(doc, page, false, false);


Tilman



Not sure what to do.  Seems like it just flat out doesn't work.


Appreciate any help.


Blake McBride



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to