A java library on top of Apache PDFBox to build tables in PDF documents.
Questions tagged [boxable]
26 questions
6
votes
2 answers
PDFBox - How to change encoding from WinAnsiEncoding to Unicode?
I am trying to find a way I could change the WinAnsiEncoding to Unicode, I've tried setting font like this,
PDDocument doc = new PDDocument();
PDPage page = new PDPage(PDRectangle.A4);
doc.addPage(page);
File unicodeFileLocation = new…

rac3b3nn0n
- 861
- 2
- 12
- 26
2
votes
2 answers
How to create multiple table on the same page pdfbox?
I want to create multiple table(table below table) using pdfbox and boxable.
but table just overlap, how do I solve it?
for(ProductGroup productGroup: productGroups) {
BaseTable table = new BaseTable(yStart, yStartNewPage, bottomMargin,…

kalipts
- 1,097
- 1
- 9
- 21
2
votes
1 answer
how to create table in pdfbox in java springmvc
I want to create a table on pdf page, I already did it, but I need only the skeleton and table-header in the table.
Thanks in advance
Expectation: I need something like this
Reality: Actually it came like this
code for create table:
public static…

syedali SD
- 77
- 1
- 9
2
votes
1 answer
How to style an inner table with boxable?
How can you change styles like border width, border color, text alignment, etc. of an inner table created with boxable?
SampleTest10 in the unit tests here creates an inner table by using HTML. The resulting table has default styles. How can you…

Bobface
- 2,782
- 4
- 24
- 61
2
votes
0 answers
Adding Hyperlink to text inside Boxable Cell - PDFBox
Hope all are good. I am relatively new to Boxable and PDFBox and was hoping someone could help me in this regard. I am trying to generate a PDF using PDFBox and since I was required to create tables which I did, now I need to put a hyperlink text in…

rac3b3nn0n
- 861
- 2
- 12
- 26
2
votes
1 answer
No glyph for U+000D in font Helvetica
How to solve this for pdfbox with boxable.
I am getting in table.draw as
No glyph for U+000D in font Helvetica
What to do.I am building table with boxable

user1213199
- 57
- 2
- 7
1
vote
0 answers
Having an issue placing text & table on same PDF page using Boxable
I'm having an issue placing some text and a table on the same PDF doc page, using the Boxable library for building PDF tables! The document is generated fine, except that it's supposed to generate one single page, with both the text and the table…

Dragos
- 111
- 1
- 8
1
vote
1 answer
NumberFormat locale leads to error in PdfBox / Boxable
I am experiencing a weird error in PdfBox 2.0.20 (+Boxable 1.5) when using NumberFormat to get the € symbol on one machine. On other machines it works with no issues though.
NumberFormat currencyFormatter =…

Tigerware
- 3,196
- 2
- 23
- 39
1
vote
0 answers
How to Insert Boxable Table Between Prexisting Header and Footer of PDF File
In Adobe Acrobat Pro DC, I have created a PDF document with a header and footer. I'm using PDFBox and Boxable to put a table between the header and footer. This works on the first page of the document. But, when my Boxable table spans several…

rogeop
- 11
- 1
1
vote
1 answer
Boxable if cell height is changed text don't appear
I have created BaseTable according to example from https://github.com/dhorions/boxable/wiki
float margin = 50;
float yStartNewPage = myPage.getMediaBox().getHeight() - (2 * margin);
float tableWidth = myPage.getMediaBox().getWidth() -…

Piotr Żak
- 2,083
- 6
- 29
- 42
1
vote
2 answers
How to create inner table with PDFBox 2 and Boxable?
I am working with PDFBox v2 and boxable and I need to generate a cell with 2 rows inside.
I tried to make like wiki explains, but in my app cell content prints literally.
The code for generate inner table is:
activeRow.createCell(100f,…

MaiK
- 101
- 8
1
vote
0 answers
Java how change font in converter pdf - pdfbox
i have a problem. I create application JavaFX management for data base. I decided to convert data from tableview to pdf. For this I used a pdfbox. I can't change font in my converter pdf. How can do it? Because helvetica does not support the UTF-8…

Krzys421
- 11
- 2
1
vote
2 answers
Rendering large table to pdf file using Boxable and PDFBox in java
I am trying to create a pdf file in Java using PDFBox. The file is to contain a large table with 2 columns. To render tables insidde the pdf, I am using another library: boxable.
The file is successfully created and the table is also rendered. But…

HBK
- 735
- 1
- 11
- 29
1
vote
1 answer
Table disappears when drawn before contentStream - PDFBox with Boxable
I am new to PDFBox and Boxable and I'm hoping if someone could help me with this! This question is in reference to a question asked here (Ref: https://github.com/dhorions/boxable/issues/89 )
In this, flurinBoonea presented a small sample code to put…

rac3b3nn0n
- 861
- 2
- 12
- 26
0
votes
0 answers
How to set italics font in PDFBox loaded with custom font file
I am using a custom font file(.ttf) and need to make the font look italics in the cell.
PDType0Font chewyFont = PDType0Font.load(document,new File("Chewy-Regular.ttf"));
BaseTable table = new BaseTable(yPosition, yStartNewPage, bottomMargin,…

Aryasindhu Sahu
- 103
- 1
- 13