Antenna House Formatter formats XSL-FO or HTML+CSS or XML+CSS to PDF, SVG, and other formats. Antenna House Formatter supports a wide range of custom extension properties and functions to improve the quality of the formatted output. Many of these are XSL-FO features implemented for CSS or CSS features implemented for XSL-FO.
Questions tagged [antenna-house]
53 questions
6
votes
3 answers
what is benefit of using Antennahouse over Apache FOP?
I would like to know the difference and additional features in Antennahouse over Apache FOP.

Thunder
- 10,366
- 25
- 84
- 114
4
votes
1 answer
margin inside/outside for CSS Paged Media rendering in AntennaHouse
I'm doing print layouts with HTML and CSS with AntennaHouse renderer.
A box in my content should have a left margin of 20pt on left pages and 10pt on right pages.
/* on left hand pages */
margin-left: 20pt;
margin-right: 10pt;
/* on right hand…

ToFi
- 1,167
- 17
- 29
4
votes
2 answers
XSL-FO leader wrapping
I have a list of data with a dotted leader separating text aligned to the left and to the right. I'm using the following XSL-FO to achieve this.

Peter
- 43
- 1
- 4
3
votes
1 answer
XSL-FO Antenna House Formatter - prevent hyphenation across page break
With XSL-FO is there a way to prevent words from being hyphenated across a page break whilst hyphenation in general is turned on? I am using Antenna House Formatter. Thank you in advance.

kylej
- 33
- 4
3
votes
5 answers
Creating watermark text in CSS Paged Media
I've got a watermark that I need to repeat on every page of a PDF. The source text is a div in my HTML:
(outermost container)
…
Internal Use Only - Do Not Duplicate

Hobbes
- 1,964
- 3
- 18
- 35
2
votes
1 answer
Different CSS property values depending on @page selector
I need to display a "tab" on the right side of all :first and :right pages. The tabs must be in the same position on all pages.
This is my mock HTML:

Diego Schiavon
- 167
- 12
2
votes
5 answers
How to finetune the position of a list bullet/number
I've made a list in HTML:
-
list number

Hobbes
- 1,964
- 3
- 18
- 35
2
votes
3 answers
CSS pseudo-elements: using attr to refer to an attribute of another element
I'd like to use the ::before pseudoelement to insert some text that is found in another area of the HTML file.
My HTML:
...
Don't press the red button!
I can use…
Hobbes
- 1,964
- 3
- 18
- 35
1
vote
3 answers
CSS paragraph layout with a border, and ::before element that needs its own border
I've got some text that needs the following:
border around the text
a ::before element that has its own border and background color
Basically, I want it to look like this:
So far, I've got this:
My CSS:
.caution {
border: 0.5pt solid…

Hobbes
- 1,964
- 3
- 18
- 35
1
vote
1 answer
Multiple inline-containers in one block - can't get them to break to the next page
I'm using inline-containers to render a series of images. My source file has 5 paragraphs, each containing 1 image.
I've got an A4 page, with…

Hobbes
- 1,964
- 3
- 18
- 35
1
vote
1 answer
XSL-FO Hyperlinks in PDF - Print Off View On - Antenna House
I am genereating PDF-files with links and want them to be displayed differently when viewing them in a PDF viewer than when printing them. When viewing them the links are to have a blue border around the link, but when printed there shall be no…

h.sundblad
- 13
- 4
1
vote
3 answers
Force line break after string length
I want to force a line break after a string length of 14 characters in a PDF generated with AH Formatter. So this is my xsl code without any attempt of line breaking:

papastavro
- 61
- 2
- 7
1
vote
1 answer
Generated PDF is double the size of the original PDF
I have a PDF with 8 pages. I use the pages in this PDF as background images to create a new PDF with XSL-FO via Antenna House. This new PDF is nearly the same as the original PDF, just with some additional personalized text content.
What I am…

papastavro
- 61
- 2
- 7
1
vote
1 answer
XSLT FO Horizontal alignment of inline container
I'm trying to align an inline container horizontally, but I can't find the corresponding FO attribute like display-align for vertical alignment.
Here is some example code without any alignment:

papastavro
- 61
- 2
- 7
1
vote
1 answer
Column-count overflowing down (XSL-FO + Antenna House Formatter)
I am working with XSL-FO in combination with the Antenna House Formatter (V6) where I have a block-container with column-count: 3 on it. The problem is the overflowing content does not go to the right but instead goes below it. I can "fix" the issue…

Dumpen
- 1,622
- 6
- 22
- 36