Re: Rotate text

2015-04-26 Thread Tilman Hausherr
) + 350f, 800f, getTwelveDefaultAppearance(), "NBRBUNDLES", "1"); createPdfTextbox(page, acroForm, 430f, 770f, getSeventyFieldWidth() + 430f, 800f, getTwelveDefaultAppearance(), "QUANTITCOP", "3"); createPdfTextbox(page, acro

Re: Rotate text

2015-04-26 Thread Philippe de Rochambeau
form >>>>final PDTextbox textbox = new PDTextbox(acroForm, >>>> cosDictionary); >>>>textbox.setPartialName(textboxPartialName); >>>> >>>>((List) acroForm.getFields()).add(textbox); >>>> >>>> // specify the annota

Re: Rotate text

2015-04-26 Thread Tilman Hausherr
createPdfTextbox(page, acroForm, 430f, 770f, getSeventyFieldWidth() + 430f, 800f, getTwelveDefaultAppearance(), "QUANTITCOP", "3"); createPdfTextbox(page, acroForm, 510f, 770f, getSeventyFieldWidth() + 510f, 800f, getTwelveDefaultAppearance(), "QTYPRINTED", "3"); } ... --

Re: Rotate text

2015-04-26 Thread Philippe de Rochambeau
Name; >> >> } >> >> /* >> * */ >> >> protected void createReportLineOne(PDPage page, PDAcroForm acroForm) >> throws IOException { >> >> // leftX, bottomY,

Re: Rotate text

2015-04-25 Thread Tilman Hausherr
uot;); } ... --- - Mail original - De: "Tilman Hausherr" À: users@pdfbox.apache.org Envoyé: Mercredi 22 Avril 2015 23:09:15 Objet: Re: Rotate text I found this in the PDF spec for

Re: Rotate text

2015-04-24 Thread phiroc
quot;); } ... --- - Mail original - De: "Tilman Hausherr" À: users@pdfbox.apache.org Envoyé: Mercredi 22 Avril 2015 23:09:15 Objet: Re: Rotate text I found this in the PDF spe

Re: Rotate text

2015-04-22 Thread Tilman Hausherr
I found this in the PDF spec for BBox: / //A rectangle in default user space coordinates specifying the location of the viewport on the page.// //The two coordinate pairs of the rectangle shall be specified in normalized form; that is, lower-left followed by upper-right, relative to the measuri

Rotate text

2015-04-22 Thread phiroc
Hello, when I generate the PDF using this method, the page is landscaped but not the input field text. How do I rotate the text? Many thanks. Philippe -- byte[] generateSimpleTemplate() throws IOException, COSVisitorException { try (P