thank you for your quick reply. I just can't follow at all???
As an example I would like to start with the example "HelloWorld.java",
which should give me the pdf-File "HelloWorld.pdf".
To make it easy I start with the commandline-tools.
The only one that is creating a pdf is "PrintPDF".
When I use it as:
|java -jar pdfbox-app-2.0.2.jar ||TextToPDF [||] HelloWorld.pdf
|I get the the printed java listing as a pdf.
But what should I use as |[OPTIONS]|? The compiled HelloWorld.class...
My tests with |PrintPDF| where also frustrating...
I am really just lost.
On 2016-10-10 19:35 (+0200), Tilman Hausherr <thaush...@t-online.de> wrote:
> Am 10.10.2016 um 12:05 schrieb js...@gmx.net:
> > Hi,
> > the 'Getting Started' on
http://pdfbox.apache.org/2.0/getting-started.html is still 'under
construction'. I hope you could get me a possibility to start.
> > I would like to Create a PDF from scratch, with embedded text and
table (spreadsheet) mostly in landscape format. How would you suggest me
> Read also the segment on "dependencies".
> Re create a PDF, download the source code and look at the examples:
> - CreateLandscapePDF.java
> - HelloWorld.java
> - HelloWorldTTF.java
> - EmbeddedFonts.java
> - ShowColorBoxes.java
> - coordinates are y 0 at the bottom
> - don't forget to close your content stream before saving
> Good luck! Come back if you need more help. Note that you can't attach
> PDFs, if you have any, you must upload them somewhere.