Antenna House Formatter V7.4 provides you with numerous XSL proprietary extension elements and properties.
When you use the extension elements or properties in XSL, be sure to specify the namespace URL http://www.antennahouse.com/names/XSL/Extensions.
Antenna House Formatter V7.4 also provides many CSS extensions. In this document, CSS 2.1 or CSS3 properties with restrictions are written together with XSL properties. See also “XSL/CSS Properties”. Although many of CSS3 specifications are included, many of them are in the state before Recommendation. It is safer for these properties of CSS3 specifications to use by adding the -ah- prefix. It is written as (-ah-) in this document. Although the property without adding -ah- will work with Antenna House Formatter V7.4, the specification may change in the future. It is not necessary to add -ah- to the property of Recommendation (or Candidate Recommendation, Proposed Recommendation) such as CSS 2.1.
For more details, see also Property Value Syntax.
CAUTION:
The Antenna House Formatter V7.4 implementation may not completely conform to the CSS3 specification.
In the CSS specification, transparent is equivalent to rgba(0,0,0,0). In Antenna House Formatter V7.4, transparent characters are not output, although the size is secured. rgba(0,0,0,0) outputs characters.
The rgb() function is available with both CSS and FO. Its 3 arguments can be given like rgb(<R>,<G>,<B>). For <R>,<G>,<B>, % values, or values from 0 to 255 are given.
☞<color>Introduction to CSS for Paged Mediargb()
rgba()
The rgba() function from CSS3 RGBA color values is available with both CSS and FO. Its 4 arguments can be given like rgba(<R>,<G>,<B>,<A>). For <R>,<G>,<B>, % values or values from 0 to 255 are given. For <A>, % values, or values from 0.0 to 1.0 are given.
You can also give a color name instead of <R>,<G>,<B> and write it like rgba(green,0.5).
☞<color>Introduction to CSS for Paged Mediargba()
hsl()
The hsl() function from CSS3 HSL color values is available with both CSS and FO. Its 3 arguments can be given like hsl(<H>,<S>,<L>). Unitless numbers are given to <H>. For <S>,<L>, % values, or values from 0.0 to 1.0 are given.
☞<color>XSL-FO Samples CollectionColors as Hue, Saturation, and Lightness
hsla()
The hsla() function from CSS3 HSLA color values is available with both CSS and FO. Its 4 arguments can be given like hsla(<H>,<S>,<L>,<A>). Unitless numbers are given to <H>. For <S>,<L>, % values, or values from 0.0 to 1.0 are given. For <A> % values, or values from 0.0 to 1.0 are given.
☞<color>XSL-FO Samples CollectionColors as Hue, Saturation, and Lightness
cmyk()
Available to use cmyk() function. 4 arguments can be given like cmyk(<C>,<M>,<Y>,<K>). For <C>,<M>,<Y>,<K>, % values, or values from 0.0 to 1.0 are given.
cmyk(<C>,<M>,<Y>,<K>) is equivalent to rgb-icc(#CMYK,<C>,<M>,<Y>,<K>).
☞<color>Introduction to CSS for Paged Mediacmyk()
cmyka()
Available to use cmyka() function. 5 arguments can be given like cmyka(<C>,<M>,<Y>,<K>,<A>). For <C>,<M>,<Y>,<K>,<A>, % values, or values from 0.0 to 1.0 are given.
☞<color>Introduction to CSS for Paged Mediacmyka()
Unit of em in the root element. It cannot be used for the value of the font-size property in the root element.
☞CSS Values and Units
dcem
Unit of the value based on the font size of a dropped initial. It can be used in elements for which the axf:initial-letters property is specified. It cannot be used for the value of the axf:initial-letters property. When dcem is not available, it is treated as em.
ex
Unit of the value based on x-height of the font.
When the font does not have x-height, a value of 0.5em should be used.
☞CSS Values and Units
cap
Unit of the value based on cap-height of the font.
When the font does not have cap-height, a value of altitude of the font should be used.
☞CSS Values and Units
jpt
Unit of the absolute value defined by JIS Z 8305. 1jpt = 0.3514mm.
q
Unit of the absolute value expressing Q (quarter) by JIS X 4052, JIS Z 8125. 1q = 0.25mm.
Unit of the absolute value expressing English Metric Unit. 1emu = 1in/914400 = 1cm/360000.
ch
Unit of the length expressing the width of character "0" U+0030 to be 1. When the glyph is not in the font, a value of 0.5em should be used.
☞CSS Values and Units
ic
Unit of the length expressing the width of character "水" U+6C34 to be 1. When the glyph is not in the font, a value of 1em should be used.
☞CSS Values and Units
lh
Unit of the length expressing the line-height to be 1. Even if line-height="2" is specified, for example, lh is converted into the absolute value. It cannot be used for the value of the line-height property.
☞CSS Values and Units
rlh
Unit of lh in the root element. It cannot be used for the value of the line-height property in the root element.
☞CSS Values and Units
vw
Unit of the width expressing the viewport width as 100. It cannot be used with elements for which a viewport, such as the root element, has not been established.
☞CSS Values and Units
vh
Unit of the height expressing the viewport height as 100. It cannot be used with elements for which a viewport, such as the root element, has not been established.
☞CSS Values and Units
vmin
Equal to the smaller length of vw or vh. It cannot be used with elements for which a viewport, such as the root element, has not been established.
☞CSS Values and Units
vmax
Equal to the larger length of vw or vh. It cannot be used with elements for which a viewport, such as the root element, has not been established.
☞CSS Values and Units
pvw
Unit of the width expressing the page width as 100. It cannot be used with elements for which a viewport, such as the root element, has not been established.
pvh
Unit of the height expressing the page height as 100. It cannot be used with elements for which a viewport, such as the root element, has not been established.
pvmin
Equal to the smaller length of pvw or pvh. It cannot be used with elements for which a viewport, such as the root element, has not been established.
pvmax
Equal to the larger length of pvw or pvh. It cannot be used with elements for which a viewport, such as the root element, has not been established.
Fraction of the leftover space in a grid container.
V7.4no-LT
Other XSL Extensions
In the XSL specification, the unit has to be put on the value which shows the length. In Antenna House Formatter V7.4, “0” without the unit is also acceptable only when the length value is zero.
However its rendering order is not defined. For this reason, if a part of region overlaps, it's important to determine which region should appear first. (With z-index, the order between region-* cannot be controlled.) Antenna House Formatter V7.4 handles the <fo:region-*> elements in any description order and renders them exactly in that order. If you describe <fo:region-body> last of all, then the content can be rendered upper than the other <fo:region-*>.
In the XSL Specification, the width of the padding or the border specified to <fo:region-body> or <fo:region-before>, etc. should be zero. Antenna House Formatter V7.4 can accept and process values other than zero. The following is sample code.
Although only xml:lang of the XML specification is explicitly stated in the XSL specification, Antenna House Formatter V7.4 accepts the following XML input. The same is applied to XHTML and XML+CSS.
Document information such as an author and title can be embedded in the PDF.
Antenna House Formatter V7.4 generates document information automatically by adding the following extended elements.
The information that was embedded into PDF can be seen by Adobe Acrobat or Reader.
Common Usage:
Specifies the document information. The information is not included in the generated areas. For example, this information is embedded into PDF.
In HTML, the setting equivalent to <axf:document-info> can be specified with the name attribute in the <meta> tag.
The setting of <metaname="document-title"> will take precedence over the setting of <title>.
See also (-ah-)display to learn more about <meta>.
The <axf:document-info> extension property can be placed as a child of <fo:declarations>, or as the first child
element of <fo:page-sequence>.
<axf:document-info> as a child of <fo:page-sequence> is effective only for PDF output in multi separate volume.
<axf:document-info> as a child of <fo:page-sequence> overwrites <axf:document-info> as a child of <fo:declarations> and is utilized for an information of the document when outputting in separate volume. Therefore the same document information is embedded in all the separate volumes unless <axf:document-info> is specified to <fo:page-sequence>.
With Antenna House Formatter V7.4 Lite, <axf:document-info> specified to <fo:page-sequence> is ignored.
Properties of <axf:document-info> are name and value, both are required. The value of name must be one of the following. The information with “*” will be outputted either to the first document or all documents generated by multi-volume output by specifying the axf:document-info-include property. Other information will be always outputted to all documents generated by multi-volume output.
document-title
Specifies the title of the document.
subject
Specifies the subject (description) of the document.
author
Specifies the author of the document.
author-titleno-LT
Specifies the title or some keywords of the author.
description-writerno-LT
Specifies the author of the document description.
keywords
Enumerates the comma-deliminated keyword.
copyright-statusno-LT
Specifies the status of the copyright using either of the following.
Unknown
Copyrighted
PublicDomain
Effective with PDF1.4 or later.
copyright-noticeno-LT
Specifies the information of the copyright.
Effective with PDF1.4 or later.
copyright-info-urlno-LT
Specifies the URL of the copyright information. This URL is treated just as a character string and the program does not access this URL.
Effective with PDF1.4 or later.
xmpno-LT
Specifies the URL of XMP. This URL follows <uri-specification> in the XSL specification. See also URI.
The validity of a XMP file is checked simply whether it is well-formed or not.
Effective with PDF1.4 or later.
CAUTION:
When contradictory or incorrect contents are included, the effect is not guaranteed.
The following settings become invalid when XMP is specified.
Specifies the page layout when a document is opened. You can specify either of the following.
SinglePage
Display one page at a time
OneColumn
Display the pages in one column
TwoColumnLeft
Display the pages in two columns, with odd-numbered pages on the left
TwoColumnRight
Display the pages in two columns, with odd-numbered pages on the right
TwoPageLeft
Display the pages two at a time, with
odd-numbered pages on the left
TwoPageRight
Display the pages two at a time, with
odd-numbered pages on the right
TwoPageLeft and TwoPageRight can be specified for PDF1.5 or later. When nothing is specified, it depends on the operation of the PDF viewer application.
hidetoolbar*
Specifies whether to hide a tool bar or not when a document is opened with the value of true or false. The default value is false.
hidemenubar*
Specifies whether to hide a menu bar or not when a document is opened with the value of true or false. The default value is false.
hidewindowui*
Specifies whether to hide user interface elements (a scroll bar, the control for navigation, etc.).
or not when a document is opened with the value of true or false. The default value is false.
fitwindow*
Specifies whether to change the size of a document window to fit the page size or not when a document is opened with the value of true or false. The default value is false.
centerwindow*
Specifies whether to arrange a document window in the center of a screen or not when a document is opened with the value of true or false. The default value is false.
displaydoctitle*
Specifies whether to display the title of a document or not when a document is opened with the value of true or false. The default value is false. Effective with PDF1.4 or later.
openaction*
Specifies the address displayed when the document is opened or the action executed. The value similar to <number-with-fragment> of internal-destination can be described here. See also Making Link too.
Action with a name and JavaScript can also be specified at this time.
value="#Named=Print" The print dialog will be displayed when the document is opened.
value="#Named=LastPage" The last page is displayed when the document is opened.
value="#JavaScript=arbitrary JavaScript program" Executes the specified JavaScript.
“#” Named coming right after or JavaScript are case insensitive. Actions which can be specified to Named correspond to the menu name of a viewer. The operation in the case where an unknown name is specified to Named, or in the case where the wrong program is specified to JavaScript are not guaranteed.
JavaScript cannot be specified with PDF/A.
If allow-javascript="false" is specified in the Option Setting File, the specified JavaScript is ignored.
createdate, modifydate
Specifies “/CreationDate”, “/ModDate” in PDF. When modifydate is not specified, it is considered the current time. When createdate is not specified, it is considered modifydate.
If modifydate is older than createdate, it will be adjusted to createdate.
The date format is a string in the ISO 8601 format. The following format of this standard is accepted:
YYYY-MM-DD(Thh(:mm(:ss)?)?)?(Z|±hh(:mm)?)?
The numbers 0 to 9 are given to
Y, M, D, h, m and s,
either “+” or “-” is given to “±”. Date “-” and time “:” separators may be omitted.
For example, the following strings are acceptable:
2018-04-13T12:34:56+09:00
2018-04-13T12:34+09
20180413T123456+09
20180413T1234
When time zone is omitted, it is considered the system time zone (local time). Even dates that do not exist are appropriately corrected. The setting is ignored for dates before 1970, invalid strings, and dates that cannot be corrected.
duplex
Specifies whether to print on both sides. You can specify one of the following:
Simplex
Single side
Vertical
Both sides (Open left and right)
Horizontal
Both sides (Open up and down)
Effective only with <axf:document-info> which is a child of <fo:declarations>. Eeffective with PDF 1.7 or later.
binding
Specifies how the pages are bound. You can specify one of the following:
Left
Left binding
Right
Right binding
Effective with <axf:document-info> which is a child of <fo:declarations>.
<axf:custom-property> / HTML <meta>
no-LTIntroduction to CSS for Paged Media<meta>
Specifies the custom property in PDF. Effective with PDF1.4 or later. Invalid with PDF/A.
Common Usage:
Specifies the custom property. This element does not create an area.
In HTML, the setting equivalent to <axf:custom-property> can be specified with the itemprop attribute in the <meta> tag. If both the itemprop attribute and the name attribute are specified, the name attribute will be ignored.
The <axf:custom-property> extension can be placed in the child of <fo:declarations>. Its properties are name and value, both of which are mandatory. Neither should be empty. The following cannot be specified to name. name is case sensitive. itemprop in <meta> is the same as name.
Title
Author
Subject
Keywords
Creator
Producer
CreationDate
ModDate
Trapped
This element is not available with Antenna House Formatter V7.4 Lite.
HTML <meta name="color-profile"> no-LT
Use <meta> in HTML to specify the same as <fo:color-profile> in FO. For example,
Customizes the tag name when outputting Tagged PDF. When you want to make the tag name of the relevant element “Paragraph”, e.g., specify as follows:
<fo:blockaxf:pdftag="Paragraph">
When new-tagging-mode is set to true, and an empty string is specified explicitly as shown below, that element does not create a tag but belongs to the tag to which the parent area belongs.
<fo:blockaxf:pdftag="''">
This property is not available with Antenna House Formatter V7.4 Lite.
Specifies the expansion text for tags in Tagged PDF.
Value:
<string>
Initial:
empty string
Applies to:
all formatting objects
Inherited:
no
Percentages:
N/A
Specifies the description for the abbreviation, etc. in Tagged PDF.
CAUTION:
Effective only when generating tags called structure elements in Tagged PDF.
This property is not available with Antenna House Formatter V7.4 Lite.
axf:require / CSS -ah-require no-LT
Specifies the version of Antenna House Formatter required for formatting.
Value:
<string>
Initial:
empty string
Applies to:
root element
Inherited:
no
Percentages:
N/A
You can specify the required version of Antenna House Formatter when formatting FO, HTML, etc. Formatting will not be performed if the specified version is not reached. For example, if you specify as follows:
axf:require="7.3"
only 7.3 or later can format. If you specify as follows:
axf:require="7.3.2"
only 7.3.2 or later can format. Up to four numbers can be specified.
This property is not available with Antenna House Formatter V7.4 Lite.
Multiple Separate Volumeno-LT
Antenna House Formatter V7.4 makes it possible to output PDF in Multiple Separate Volume.
These features are not available in CSS.
These features are not available with Antenna House Formatter V7.4 Lite.
<axf:output-volume-info>
Common Usage:
Makes it possible to output PDF in separate volume per <fo:page-sequence> when outputting the formatted result.
Effective only when outputting to files. It's not available for printing or stream output.
At that time the file name should be given by GUI, command line parameter or etc.
The file names of separate volumes are given automatically based on the output file names. This process is done by inputting the strings formatted by the format property right before the file extension of the output file name.
In the above example, when document.pdf is given to the file name, PAGE-SEQUENCE-1 and PAGE-SEQUENCE-2 are outputted to document-2.pdf, PAGE-SEQUENCE-3 is outputted to document-3.pdf.
The numeric value applied to the format property can be given by the axf:initial-volume-number property as the initial value.
The format property is the same as “7.26.1. format” in the XSL-FO specification.
The volume is separated by the axf:output-volume-break property specified to <fo:page-sequence>.
If the axf:output-volume-filename property is specified, only the separated volumes can be outputted with the specified file name.
The book mark of PDF in multi separate volume can be set by the axf:bookmark-include from the following options. However it is invalid for bookmarks created by <fo:bookmark>. Use axf:outline-*.
Adds a bookmark to the first separate volume only.
Adds bookmarks to all the separate volumes.
Adds each bookmark to each separate volume.
The following conditions are required for the actual separate volume.
The <axf:output-volume-info> element should be included in FO.
Adds each bookmark to each separate volume. Bookmarks are added to the volume where axf:outline-level="1" appears. The bookmark that goes across the volume is added to the previous volume. For that reason, the external link to the other volume may be included even though axf:bookmark-include="separate" is specified. Bookmarks grouped by axf:outline-group are attached to the last separate volume.
separate-group
Same as separate, but also adds grouped bookmarks to each volume.
CAUTION:
It is invalid for bookmarks created by <fo:bookmark>. Use axf:outline-*.
This property is not available with Antenna House Formatter V7.4 Lite.
axf:document-info-includeno-LT
Specifies how to include document information in multi separate volume.
This value is applied for the format property and utilized for the PDF file name to output. In the following example, the file name of the separate volume is document-2.pdf, document-3.pdf, document-4.pdf, and so on.
Separates the volume newly from this <fo:page-sequence>.
false
Do not separates the volume newly from this <fo:page-sequence>.
Specifies axf:output-volume-break="true" to <fo:page-sequence> where you want to start separating the volume. The document number increases one by one.
When separating the volume, axf:output-volume-break="true" is considered to be always being specified to the first <fo:page-sequence>.
If axf:output-volume-break="false" is specified explicitly, it is ignored.
This property is not available with Antenna House Formatter V7.4 Lite.
axf:output-volume-filenameno-LT
Specifies the document file name in multi separate volume.
If nothing specified, the automatic file name using the format property is adopted. If this property is specified, the specified name is adopted. This property is effective only with the top <fo:page-sequence> or with the <fo:page-sequence> where axf:output-volume-break="true" is specified.
In the following example, suppose that if document.pdf is specified as the file name of the PDF output, the separated file names will be document-2.pdf, chapterX.pdf, document-4.pdf, and so on.
The original PDF file name cannot be omitted even though axf:output-volume-filename is specified to all the <fo:page-sequence>.
This property is not available with Antenna House Formatter V7.4 Lite.
Bookmark and Link
This section describes how to create bookmark and link within the PDF file.
Making Bookmark
A PDF document has a function called bookmarks. Bookmarks in Adobe Acrobat or Reader consist of a tree-structured hierarchy which serve as a “visual table of contents”, allowing the user to navigate to the target place
by clicking on items. You can also check how the bookmarks are displayed in the Bookmarks Window in GUI with Antenna House Formatter V7.4.
CAUTION:
A similar function is provided in XSL 1.1. Use <fo:bookmark>.
However, use axf:outline-* instead of <fo:bookmark> when you output PDF in Multi Separate Volume.
Antenna House Formatter V7.4 generates bookmarks automatically by adding the extended properties to the objects to have bookmarks.
The following sample illustrates how to create the bookmark of the above picture.
<fo:rootxmlns:fo="http://www.w3.org/1999/XSL/Format"xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions">
...
<fo:blockaxf:outline-level="1"axf:outline-expand="false"axf:outline-title="Colophon">
...
</fo:block><fo:blockaxf:outline-level="1"axf:outline-expand="false"axf:outline-title="Table of Contents">
...
</fo:block><fo:blockaxf:outline-level="1"axf:outline-expand="true"axf:outline-title="1. Introduction and Overview"><fo:blockaxf:outline-level="2"axf:outline-expand="true"axf:outline-title="1.1. Processing a Stylesheet"><fo:blockaxf:outline-level="3"axf:outline-expand="false"axf:outline-title="1.1.1. Tree Transformations">
...
</fo:block><fo:blockaxf:outline-level="3"axf:outline-expand="false"axf:outline-title="1.1.2. Formatting">
...
</fo:block></fo:block><fo:blockaxf:outline-level="2"axf:outline-expand="false"axf:outline-title="1.2. Benefits of XSL">
...
</fo:block></fo:block><fo:blockaxf:outline-level="1"axf:outline-expand="false"axf:outline-title="2. XSL Transformation">
...
</fo:block>
...
axf:outline-expand / CSS -ah-outline-expand
Specifies whether to display the lower hierarchy of bookmark items or not.
Value:
true | false
Initial:
true
Applies to:
block-level formatting objects
Inherited:
no
Percentages:
N/A
true specifies to display the lower hierarchy in the expanded state. false specifies to display in the collapsed state.
In CSS, (-ah-)bookmark-state is also available.
axf:outline-group / CSS -ah-outline-group
Groups bookmark items, and outputs them collectively.
Value:
<string>
Initial:
empty string
Applies to:
block-level formatting objects
Inherited:
no
Percentages:
N/A
If this property is omitted or specifies empty string, bookmark items are not grouped.
If this specifies any string, the string is used as the name of group.
The group with the same name is outputted collectively.
The non-grouped bookmark is outputted as the group without the group name.
axf:outline-level / CSS -ah-outline-level
Indicates the hierarchy level of bookmark items.
Value:
<number>
Initial:
0
Applies to:
block-level formatting objects
Inherited:
no
Percentages:
N/A
The <number> must be a non-negative integer.
Initial value is 0 and it means that bookmarks should not be created.
The highest level of bookmarks is 1 and it becomes 2 or more according to the hierarchy level of the bookmarks.
In CSS, (-ah-)bookmark-level is also available.
axf:outline-title / CSS -ah-outline-title
Specifies the string which appears as a title of bookmarks.
Value:
<string>
Initial:
empty string
Applies to:
block-level formatting objects
Inherited:
no
Percentages:
N/A
If this property is omitted or has an empty string, the text of the object to which the property is added will become the title.
In other words, the following two samples create the same bookmark.
Specifies the font weight which appears as a title of bookmarks.
Value:
normal | bold
Initial:
normal
Applies to:
block-level formatting objects
Inherited:
no
Percentages:
N/A
Values have the following meanings:
normal
Specifies normal weight.
bold
Specifies bold weight.
This property is effective with PDF1.4 or later.
This property is not available with Antenna House Formatter V7.4 Lite.
Remarks
These properties have to be created in block areas or inline areas (<fo:block>, <fo:inline> ...). If you specify them in an <fo:wrapper>, for example, they are not effective.
When the language is not supported in Acrobat and the font that belongs to the unsupported language is specified for the bookmark, there may be a possibility of the font displaying incorrectly in Adobe Acrobat or Reader.
Making Link
In XSL-FO, PDF links can be created easily by using <fo:basic-link>.
In HTML, <a> is used to create links.
PDF links are classified either as an internal link to a specified position in the PDF document, or as an external link to an external document. The internal-destination property of <fo:basic-link> indicates a link to a position in the same document. The external-destination property indicates a link to an external document. Below are the examples of both.
Internal Link
<fo:block>
Answer may be found in <fo:basic-linkinternal-destination="appendix-a">Appendix-A</fo:basic-link>.
</fo:block>
...
<fo:blockid="appendix-a">
Appendix-A
</fo:block>
External Link
<fo:block>
Here is <fo:basic-linkexternal-destination="https://www.w3.org/">W3C Home Page</fo:basic-link>.
</fo:block>
The external link specified by the local file is transformed into either “Open the file” or “World Wide Web link” by the use-launch-for-local-file property in PDF Output Settings. The external link specified by the non-local file
is always transformed into “World Wide Web link”.
Furthermore, it's possible to specify professional links as follows:
Specifies the following actions for the external link explicitly.
Moves the destination inside PDF (GoToR)
Opens the file (Launch)
World Wide Web link (URI)
Possible to specify ID (named destination) for an external link to another PDF.
Possible to specify ID (named destination) for an internal link.
Possible to specify the page number for the external link in PDF.
Possible to specify the page number for the internal link.
Possible to specify the type of destination for the external link.
Possible to specify the type of destination for the internal link.
Possible to specify the external link in the bookmark.
Possible to specify the internal link in the bookmark.
For further understanding see also ISO 32000-1 or ISO 32000-2.
The professional links are not available with Antenna House Formatter V7.4 Lite.
The setting of external-destination for the external link in PDF conforms to the following specification of PDF parameters. Not all the parameters are effective with Antenna House Formatter V7.4. The invalid parameters are ignored.
Only the following parameters are effective with Antenna House Formatter V7.4. The case sensitivity is ignored.
nameddest
page
zoom
view
viewrect
For example, it's invalid to specify fitH, fitR and fitBH for an external link. These are effective only with an internal link. If the required values for the PDF parameters are omitted in fitH, etc., the values are considered to be 0.
For external links to PDFs, it's possible to specify whether to open a new window using the show-destination property. This only applies to a PDF link destination. If show-destination="new" is specified, a new window will be opened and the PDF will be displayed in the window. If show-destination="replace" is specified, a new window will not be opened and the PDF will be displayed in the current window. When nothing is specified, it depends on the behavior of the PDF viewer application. Although it is defined as replace in the XSL-FO specification when the property is omitted, Antenna House Formatter V7.4 complies with the specification a little differently.
show-destination property is invalid under the following conditions:
Other than the case that axf:action-type is specified as gotor or as launch when the link destination is PDF.
In the internal link. There may be a case that an internal link is embedded as an external link when separating the volume. show-destination specified to the internal link is effective only in that case.
Antenna House Formatter V7.4 provides the following extension properties for the professional link.
Opens the link destination by the “GoToR” action as PDF. The URI of the link destination is considered PDF.
launch
Opens the link destination by the “Launch” action as the file.
uri
Opens the link destination by the “URI” action as URI (World Wide Web).
When the link destination is not a local file, such as http:, the action type is “URI” at any time.
When axf:action-type="auto" specified,
the external link specified by the local file is transformed into either “Open the file” or “World Wide Web link” by the use-launch-for-local-file property in PDF Output Settings. The external link specified by the non-local file is always transformed into “World Wide Web link”.
Although the link functions in GUI, axf:destination-type is invalid and it is always considered xyz-left-top.
Destination Type of PDF
How to specify axf:destination-type
[page /XYZ left top zoom]
Antenna House Formatter V7.4 calculates the value of left/top. However it's possible to specify null or non-null explicitly. The user can specify the arbitrary value for zoom.
axf:destination-type="xyz"
Specifies left and top as null.
axf:destination-type="xyz-left"
Specifies top as null.
axf:destination-type="xyz-top"
Specifies left as null.
axf:destination-type="xyz-left-top"
If nothing is specified to zoom, it's accounted as null. Specifies % value to zoom as follows:
axf:destination-type="xyz-top 75"
If only the numbers are specified, the value is accounted for xyz-top.
axf:destination-type="75"
[page /Fit]
axf:destination-type="fit"
[page /FitH top]
Antenna House Formatter V7.4 calculates the value of top. Effective only to specify in the internal link.
axf:destination-type="fith"
[page /FitV left]
Antenna House Formatter V7.4 calculates the value of left.
axf:destination-type="fitv"
[page /FitR left bottom right top]
Antenna House Formatter V7.4 calculates the value of left/bottom/right/top. Effective only to specify in the internal link.
axf:destination-type="fitr"
[page /FitB]
axf:destination-type="fitb"
[page /FitBH top]
Antenna House Formatter V7.4 calculates the value of top. Effective only to specify in the internal link.
axf:destination-type="fitbh"
[page /FitBV left]
Antenna House Formatter V7.4 calculates the value of left.
axf:destination-type="fitbv"
This property is not available with Antenna House Formatter V7.4 Lite.
Specifies the page number of the link destination. This string is simple numeric characters or the following string that combines numeric characters and a fragment with “#”.
See Making Link for the fragment.
123#zoom=50
The page number also can be specified in the fragment.
#page=123&zoom=50
When the page number is not specified, it is usually considered the 1st page. However, when the top position is specified, it is considered the head of the page of a block where axf:outline-internal-destination is contained. For example, it is specified as follows:
#view=fit#view=fith#zoom=,,0
This property is not available with Antenna House Formatter V7.4 Lite.
ID in the External Link
A link destination is created when axf:destination-type is set and the ID of the destination is specified in the id property.
The ID is specified in external-destination if the link destination is referred to from an external link in a different PDF. Only the nameddest parameter is valid in the URI.
The ID is specified in internal-destination when creating an internal link.
<fo:basic-linkinternal-destination="Chapter6">
Page Number in the External Link
The page number can be accounted by the page parameter in the URI. If both page and nameddest are specified, nameddest takes priority.
When specifying the page number, the destination information cannot be set to the link destination. Therefore the type of the destination is given by reading the parameter in the URI. The unreadable parameter is discarded.
At that time, this bookmark becomes independent of the block such as fo:block, etc., which the bookmark belongs to.
Remarks
Specify either internal-destination or external-destination.
There may be a case that an internal link is accounted as an external link when separating the multi volume.
At that time, the action type of the link is accounted as axf:action-type="gotor".
When an unintended link is created, confirm the setting of your PDF viewer application first. For example, in Adobe Reader or Adobe Acrobat, the feature of “Create links from URLs” may create a link automatically.
Annotationno-LT
Annotations can be added to PDF with Antenna House Formatter V7.4. For more details, see also ISO 32000-1 or ISO 32000-2. Annotations which can be specified here are a part of those.
This function is not available with Antenna House Formatter V7.4 Lite.
all block-level and inline-level formatting objects
Inherited:
no
Percentages:
N/A
This property is effective with PDF1.5 or later.
This property is not available with Antenna House Formatter V7.4 Lite.
axf:annotation-contents / CSS -ah-annotation-contents
no-LTXSL-FO Samples CollectionAnnotations in PDF document
Specifies the content of the annotation.
Value:
<string>
Initial:
empty string
Applies to:
all block-level and inline-level formatting objects
Inherited:
no
Percentages:
N/A
Specifies the character string to be displayed for an <fo:basic-link> or HTML <a> or when axf:annotation-type specifies one of the following annotation types:
all block-level and inline-level formatting objects
Inherited:
no
Percentages:
N/A
Specifies whether it is displayed in the open state when the type of the annotation (axf:annotation-type) is as follows:
Text
Values have the following meanings:
true
Displays the annotation in the open state.
false
Displays the annotation in the closed state.
This property is not available with Antenna House Formatter V7.4 Lite.
axf:annotation-icon-name / CSS -ah-annotation-icon-name
no-LTXSL-FO Samples CollectionAnnotations in PDF document
Specifies the name of the icon used for displaying the annotation.
Value:
<string>
Initial:
empty string
Applies to:
all block-level and inline-level formatting objects
Inherited:
no
Percentages:
N/A
Although arbitrary name can be specified for the icon used for the display of annotations, whether it can be displayed or not depends on the viewer application of a document. The annotation type (axf:annotation-type) shows the standard name which can be specified.
Text
Standard names are as follows:
Comment
Help
Insert
Key
NewParagraph
Note
Paragraph
Empty string is considered Note.
Stamp
Standard names are as follows:
Approved
AsIs
Confidential
Departmental
Draft
Experimental
Expired
Final
ForComment
ForPublicRelease
NotApproved
NotForPublicRelease
Sold
TopSecret
Empty string is considered Draft.
FileAttachment
Standard names are as follows:
Graph
Paperclip
PushPin
Tag
Empty string is considered PushPin.
This property is not available with Antenna House Formatter V7.4 Lite.
axf:annotation-position-horizontal / CSS -ah-annotation-position-horizontal
no-LTXSL-FO Samples CollectionAnnotations in PDF document
Specifies the horizontal position of the annotation.
Value:
<length>
Initial:
0pt
Applies to:
all block-level and inline-level formatting objects
Inherited:
no
Percentages:
N/A
The position specified is the distance from the left edge of the region and is used for the position of pop-up or icons and the position of rubber stamp annotations.
This property is not available with Antenna House Formatter V7.4 Lite.
axf:annotation-position-vertical / CSS -ah-annotation-position-vertical
no-LTXSL-FO Samples CollectionAnnotations in PDF document
Specifies the vertical position of the annotation.
Value:
<length>
Initial:
0pt
Applies to:
all block-level and inline-level formatting objects
Inherited:
no
Percentages:
N/A
The position specified is the distance from the top edge of the region and is used for the position of pop-up or icons and the position of rubber stamp annotations.
This property is not available with Antenna House Formatter V7.4 Lite.
all block-level and inline-level formatting objects
Inherited:
no
Percentages:
N/A
It is the value of /CreationDate in the annotation dictionary. If omitted, it is considered the same as axf:annotation-modifydate.
See The date format for the character string that can be specified.
This property is not available with Antenna House Formatter V7.4 Lite.
all block-level and inline-level formatting objects
Inherited:
no
Percentages:
N/A
It is the value of /M in the annotation dictionary. If omitted, it is considered the value of modifydate in <axf:document-info>. If axf:annotation-modifydate is older than axf:annotation-createdate, it will be adjusted to axf:annotation-createdate. See The date format for the character string that can be specified.
This property is not available with Antenna House Formatter V7.4 Lite.
Acroformno-LT
It's possible to create PDF forms with Antenna House Formatter V7.4. Forms consist of the field to fill in the text and buttons, etc. Moreover, the action can be specified.
Forms can be specified by describing <axf:form-field> inside <axf:form>.
<axf:formexternal-destination="http://www.antenna.co.jp/form-test.cgi"field-submit-method="post"field-submit-coordinates="true"><fo:block>
Submit:
<axf:form-fieldfield-type="button"field-name="SubmitButton"action-type="submit"field-button-layout="caption"field-button-face="Submit!"width="5em"background-color="#eee"border="2px silver outset"
/></fo:block><fo:block>
Text Field:
<axf:form-fieldfield-type="text"field-name="InputText"field-default-text="Input text here!"field-multiline="false"field-scroll="true"field-maxlen="32"width="10em"height="1.2em"background-color="#ff8"border="1pt silver inset"
/></fo:block></axf:form>
When <axf:form-field> is not inside of <axf:form> and action-type is submit or reset, these do not function. <axf:form-field> other than these will work fine regardless of <axf:form>.
In the HTML form, the appearance of the following tags is specified by html.css. Tags other than these are ignored.
<form>
<input>
<button>
<textarea>
<select>
<option>
This function is not available with Antenna House Formatter V7.4 Lite.
The main constraints of form fields generated by HTML forms are as follows:
Not all attributes that can be specified for <input>, <button>, <textarea>, <select> are supported.
Not all type that can be specified for <input> are supported.
If search, tel, url, email, month, week, datetime-local are specified as the type of <input>, it is treated as -ah-field-type:text.
By <inputtype="button">, <buttontype="button">, the button will be displayed, but it will not function as a field. In addition, only the text is valid for the contents displayed on the <button>.
See the contents of html.css to know more about supported features. Features not explicitly stated in html.css are invalid even if they are not listed in the constraint.
axf:field-type
/ CSS -ah-field-type
no-LT
Specifies the field type.
Value:
text | button | checkbox | radio | listbox | combobox | signature
Adds a page number to the name specified by axf:field-name. It's invalid when axf:field-name is not specified. A character string that can be specified is the one that can be specified by format. A page number is formatted and added. If it's an empty string, nothing is added.
This property is specified when creating a form in <fo:static-content> and you want to make a separate form on each page.
When 0 or less is specified, the number of characters is not limited.
CAUTION:
When the maximum number of characters is specified and the number of characters set as initial value of the text field in axf:field-default-text
exceeds the specified maximum number, the initial value will be discarded.
As for the character string set as initial values of the text field in axf:field-default-text, its validity is inspected when a format is specified. Nonconforming initial values will be discarded.
The setting of the format will differ depending on the type of formats specified by axf:field-format-category. When auto is specified, the default is adopted to all values. In other cases, values of axf:field-format-category can be specified as follows:
number
Values can be specified with a maximum of 5 as follows:
axf:field-format="2 0 1 '$ ' true"
These values have the following meanings in sequence.
The number of digits after the decimal point. (default: 2)
When the inputted value has many digit numbers after the decimal point, it is displayed by rounding off.
How to display numbers with different separators. One of the following values can be specified. (default: 0)
0.
1,234.56
1.
1234.56
2.
1.234,56
3.
1234,56
4.
1'234.56
How to display negative numbers. (default: 0)
0.
No processing.
1.
Display in red.
2.
Display with parentheses.
3.
Display in red with parentheses.
Currency symbol. Any character strings can be specified. (default: empty)
When putting a currency symbol before numbers, it's better to put a white space after the currency symbol like “$ ”. When putting it after numbers, put a white space before the currency symbol.
Position of a currency symbol. If true is specified, it is displayed before numbers, if false is specified, it is displayed after numbers. (default: true)
percentage
Values can be specified with a maximum of 2 as follows:
axf:field-format="2 0"
Values have the same meaning as number.
date
Specifies the format by the numerical value or character strings. One of the following numerical values can be specified. (default: 0)
Although an arbitrary format can be specified in the character string, the operation when specifying the mistaken format will not be guaranteed. See the specifications of JavaScript, etc. to learn the meaning of the character in the format.
time
Specifies the format by the numerical value or character strings. One of the following numerical values can be specified. (default: 0)
0.
HH:MM
1.
h:MM tt
2.
HH:MM:ss
3.
h:MM:ss tt
The following 2 settings have the same meaning.
axf:field-format="0" axf:field-format="'HH:MM'"
Although an arbitrary format can be specified in the character string, the operation when specifying the mistaken format will not be guaranteed. See the specifications of JavaScript, etc. to learn the meaning of the character in the format.
CAUTION:
The specified format might be invalid depending on the version of Acrobat.
The specified value indicates what number of <axf:form-field-option> it is. The beginning number is 1. When less than 1 is specified or the specified number exceeds the number of elements contained, the value is considered 1.
axf:field-multiple
/ CSS -ah-field-multiple
no-LT
Specifies whether multiple items can be chosen in the list box.
These are all expressed by the <axf:form-field> extension element. <axf:form-field> is an inline element. Although many common extension properties can be specified to <axf:form-field>, the effective property differs depending on the field type. The size of the field can be specified with the width and the height properties. When omitted, a suitable size will be applied. Below shows the example of the setting for each form field.
Text field no-LT
Text field can be specified by field-type="text". The contents are empty. Whether it is a single line or not depends on the setting of field-multiline.
Radio buttons are usually arranged in groups of two or more. The group is identified as a radio button with the same field-name. Users can select only one of the radio buttons. Even if field-checked="true" is set multiply, only one button in a group is checked.
The status of field-checked="true" is not displayed in GUI.
List Box field no-LT
List Box field can be specified by field-type="listbox". <axf:form-field-option> is required for the contents. It should not be empty.
<axf:form-field-option> expresses the contents of the list and these are lined up in the appearance order in the list. Neither the value of field-value nor the content text in <axf:form-field-option> should be empty or white-space characters.
The contents of the list box are not displayed in GUI.
Combo Box field no-LT
Combo Box field can be specified by field-type="combobox". <axf:form-field-option> is required for the contents. The contents should not be empty.
<axf:form-field-option> is the same as that of the list box.
When performing the formatting process, the signature area is only secured and the signature field is not generated. The signature field is generated when generating PDF.
Form Actionsno-LT
Form actions are realized by specifying the event to be triggered and the action corresponding to the event to each field. In Antenna House Formatter V7.4, the action can be specified to the field that is included in <axf:form>. The contents of <axf:form> are arbitrary and generate a block area. Usually, <axf:form-field> is included in <axf:form>.
The form actions include the following:
Reset initializes the value of all the fields included in <axf:form> to their initial state. Specify axf:action-type="reset" to the button to reset.
The action is generated by releasing the button.
Submit sends out the information by using HTTP. The contents of each field are sent out as GET or the POST request of HTTP. That is, the information is submitted using the same HTTP method of HTML.
The action is generated by releasing the button.
Link cannot be specified to <axf:form> but directly specified to the Button field. The method is the same as that of <fo:basic-link>. The internal link can be specified as follows:
It's possible to put the <axf:form-field-event> extension element as a child element of <axf:form-field>. The properties are name and action-type and both are required. One of the following event types can be specified to name. Case insensitive.
MouseUp
The action occurs when a mouse button is released on the form field.
MouseDown
The action occurs when a mouse button is pushed on the form field.
MouseEnter
The action occurs when a mouse cursor enters the form field.
MouseExit
The action occurs when a mouse cursor exits the form field.
OnFocus
The action occurs when a form field gets focus.
OnBlur
The action occurs when a form field loses focus.
The action occurred by <axf:form-fieldaction-type> is the action by MouseUp. When both are specified like, <axf:form-field-eventname="MouseUp">, <axf:form-field-event> will take precedence. When the same events are multiply specified to <axf:form-field-event>, it is indeterminate which one is adopted.
When action-type="javascript" is specified, the JavaScript program will be written in the content text. If an incorrect program is specified, the operation will not be guaranteed.
However, when allow-javascript="false" is set in the Option Setting File, it's ignored.
Layerno-LT
Layers can be specified to PDF with Antenna House Formatter V7.4. Layer settings are effective only with PDF1.5 or later.
By creating layers, you can toggle between showing and hiding when the PDF is opened in Adobe Acrobat or Reader, or create content that can be shown or hidden under certain conditions.
You can also check the layer display in the Layer Window of GUI in Antenna House Formatter V7.4.
This feature is not available with Antenna House Formatter V7.4 Lite.
axf:layer-settings / CSS -ah-layer-settings
no-LTXSL-FO Samples CollectionLayer in PDF output
Multiple layers can be defined by comma-separated items.
What is essential for layer definition is <layer-name>. Other parameters are optional.
<layer-name>
Specifies a name to identify the layer. on or off specifies the default state of the layer when the document is opened. If omitted, it is considered on. If the same name exists more than once, the one specified first takes precedence.
intent
Specifies the intent of the layer. When view is specified, showing and hiding layers can be toggled. When design is specified, these cannot be toggled. If omitted, it is considered view.
view
Specifies whether to show or hide the layer. Displayed when the document is opened with on, it is hidden with off.
If omitted, it is considered on.
print
Specifies whether to print the layer. It is printed by on and not printed by off.
If omitted, it is considered on.
export
Specifies whether layers are included in the resulting document when you export from a PDF viewer application to a file format that supports PDF layers. It is included by on and not included by off.
If omitted, it is considered on.
zoom
Specifies the minimum and maximum values of the magnification of the displayed layer. If only one value is specified, it is considered the minimum value. Negative values are not available. If omitted, it is considered unlimited.
lang
Specifies the language of the layer. Displays the layer if the language of the PDF viewer application matches the specified lang when the document is opened. preferred also displays the layer when the language of the viewer partially matches lang. Whether the string of lang is valid or not depends on the PDF viewer application.
CAUTION:
The display of layers by the anguage in the PDF viewer application and the display of layers by Select Language in GUI are not always the same.
locked
Locks the layer and disables editing. locked is effective with PDF1.6 or later.
In PDF/X, PDF/A and PDF/UA, the settings of view, print, and export are ignored.
This property is not available with Antenna House Formatter V7.4 Lite.
The area is arranged to the layer with the name specified by axf:layer-settings.
If you specify a name that is not in axf:layer-settings, it will not be output as a layer.
This property is not available with Antenna House Formatter V7.4 Lite.
Extension for European Rule
Antenna House Formatter V7.4 provides the extension for adjusting the amount of space before and after the punctuation in European Typography.
Although these features cannot be used as a style in CSS, the setting of <space-end-punctuation> etc. in Option Setting File is effective.
Specifies the amount of space between the punctuation and the digit.
These extension elements are all empty element and can be put on the right under <fo:declarations>. The area is not generated. The setting of <axf:space-between-digit-and-punctuation> or <axf:space-between-punctuation-and-digit> takes precedence over the setting of <axf:space-end-punctuation> or <axf:space-start-punctuation>.
The following properties can be specified.
language
Specifies the language code (RFC3066). It is not possible to omit it.
Value:
<language>
Initial:
N/A
Inherited:
no
Percentages:
N/A
space
Specifies the amount of space. Specification is invalid when less than 0.
language and space are applied to all the specified code points.
For instance, the following would be specified to format French.
<axf:space-start-punctuationcode="?"space="1 div 3"language="fr"/><axf:space-start-punctuationcode="!"space="1 div 3"language="fr"/><axf:space-start-punctuationcode=";"space="1 div 3"language="fr"/><axf:space-start-punctuationcode=":"space="1 div 4"language="fr"/><axf:space-start-punctuationcode="»"space="1 div 4"language="fr"/><axf:space-end-punctuationcode="«"space="1 div 4"language="fr"/><axf:space-between-punctuation-and-digitcode="+"space="thin"language="fr"/><axf:space-between-punctuation-and-digitcode="−"space="thin"language="fr"/><axf:space-between-punctuation-and-digitcode="±"space="thin"language="fr"/><axf:space-between-digit-and-punctuationcode="%"space="thin"language="fr"/><axf:space-between-digit-and-punctuationcode="℃"space="thin"language="fr"/><axf:space-between-digit-and-punctuationcode="℉"space="thin"language="fr"/>
These settings for European Typography can also be specified by the Option Setting File. The setting in FO overwrites it.
Appending Option Setting Information
Antenna House Formatter V7.4 can specify the additional option setting information used inside the document.
These features are not available in CSS.
<axf:formatter-config>
no-LT
Common Usage:
Specifies additional option setting information. This element does not generate an area.
These features are not available with Antenna House Formatter V7.4 Lite.
The <axf:formatter-config> extension element can be set as many as you want right under fo:declarations.
The src property can optionally specify the external Option Setting File. It's an additional setting to the original settings and effective only in this document. It becomes base-uri for the relative path. A part of the element that is the same as %axs-settings; under the specified file is evaluated.
Contents:
%axs-settings; is an element which belongs to the name space http://www.antennahouse.com/names/XSL/Settings. The properties in the Option Setting File are included in the name space, however currently only the following elements and their child elements can be described. The other elements will be disregarded.
Also, some specifications, such as those related to initialization, are ignored.
In this example, an additional option setting file, add-settings.xml is specified, and then PDF setting is added.
Remarks
Usually, the additional setting by <axf:formatter-config> never influences the formatting process of the following document. However, when the following settings are done by GUI, the additional settings will be reflected on the default settings, then reflected on the formatting of the following document.
Antenna House Formatter V7.4 can render printer marks in PDF etc. Since printer marks are rendered outside the actual page size (trim size) specified with the page-width and page-height properties, they have no effect on the contents of the document.
This function is not available with Antenna House Formatter V7.4 Lite.
The trim size is specified by the page-width and page-height properties (CSS size property). axf:crop-offset is for specifying how much the space is taken outside the trim size. In order to specify the same values vertically and horizontally, axf:crop-offset can be used. In order to specify individual values, axf:crop-offset-top, axf:crop-offset-bottom, axf:crop-offset-left and axf:crop-offset-right can be used. When axf:crop-offset and others are specified simultaneously, individual axf:crop-offset-* properties take priority.
CAUTION:
If the value of axf:bleed is greater than the value of axf:crop-offset, axf:crop-offset is adjusted to that value. To make the trim size the size of the basic printing image, set axf:bleed and axf:crop-offset to 0.
These properties are not available with Antenna House Formatter V7.4 Lite.
Specifies whether the area that overflows on the margin specified with axf:crop-offset is clipped with the trim size, if there is a bleed area, clipped with the bleed area, or the extended area is displayed.
This property is not available with Antenna House Formatter V7.4 Lite.
Specifies the width of the bleedIntroduction to CSS for Paged Mediableed area for cutting off.
[CSS3-GCPM] Page marks and bleed area(“bleed” has been removed from GCPM on and after May 13, 2014)
The area of the bleed is taken outside the trim size. In order to specify the same values vertically and horizontally, axf:bleed can be used. In order to specify individual values, axf:bleed-top, axf:bleed-bottom, axf:bleed-left and axf:bleed-right can be used. When axf:bleed and others are specified simultaneously, individual axf:bleed-* properties take priority.
These properties are not available with Antenna House Formatter V7.4 Lite.
Specifies the Printing marks, such as a crop mark.
Specifies the action of external link.
[CSS3-GCPM] Page marks and bleed area(“marks” has been removed from GCPM on and after May 13, 2014)
Outputs corner marks. Outputs corner marks to the position of the trim size and the position of the bleed area if it exists. When corner marks are output to both the position of the trim size and the position of the bleed area, they are combinations of crop marks and bleed marks in Japanese style.
crop-trim
Outputs corner marks only to the position of the trim size (crop marks).
cross
Outputs cross-shaped marks.
cross-circle
Outputs cross-shaped marks with concentric circle.
cross-registration
Outputs registration marks.
<uri-specification>
Original printer marks, color bars, etc. can be outputted by specifying images, such as SVG. Two or more URIs can be specified.
Images will be clipped at the bleed area. To avoid clipping, specify axf:printer-marks-over-content="true".
CAUTION:
If -ah-crop-offset is not specified in (-ah-)marks of CSS, it is considered 14mm.
This property is not available with Antenna House Formatter V7.4 Lite.
By specifying the second value, you can make the printer marks extend beyond the bleed area. Values that exceed the width of the bleed area are truncated to that value. If omitted, it is considered 0.
V7.4
When the value is auto, the length depends on the system setting.
The default length of a printer mark is 10mm, it can be adjusted in the Option Setting File.
This property is not available with Antenna House Formatter V7.4 Lite.
When the value is auto, the width depends on the system setting.
The default width of a printer mark is 0.24pt, it can be adjusted in the Option Setting File.
This property is not available with Antenna House Formatter V7.4 Lite.
When a value greater than 0pt is specified, the printing image is considered to be constructed as facing pages, the center mark of the spine will be outputted as a spine-width printer mark.
This property is not available with Antenna House Formatter V7.4 Lite.
Effective only with Windows versions and functions when outputting to a printer. Whether it is effective also depends on a printer. What can be specified by the character string is the tray name which comes out in each printer setting dialog. This is the tray name acquired from a printer driver. The specified name which does not match to the tray name acquired from a printer driver is invalid. The specified integer needs to match to the tray number acquired from a printer driver.
This property is not available with Antenna House Formatter V7.4 Lite.
Effective only with Windows versions and functions when outputting to a printer. Whether it is effective also depends on a printer. Specify the value that is specified by the printer driver. Most printers support following integer values.
The setting of the overprint in the Option Setting File is adopted.
If you specify overprint="k100" in the Option Setting File, even if nothing is specified in FO, black overprinting will be done on all pages.
<color>
Specifies a color you want to apply the overprint. A color with alpha value cannot be specified.
k100
Applies the overprint to rgb-icc(#CMYK,0,0,0,1).
separation
Applies the overprint to the separation color shown rgb-icc(#Separation). The registration color is not included.
all
Applies the overprint to all colors except for a color with alpha value.
stroke
Applies the overprint for the line stroke.
paint
Applies the overprint for the paint.
full
nonzero
Specifies the operation in case the color ingredient is 0 when applying the overprint. When full is specified, the color ingredient is set to 0, when nonzero is specified, the color ingredient is not changed. (It is considered no color.)
This setting is effective only with CMYK.
none
The overprint is not applied.
If you specify only the color as follows:
axf:overprint="<color>"
it is considered as follows:
axf:overprint="<color> stroke paint nonzero"
In addition, when neither stroke nor paint is specified, it is considered that stroke and paint are specified. Specify none to remove them from the overprint.
axf:overprint="k100, rgb-icc(#CMYK,0,0,0,1) stroke full, all paint"
As specified above, when a certain color can be interpreted as multiple settings, the settings will be investigated in the following order and the first matched setting will be adopted.
<color>
k100
separation
all
The effect of the overprint varies by the actual printing environment, in relation between the background color and the foreground color with overprint specified. The effect of the typical overprint by the color space is shown below.
When color-conversion="all-cmyk" is specified in the Option Setting File, RGB serves as CMYK.
Foreground (overprint is specified)
CMYK
Separation
RGB
Grayscale
Background
CMYK
yes
yes
no
no
Separation
yes
yes
yes
yes
RGB
yes
yes
no
no
Grayscale
no
yes
no
no
For more details, see also 4.5.6 Overprint Control in ISO 32000-1 or ISO 32000-2.
CAUTION:
The overprint is effective only with the PDF output. It is invalid when printing to paper directly. Also it is not applied to shading and the form field.
CAUTION:
The setting does not affect on the embedded PDF. Create PDF by specifying the overprint before embedding it.
This property is not available with Antenna House Formatter V7.4 Lite.
When the value is true, if the page output reaches in the end of <fo:page-sequence-master> and the page which should still be outputted remains, page output repeats from the start of <fo:page-sequence-master>.
This property is not available with Antenna House Formatter V7.4 Lite.
Specifies whether to output pages within fo:page-sequence in reverse order. This setting does not cover all the output destinations. Effective only with PDF output. Multi Separate Volume is not available.
In case of CSS, this setting can be specified for the <html> element only.
This property is not available with Antenna House Formatter V7.4 Lite.
force-page-count / CSS -ah-force-page-countIntroduction to CSS for Paged Media-ah-force-page-count
Force an doubly-even number of pages in this page-sequence.
end-on-doubly-even
Force the last page in this page-sequence to be an doubly-even-page.
even-document
Force the number of pages counted from the document head to be an even number.
odd-document
Force the number of pages counted from the document head to be an odd number.
doubly-even-document
Force the number of pages counted from the document head to be an doubly-even number.
[ end-on | document ]? <number><number>? no-LT
Suppose that the first <number> is A, the next <number> is B, the number of pages of the current page-sequence is set as a multiple number of A + B. A must be an integer greater than or equal to 1, and B must be an integer greater than or equal to 0 and less than A. When B is omitted, it is considered 0.
When end-on is specified, force-page-count determines the page count of the current page-sequence. When document is specified, it determines the page count counting from the beginning of the document.
For example, for a page sequence with 5 pages of content:
force-page-count="even"
equivalent to force-page-count="2"
force-page-count="odd"
equivalent to force-page-count="2 1"
force-page-count="doubly-even"
equivalent to force-page-count="4"
force-page-count="end-on-doubly-even"
equivalent to force-page-count="end-on 4"
force-page-count="end-on 2"
total number of pages is 6 with 1 blank page
force-page-count="end-on 4"
total number of pages is 8 with 3 blank page
force-page-count="end-on 4 1"
total number of pages is 5 with 0 blank pages
force-page-count="end-on 4 3"
total number of pages is 7 with 2 blank pages
force-page-count="end-on 6 5"
total number of pages is 5 with 0 blank pages
force-page-count="end-on 6 4"
total number of pages is 10 with 5 blank pages
In the CSS specifications, :blank:first:left:right:nth()
are the only page selectors that can be specified for @page, but in Antenna House Formatter V7.4, the following can be specified including those that can be specified for <fo:conditional-page-master-reference> in XSL-FO.
[CSS3-Page] Page selectors
:blank:not-blank
:first:last:only:rest
:left:right:odd:even:recto:verso
:nth()
The specificity of page selectors defined in [CSS3-Page] does not include :nth(), extended :only, etc. Therefore, Antenna House Formatter V7.4 implements the specificity as follows:
<page-type-name>
:blank
:only
:first:last
:left:right:odd:even:recto:verso:nth()
:rest
:not-blank
CAUTION:
It differs from specificity defined in [CSS3-Page].
The following adjustments will be made:
:first:last is considered :only.
When :only is specified, the settings of :first and :last are discarded.
Also, inconsistent settings, such as @page :left:right, will not result in an error, but such @page will not be adopted.
Suppresses a block when it comes at the start of the page or the column. Actually, it is hidden but exists as a block of zero size without being deleted, it's effective to refer to id, etc.
unless
Suppresses a block when it comes to a place other than the start of the page or the column. Actually, it is hidden but exists as a block of zero size without being deleted, it's effective to refer to id, etc.
This property is not available with Antenna House Formatter V7.4 Lite.
[ <percentage> | <length> | left | center | right | top | bottom]
|
[
[ <percentage> | <length> | left | center | right ]
&&
[ <percentage> | <length> | top | center | bottom ]
]
Initial:
centercenter
Applies to:
transformable objects
Inherited:
no
Percentages:
refer to the size of the bounding box
This property is not available with Antenna House Formatter V7.4 Lite.
Clears the baseline grid and the content will not align with a baseline grid.
root
Sets the baseline grid defined by the root element. The root baseline grid is defined by using the font and the line-height settings of the root element.
new
Sets a new baseline grid. The new baseline grid is established by using the font and the line-height settings of this element.
Inside the area line that a baseline grid is set, the lines are aligned with baselines on the baseline grid. Half-leading is not added before the first line and after the last line so that the em-box edges are aligned with the before and after edges of the content box.
CAUTION:
axf:baseline-grid works within the block where it is specified. The block itself depends on the parent's block.
The baseline grid is not available in the area with display-align other than auto.
CJK Nonstarter characters (prolonged sound mark, small hiragana
letters, small katakana letters, and iteration marks) defined in
JIS X 4051:2004 are not treated as Nonstarter characters.
Characters marked with [NS] in the following list are processed.
strict
CJK Nonstarter character is treated.
Characters marked with [NS] and [JIS] in the following list are processed.
line
Line breaking is performed one by one by a simple algorithm.
bpil
Line breaking is performed according to the line breaking algorithm by Knuth-Plass's Breaking Paragraphs into Lines. At this time, the bpil specification in the Option Setting File is ignored. Depending on the conditions, this algorithm may not be applicable. See Line Breaking in Technical Notes.
If neither normal nor strict is specified, it is considered that normal is specified. When neither line nor bpil is specified, the algorithm is selected according to the specification of bpil in the Option Setting File. For more details, see Line Breaking in Technical Notes.
The characters included in <string> can be appended to the non-starter-characters. If the specified characters are
also specified in axf:except-non-starter-characters as well in the same tag, the effect could be wrong.
White space characters are disregarded even though they are specified.
Closing parentheses and punctuation marks are automatically treated as except-non-starter characters without adding them.
The initial value of non-starter-characters can be set by append-non-starter-characters in the Option Setting File.
The characters included in <string> can be eliminated from the non-starter-characters. If the specified characters are also specified to axf:append-non-starter-characters in the same tag as well, the effect is not guaranteed.
White space characters are disregarded even though they are specified.
The initial value of non-starter-characters can be set by append-non-starter-characters in the Option Setting File.
The characters included in <string> can be appended to the non-end-of-line-characters. If the specified characters are also specified to axf:except-non-end-of-line-characters as well in the same tag, the effect could be wrong.
White space characters are disregarded even though they are specified.
Opening parentheses etc. are automatically treated as except-non-end-of-line characters without adding them.
The initial value of non-end-of-line-characters can be set by append-non-end-of-line-characters in the Option Setting File.
The characters included in <string> can be eliminated from the non-end-of-line-characters. If the specified characters are also specified to axf:append-non-end-of-line-characters in the same tag as well, the effect is not guaranteed.
White space characters are disregarded even though they are specified.
The initial value of non-end-of-line-characters can be set by append-non-end-of-line-characters in the Option Setting File.
normal | keep-all | break-all | break-word
| keep-non-spaces
Initial:
normal
Applies to:
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
normal
Follows a normal line breaking rule.
keep-all
Does not break inside words. A word here indicates a character string which consists of the following category (General Category) of Unicode.
Letter
Mark
Number
Whether to break lines on a boundary with characters other than these follows the rule of the standard line break. Moreover, hyphenate="true" is disregarded.
break-all
The line breaking is enabled between all the characters in the word. This is effective only with the following scripts.
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
normal
The line is not broken forcibly. The text will overflow across the region.
break-word
The line is broken forcibly at an appropriate position.
CAUTION:
break-spaces is not supported.
axf:url-break / CSS -ah-url-break
V7.4no-LT
Specifies how to perform the line breaking in a URL.
Value:
normal | chicago
Initial:
normal
Applies to:
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
normal
Follows a normal line breaking rule.
chicago
Breaks lines for substrings such as URLs in text, as in The Chicago Manual of Style. That is, follows these rules:
Hyphenation is not allowed.
The scheme part such as https:// is unbreakable.
Breakable before the next character after the scheme, unbreakable after it, except in the case of the last character.
# % , - . / ? _ ~
Breakable before and after the next character after the scheme, except in the case of the last character.
& =
Other than these, follows a normal line breaking rule.
CAUTION:
Whether a string is a URL does not determine whether it strictly follows the URL syntax.
It is determined only by whether it starts with http://, https:// or file://.
CAUTION:
If there are contradictory settings, the unbreakable rule takes precedence.
It won't work if:
When it's unbreakale by wrap-option="no-wrap", etc.
When word-break="break-all" is specified
This property is not available with Antenna House Formatter V7.4 Lite.
Specifies the number of characters considered an abbreviation.
axf:abbreviation-character-count controls the line break of the abbreviation delimited by U+002F or “/”. In general, the line break occurs with “km/h” or “w/o”, etc. because the position right after “/” is the target for the line break and it's not desirable. In UAX#14: Line Breaking Properties, it is written to avoid splitting in such cases.
In Antenna House Formatter V7.4, when the number of characters of the word right after “/” is less than or equal to the specified number with axf:abbreviation-character-count, the word is considered the abbreviation and the line does not break.
Also, the word right after “/” will not be hyphenated when the number of characters of the word is less than or equal to the specified number with axf:abbreviation-character-count.
It is considered an abbreviation only when the string is one of the following scripts:
Latn
Cyrl
Grek
Zyyy
The axf:abbreviation-character-count must be an integer number of 0 or more. 0 does not control over the abbreviation. In addition, when the line overflows without finding the line break position, the line break may forcibly occur right after “/”.
If the number of characters exceeds 10, it is considered 10.
Values have the following meanings (they are case insensitive):
QU
Considered to be an non-directional quotation mark.
OP
Considered to be an open quotation mark.
CL
Considered to be a close quotation mark.
For non-directional quotation marks such as U+0022, explicitly specify the direction as follows to encourage proper line breaks:
Lorem
<fo:charactercharacter="""axf:quotetype="OP"/>ipsum<fo:charactercharacter="""axf:quotetype="CL"/>
dolor sit amet,
Specifying the property to characters other than quotation marks is invalid. See Quotation Mark in Technical Notes for how to handle quotation marks. If not specified, the setting there will be used.
This property is not available with Antenna House Formatter V7.4 Lite.
Extension for Hyphenations
Antenna House Formatter V7.4 provides the extended features for hyphenations.
If the length from the end of a word to the end of line is less or equal to the specified value, the following word is not hyphenated.
It is invalid when 0 or less value is specified.
Does not hyphenate a word that consists of all capital letters. A word that does not consist of all capital letters, such as a word that has only the first letter capitalized, is hyphenated.
false-all
Does not hyphenate all words that start with a capital letter.
A phrase like ANTENNA-HOUSE with hyphens is considered multiple words. There is a possibility of a line break at the hyphen position. Even letters processed as small-caps are considered lowercase if the original letters are lowercase.
This setting is effective when hyphenate="true" is specified.
Specifies additional hyphenation information. This element does not generate an area.
This feature is not available in CSS.
This feature is not available with Antenna House Formatter V7.4 Lite.
The <axf:hyphenation-info> extension element can be set as many as you want right under <fo:declarations>.
The language property is required to indicate which language this element is associated with. It is not available to do hyphenation if the specified language is originally not hyphenated.
See Hyphenation for the languages you can specify.
The src property can optionally specify the exception dictionary. It's an additional setting to the original dictionary and effective only in this FO. There is no language dependency constraint for the file name unlike the original dictionary. It is a relative base-uri for the relative path. It's not a relative path to the environment valuable of the hyphenation dictionary. <exceptions> in the specified dictionary is evaluated. When multiple words of the same spelling are registered, the information on the last registered word becomes effective.
Contents:
%axh-elements; is an element which belongs to the name space http://www.antennahouse.com/names/XSL/Hyphenations. The elements in the Hyphenation Exception Dictionary are included in the name space, however currently only <exceptions> (and its child element, <hyphen>) can be described.
In this example, an additional exception dictionary, en-add.xml is specified for English language, and then the exception hyphenation is specified for the word spelled “abcdefg”.
CAUTION:
In the example above, do not use the following setting. (<hyphen/> is disregarded).
abc<hyphen/>defg
Instead, make sure to specify.
abc<axh:hyphen/>defg
SOFT HYPHEN Treatment
Generally SOFT HYPHEN (U+00AD) is displayed only when the line breaks and is not displayed when the line does not break. However in this processing, it is often the case that the glyph assigned to U+00AD may not be printed when the non-Unicode symbol font are used.
In Antenna House Formatter V7.4, axf:soft-hyphen-treatment makes it possible to eliminate this problem.
[ none | auto | all | [ [ start | start-except-first ] || [ end | allow-end | end-except-fullstop ] || adjacent ]
] || <string>
Initial:
auto
Applies to:
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
none
Punctuation characters are not trimmed.
start
Punctuation characters (open parenthesis etc.) at the start of the line are treated as half width.
start-except-first
Same as the start value except for a start line of a paragraph or a line right after the forced line break.
end
When text-align="right" or text-align="justify" (or text-align-last="justify") is specified and full width punctuation marks (closing parenthesis etc.) come to the end of the sentence, the character is treated as half width forcibly.
allow-end
When text-align="right" or text-align="justify" (or text-align-last="justify") is specified and full width punctuation marks (closing parenthesis etc.) come to the end of the sentence, characters are treated as full width if text fits into one line, characters are treated as half width if text does not fit into one line.
end-except-fullstop
Behaves as the same as the end value except for the following two characters.
U+3002
IDEOGRAPHIC FULL STOP
。
U+FF0E
FULLWIDTH FULL STOP
.
adjacent
The space between a full width punctuation and a full width character in Japanese is trimmed.
Between full width close parenthesis and full width open parenthesis.
Between full width close parenthesis and full width close parenthesis.
Between full width close parenthesis and full width middle dots.
Between full width close parenthesis and full width space.
Between full width close parenthesis and full width non punctuation characters.
Between full width open parenthesis and full width open parenthesis.
Between full width middle dots and full width open parenthesis.
Between full width space and full width open parenthesis.
Between full width non punctuation character and full width open parenthesis.
Full width punctuation characters are treated the same as full width close parenthesis. The adjacent value is equivalent to axf:kerning-mode="contextual" with XSL Formatter V4.
all
Trim all parentheses, middle dots, and punctuations of full width and treat them as half width.
<string>
<string> and other keywords can be written together. Specifying only <string> is equivalent to <string> none. The character string specified by <string> and the characters specified by other keywords are treated as half width characters.
auto
Dependent on the system setting.
It is considered axf:punctuation-trim="none" or axf:punctuation-trim="start end adjacent" by punctuation-trim in the Option Setting File.
Full width punctuation open parenthesis processed by axf:punctuation-trim are:
U+2018
LEFT SINGLE QUOTATION MARK
‘
U+201C
LEFT DOUBLE QUOTATION MARK
“
U+3008
LEFT ANGLE BRACKET
〈
U+300A
LEFT DOUBLE ANGLE BRACKET
《
U+300C
LEFT CORNER BRACKET
「
U+300E
LEFT WHITE CORNER BRACKET
『
U+3010
LEFT BLACK LENTICULAR BRACKET
【
U+3014
LEFT TORTOISE SHELL BRACKET
〔
U+3016
LEFT WHITE LENTICULAR BRACKET
〖
U+3018
LEFT WHITE TORTOISE SHELL BRACKET
〘
U+301A
LEFT WHITE SQUARE BRACKET
〚
U+301D
REVERSED DOUBLE PRIME QUOTATION MARK
〝
U+FF08
FULLWIDTH LEFT PARENTHESIS
(
U+FF3B
FULLWIDTH LEFT SQUARE BRACKET
[
U+FF5B
FULLWIDTH LEFT CURLY BRACKET
{
U+FF5F
FULLWIDTH LEFT WHITE PARENTHESIS
Full width punctuation close parenthesis processed by axf:punctuation-trim are:
U+2019
RIGHT SINGLE QUOTATION MARK
’
U+201D
RIGHT DOUBLE QUOTATION MARK
”
U+3009
RIGHT ANGLE BRACKET
〉
U+300B
RIGHT DOUBLE ANGLE BRACKET
》
U+300D
RIGHT CORNER BRACKET
」
U+300F
RIGHT WHITE CORNER BRACKET
』
U+3011
RIGHT BLACK LENTICULAR BRACKET
】
U+3015
RIGHT TORTOISE SHELL BRACKET
〕
U+3017
RIGHT WHITE LENTICULAR BRACKET
〗
U+3019
RIGHT WHITE TORTOISE SHELL BRACKET
〙
U+301B
RIGHT WHITE SQUARE BRACKET
〛
U+301E
DOUBLE PRIME QUOTATION MARK
〞
U+301F
LOW DOUBLE PRIME QUOTATION MARK
〟
U+FF09
FULLWIDTH RIGHT PARENTHESIS
)
U+FF3D
FULLWIDTH RIGHT SQUARE BRACKET
]
U+FF5D
FULLWIDTH RIGHT CURLY BRACKET
}
U+FF60
FULLWIDTH RIGHT WHITE PARENTHESIS
Full width punctuations processed by axf:punctuation-trim are:
U+3001
IDEOGRAPHIC COMMA
、
U+3002
IDEOGRAPHIC FULL STOP
。
U+FF0C
FULLWIDTH COMMA
,
U+FF0E
FULLWIDTH FULL STOP
.
Full width middle dots processed by axf:punctuation-trim are:
U+30FB
KATAKANA MIDDLE DOT
・
U+FF1A
FULLWIDTH COLON
:
U+FF1B
FULLWIDTH SEMICOLON
;
axf:punctuation-trim doesn't affect the proportional font.
Also, it is always considered none when anything other than auto is specified for glyph-orientation-*.
CAUTION:
To make the behavior of axf:punctuation-trim="both" in XSL Formatter V4 the same, specify axf:punctuation-trim="start end" or axf:punctuation-trim="start allow-end" in Antenna House Formatter V7.4. In addition, if you use this extension together with axf:kerning-mode="contextual", specify axf:punctuation-trim="start end adjacent" etc. with Antenna House Formatter V7.4.
Trim the spaces between characters as specified so that text fits into a line. When axf:punctuation-trim="all" is specified, there may be no more space to trim.
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
auto
Uses the best text justification method for the script. For instance, in case of Japanese Kanji, Hiragana and Katakana, spaces between letters are expanded. In case of Arabic scripts, Kashida is used while spaces between words are expanded for the other scripts.
inter-word
Justifies text by expanding the space between words.
inter-character
Justifies text by expanding the space between letters.
distribute
Changed to inter-character with CSS Text 2017-08-22. We also accept distribute for compatibility.
CAUTION:
If inter-character is specified, kerning and ligature are limited.
Do not hang punctuation marks at the start of the line or end of the line.
start
Hangs punctuation marks at the start of the line. If the target character for hanging appears at the start of the line, the character is forced to hang.
first
Behaves as the same as the start value only with the start line of a paragraph.
force-end
Hangs punctuation marks at the end of the line. When text-align="right" or text-align="justify" (or text-align-last="justify") is specified and a target character for hanging appears at the end of the line, the character is hanged forcibly. When anything else is specified to text-align, the character is hung naturally.
allow-end
Hangs punctuation marks at the end of the line. When text-align="right" or text-align="justify" (or text-align-last="justify") is specified and a target character for hanging comes to the end of the line, the character is not hung if text fits into one line, but the character is hung if text does not fit into one line. When anything else is specified to text-align, the character is hung naturally.
last
Behaves the same as the force-end value only with the end of the line of a paragraph.
The target punctuation marks is as follows:
force-end, allow-end
Japanese or Simplified Chinese
U+3001
IDEOGRAPHIC COMMA
、
U+3002
IDEOGRAPHIC FULL STOP
。
U+FF0C
FULLWIDTH COMMA
,
U+FF0E
FULLWIDTH FULL STOP
.
Traditional Chinese
U+FE50
SMALL COMMA
﹐
U+FE51
SMALL IDEOGRAPHIC
﹑
U+FE52
SMALL FULL STOP
﹒
U+FF64
HALFWIDTH IDEOGRAPHIC COMMA
、
Other languages
Same as the last value.
last
quotation marks, closing parentheses, period, comma and hyphen
start, first
quotation marks, closing parentheses and bullet
Specifies spacing behavior between words or characters so that the last line of the paragraph does not have only one word left (one character for CJK).
Adjusts the spacing so that the last line of the paragraph does not have only one word left (one character for CJK). When axf:text-justify-trim="auto" is specified, it is considered that axf:text-justify-trim="ideograph inter-word" is specified.
<length>
<percentage>
Leaves the specified width of text on the last line of the paragraph. If both <length> and <percentage> are specified, the smaller one is adopted.
When 0 or less is specified, it is considered false. If it is greater than 0 and axf:text-justify-trim="auto" is specified, it is considered that axf:text-justify-trim="ideograph inter-word" is specified.
This setting is effective only when the Breaking Paragraphs into Lines line breaking algorithm is applied, such as when axf:line-break="bpil" is specified. Otherwise, the specified value of greater than 0 is considered true.
CAUTION:
The specified width is not always secured, for example, in case it is too unbalanced when the specified width is secured.
If the width of columns (length of the line) is short, when true is specified, it is not so effective because there is not enough space to run on. In addition, in case there is no room for a word to be placed at the end of the line, axf:avoid-widow-words has no effect. Note that there may be no more space to trim by setting axf:punctuation-trim or axf:text-justify-trim.
See also avoid-widow-words-cjk-punctuation in the Option Setting File to learn more about the treatment of the punctuation at the end of the line in CJK.
Because punctuation marks are also counted in one character, it may be a line like “す。”.
true
Because punctuation marks are not counted in one character, they do not become a line like “す。”, but a line like “です。”. The target punctuation marks here are the following characters:
If you specify a character string other than true/false, such as axf:avoid-widow-words-cjk-punctuation="?!",
those characters will also be treated as target punctuation marks in addition to the above.
This property is specified when you want to place the footnote symbol after the punctuation mark and treat the punctuation mark in half-width characters. You can do the same with axf:punctuation-trim="all", but you can't just apply it to a particular inline element.
This property is not available with Antenna House Formatter V7.4 Lite.
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
none
Space is not added.
ideograph-numeric
Space is added between ideograph character and non-ideographic number character. Non-ideographic number character mentioned here indicates the character
of Nd classified by Unicode and the non-full-width character.
ideograph-alpha
Space is added between ideograph character and non-ideographic alphabet character. Non-ideographic alphabet character mentioned here indicates the character of Lu, Ll, Lt and Lm classified by Unicode.
ideograph-parenthesis
Space is added between ideograph character and non-ideographic parenthesis character. However space is not added between ideograph character and non-ideographic closing parenthesis or between non-ideographic opening parenthesis and ideograph character.
auto
Dependent on the system setting. It's considered axf:text-autospace="none" or axf:text-autospace="ideograph-numeric ideograph-alpha" according to the setting.
Specifies the character string treatable for trimming space between ideograph character and non-ideographic alphabet character and full width punctuation.
Value:
<string> [both | start | end]?
Initial:
empty string
Applies to:
inline formatting objects
Inherited:
no
Percentages:
N/A
Values have the following meanings:
<string>
Specifies the treatable character string. If it is empty, the processing of the treatable character string is not performed.
both
Performs the processing of the treatable character string on both sides. If both/start/end are omitted, it is considered both.
start
Performs the processing of the treatable character string only on the start side.
end
Performs the processing of the treatable character string only on the end side.
The treatment of spaces between ideograph character and non-ideographic alphabet character by text-autospace and the trimming of full width punctuation by punctuation-trim only work between adjacent characters. That is, it does not affect <img>, <math>, etc. For example, if you specify like the following in HTML:
いろは<math>...</math>ほへと
there is no space between ideograph character and non-ideographic alphabet character before and after <math>. Then if you specify as follows:
math { -ah-text-treat-as: "A" }
it behaves as if the following character string was specified,
いろはAほへと
then, processes the space between ideograph character and non-ideographic alphabet character, creates the space between ideograph character and non-ideographic alphabet character before and after <math>. (html.css contains this setting.)
Only the first and last characters of the text-treat-as string are effective. The first character is used between ideograph character and non-ideographic alphabet character with the character string on the start side, and the last character is used between ideograph character and non-ideographic alphabet character with the character string on the end side.
If you want to change the treatment between ideograph character and non-ideographic alphabet character on the start side and the end side, you can specify like "A.".
In addition, you may want to encourage it to apply to characters for which the spaces between ideograph character and non-ideographic alphabet character are normally not applied.
いろは#123ほへと
In the case above, there is no space before #, but there is a space after 3. So, if you specify as follows, you can also create a space before #.
Changes letter-spacing depending on the number of characters.
Value:
[ none | <length> | <percentage> ]*
Initial:
none
Applies to:
inline-level formatting objects
Inherited:
no
Percentages:
refer to the font size
Values have the following meanings:
none
Does not specify letter-spacing.
Values can be enumerated corresponding to the number of characters of 2 or more. For example, if specified as follows:
axf:auto-letter-spacing="2em 1em 0.5em 0.25em"
when the number of characters in this FO is 2, then letter-spacing="2em" is applied. When 3 characters, then letter-spacing="1em" is applied. When 4 characters, then letter-spacing="0.5em" is applied. When 5 characters, then letter-spacing="0.25em" is applied. Does nothing with any other number of characters. Only the characters included in the first inline element are counted.
This property is defined mainly for use in chapter titles in CJK text. In the following case,
Specifies how to treat the margin when the page/column breaks.
Value:
[ auto | discard | keep ] keep?
Initial:
auto
Applies to:
block elements
Inherited:
no
Percentages:
N/A
Values have the following meanings:
auto
Retains the margin on the before side of the block placed at the start of the document or right after the forced page/column break. Except for that, it is the same as discard.
discard
Discards the margin.
keep
Retains the margin on the before side. When the second keep is specified, the margin on the after side is also retained.
CSS -ah-ignore-leading-newline
Specifies whether the newline right after the start tag is disregarded or not.
Value:
false | true | auto
Initial:
false
Applies to:
<pre> element
Inherited:
no
Percentages:
N/A
Values have the following meanings:
false
The newline right after the start tag is not disregarded.
true
The newline right after the start tag is disregarded.
auto
The newline right after the start tag is disregarded with HTML, not disregarded with XHTML.
This is effective with the element that does not disregard the newline like <pre>.
Although the specification of <string> to <fo:table-cell> aligns the character position of decimal point, etc., there is no definition for the alignment of the whole character string. At a default, Antenna House Formatter V7.4 displayed it right aligned according to the illustration of 17.5.4 Horizontal alignment in a column. Antenna House Formatter V7.4 extends the alignment and makes it possible to align left or align center.
axf:text-align-first / CSS -ah-text-align-firstIntroduction to CSS for Paged Mediatext-align-first
Specifies the text alignment of the first line.
Value:
relative | start | center | end | justify | inside | outside | left | right
Specifies the alignment of the child of the first line area and the alignment of the line coming right after the line with U+000A at the end. Priority is given above text-align-last.
If text-align="justify" is specified but text-align-last="justify" is not specified, and the space at the end of the last line is less than or equal to the specified value, the last line is processed as text-align-last="justify" is specified.
This property is not available with Antenna House Formatter V7.4 Lite.
The entire block is adjusted to be balanced including the last line.
false
Does not balance the last line.
auto
When applied to a block with any of the following conditions, the entire block including the last line is adjusted to be balanced.
text-align="justify" and text-align-last="justify"
text-align="center" and text-align-last="center"
This property is only valid when the line breaking algorithm of Breaking Paragraphs into Lines is applied, such as when axf:line-break="bpil" is specified. Otherwise it is considered false.
This property is not available with Antenna House Formatter V7.4 Lite.
Considers a line with leaders as text-align="justify". Consequently, leaders will expand.
CAUTION:
In CSS, it is always considered force.
Suppose you create a table of contents using leaders. Then you might want to format as follows with the length of a label, or the length of the number of pages.
Short Label ................................. 10, 20, 30
Specifies the percentage of Kashida in Arabic justification.
Value:
<percentage> | auto
Initial:
auto
Applies to:
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
yes
Values have the following meanings:
<percentage>
Indicates the percentage of white space and Kashida. If the value is 0%, Kashida is not inserted and only the white space expands as well as the normal justification. If the value is 100%, Kashida is inserted as much as possible. The value should be from 0% to 100%.
Specifies whether to justify NON-BREAKING SPACE or not.
Value:
true | false
Initial:
true
Applies to:
all formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
true
NON-BREAKING SPACE is included for justification.
false
NON-BREAKING SPACE is not included for justification.
Generally, NON-BREAKING SPACE (U+00A0) is intended for justification. The axf:justify-nbsp property can be used when you want to check off U+00A0 from justification.
axf:indent-here / CSS -ah-indent-here
no-LT
Aligns the indent position to the region position when a line break occurs.
refer to the logical width of the containing block
Values have the following meanings:
<length>
<percentage>
When the block comes to the top of the page or column, if the first line is on that page or column, the value of this property substitutes for the value of text-indent.
auto
Does nothing.
This property is not available with Antenna House Formatter V7.4 Lite.
Tab
In case of FO, the tab character (U+0009) will be normalized to the white space (U+0020); therefore, the character normally has a meaning of just a white space. However, there are a lot of document structures that the tab character aligns the text, such as JIS X 4051:2004. Antenna House Formatter V7.4 provides the extension that enables to express the tab structure.
CAUTION:
A line which contains a tab will be forced to text-align="start".
CAUTION:
We cannot guarantee the best result of a tab processing in case a text requires the BIDI processing.
Places a white space up to a tab stop position.
Specify the tab stop position with axf:tab-stops.
Areas:
Generates and returns
a single normal inline-area.
Contents:
EMPTY
This element is not equivalent to <fo:charactercharacter="	"/>. For <fo:character>, all the properties related to a white space such as white-space-collapse and white-space-treatment are applied.
This element is not available with Antenna House Formatter V7.4 Lite.
The alignment of the tab stop position is considered what is specified in axf:tab-stops.
start
Aligns the start of the string to the tab stop position.
center
Aligns the center of the string to the tab stop position.
end
Aligns the end of the string to the tab stop position.
left
Aligns the left side of the string (the top of the string in case of vertical writing) to the tab stop position. Same as start above in case of writing-mode="lr-tb" and "tb-rl".
right
Aligns the right side of the string (the bottom of the string in case of vertical writing) to the tab stop position. Same as end above in case of writing-mode="lr-tb" and "tb-rl".
decimal
Considered that "." is specified.
<string>
Aligns the start of the string to the tab stop position as specified. For instance, when axf:tab-align="." is specified, alignment will be made as below:
1
.
2345
123
.
45
12345
.
12345
This property is not available with Antenna House Formatter V7.4 Lite.
start | center | end | left | right | decimal | <string>
Values have the following meanings:
<tab-align>
Specifies the alignment of the tab stop position. When omitted, it will be considered that this alignment is same as that of the previous tab stop position. When omitted at the start of the line, the value will be considered start. For more details, see axf:tab-align.
<length>
Specifies the tab length.
<number>
Regards the specified number of the white space characters (U+0020) as the tab length.
eol
Regards that the tab stop position is placed at the end of the line. However, when the previous tab specification already exceeded the end of the line, it will be considered that the tab stop position is always placed at the end of the line.
The tab length to be specified will be the distance added from the start of the reference area. You cannot specify a negative value.
When eol is not specified, it will be considered that the tab length is repeatedly specified until the last value reaches the end of the line. However, when this value is 0, the tab will be ignored.
For instance, specify as below:
axf:tab-stops="80pt decimal 40pt end 8 eol"
In case of CSS, tab-size:8 is equivalent to axf:tab-stops="8".
This property is not available with Antenna House Formatter V7.4 Lite.
Treated as the specified number of the white space characters (U+0020). You cannot specify a negative value.
This white space is subject to processing of white-space-treatment and white-space-collapse, etc.
preserve
Treated as <axf:tab/>.
This property is not available with Antenna House Formatter V7.4 Lite.
all elements with and generated content with textual content
Inherited:
yes
Percentages:
refers to the line height of the parent area
Values have the following meanings:
auto
The underline is placed on the automatically adjusted position. The specification of axf:vertical-underline-side in vertical writing mode is effective.
before-edge
The underline is placed on the before-edge. When <percentage> or <length> is not specified, the upper end of the height of an underline is placed on the before-edge. When <percentage> or <length> is specified, the center of the height of an underline is placed on the before-edge.
alphabetic
The underline is placed on the position of the baseline. When <percentage> or <length> is not specified, the upper end of the height of an underline is placed on the baseline. When <percentage> or <length> is specified, the center of the height of an underline is placed on the baseline.
after-edge
The underline is placed on the after-edge. When <percentage> or <length> is not specified, the upper end of the height of an underline is placed on the after-edge. When <percentage> or <length> is specified, the center of the height of an underline is placed on the after-edge.
<percentage>
<length>
The underline position is shifted by the specified amount. When the underline is placed on the right side by axf:vertical-underline-side, it is moved to the opposite direction of the left side.
Specifies on which side of the text to put underline in vertical writing-mode.
Value:
left | right | depend-on-language | auto
Initial:
auto
Applies to:
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
left
The underline is placed on the left side.
right
The underline is placed on the right side.
depend-on-language
The underline is placed on the right side when the language property is Japanese (jpn) or Korean (kor). The underline is placed on the left side when the language property is other than Japanese (jpn) or Korean (kor).
auto
Dependent on the system setting.
This property is effective only when axf:text-underline-position="auto" is specified. The overline is placed on the opposite position of the underline.
When axf:vertical-underline-side="auto" is specified and the initial value of the system is also auto, the underline is placed on the right side when the language property is Japanese (jpn) or Korean (kor). The underline is placed on the left side when the language property is other than Japanese (jpn) or Korean (kor). If there is no language properties specified, it depends on the Default CJK language setting.
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
mixed
Rotates alphanumeric characters, etc. 90-degree clockwise. (As shown on the right in the figure.)
upright
Renders all the characters upright except for punctuation marks, such as parentheses. (As shown on the left in the figure.)
sideways-rl
sideways
Rotates all the characters 90-degree clockwise. This has the same effect as setting some parts in horizontal layout in the vertical writing mode.
none
Dependent on the system.
Although the operation is close to mixed, which character is rotated is decided by considering the compatibility with the old version.
auto
In XSL-FO, it is considered mixed when the value of text-orientation-mode is 7 in the Option Setting File, none when the value is less than or equal to 6. In CSS, it is considered mixed.
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
none
Does not set horizontal-in-vertical composition.
all
The whole element which consists of only text (include emoji) is set to horizontal-in-vertical composition.
digits
A sequence of consecutive numbers (0-9) that are less than or equal to the digit number specified by <integer> is set to horizontal-in-vertical composition.
alpha
A sequence of consecutive alphabetic characters (A-Z, a-z) that are less than or equal to the digit number specified by <integer> is set to horizontal-in-vertical composition.
alphanumeric
A sequence of consecutive alphanumeric characters (0-9, A-Z, a-z) that are less than or equal to the digit number specified by <integer> is set to horizontal-in-vertical composition.
emoji
Makes the emoji horizontal-in-vertical composition.
Usually, horizontal-in-vertical composition will be marked up as follows:
The automatic horizontal-in-vertical composition saves time and effort for this.
axf:text-combine-horizontal is applied before axf:text-orientation or text-transform, axf:number-transform, etc. The removable white space placed before and after the character string targeted for horizontal-in-vertical composition will be removed.
When digits is specified to axf:text-combine-horizontal and axf:text-orientation="upright" is also specified, the following behaviors are applied to the sequence of numbers targeted for horizontal-in-vertical composition that are shorter than <integer>, that has adjacent decimal point.
U+002E and U+FF65 are considered decimal points.
A sequence of numbers targeted for horizontal-in-vertical composition after the decimal point will not be set to horizontal-in-vertical composition. However, the decimal point will be transferred to U+FF65.
When the decimal point comes after a sequence of numbers targeted for horizontal-in-vertical composition, the sequence of numbers will be set to horizontal-in-vertical composition. The decimal point will be transferred to U+FF65.
The figure on the right shows the example of the horizontal-in-vertical composition set to “12.34” automatically.
Furthermore, with the combination of text-transform, you can set two or more characters in non full-width, change others in full-width in horizontal-in-vertical composition.
If the number of characters in horizontal-in-vertical composition is 2 or more, the axf:number-transform setting is ignored.
CAUTION:
Automatic horizontal-in-vertical composition is not recommended to use in any other way than axf:text-orientation="upright".
Automatic horizontal-in-vertical composition is invalid in the following cases. Emphasis marks in horizontal-in-vertical composition will be deleted.
In horizontal writing mode (includes the case where the value for axf:text-orientation is sideways in horizontal-in-vertical composition)
When languages other than CJK are specified
Within ruby
Character strings generated dynamically, such as <fo:page-number>
This property is not available with Antenna House Formatter V7.4 Lite.
Emphasis Marks
Antenna House Formatter V7.4 is capable of applying emphasis marks to the character string. However, emphasis marks cannot be applied to an arbitrary script. Only to the following scripts in addition to CJK are available.
Latn
Cyrl
Grek
Zyyy
It's not available to apply emphasis marks to the ruby characters, though it is available to apply to ruby's base characters.
As for the glyph of the emphasis mark in the general font, the size of glyph image is various, you will need to adjust the position and size according to the emphasis mark you use.
A free special font suitable for emphasis marks is available (☞Kenten Generic OpenType Font). The font has the same size of emphasis marks, then the same settings for any emphasis marks will be OK.
Specifies a character with an outline without color-fill.
dot
Specifies a filled dot. filleddot is U+2022 •, opendot is U+25E6 ◦.
circle
Specifies a circle. filledcircle is U+25CF ●, opencircle is U+25CB ○.
double-circle
Specifies a double-circle. filleddouble-circle is U+25C9 ◉, opendouble-circle is U+25CE ◎.
triangle
Specifies a triangle. filledtriangle is U+25B2 ▲, opentriangle is U+25B3 △.
sesame
Specifies a sesame dot. filledsesame is U+FE45 ﹅, opensesame is U+FE46 ﹆.
<string>
Specifies an arbitrary character string. When multiple characters are specified, overlapping of emphasis marks is not considered though everything is displayed.
when filled or open is not specified, it's considered filled. When filled or open is specified, it's considered circle in vertical writing mode.
axf:text-emphasis-offset / CSS -ah-text-emphasis-offsetXSL-FO Samples CollectionRuby and emphasis marks
Specifies the space between emphasis marks and the base characters.
Value:
<number> | <length> | <percentage>
Initial:
0pt
Applies to:
all elements
Inherited:
yes
Percentages:
refer to the font size
When specified using <number>, the value is what is obtained by multiplying text-emphasis-font-size by the specified <number>. When ruby and emphasis marks are put on the same side, it is adjusted to the larger one of the specified value and the ruby height.
The meanings of <length>s and a <color> are as follows:
The first <length> is an offset of a horizontal shadow. It becomes a right-side shadow of a region when a positive value is specified. It becomes a left-side shadow of a region when a negative value is specified.
The second <length> is an offset of a vertical shadow. It becomes a bottom-side shadow of a region when a positive value is specified. It becomes a top-side shadow of a region when a negative value is specified.
The 3rd <length> has to be the non-negative value and specifies the blur radius. If 0 is specified, there is no shading. When the value greater than 0 is specified, the text shadow is rendered in raster-image format. The resolution of a rendered image can be set by textshadow-resolution-minimum-dpi, textshadow-resolution-pixel-per-em. In addition, when the blur radius is given by the length in px unit, the blur radius will not be decided by the resolution setting but by pxpi.
The color of the shadow can be specified by <color>.
This combination can be specified multiply and shadows can be added several times over.
This property is not available with Antenna House Formatter V7.4 Lite.
CAUTION:
In the XSL specification, this property is not inherited and can be applied to very limited FO, but extended by Antenna House Formatter V7.4 according to the CSS specification.
☞[XSL 1.1] text-shadow
CAUTION:
When the text color includes the transparence or the alpha value, the color is not correctly displayed.
Note the following when you set the blur:
Effective only with GUI and PDF output. The blur setting is ignored with the other outputs.
The blur setting is ignored with the device that cannot output in transparent mode like PDF/X.
The glyph of the font is processed and transformed into the raster image. Some fonts may not be allowed to be transformed into images, processed and distributed. Be sure the font you are using has no licensing problem.
When you set the blur without embedding the font, the font shape may differ between the text shadow and the text area in the environment where the font is not installed. We recommend to embed fonts when setting the blur. Also It's possible to specify whether to blur fonts that are not allowed to be embedded by textshadow-blur-cannot-embed-font.
It's not rendered to the decorated characters, such as decorated lines or emphasis marks.
Compression in PDF Output can also be applied to the image created by this feature.
The blur setting is ignored when transparency is specified as false.
Specifies the letter size of a dropped initial by number of lines. When the value is less than 1, it is invalid.
<length>
Specifies the letter size of a dropped initial by actual dimensions. The specified dimension is converted to how many lines it corresponds to. When it is less than 1 line, it is invalid.
<integer>
Specifies the number of lines a dropped initial should sink. When the value is omitted or equal to 0, it is considered a value obtained by rounding down the number of lines to an integer.
When the value is less than 0, it is invalid.
drop
Equivalent to specifying a value of the number of lines rounded down to an integer to <integer>.
raise
Equivalent to specifying 1 to <integer>.
adjacent
Indents all lines in the block, not just the letter of a dropped initial.
<integer2>
Similar to adjacent, but indents the lines after the part of dropped initial by the specified number of lines. When the value is omitted, it is considered 0.
When the value is negative, it is invalid.
This property can only be specified in <fo:block> in XSL-FO and in the ::first-letter pseudo element in CSS. A dropped initial is selected from the first text by tracing the children of the element for which axf:initial-letters is specified. In XSL-FO, axf:initial-letters is ignored if the following elements appear before text. In CSS, it follows the ::first-letter pseudo element (except for ruby).
fo:block with axf:initial-letters specified
fo:block within inline elements
Block elements other than fo:block
fo:inline-container
fo:bidi-override
fo:page-number
fo:page-number-citation
fo:page-number-citation-last
axf:footnote-number
axf:footnote-number-citation
When the strings of the block with axf:initial-letters specified are short and less than the number of lines to be sunk, the succeeding block without axf:initial-letters specified is also indented.
However, in the following cases, it will not be indented and will be placed on the next line of the dropped initial.
Block with clear="start" or "both" specified
When a float is included on the end side of a block with clear="end" specified
When a space is included between blocks due to margin, etc.
A dropped initial is the first letter except for the following punctuations from the first text and accents that decorate them. At that time, all the following punctuations that are adjacent are also selected according to the ::first-letter specification.
Ps : open punctuation
Pe : close punctuation
Pi : initial punctuation
Pf : final punctuation
Po : other punctuation
For example, “H will be a dropped initial in case of “Hello.
The font size is automatically calculated from the cap-height etc. of the font, so the font-size specified in ::first-letter is ignored. When the letter following the dropped initial is in lowercase and small-caps is specified, the letter size is calculated taking into account not only cap-height but also x-height.
For more details, see also axf:initial-letters-first-line-head-height. Some fonts do not have cap-height or x-height, or may not have appropriate values. In such a case, it can be adjusted by specifying in the Font Configuration File.
CAUTION:
The font size is calculated on the assumption that the line height is constant. For example, when a line with line-stacking-strategy="max-height" has large letters in the middle, the letter size may be different from the expected one.
CAUTION:
Drop initials do not work for the block when axf:text-align-first is specified and its value is other than "left", "start" or "justify". Also, drop initials do not work for the block when axf:text-align-first is not specified and the value of text-align is other than "left", "start" or "justify".
If the first letter is ruby, then the first ruby container of that ruby will be a dropped initial. When an image, such as <fo:external-graphic> comes first, the image is a dropped initial. At that time, all the settings related to the scaling of the image are ignored.
If ::first-letter without initial-letters specified, ::first-letter does not apply to ruby or image.
::first-letter may be nested.
div::first-letter { ... }
p::first-letter { ... }
<div><p>Hello...
In this example, all ::first-letters are evaluated as follows:
When initial-letters is specified to ::first-letter, the following restrictions apply.
For initial-letters, only the first ::first-letter is valid, and anything else specified is ignored.
If initial-letters is specified, subsequent ::first-letters are ignored.
A float with axf:float-x="start" within the number of lines of the dropped initial is placed on the start side of the dropped initial when its anchor is included at the start of the block. Otherwise, it will be pushed out and placed on the after side of the dropped initial.
☞axf:initial-letters-start-intrusion
CAUTION:
Complex structures such as fo:table cannot be included within the number of lines of the dropped initial.
Use simple structures if possible.
Adjusts the height to cap-height on the first line. The figure shows an example when the number of lines is 2.
x-height
Adjusts the height to x-height on the first line. The figure shows an example when the number of lines is 2 and small-caps is specified for the first line.
auto
Adjusts the height to x-height under the following conditions: Otherwise, adjusts to cap-height.
When the next character of a dropped initial character or image is lowercase small-caps (provided that the character or image to be a dropped initial and the next character belong to the same element)
When the number of lines of a dropped initial is equal to the number of lines a dropped initial should sink (provided that the number of lines is specified without units)
CAUTION:
This property is not effective when the document is vertical writing or CJK.
This property is not available with Antenna House Formatter V7.4 Lite.
Multiple values can be specified. The first value applies to the first line and the second value applies to the next line. The last value applies after the corresponding line.
This property is not available with Antenna House Formatter V7.4 Lite.
axf:initial-letters-leading-punctuationno-LT
Specifies the size of the leading punctuation of a dropped initial, etc.
Protrudes the leading punctuation to the start side. axf:hanging-punctuation="start" protrudes one-character punctuation, but the hang setting protrudes all punctuations.
intrude
Penetrates and overlaps the leading punctuation with the dropped initial.
<length>
Adjusts the position of the leading punctuation. hang or intrude must be specified. Shifts the punctuation from that position by the specified length in the inline progression direction.
This property is not available with Antenna House Formatter V7.4 Lite.
Does nothing special. Aligns the leading punctuation with the baseline for horizontal writing and aligns it with the center for vertical writing.
baseline
Aligns the leading punctuation with the baseline of the last line.
before
Aligns the leading punctuation with the before side of the dropped initial.
middle
Aligns the leading punctuation with the center of the dropped initial.
after
Aligns the leading punctuation with the after side of the dropped initial.
<length>
Specifies the baseline-shift amount of the leading punctuation. If it is specified at the same time as baseline, before, middle, and after, it is the shift amount from that position.
This property is not available with Antenna House Formatter V7.4 Lite.
Aligns the float on the after side, avoiding the dropped initial.
first-line
If the anchor of the float is after the dropped initial and at the start line of the block, aligns the float on the start side of the dropped initial.
If this is not the case, aligns it on the after side, avoiding the dropped initial.
However, if the following conditions are not met, it is considered axf:initial-letters-start-intrusion="none" and aligned on the after side.
Specifies the alignment of a float when the anchor of the float, that has axf:float-x="start" and is included in the block with dropped initial specified, exists after the dropped initial. A float with an anchor before the dropped initial will be aligned on the start side regardless of this setting.
This property is not effective when intrusion-displace="block" is specified, because floats are always aligned outside the block.
This property is not available with Antenna House Formatter V7.4 Lite.
Text Transformation
axf:normalize / CSS -ah-normalize
no-LT
Specifies the normalization of text.
Value:
auto | none | nfc | nfkc | nfd | nfkd
Initial:
auto
Applies to:
all block-level and inline-level formatting objects
Specifies whether the normalization defined in UAX#15: Unicode Normalization Forms is performed. The normalization is performed to the character strings described in the text area.
If you use only the normalized code from the start, it is not necessary to specify the normalization. If not, the normalization by NFC will be a good choice for practical use.
Keep in mind that U+00A0, which is a meaningful code as FO, will be transformed to U+0020, etc. by performing the normalization with NFKC, for example.
This feature is not available with Antenna House Formatter V7.4 Lite.
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
none
Does nothing.
<string><string>
The first pair of character strings is replaced by the latter character strings. You have to specify a character string by a pair. It is not replaced when character strings are odd pieces or the first character string is empty. White space characters will be replaced after being processed by white-space-treatment, etc.
Converts the character of U+0021 to U+007E into full width.
fullwidth-if-verticalno-LT
Only with the vertical writing (writing-mode="tb-rl"), text-transform="fullwidth" will be applied. Does no conversion when it's not the vertical writing.
fullsize-kana
Converts small kana into regular kana. Only fullwidth (not halfwidth) characters are converted.
Only with the vertical writing, such as writing-mode="tb-rl", axf:number-transform="kansuji" is applied. Does no conversion when it's not the vertical writing.
<list-style-type>
The same value as list-style-type can be specified. The range of the value that can be converted varies depending on the style.
<string>
When a character string is specified, the behavior is same as when the character string is specified by format.
A number sequence (number) here indicates character strings of the following forms.
number ::= '-'? digits
digits ::= [0-9]+
When it is simultaneously specified with text-transform or axf:text-replace, axf:number-transform is evaluated first.
When a counter style which was specified with axf:counter-style or symbols() is used, prefix/suffix will not be added.
CSS (-ah-)list-style-typeIntroduction to CSS for Paged Medialist-style-type
Antenna House Formatter V7.4 can convert numbers into Japanese numerals using axf:number-transform.
This function is not available with Antenna House Formatter V7.4 Lite.
axf:kansuji-style / CSS -ah-kansuji-style
no-LT
Specifies the style used for Japanese numerals.
Value:
simple | grouping | readable
Initial:
simple
Applies to:
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
simple
Converts a number sequence into Japanese numerals by one to one correspondence.
12340 ⇒ 一二三四〇
6700000 ⇒ 六七〇〇〇〇〇
grouping
In adds to the conversion of one to one correspondence, grouping for “万億兆京垓𥝱穣溝澗正載極” is inserted.
When all the parts below a certain grouping are zero, they are disregarded.
12340 ⇒ 一万二三四〇
6700000 ⇒ 六七〇万
readable
Inserts grouping of
“万億兆...”
and uses
“十百千”
additionally so that the character strings becomes readable.
Preceding zero is disregarded.
In the huge numerical value which needs the next grouping of “極”, the digits more than “極” are converted by one to one correspondence.
Specifies the character used for Japanese numerals.
Value:
kanji | latin | <string>
Initial:
kanji
Applies to:
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
kanji
Use Japanese numerals for numbers. Equivalent to specifying axf:kansuji-letter="〇一二三四五六七八九".
〇
:
U+3007
一
:
U+4E00
二
:
U+4E8C
三
:
U+4E09
四
:
U+56DB
五
:
U+4E94
六
:
U+516D
七
:
U+4E03
八
:
U+516B
九
:
U+4E5D
latin
Use full width western numerals for numbers. Equivalent to specifying axf:kansuji-letter="0123456789".
0
:
U+FF10
1
:
U+FF11
2
:
U+FF12
3
:
U+FF13
4
:
U+FF14
5
:
U+FF15
6
:
U+FF16
7
:
U+FF17
8
:
U+FF18
9
:
U+FF19
<string>
Specifies arbitrary characters as numbers you use. For example, if you want to use traditional Japanese numerals, specify axf:kansuji-letter="零壱弐参肆伍陸柒捌玖". If you want to specify traditional Japanese numerals only for “一二三”, specify axf:kansuji-letter="〇壱弐参四五六七八九". If you specify only the initial sequence like axf:kansuji-letter="〇壱弐参", it will be treated as axf:kansuji-letter="〇壱弐参四五六七八九".
Specifies the grouping character used for Japanese numerals.
Value:
<string>
Initial:
empty string
Applies to:
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
The null character sequence is considered “十百千万億兆京垓𥝱穣溝澗正載極”. Change and specify only a corresponding character if you want to change “万” to “萬”, for example. When you specify only the head part like “拾佰阡萬”, it is compensated as “拾佰阡萬億兆京垓𥝱穣溝澗正載極”.
十
:
U+5341
:
10
百
:
U+767E
:
100
千
:
U+5343
:
1000
万
:
U+4E07
:
104
億
:
U+5104
:
108
兆
:
U+5146
:
1012
京
:
U+4EAC
:
1016
垓
:
U+5793
:
1020
𥝱
:
U+25771
:
1024
穣
:
U+7A63
:
1028
溝
:
U+6E9D
:
1032
澗
:
U+6F97
:
1036
正
:
U+6B63
:
1040
載
:
U+8F09
:
1044
極
:
U+6975
:
1048
拾
:
U+62FE
:
10
佰
:
U+4F70
:
100
阡
:
U+9621
:
1000
萬
:
U+842C
:
104
<axf:counter-style> / CSS @counter-styleno-LTXSL-FO Samples CollectionCounter stylesIntroduction to CSS for Paged Media@counter-style
With Antenna House Formatter V7.4, unique counter style can be defined. For details about the CSS specification, see CSS Counter Styles Level 3.
This function is not available with Antenna House Formatter V7.4 Lite.
Common Usage:
Defining custom counter styles. This element does not generate area.
A string generated with system="cyclic" is the one that is set with <list-style-type> in the Option Setting File.
Items denoted with “*” mean that they were added for compatibility.
kansuji denoted with “**” is converted in accordance with axf:kansuji-style.
The counter style that is classified as complex cannot be defined with <axf:counter-style> / @counter-style. On the other hand, it can be extended with extends.
These predefined counter style names are case insensitive, while the counter style names that are defined with <axf:counter-style> / @counter-style are case sensitive.
CSS does not have this property. In case of CSS, specify the name with @counter-style directly.
additive-symbolsIntroduction to CSS for Paged Mediaadditive-symbols
Specifies the weighted counter symbol.
Value:
[ <integer> && <symbol> ]#
Initial:
N/A
Inherited:
no
Percentages:
N/A
Font Control
axf:ligature-mode / CSS -ah-ligature-modeXSL-FO Samples CollectionLigatures in alphabets
Specifies whether to perform the ligature processing.
Value:
none | [latin || kana || jamo] | all | auto
Initial:
auto
Applies to:
all block-level and inline-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
none
The ligature processing is not performed.
latin
Processes the ligature in Western languages. It is processed when the scripts are the following.
Latn
Grek
Cyrl
CAUTION:
axf:ligature-mode="latin" handles OpenType GSUB 'liga' and 'clig'. This is the same as specifying font-variant="common-ligatures". The specification of font-variant takes precedence over the specification of axf:ligature-mode. See also axf:font-feature-settings.
kana
Processes the ligature of Kana + semivoiced sound symbol in JIS X 0213:2004 as follows:
U+304B + U+309A
U+304D + U+309A
U+304F + U+309A
U+3051 + U+309A
U+3053 + U+309A
U+30AB + U+309A
U+30AD + U+309A
U+30AF + U+309A
U+30B1 + U+309A
U+30B3 + U+309A
U+30BB + U+309A
U+30C4 + U+309A
U+30C8 + U+309A
U+31F7 + U+309A
Although the ligature of Western languages and the ligature of symbols are included in JIS X 0213:2004, these are processed by axf:ligature-mode="latin".
jamono-LT
Processes the ligature of Hangul Jamo U+1100 to U+11FF.
The ligature processed here is the ligature defined in the font itself. The ligature defined in Unicode are not processed. (It is called Canonical Composition.)
In order to normalize ligatures defined in Unicode Standard, specify axf:normalize="nfc".
Note that axf:normalize will not be effective with Antenna House Formatter V7.4 Lite.
If letter-spacing is specified, it will be inserted character by character. For example, in case of fi, a letter-spacing is inserted between f and i, regardless of whether it is ligatured or not. If it is an accented character, it is considered to be one character-cluster.
Specifies the tag of OpenType GSUB/GPOS with the following format:
<feature-tag-value>
=
<string> [ <integer> | on | off ]?
<string> is the tag name of OpenType and is case sensitive. This string must be a 4-character ASCII string from U+0020 to U+007E. U+0020 is supplemented when it is less than 4 characters.
<integer> is an integer greater than or equal to 0 that indicates the validity and invalidity of the selection index or features of the glyph. on is 1 and off is the same as 0. 0 means to invalidate this tag. If omitted, it is considered 1. If exceeds the selectable number, the behavior depends on the font (usually considered 0 or 1).
When axf:font-feature-settings="kern" or "vkrn" is specified, the setting of axf:kerning-mode is ignored.
CAUTION:
Refrain from using this property if you are not familiar with the OpenType specification.
Invalidating the tags required for complex script control or inadvertent settings will result in unintended results.
CAUTION:
Tags to be applied may be different in horizontal writing and vertical writing. For example, the following are different:
Horizontal writing
Vertical writing
'kern'
'vkrn'
'halt'
'vhal'
'palt'
'vpal'
CAUTION:
When GSUB/GPOS is applied, the string is transformed into the glyph. For tags that apply almost to text, such as 'kern' or 'palt', almost entire document will be transformed into the glyph if the setting is for entire document. The text transformed into the glyph is always embedded in PDF.
This property is not available with Antenna House Formatter V7.4 Lite.
URI can be specified to <uri-specification> with the file name of the font, or the url() function.
Also
data scheme
can be specified to url().
The type of fonts <font-type> can be specified by the format() function. When omitted, it will be recognized by the extension of the font resource or the media type (content-type) in the data scheme.
Available types are as follows:
woff
WOFF File Format 1.0 font. content-type is
“font/woff”
or
“application/font-woff”.
woff2
WOFF File Format 2.0 font. content-type is
“font/woff2”
or
“application/font-woff2”.
truetype
TrueType font. content-type is
“font/ttf”
or
“application/x-font-ttf”.
opentype
OpenType font. content-type is
“font/otf”
or
“application/x-font-otf”.
<font-face-name> specifies a font that is already installed with the local() function.
The <axf:script-font> element can be placed directly under <fo:declarations>. The same setting of script-font in the Option Setting File can be specified. The specifiation of <axf:script-font> will be adopted in preference to the setting in the Option Setting File.
Contents:
EMPTY
URI and Link
axf:base-uri / CSS -ah-base-uri
Specifies the location which becomes the base of relative URI.
Value:
<uri-specification>
Initial:
empty string
Applies to:
all formatting objects
Inherited:
yes
Percentages:
N/A
The axf:base-uri is applied to all relative URI in a document.
When making links using <fo:basic-link> and specify relative URI, the location that is specified using axf:base-uri is interpreted to be base URI.
If this property is omitted or this has empty string, the base location is interpreted as current XML file.
A similar function is provided in XSL 1.1. Use merge-*-index-key-reference.
CAUTION:
In CSS, this extension cannot be applied when the page number being referenced occurs after the counter reference.
Value:
true | false
Initial:
false
Applies to:
all formatting objects
Inherited:
yes
Percentages:
N/A
When formatting an index, generally several <fo:page-number-citation> line up for one index item.
In such case, when <fo:page-number-citation> refers to the same page number of the index, duplicate page numbers will be output using the standard property. If true is specified, when the same page number of the previous <fo:page-number-citation> is referred, that page number will be hidden along with the intervening elements (such as commas).
For example:
When axf:suppress-duplicate-page-number is not specified.
Specifies the prefix for page numbers. Specified string will be outputted before the page number by <fo:page-number> and <fo:page-number-citation>.
Also this string will be used as the page label in the PDF.
The value of initial-page-number property is disregarded and the physical page number that is not affected by the page-sequence is obtained.
In order to obtain the total number of pages, ID is given to the last page per the following example:
By specifying axf:reverse-page-number="true", the page number reference in <fo:page-sequence> is counted from the last page of <fo:page-sequence> in descending order. When pages with different formatting directions are mixed, together with axf:reverse-page="true", it is available to align the page numbers in one order when outputting PDF.
In order to use this function with CSS, see counter().
This property is not available with Antenna House Formatter V7.4 Lite.
ID for the origin of the page number can be specified in <fo:page-number> or <fo:page-number-citation>. The output page number is as follows:
[ref-id page] - [origin-id page] + 1
If the specified Page is after the ref-id page, the value becomes 0.
In <fo:page-number>, ref-id is considered the position of <fo:page-number> itself.
When <fo:page-number-citation> appears, the reference area is sometimes undecided. In evaluation of <fo:page-number-citation>, the temporary area is secured first, and when a page number is decided, it is adjusted to the right contents. Since the size of an area may change at this time, the formatted result is sometimes not desirable. For example, when an area becomes narrow, it seems that there is an unnecessary line break, and condition that a character will overflow if an area becomes large appears. axf:assumed-page-number gives the assumed page number at that time.
Antenna House Formatter V7.4 expects the area of at least three-digit page number and formats temporarily. What is necessary will be just to specify axf:assumed-page-number="99" etc., when the page number is clearly less than that.
axf:number-type
Specifies whether to output the page number or to output the column number.
Outputs both of the page number and the column number.
It can be specified to <fo:page-number>, etc. and the column number can be outputted instead of the page number. While format property is applied to the format of the page number, axf:column-number-format property is applied to the format of the column number. The column number is not outputted if multiple column is not specified by specifying of column-count="1" or span="all".
This property is not available with Antenna House Formatter V7.4 Lite.
CSS -ah-fixed-width-pending-page-numberV7.4no-LT
Specifies whether to render without waiting for page number resolution in CSS.
Value:
<boolean>
Initial:
false
Applies to:
all formatting objects
Inherited:
false
Percentages:
N/A
When true is specified, if page/pages is set in target-counter/counter and the target page number has not been determined yet, the page number will be assumed to be -ah-assumed-page-number and makes it as resolved.
After the temporary page number is resolved, replaces the page number and adjusts the space within the line where the page number is placed.
By doing this, you can perform the rendering process without waiting for the page number to be resolved.
You may be able to obtain an effect similar to the two-pass formatting described in Formatting Large Document.
If the tentatively determined page number is broken into multiple lines, the original number of characters will be assigned to fill the number of digits in the separated lines, and if there are no digits to allocate, the page will be blank. If it is exceeded, all remaining digits are allocated to the last line.
Therefore, as shown below, the assumed page number will be line-broken.
999
99
If the resolved page number is 12, it will be as follows: At this time, the character 99 will disappear, but the line itself will remain, which may create unnecessary blank spaces in the layout.
12
(empty line)
If the resolved page number is 123456789, it will be as follows:
123
456789
CAUTION:
This property is always treated as false in the following cases: Also, it will not be output correctly when using the GUI or outputting to media other than PDF.
Tagged PDF
When the first-letter pseudo-element is created for the element with the content property specified
Line Numbering
Place line numbers as part of the text.
Line numbers can be placed against the line area.
Even though the place looks empty, if there is a line area, line numbers can be placed.
These are not placed in the space or in the margin.
The axf:line-number is not effective inside <fo:float> or <fo:footnote>.
CAUTION:
Placing the line numbering for the page formatted complexly with <fo:block-container> or <fo:table>, etc. might have unintended consequences. Apply the line numbering to a simple structural document as much as possible.
This function is not available with Antenna House Formatter V7.4 Lite.
Line numbers are not shown but the numbers of the line are counted.
Line numbers are counted against the lines inside the block where axf:line-number="show" or axf:line-number="hide" is specified.
If axf:line-number is specified to <fo:table-column>, independent line numbers are given to the column of the table. At this time, the same setting available for <fo:page-sequence> can be specified. The ID reference can be specified to
<fo:table-column> as axf:line-number-initial="#xxx".
The ID must be the same as the one specified to the existing <fo:table-column>.
The value specified to that column is adopted as the default value of the line number information. A reference to a following column is invalid.
The following shows the example:
In this table, line numbers specified to <fo:page-sequence> are given to the left column and line numbers specified to <fo:table-columnid="c2"> are given to the right column independently. In the following table, if you specify as follows:
Line numbers are not initialized, and it is succeeded from previous <fo:page-sequence>. When previous <fo:page-sequence> does not exist, it becomes 1.
<number>
Initializes the line number with the specified value. The value must be greater than or equal to 1. Actual initialization takes place at the time when axf:line-number-reset is specified.
#<id>
This extension can only be specified to <fo:table-column> to continue line numbers of <fo:table-column> in sequence. See also axf:line-number.
This property is not available with Antenna House Formatter V7.4 Lite.
The specification of previous <fo:page-sequence> is succeeded. When previous <fo:page-sequence> does not exist, it becomes 1.
<number>
Sets the interval of the line numbers to the value specified.
Specifies to show the line numbers like 5, 10, 15. In this case,
axf:line-number-initial="1"axf:line-number-start="5"axf:line-number-interval="5"
can be applied.
This property is not available with Antenna House Formatter V7.4 Lite.
Places line numbers at start-edge on odd pages, at end-edge on even pages.
outside
Places line number at end-edge on odd pages, at start-edge on even pages.
alternate
Places line number at end-edge in the last column of a column layout, except for the last column, places it at start-edge. If the layout is non-column, places it at start-edge.
This property is not available with Antenna House Formatter V7.4 Lite.
The specification of the previous <fo:page-sequence> is succeeded. When the previous <fo:page-sequence> does not exist, it will become 1.
<number>
Sets the line number that begins outputting to the value specified.
Line numbers are shown when the value is greater than or equal to the value specified here.
When
axf:line-number-initial="1"axf:line-number-start="5"
are specified, the first 4 line numbers are not shown but the 5th line number will be outputted as the beginning number.
When
axf:line-number-initial="5"axf:line-number-start="6"
are specified, the first line number is not shown but the next line number is outputted as 6.
This property is not available with Antenna House Formatter V7.4 Lite.
When the position of the line numbers is in the start side, it is considered end. When the position of the line numbers is in the end side, it is considered start. The position of line numbers is specified by axf:line-number-position.
When a long line wraps, only the first line is numbered. At this time, the continued lines is not counted in the number of lines.
false
Adds line numbers to all lines.
This property is not available with Antenna House Formatter V7.4 Lite.
Line Continued Mark
When the line with long text strings is broken and continues to the next line, line continued marks can be applied to the end of line. It is invalid inside fo:float or fo:footnote.
This function is not available with Antenna House Formatter V7.4 Lite.
axf:line-continued-mark / CSS -ah-line-continued-mark no-LTXSL-FO Samples CollectionLine continued mark
Specifies whether to show line continued marks.
Value:
<string>
Initial:
empty string
Applies to:
all block-level formatting objects that are descendants of fo:flow
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
<string>
Line continued marks with the specified character strings are shown. If the character strings are empty, line continued marks are not shown.
CAUTION:
Complicated character strings which consist of multiple scripts or complicated scripts, such as Arabic, Thai, etc., are not supported.
This property is not available with Antenna House Formatter V7.4 Lite.
all block-level formatting objects that are descendants of fo:flow
Inherited:
yes
Percentages:
N/A
This property is not available with Antenna House Formatter V7.4 Lite.
Marker
axf:suppress-duplicate-marker-contentsno-LT
Specifies the removal of duplicate marker references.
Value:
true | false
Initial:
false
Applies to:
all formatting objects
Inherited:
yes
Percentages:
N/A
When inline consecutive <fo:retrieve-marker> refer to <fo:marker> with the same content, one <fo:retrieve-marker> is removed. For example, in the following case, text and elements between <fo:retrieve-marker> are also removed.
<fo:retrieve-marker/> — <fo:retrieve-marker/>
It does not work in the following cases:
When the area generated from <fo:retrieve-marker> is not an inline area
When the area generated from <fo:retrieve-marker> is not a sibling area (<fo:wrapper> does not generate any area)
The same applies to inline consecutive <fo:retrieve-table-marker>.
This property is not available with Antenna House Formatter V7.4 Lite.
Revision Bar
Antenna House Formatter V7.4 provides extension properties to layout the revision bars in the documents.
The revision bar is shown above the border or the column rule.
The revision bars and <fo:change-bar-*> are invalid in <fo:float>.
CAUTION:
A similar function is provided in XSL 1.1. Use <fo:change-bar-begin> and <fo:change-bar-end>.
With Antenna House Formatter V7.4, footnotes can be arranged per each column or footnotes duplicated in the same page can be deleted.
Also, sidenotes can be generated.
Footnotes are placed automatically. Footnotes are the usual arrangement. When the text is one column, sidenotes are arranged with an anchor position, and in the case of two or more columns, sidenotes are arranged near by the before side.
before
Sidenotes are arranged near by the before side. In the case of usual footnotes that are not sidenotes, footnotes are arranged immediately after the text in a page.
after
Sidenotes are arranged near by the after side. In the case of usual footnotes that are not sidenotes, footnotes are arranged at the last of a page.
Specifies the method of arrangement of footnotes or sidenotes. When it is sidenotes (footnote arrangement into <fo:region-start> or <fo:region-end> is specified by axf:footnote-position), it's possible to specify whether it is arranged automatically, or it is arranged near by the before side, or it is arranged near by the after side.
Footnotes are placed on the after side of each page in <fo:region-body>.
This is the standard layout of XSL specification.
odd-page
Footnotes are placed on the after side of each odd page in <fo:region-body>. This is the standard layout of sidenotes in vertical writing. (On the outside in odd page.)
even-page
Footnotes are placed on the after side of each even page in <fo:region-body>.
start
Footnotes are placed on each page in <fo:region-start>. Headnotes in vertical writing. Sidenotes on the left side in horizontal writing.
end
Footnotes are placed on each page in <fo:region-end>. Footnotes in vertical writing. Sidenotes on the right side in horizontal writing.
inside
Footnotes are placed at each even page in <fo:region-end> and each odd page in <fo:region-start>. Sidenotes on the inside in horizontal writing.
outside
Footnotes are placed on each even page in <fo:region-start> and each odd page in <fo:region-end>. This is a standard sidenotes in horizontal writing. (On the outside of both right and left pages.)
column
Footnotes are placed on the after side of each column.
This is a standard footnote in horizontal writing.
Same as page if the document is non multi-columns.
start-column
Footnotes are placed on the after side of the first column. Same as start if the document is non multi-columns.
end-column
Footnotes are placed on the after side of the end column. Same as end if the document is non multi-columns.
inside-column
Footnotes are placed in the same way as end-column at even page and in the same way as start-column at odd page. Footnotes are put together on the inside column in horizontal writing.
outside-column
Footnotes are placed in the same way as start-column at even page and in the same way as end-column at odd page. Footnotes are put together on the outside column in horizontal writing.
It is possible to arrange footnotes inside the <fo:region-start> or the <fo:region-end> (these notes are called sidenotes). Besides specifying them to <fo:region-body>, it is also effective to specify to individual <fo:footnote>. It is possible to make several types of notes intermingled by this extension.
There are following restrictions for sidenotes.
The sidenotes which run over from the specified area will overflow.
The xsl-footnote-separator is not effective.
start-column, end-column, inside-column and outside-column have the following restrictions.
It is not possible to specify these values to <fo:footnote>. It is only available to specify them to <fo:region-body>.
When you specify these values to <fo:region-body>, column cannot be specified to <fo:footnote>.
These values cannot be used with the forcible column break such as break-before="column", etc. These values cannot be used for a large volume of footnotes.
odd-page and even-page have the following restrictions.
It is not possible to specify these values to <fo:footnote>. It is only available to specify them to <fo:region-body>.
axf:footnote-keep / CSS -ah-footnote-keep
Specifies whether to arrange a footnote and an anchor in the same page
When a footnote does not fit within the column, it is sent to the next page or the next column.
always
When a footnote does not fit within the column, the line of the anchor and the subsequent lines are sent to the following page, and a footnote and an anchor are arranged in the same page. When axf:footnote-position="column" is specified, a footnote and an anchor are arranged in the same column.
CAUTION:
A footnote and an anchor may not be arranged in the same page when the cell containing the anchor is large or at the bottom of the page.
none
When a footnote does not fit within the column, the line of the anchor and the subsequent lines are sent to the next page, and attempts to fit the footnote itself within the page.
When axf:footnote-max-height="auto" and auto-break-footnote="false" are specified
Up to Antenna House Formatter V6.1, page (column) break did not occur within <fo:footnote-body>. This setting performs such previous operation. In case a footnote is big and exceeds the page height, an overflow occurs. However, only in case a footnote is small, is it possible to format without breaking a footnote.
When axf:footnote-max-height="auto" and auto-break-footnote="true" are specified
It is considered that the page height is specified to axf:footnote-max-height and page break (column break) occurs within <fo:footnote-body>.
When axf:footnote-max-height="<length>" or "<percentage>" is specified
The value must be a positive. auto-break-footnote is not referred to. At this time, page (column) break may occur within <fo:footnote-body>. The footnote will be put after an anchor position as much as possible and the remaining part will be split and sent to the next page (column). Note that axf:footnote-max-height is invalid for pages without text.
There are following restrictions in CSS.
A footnote can be split within @footnote only when @footnote is -ah-float-y:after and the width is not specified.
A footnote cannot be split when @footnote is -ah-float-reference:multicol.
This property is not available with Antenna House Formatter V7.4 Lite.
Deters the display of duplicated footnotes on the same footnote region when the same footnote is assigned to two or more places in the same page. When axf:footnote-position="column" is specified, it is effective only with the footnote in the same column.
Footnote Numbering
These features are not available with Antenna House Formatter V7.4 Lite.
Generates and returns
a single normal inline-area.
Constraints:
<axf:footnote-number> can be specified only as an anchor area. That is, it can be specified only as a descendant of <fo:inline> that is a child of <fo:footnote>.
Contents:
EMPTY
This element is not available with Antenna House Formatter V7.4 Lite.
<axf:footnote-number-citation>
no-LT
Common Usage:
Cites a footnote number.
Areas:
Generates and returns
a single normal inline-area.
Constraints:
<axf:footnote-number-citation> can be specified only as a descendant of <fo:footnote-body>. The ref-id property is required,
and the ID referenced by <axf:footnote-number-citation> must be the one specified in <axf:footnote-number> in the anchor area in the same <fo:footnote>.
Contents:
EMPTY
This element is not available with Antenna House Formatter V7.4 Lite.
Succeeded from the before existing <fo:page-sequence> without initializing a footnote number. When <fo:page-sequence> does not exist before, it is set to 1.
<number>
Initializes the footnote number with the specified value. The value must be greater than or equal to 1. Actual initialization takes place at the time when axf:footnote-number-reset is specified.
This property is not available with Antenna House Formatter V7.4 Lite.
Do not balance the height. However if span="all" is specified, it is balanced before the spanned column.
balance
Balance the height.
CAUTION:
balance-all is not supported.
Column Rule
Antenna House Formatter V7.4 provides extension properties to layout the column rules in the column gaps.
The column rule is placed above the border and below the revision bar.
CAUTION:
The following figure shows the associated width in FO. In CSS, the width of -ah-column-rule in -ah-column-gap is not taken into consideration.
Displays a rule at the end side of each existing column. However, the end side of the final column is not included.
all
Displays rules even between non-existent columns at the end of a page, etc.
Suppose contents are only in the left column of the three columns as shown in the figure on the right. When gap is specified, rules are not displayed at all. When end is specified, a rule (1) is displayed, when all is specified, rules (1) and (2) are displayed.
In case where the column is short by specifying span="all" in FO, or in case of the block containing columns in CSS, that height of the column indicates 100%.
axf:column-rule-style / CSS (-ah-)column-rule-styleIntroduction to CSS for Paged Mediacolumn-rule-style
Specifies the shape of the connecting portion of borders.
Value:
wedge | mixed | precedence
Initial:
mixed
Applies to:
all elements
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
wedge
Connects borders in wedge shape. Forms the X shape at the cross-shaped intersecting portion, and forms the Y shape at the T-shaped intersecting portion.
mixed
Connects borders with the same thickness in rectangle shape at the T-shaped intersecting portion. Others will be in wedge shape.
precedence
Draws thick borders to the edge. For the same thickness, draws a stronger border to the edge by the border priority.
In the table of border-collapse="collapse", axf:border-connection-form specified in <fo:table-row>, <fo:table-cell>, etc. in that table is invalid. The one specified in <fo:table> is adopted.
This property is not available with Antenna House Formatter V7.4 Lite.
Specifies the line thickness of border-style="double".
Value:
<value>{1,3}
Initial:
1
Applies to:
all elements
Inherited:
yes
Percentages:
N/A
In <value>, either <number> or <length> can be specified.
The values are outside line width, spacing and inside line width in order from left to right. If the value is omitted, it is considered to be equivalent to the preceding value. Negative values are not available.
The line width can directly be specified in <length>. We do not guarantee the best result if the total of <length> exceeds the border-width.
The values in <number> is summed and then the total of <length> is deducted from the actual border-width for proportional distribution.
For example, if the border-width is 10pt and axf:border-double-thickness="4pt 2 1" is specified, it will be shown as follows:
Specifies the line thickness of border-style="triple".
Value:
<value>{1,5}
Initial:
1
Applies to:
all elements
Inherited:
yes
Percentages:
N/A
In <value>, either <number> or <length> can be specified.
The values are outside line width, spacing, middle line width, spacing, and inside line width in order from left to right. If the value is omitted, it is considered to be equivalent to the preceding value. Negative values are not available.
See axf:border-double-thickness for <value>.
Specifies the wave form of border-style="wave", border-style="double-wave".
Value:
<value>{1,3}
Initial:
auto
Applies to:
all elements
Inherited:
yes
Percentages:
N/A
In <value>, either <number> or <length> or auto can be specified.
The values are wave form and line width in order from left to right. If the value is auto or omitted, it is considered 6 and 0.125 each. Negative values are not available.
The wave form or the line width can directly be specified in <length>. <number> is proportional to the border-width.
The third value is effective with double-wave and indicates the wave width. If the value is omitted or auto, it is considered 0.5.
slice eliminates the border and padding of the broken edges, while padding leaves padding.
This value cannot be specified by Antenna House Formatter V7.4 Lite.
Diagonal Border
Antenna House Formatter V7.4 provides extension properties to render the diagonal border in the area such as the table cell where the border can be specified. The diagonal border by axf:diagonal-border-* is rendered from the edge of before-start to the edge of after-end. The diagonal border by axf:reverse-diagonal-border-* is rendered from the edge of before-end to the edge of after-start. When the writing-mode="lr-tb" is specified, the diagonal border is rendered as follows:
When the writing-mode="rl-tb" or "tb-rl" is specified, it is rendered in a reverse way.
The first value is the horizontal radius (or vertical if vertical writing).
The second value is the other radius. If the second length is omitted it is equal to the first.
If either length is less or equal 0, the corner is square, not rounded. When specifying rounding corners for the table, if border-collapse="collapse" is specified, axf:border-radius is effective only when specified to fo:table.
If diagonal is specified, the diagonal border will be rendered in a straight line without being rounded.
V7.4
Rounded corners do not apply to the following border-style.
An inner shadow is displayed.This setting is ignored with Antenna House Formatter V7.4 Lite.
no-LT
The meanings of <length>s and a <color> are as follows:
The first <length> is an offset of a horizontal shadow. It becomes a right-side shadow of a region when a positive value is specified. It becomes a left-side shadow of a region when a negative value is specified.
The second <length> is an offset of a vertical shadow. It becomes a bottom-side shadow of a region when a positive value is specified. It becomes a top-side shadow of a region when a negative value is specified.
The 3rd <length> must be a non-negative value and specifies the blur radius. If the value is 0, there is no blur.
This setting is ignored with Antenna House Formatter V7.4 Lite.
no-LT
The 4th <length> extends a shadow. When a positive value is specified, the region will be expanded. When a negative value is specified, the region will be reduced.
no-LT
The color of the shadow can be specified by <color>.
This combination can be specified multiply and shadows can be added several times over.
CAUTION:
The minimum unit of <length> which can be specified is 1in/96=0.265mm. The value is rounded to its multiple number.
CAUTION:
Note the following when you set the blur:
The blur setting is ignored with the device that cannot output in transparent mode like PDF/X.
The blur setting is ignored when transparency is specified as false.
In CSS, if you specify the following for an element in a cell, that element will be treated in the same way as <axf:table-cell-repeated-marker>. It does not have to be the first child, but only the first one specified will be adopted.
position: running(table-cell-repeated-marker);
This element is not available with Antenna House Formatter V7.4 Lite.
When the content of table cell fits in table-cell-area without breaking and table-cell-area breaks according to the break of other table-cell in the same row, or according to the break among the multiple rows with number-rows-spanned, usually the content of table-cell-area becomes empty. When axf:repeat-cell-content-at-break is specified to table-cell, the content of the cell before break is copied and repeated.
false
The content of the cell is not copied.
axf:repeat-footnote-in-table-footer
Specifies whether to repeat the <fo:footnote> in the <fo:table-footer> that is repeated by table-omit-footer-at-break="false".
When multiple rows are retrieved, the number of rows may be inconsistent and the rows may overlap or overflow. In such cases, specify the maximum number of lines to avoid it. Values less than 1 are considered 1.
This property is not available with Antenna House Formatter V7.4 Lite.
Follows the image information (such as the orientation specified in metadata).
none
Does not rotate the image.
[ 0 | 90 | 180 | 270 ] flip?
Rotates the image by the specified angle. If flip is specified, the rotated image will be flipped horizontally. A numerical value can have a unit, such as "90deg".
This property is not available with Antenna House Formatter V7.4 Lite. It is always considered none.
axf:image-resolution / CSS (-ah-)image-resolution
Specifies the resolution of an image.
[CSS3-GCPM] Image resolution(“image-resolution” has been removed from GCPM on and after November 29, 2011)
Depends on the default value of the system. It's the value specified as pxpi in the Option Setting File.
Ignores the actual resolution of an image.
from-image
Uses the actual resolution of an image. When an image does not have the resolution, it will follow the <dpi> specification. If nothing is specified, it is the same as normal.
<dpi>
Specifies the resolution (dpi).
Ignores the actual resolution of an image.
The resolution of a background image is specified by axf:background-image-resolution.
In case of vector images, such as SVG, it is applied to numerical values with no units. from-image is ignored.
You can also use dpcm as a unit to indicate the resolution.
axf:image-smoothing / CSS -ah-image-smoothing
Specifies whether to process anti-aliasing of an image on the screen.
The data specified to src for fo:external-graphic is converted to PDF using Office Server Document Converter (hereinafter abbreviated as OSDC), and the PDF is embedded in the document.
CAUTION:
Effective only for Windows x64 and Linux versions, OSDC V9.0 or later must be installed.
The OSDC to use is determined by searching the OSDC Environment ValuableSBCXX_HOME. Here, the XX part represents a number indicating the version, such as 90. The environment variable to be adopted will be the largest one with XX of 90 or more.
The Windows version uses [SBCXX_HOME]\SBCCmd.exe, and the Linux version uses [SBCXX_HOME]/bin/SBCCmd.
The following parameter can be specified for [params].
-pdfver version
Specifies the PDF version output by OSDC. Values are limited to those that can be specified on the
OSDC Command-line. Note that PDF/A cannot be specified. For example, specify -pdfver PDF1.6.
Enter a space character between the parameter name and its value. If parameters with the same name are specified, the one specified later is effective.
Embeds the multimedia objects in PDF.
It is not recommended for PDF 2.0 or later.
absolute-link
Links the multimedia objects in PDF, instead of embedding them. The linked multimedia objects are referred to as the absolute link.
It is not recommended for PDF 2.0 or later.
relative-link
Links the multimedia objects in PDF, instead of embedding them. The linked multimedia objects are referred to as the relative link from either XML or FO.
It is not recommended for PDF 2.0 or later.
The control bar is shown under the playing multimedia object. To prevent overlapping the control bar with another object, it is necessary to make enough space below the multimedia object.
CAUTION:
Whether the control bar is shown or not depends on the multimedia data, the viewer or the player.
This setting is invalid with the rich media.
This property is not available with Antenna House Formatter V7.4 Lite.
Whether the setting is effective or not depends on the multimedia data, the viewer or the player.
It is effective also with the rich media, but when editing the multimedia with Acrobat, this setting seems to be canceled.
This property is not available with Antenna House Formatter V7.4 Lite.
When the color does not contain the α value, the default α value is adopted. When α value is specified, that value is adopted. This setting is effective when the Rich media is activated.
This property is not available with Antenna House Formatter V7.4 Lite.
This setting is effective when embedding Flash in the Rich media.
This property is not available with Antenna House Formatter V7.4 Lite.
Background Extensions
Extended so that multiple background images can be specified.
In FO,
Antenna House Formatter V7.4 provides extension properties to set the background of the page.
These properties are placed as <fo:simple-page-master> or <fo:page-sequence>. If any one of background-* is specified for <fo:simple-page-master>, the setting of the background to <fo:simple-page-master> is effective, the setting of the background to <fo:page-sequence> is ignored.
background / CSS (-ah-)backgroundIntroduction to CSS for Paged Mediabackground
Effective when embedding PDF in the background image and indicates to embed multiple pages of PDF. For more details, see also PDF Embedding. For other than PDF, it's considered no-repeat.
In case of CSS, it's effective when specified to @page.
This value cannot be specified by Antenna House Formatter V7.4 Lite.
background-attachment / CSS (-ah-)background-attachmentIntroduction to CSS for Paged Mediabackground-attachment
[ [ left | center | right | top | bottom | <percentage> | <length> ]
| [ left | center | right | <percentage> | <length> ]
[ top | center | bottom | <percentage> | <length> ]
| [ center | [ left | right ] [ <percentage> | <length> ]? ] &&
[ center | [ top | bottom ] [ <percentage> | <length> ]? ]
]
background-position in FO is a shorthand. It is expanded to background-position-horizontal and background-position-vertical.
background-position-horizontal
Value:
[
[ left | center | right | <percentage> | <length> ]
| [ center | [ left | right ] [ <percentage> | <length> ]? ]
]#
Depends on the default value of the system. It's the value specified as pxpi in the Option Setting File.
Ignores the actual resolution of an image.
from-image
Uses the actual resolution of an image. When an image does not have the resolution, it will follow the <dpi> specification. If nothing is specified, it is the same as normal.
<dpi>
Specifies the resolution (dpi).
Ignores the actual resolution of an image.
The resolution of a non-background image is specified by axf:image-resolution.
In case of vector images, such as SVG, it is applied to numerical values with no units. from-image is ignored.
You can also use dpcm as a unit to indicate the resolution.
Overflow Extensions
Antenna House Formatter V7.4 extends the value of the overflow property and provides the extension properties to regulate the behavior of the value.
There are also properties that are extended/restricted in order to make the extended value of the overflow property correspond to the overflow-related property, which is not the proprietary extension of Antenna House Formatter V7.4.
The string specified by axf:overflow-replace is repeated in a full area. When the specified string is empty, the string of the area is replaced with an empty string.
When the specified string is too long to fit in the area, it will be treated as error-if-overflow after replacement.
The original string is discarded.
condense
Condenses the overflowed text within the region. How to condense the text can be specified by axf:overflow-condense.
These values are applied to <fo:block-container> or <fo:inline-container> only.
When blocks with overflow="condense" are nested, the inner block is not affected by the outer block. For example, when the inner block is condensed with font-stretch, the inside font-size does not change even if the outer block is condensed with font-size.
CAUTION:
scroll is not supported.
CAUTION:
It is invalid on page margin boxes such as @top-left.
CAUTION:
To report an overflow error for the entire page in CSS, specify error-if-overflow on @page.
axf:overflow-align / CSS -ah-overflow-align
Specifies the alignment of the overflowed block.
Value:
normal | start | end | center
Initial:
normal
Applies to:
block-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
normal
Specifies the alignment of the block according to the text-align setting.
start
Specifies the alignment of the block to the start side.
end
Specifies the alignment of the block to the end side.
Condenses the text by adjusting the line height.
There is no condensing process that makes line-height negative.
letter-spacing
Condenses the text by adjusting the letter spacing.
CAUTION:
Condensing process by specifying letter-spacing may cause overlapping characters. The display position of characters may also be reversed.
We recommend that you avoid the extreme condensing process with axf:overflow-condense-limit-letter-spacing.
auto
It is considered font-size for the condensing process in the block, font-stretch for the condensing process in inline.
none
Specifies not to condense the text. This can also be specified to the inline element and is not inherited.
When overflow="condense" is specified, the text within the region can be condensed by the way specified in the axf:overflow-condense property.
The adjustment for condensing the text includes both the inline progression direction and the block progression direction.
There is a difference in the condensing process between inline and block.
Inline condensing process occurs by specifying <fo:inline-container>, and block condensing process occurs by specifying <fo:block-container>.
For example, if there is an absolute value setting such as font-size="20pt" internally, the size setting will not be changed by the condensing process with font-size. The same is true for other font-stretch and line-height.
text-align-last="justify" may be set when the condensing process by font-size or font-stretch in a block occurs. See axf:condensed-text-align-last.
You can specify multiple methods, such as axf:overflow="font-size font-stretch". (none cannot be specified.) In this example, if condensing process by font-size does not resolve the overflow, condensing process by font-stretch will continue to be attempted.
The overflow="condense" setting may be nested, such as when specifying overflow="condense" for horizontal-in-vertical composition in vertical writing mode.
In such a case, condensing process occurs in the outer <fo:block-container>, and from its font-stretch, the condensing process occurs in the inner <fo:inline-container>.
To ensure that the inner condensing process is not affected by the outer condensing process, specify as follows:
However, it is ignored when the following condensing method is specified in axf:overflow-condense.
CAUTION:
When overflow cannot be resolved, such as when there is not enough block height or a large image is included, the condensing process may be terminated before reaching the lower limit value.
Specifies the percentage against the lower limit font width. A font size is not made smaller than that value.
If you specify less than 0, it is considered that 0 is specified.
<number>
Equivalent to (<number> / 100)%.
When the content exceeds the limit shown by <percentage> or <number>, the region still overflows. Then a solution can be specified as follows:
However, it is ignored when the following condensing method is specified in axf:overflow-condense.
CAUTION:
When overflow cannot be resolved, such as when there is not enough block height or a large image is included, the condensing process may be terminated before reaching the lower limit value.
Specifies the lower limit value of line-height. line-height is not made smaller than that value. The value is a percentage against the font size.
If you specify less than 0, it is considered that 0 is specified.
When the content exceeds the limit shown by <number>, the region still overflows. Then a solution can be specified as follows:
However, it is ignored when the following condensing method is specified in axf:overflow-condense.
CAUTION:
When overflow cannot be resolved, such as when there is not enough block height or a large image is included, the condensing process may be terminated before reaching the lower limit value.
However, it is ignored when the following condensing method is specified in axf:overflow-condense.
CAUTION:
When overflow cannot be resolved, such as when there is not enough block height or a large image is included, the condensing process may be terminated before reaching the lower limit value.
Specifies an alternative character string for the overflowed text.
Value:
<string>
Initial:
empty string
Applies to:
all block-level formatting objects
Inherited:
yes
Percentages:
N/A
When overflow="replace" is specified, the overflowed text is replaced by repeating the specified string.
A complex character string cannot be specified.
axf:overflow-limit / CSS -ah-overflow-limit
no-LT
Specifies the overflow limit value.
Value:
<length>{1,2}
Initial:
depends on system
Applies to:
all formatting objects
Inherited:
yes
Percentages:
N/A
Specifies the overflow limit value with <length>. If a single <length> value is specified, it gives both the inline and block overflow limit values. If two <length> values are specified, the first gives the inline overflow limit value and the second gives the block overflow limit value. Negative values are invalid.
When overflow="error-if-overflow" is specified, overflows greater than the overflow limit value are reported as error level 2 (warning) and smaller overflows are reported as error level 1 (information).
When overflowing in the inline progression direction, no processing is performed.
ellipsis
When overflowing in the inline progression direction, narrow the display area by the extent of an ellipsis (U+2026), and then insert the ellipsis at the end.
<string>
When overflowing in the inline progression direction, narrow the display area by the extent of the specified string, and then insert the string at the end.
It has no effect on the overflow in the block progression direction.
When overflowing with only the first one character (or an object such as the first image), an ellipsis (abbreviated character string) is not added and it is treated as clip.
If the first one character (or an object such as the first image) does not overflow, but if it overflows when an ellipsis (abbreviated character string) is attached, the ellipsis (abbreviated character string) is also displayed.
This property is not available with Antenna House Formatter V7.4 Lite.
Specifies the upper limit height of the keep-together condition.
Value:
all | <length>
Initial:
all
Applies to:
block level formatting object
Inherited:
no
Percentages:
N/A
If keep-together.within-page or .within-column or CSS break-inside is not auto, you can specify the height for keep-together to apply to that block. When it is all, the height is not restricted. If you specify a height with <length>, keep-together will be applied to that height, but after that it behaves as if auto was specified for keep-together. For example, if you want to specify keep-together.within-page="always" for a block, but want to break it if it is a block that exceeds the height of the page, specify as follows:
Specifies the upper limit width of the keep-together.within-line condition.
Value:
all | <length>
Initial:
all
Applies to:
block level formatting object
Inherited:
no
Percentages:
N/A
When keep-together.within-line is not auto, you can specify the width to apply keep-together.within-line to the block. When all is specified, the width is not limited. If you specify a width with <length>, keep-together is applied up to that width, but for a width longer than that, keep-together behaves as if auto is specified.
This property is not available with Antenna House Formatter V7.4 Lite.
Specifies whether to set text-align-last="justify" automatically after condensing the overflow.
Value:
false | true | justify | auto
Initial:
auto
Applies to:
all block-level formatting objects
Inherited:
yes
Percentages:
N/A
Values have the following meanings:
false
Does nothing.
true
Sets text-align-last="justify".
justify
Sets text-align-last="justify" when text-align="justify" is specified. Whether or not text-align="justify" is determined by whether or not the element with the overflow="condense" specified is text-align="justify".
If <elements><!--D--> is not given, <fo:page-sequence><!--A-cloned--> will not be generated; however, <fo:page-sequence><!--A--> will be generated even if <elements><!--C--> is not given.
Markers in a different <fo:page-sequence> cannot be referenced.
That is, the markers in <elements><!--C--> cannot be referenced in <fo:page-sequence><!--P--> or <fo:page-sequence><!--A-cloned-->. However, the marker immediately after <fo:flow> is duplicated together with <fo:flow>. In other words, the marker immediately after <fo:flow><!--F--> is duplicated immediately after <fo:flow><!--F-cloned-->. So it can be referenced in <fo:page-sequence><!--A-cloned-->.
Even if <fo:page-sequence><!--A--> has a setting of Multiple Separate Volume, no separate volumes will occur with <fo:page-sequence><!--A-cloned-->.
If an element which contains id is copied, the id will be discarded.
This structure cannot be applied to <fo:page-sequence-wrapper>.
The nested <fo:page-sequence> will try to read all the FO trees; therefore, note that the memory may reach the limit or similar things may happen if a large <fo:page-sequence> is nested.
Empty <fo:page-sequence>
no-LT
<fo:flow> can be omitted. This means that <fo:page-sequence> can be empty.
When force-page-count in <fo:page-sequence> is other than no-force, <fo:flow> can be omitted. This will allow adjustment of the page number on a certain page. For instance, when the last <fo:page-sequence> is indeterminate and you want to make the total page number even, a blank page can be used to insert <fo:page-sequence> like
Extends the child element so that <fo:float> can be described as the content of the element.
As a result, arbitrary characters can be placed for side marks.
☞Float Extensionno-LT
<fo:change-bar-beginchange-bar-class="xxx"><fo:floatfloat="start"><fo:block-containerwidth="2.5em"absolute-position="absolute"left="-4em"><fo:blockfont-size="12pt">This is a change log.</fo:block></fo:block-container></fo:float></fo:change-bar-begin>
The following properties specified in <fo:float> are adjusted to appropriate values:
axf:float-x
axf:float-y
axf:float-reference
axf:float-move
This extension is not available with Antenna House Formatter V7.4 Lite.
Extended Values
Antenna House Formatter V7.4 extends some values of the FO properties.
In order to use these values, you have to specify exactly as follows:
axf:overflow="condense"
However, with Antenna House Formatter V7.4, even if axf: is not added, it is made so that it may function similarly. Moreover, the FO standard property and the extended property can be specified simultaneously as follows:
overflow="hidden"axf:overflow="condense"
At this time, the standard property will be overwritten by the extended property and only axf:overflow="condense" becomes effective. That is, it is the same as having overflow="condense" specified. However, in order to avoid the confusion, do not use such specification.
Considers a character string as a font name and acquires the x-height value of the font. When a font does not exist or it does not have x-height information, it is considered none.
These are achieved by using the GSUB feature of OpenType fonts. small-caps and all-small-caps are emulated to the fonts which don't have the GSUB feature. The other is disregarded.
CAUTION:
In the CSS specification, font-variant is a shorthand, but it's not available to specify individual property (font-variant-caps or font-variant-ligatures, etc.) by Antenna House Formatter V7.4.
The format tokens for the format property supports the format tokens defined in the
XSLT 1.0 Recommendation and some extensions. axf:column-number-format is also the same.
The style that can be specified with list-style-type can be specified here.
no-LT
Numerals
Regular decimal representation of the numbers is generated.
The minimum number of figures can be specified as 01, 001, etc.
The following numbers can be specified as a format token.
Format Token
Digits
Description
1
0
U+0031
U+0030
0
1
2
3
4
5
6
7
8
9
DIGIT
U+00B9
U+2070
⁰
¹
²
³
⁴
⁵
⁶
⁷
⁸
⁹
SUPERSCRIPT DIGIT
U+0661
U+0660
٠
١
٢
٣
٤
٥
٦
٧
٨
٩
ARABIC-INDIC DIGIT
U+06F1
U+06F0
۰
۱
۲
۳
۴
۵
۶
۷
۸
۹
EXTENDED ARABIC-INDIC DIGIT
U+0967
U+0966
०
१
२
३
४
५
६
७
८
९
DEVANAGARI DIGIT
U+09E7
U+09E6
০
১
২
৩
৪
৫
৬
৭
৮
৯
BENGALI DIGIT
U+0A67
U+0A66
੦
੧
੨
੩
੪
੫
੬
੭
੮
੯
GURMUKHI DIGIT
U+0AE7
U+0AE6
૦
૧
૨
૩
૪
૫
૬
૭
૮
૯
GUJARATI DIGIT
U+0B67
U+0B66
୦
୧
୨
୩
୪
୫
୬
୭
୮
୯
ORIYA DIGIT
U+0BE7
U+0BE6
௦
௧
௨
௩
௪
௫
௬
௭
௮
௯
TAMIL DIGIT
U+0C67
U+0C66
౦
౧
౨
౩
౪
౫
౬
౭
౮
౯
TELUGU DIGIT
U+0CE7
U+0CE6
೦
೧
೨
೩
೪
೫
೬
೭
೮
೯
KANNADA DIGIT
U+0D67
U+0D66
൦
൧
൨
൩
൪
൫
൬
൭
൮
൯
MALAYALAM DIGIT
U+0E51
U+0E50
๐
๑
๒
๓
๔
๕
๖
๗
๘
๙
THAI DIGIT
U+0ED1
U+0ED0
໐
໑
໒
໓
໔
໕
໖
໗
໘
໙
LAO DIGIT
U+1041
U+1040
၀
၁
၂
၃
၄
၅
၆
၇
၈
၉
MYANMAR DIGIT
U+17E1
U+17E0
០
១
២
៣
៤
៥
៦
៧
៨
៩
KHMER DIGIT
U+4E00
U+3007
〇
一
二
三
四
五
六
七
八
九
CJK IDEOGRAPH DIGIT
U+C77C
U+C601
영
일
이
삼
사
오
육
칠
팔
구
HANGUL DIGIT
U+FF11
U+FF10
0
1
2
3
4
5
6
7
8
9
FULLWIDTH DIGIT
Roman Numerals
Regular expressions of Roman numeral, such as I II III IV V VI VII VIII IX X ..., is generated.
Format Token
Numerals
Description
U+0049 (I)
I V X L C D M
ↁ
ↂ
LATIN CAPITAL LETTER I
U+0069 (i)
i v x l c d m
LATIN SMALL LETTER I
U+2160 (Ⅰ)
Ⅰ
Ⅴ
Ⅹ
Ⅼ
Ⅽ
Ⅾ
Ⅿ
ↁ
ↂ
ROMAN NUMERAL ONE
U+2170 (ⅰ)
ⅰ
ⅴ
ⅹ
ⅼ
ⅽ
ⅾ
ⅿ
SMALL ROMAN NUMERAL ONE
U+FF29 (I)
I
V
X
L
C
D
M
ↁ
ↂ
FULLWIDTH LATIN CAPITAL LETTER I
U+FF49 (i)
i
v
x
l
c
d
m
FULLWIDTH LATIN SMALL LETTER I
Numerical values with upper case up to 39999 and numerical values with lower case up to 3999 can be expressed.
Hebrew Numerals
Regular expressions of Hebrew numeral, such as
א
ב
ג
ד
ה
...
י
אי
בי
גי
די
וט
..., is generated.
Format Token
Numerals
Description
U+05D0 (א)
א
ב
ג
ד
ה
ו
ז
ח
ט
י
כ
ל
מ
נ
ס
ע
פ
צ
ק
ר
ש
ת
ך
ם
ן
ף
ץ
HEBREW LETTER ALEF
The specification of the grouping-separator and grouping-size properties are ignored and always considered grouping-separator=""grouping-size="3".
The way of the conversion is different from when format="hebrew" is specified.
Armenian Numerals
Formats Armenian numerals. It's available to express up to 99999999.
Format Token
Numerals
Description
U+0531 (Ա)
Ա
Բ
Գ
Դ
Ե
Զ
Է
Ը
Թ
Ժ
Ի
Լ
Խ
Ծ
Կ
Հ
Ձ
Ղ
Ճ
Մ
Յ
Ն
Շ
Ո
Չ
Պ
Ջ
Ռ
Ս
Վ
Տ
Ր
Ց
Ւ
Փ
Ք
ARMENIAN CAPITAL LETTER AYB
U+0561 (ա)
ա
բ
գ
դ
ե
զ
է
ը
թ
ժ
ի
լ
խ
ծ
կ
հ
ձ
ղ
ճ
մ
յ
ն
շ
ո
չ
պ
ջ
ռ
ս
վ
տ
ր
ց
ւ
փ
ք
ARMENIAN SMALL LETTER AYB
Georgian Numerals
Formats Georgian numerals. It's available to express up to 19999.
The strings which consist of the same character with 2 or more altogether
For example, when format="**" is specified, “*” is repeated by the number of numerical values. Up to 999 can be expressed.
The symbols of all different character with 2 or more altogether
For example, if format="*†‡" is specified, the following regular expressions will be generated:
“*”
“†”
“‡”
“**”
“††”
“‡‡”
“***”
“†††”
“‡‡‡”
...
Up to 999 can be expressed.
The character string which does not include symbols, with all different 2 or more characters altogether
For example, character strings such as
"上中下", which means the sequence of “first,
second and third classes, etc.”, is considered a format token and
generates the sequence of the following regular expressions.
Effective with the internal link in PDF and indicates the page number of the link destination. This string is simple numeric characters (<number>) or the following string that combines numeric characters and a fragment with “#”.
See Making Link for fragment.
123#zoom=50
The page number also can be specified in the fragment.
#page=123&zoom=50
When the page number is not specified, it is usually considered the 1st page. However, when the top position is specified, it is considered the head of the page of a block where internal-destination is contained. For example, it is specified as follows:
#view=fit
#view=fith
#zoom=,,0
<named-action>
Effective with the internal link in PDF and specifies the PDF Named Action. For example, the following settings are available. Since the specified value is not checked, you can specify arbitrary such as Print or GoBack, but whether it works or not depends on the PDF viewer.
Complex settings in CSS must be specified by character strings.
-ah-internal-destination: '#page=123&zoom=50';
CAUTION:
Note that <uri-specification> is the value of external-destination and href, but not for internal-destination.
CAUTION:
When href="#123" is specified in HTML, it is an id specification of "123", not a page number. If href-page-link="true" is specified in the Option Setting File, it will be considered a page number specification.
This property is not extended with Antenna House Formatter V7.4 Lite.
CSS (-ah-)displayIntroduction to CSS for Paged Mediadisplay
It is treated as an element representing the document information. Equivalent to the <meta> element in HTML. See also Document Information for PDF Output.
It can be specified for any XML that is not HTML, but it must be before the first page content. The content of the element is discarded.
It cannot be specified for the root element.
The following HTML elements are fixed to display:none.
<head>
<title>
<base>
<link>
<style>
<script>
The following HTML elements are fixed to display:-ah-meta.
<meta>
In HTML, these display cannot be changed.
Extended Functions
Antenna House Formatter V7.4 extends some FO functions and CSS functions.
Specifies Separation color (Spot color).
The name of the ink in use is specified as <Name>.
For example, specify “PANTONE 131 PC”. The color tone is specified as <Tint>. When <Tint> is omitted, it is considered 1.0. It is also necessary to specify RGB or CMYK. When RGB is omitted, it is calculated from CMYK.
Specifies Registration color. The color tone is specified as <Tint>. When <Tint> is omitted, it is considered 1.0.
Registration color is used for the registered trademark outputted to all the color versions. Registration color can also be expressed by specifying “All” as the <Name> of #Separation.
An identifier beginning with “#” is case insensitive. Formats using identifiers which begins with “#” are extended specifications in Antenna House Formatter V7.4.
The specified RGB is an alternative color. It is used when the devices (display etc.) cannot display CMYK or the separation color directly.
Arguments take the following values, respectively.
<R>,<G>,<B> = % value or 0 to 255 integer value
<C>,<M>,<Y>,<K> = % value or 0.0 to 1.0 float value
<Scale> = % value or 0.0 (black) to 1.0 (white) float value
<Tint> = % value or 0.0 (lightest) to 1.0 (darkest) float value
linear-gradient()
Expresses the linear gradient. It can be specified as a value of background-image.
no-LT
Specifies the angle of the gradient. 0deg indicates top, 90deg indicates right.
<side-or-corner>
Specifies the angle of the gradient by keywords. to top, to right, to bottom and to left indicate 0deg, 90deg, 180deg and 270deg for each.
<color-stop>
Specifies the <color> that indicates the color assignment on the gradient, and optionally the stop position for that <color>. The stop position is specified at the <percentage> or <length> position along the gradient's axis. The first <color-stop> is called the start point, the last <color-stop> is called the end point, and the <color-stop> in between is called the transition. If the stop position is not specified, it will be the midpoint between the point immediately before and the point immediately after. The gradient is rendered from the start point to the end point towards the color assigned at each transition.
Specifies the center position of a circle or an oval. The value is the same as that of the background-position in CSS 2.1.
<color-stop>
Specifies the <color> that indicates the color assignment on the gradient, and optionally the stop position of that <color>. See linear-gradient () for more information on <color-stop>.
This function is not available with Antenna House Formatter V7.4 Lite.
repeating-linear-gradient()
Expresses the repeating linear gradient. It can be specified as a value of background-image. The syntax is the same as that of linear-gradient().
no-LT
This function is not available with Antenna House Formatter V7.4 Lite.
repeating-radial-gradient()
Expresses the repeating radial gradient. It can be specified as a value of background-image. The syntax is the same as that of radial-gradient().
no-LT
The following can be specified for <type-or-unit>:
string
name
color
url
integer
number
length, angle, time, frequency
%
Units that can be specified with Antenna House Formatter V7.4
<fallback> is adopted when the property indicated by <attr-name> is not specified. When something is specified, <fallback> is not adopted even if it is an incorrect value.
For shorthands with complicated syntax such as font or border, shorthand expansion is not possible unless the type of each part is determined. For example, border has the syntax of <border-width> || <border-style> || <border-color> and the order is indefinite. For example, you can write as follows:
border: #FF0000 solid 10pt;
You can associate <border-width> with length and <border-color> with color. A type-specific function like rgb-icc() would be fine, but the type of att() cannot be identified. So, specify <type-or-unit> explicitly as follows:
Then, it seems that you can judge which one corresponds to which one. However, the correspondence may be determined by the value as shown below:
border: red solid 10pt;
In such a case, it cannot be determined by the type alone. Also, most properties only accept specific names, so accurate correspondence is not possible with this alone. In such a case, you can associate it by specifying <fallback> as follows:
The correspondence is done using the <fallback>, if it exists. If not, it is done using the representative value of <type-or-unit>. If the correspondence is not possible and the shorthand expansion is not possible, the property will result in an error.
It is extended so that multiple ::before can be specified for one element, like ::before(2). ::before(2) and ::before(3) are considered different selectors. ::before without arguments is equivalent to ::before(1) and
you can specify an integer greater than or equal to 1 for the argument. Smaller numbers are placed closest to the element and higher numbers are placed farther away. The same applies for ::after.
Antenna House Formatter V7.4 Lite ignores all selectors that specify 2 or more parameters.
CSS3 Properties
This section enumerates the properties based on CSS3 specification supported with Antenna House Formatter V7.4 which have not been described until now.
The following CSS extension properties apply the implementation of the XSL specification to CSS as is. See also each XSL specification. The implementation restrictions are the same as XSL. See also XSL-FO Conformance.
Functions in the XSL specifications can also be used in CSS with some exceptions. See 5.10 Core Function Library.
You can also use compound names in CSS, such as leader-length.minimum in XSL. In CSS, you have to add -ah-, like -ah-leader-length.minimum. You can specify the same compound name as XSL for the following properties: