pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Lehmkühler <andr...@lehmi.de>
Subject Re: Where's PDDocument?
Date Thu, 25 Sep 2014 11:06:16 GMT
Hi,

> Andreas Lehmkühler <andreas@lehmi.de> hat am 24. September 2014 um 10:18
> geschrieben:
>
>
> Hi,
>
> > Tilman Hausherr <THausherr@t-online.de> hat am 24. September 2014 um 07:55
> > geschrieben:
> >
> >
> > Thanks, I've notified the person on stackoverflow. Are you keeping the
> > old link as is, or are you planning to redirect it to the new one?
> Yes, I'm planning to rename it to "download" and to redirect the old
> "downloads"
> to it, once I found out how to phrase a correct redirect rule for the htaccess
> file
Done. The official link is now

http://pdfbox.apache.org/download.cgi

But the old one http://pdfbox.apache.org/downloads.html still works


BR
Andreas Lehmkühler

> > Tilman
>
> BR
> Andreas Lehmkühler
>
> >
> > Am 23.09.2014 um 19:19 schrieb Andreas Lehmkuehler:
> > > Hi,
> > >
> > >
> > > Am 22.09.2014 um 18:00 schrieb Tilman Hausherr:
> > >> The cause is rather a documentation problem, you might want to add a
> > >> text like
> > >> "don't right-click" here:
> > >> https://pdfbox.apache.org/downloads.html#recent
> > >>
> > >> See also http://stackoverflow.com/a/25965256/535646
> > >>
> > >> This has happened to me too once. Although I quickly understood why.
> > > I've rearranged the download section. It's using now the common mirror
> > > script to use directly the chosen mirror.
> > >
> > > The link slightly changes: http://pdfbox.apache.org/downloads.cgi
> > >
> > >> Tilman
> > >
> > > BR
> > > Andreas Lehmkühler
> > >
> > >> Am 22.09.2014 um 11:39 schrieb Andreas Lehmkühler:
> > >>> Hi,
> > >>>
> > >>>> Tilman Hausherr <THausherr@t-online.de> 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?
> > >>>>>
> > >>
> > >
> >

Mime
View raw message