pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Lehmkuehler <andr...@lehmi.de>
Subject Re: Where's PDDocument?
Date Tue, 23 Sep 2014 17:19:51 GMT
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