document-builder
document-builder copied to clipboard
Groovy Document Builder
@craigburke , I'm new to document builder. Is it possible to adjust the row height / cell height within a table. I can't seem to make the row height any...
``` def builder = new PdfDocumentBuilder(new File('example.pdf')) builder.create { document { paragraph "ПРИВЕТ" } } ``` Exception thrown java.lang.IllegalArgumentException: U+041F ('Pecyrillic') is not available in this font's encoding: WinAnsiEncoding
When creating a table cell a paragraph is created automatically by `TextBlock DocumentBuilder#getColumnParagraph(Cell)` to hold the cell content. However I found no easy way to set lineSpacing and lineSpacingMultiplier for...
Hello, the text can be aligned right, left and center, but not justified. Is this right? I am working on a project and the paragraph has to be formatted justified....
Hello. I am trying to create a table with n rows where each row has two columns and each cell will contain a table. If the table contains a single...
Support for adding links. You should be able to set a url on a header, paragraph, or text section.
I'm trying to include an image of a radio button multiple times, and getting an error (please note that I'm only getting this when running as war deployed to tomcat...
Vertical alignment is fixed to 'top' in 0.4.15 (at least in WordDocumentBuilder). It would be great if we could specify vertical alignment for a cell. Something like this: cell(align: 'center',...
This fixes the issue raised in #43
In a table where you have both colspan and rowspan, the calculation gets a bit messed up. For example: ``` groovy table { row { cell "Vspan of two", rowspan:...