Hi,

> Tilman Hausherr <[email protected]> hat am 22. September 2014 um 01:05
> geschrieben:
>
>
> To get PDDocument use
>
> import org.apache.pdfbox.pdmodel.PDDocument;
>
>
> I don't know how your IDE works, but in mine, I just press CTRL Shift i  and
> all is done. There must be something similar on your IDE.
The eclipse quick fix feature should do the trick. Simply click on the part of
the code eclipse is complaining about and use CTRL+1 to get a list of possible
quick fixes.

BR
Andreas Lehmkühler

> Btw 1.8.7 is out.
>
> Tilman
>
>
>
>
> Am 22.09.2014 um 00:44 schrieb Antoine Dubuc:
> > I have this strange problem where I imported into Eclipse the 1.8.6 and can
> > see most of it, but not all of it?
> >
> > I downloaded PDFBox 1.8.6 from Apache
> >
> > I then copied it into a 'res' folder I created at the root my Java/Eclipse
> > project. I then right clicked on the project, went to properties, then into
> > Java Build Path, then in Libraries, then I clicked on Add JARS... and added
> > it and its documentation.
> >
> > Click here to see the results: http://i.imgur.com/Q9XJwuY.png
> >
> >  From then on, in my code, I could import(ish) PDFBox.
> >
> > For example, I can see:
> >
> > import org.apache.pdfbox.pdmodel.*;
> >
> > But, if you want to do something useful, you need to import more, often in
> > the form of:
> >
> > import org.apache.pdfbox.pdmodel.PDDocument;import
> > org.apache.pdfbox.pdmodel.PDPage;import
> > org.apache.pdfbox.pdmodel.edit.PDPageContentStream;import
> > org.apache.pdfbox.pdmodel.font.PDType1Font;import
> > org.apache.pdfbox.pdmodel.font.PDFont;
> >
> > For some odd reason, I see don't see these...
> >
> > Click here for a screenshot of the imports...
> > http://i.stack.imgur.com/PHNKo.png
> >
> > Could anyone elucidate this for me, please?
> >
>

Reply via email to