XSL Formatter V3.4 outputs SVG that is compliant to W3C Scalable Vector Graphics (SVG) 1.1 specification. Moreover, it also outputs SVG Tiny and SVG Basic in the Mobile SVG Profiles.
Customers must purchase "XSL Formatter SVG Output Option" to output SVG. See also Antenna House website for more details.
XSL Formatter V3.4 can output any of the SVG 1.1, SVG Basic and SVG Tiny. When a profile is not specified, it is regarded as SVG 1.1.
Mobile SVG Profiles are the specifications for mobile computing devices or cellular phones which have restrictions in the throughput of the hardware, the memory capacity and the number of colors that can be displayed.
Since SVG Tiny is for the hardware with the most restrictions, like a cellular phone, the supported elements and attributes are quite limited. Therefore, the reproduction level of the original document may be low.
SVG Basic is for more high-efficient pocket devices, such as high-efficient PDA, and has fewer restrictions than SVG Tiny. See also Mobile SVG Profiles for more details.
XSL Formatter V3.4 outputs SVG Tiny and SVG Basic on the basis of the output for SVG 1.1 by disregarding the unsupported elements.
When the document composed of multiple pages is converted into SVG, each page will be output to each file. It is possible to output them collectively to one file by setting Command-line Interface etc. However, when it is output as standard out, it is always output to one file.
For more information about supported graphic images, refer to the "Graphics".
With SVG Output, there are three types of methods for hundling images. these methods can be specified with the Command-line Interface or the Option Setting File, etc.
Raster images are embedded in SVG as Base64 encoding. Vector images are outputted as SVG.
Images are linked using the URI of the link origin without change.
Images are copied to the place where they are specified and are described as a link there. the copy destination can be specified by copy-image-path, etc. in the Option Setting File.
There are two types of images in FO.
Images are referenced externally by <fo:external-graphic>.
Images encorded by Base64 using the data scheme by <fo:external-graphic> is embedded, or the images are embedded in FO by <fo:instream-foreign-object>.
In XSL Formatter V3.4, all the images referred by outputted SVG are converted into JPEG or PNG or SVG. For this reason, images embedded or extenally referenced are humdled as follows.
Embed | Link | Copy and Link | ||
---|---|---|---|---|
JPEG | ExternalRef | Embeds images without change. | Links images without change. | Copies and links images without change. |
Embedded | Embeds images without change. | |||
PNG | ExternalRef | Links images without change. | ||
Embedded | Embeds images without change. | |||
BMP | ExternalRef | Embeds images after converting into JPEG or PNG. | Copies and links images after converting into JPEG or PNG. | |
Embedded | ||||
TIFF | ExternalRef | |||
Embedded | ||||
GIF | ExternalRef | |||
Embedded | ||||
JPEG2000 | ExternalRef | |||
Embedded | ||||
SVG | ExternalRef | Embeds images as SVG. | Links images without change. | Copies and links images without change. |
Embedded | Embeds images as SVG. | |||
WMF | ExternalRef | Embeds images afater converting into SVG. | Copies and links images after converting into SVG. | |
Embedded | ||||
EMF | ExternalRef | |||
Embedded | ||||
ExternalRef | ||||
Embedded | ||||
MathML | ExternalRef | Embeds images after converting into SVG when XSL Formatter MathML Option is effective. Embeds images after converting into JPEG or PNG when XSL Formatter MathML Option is not effective and MathPlayer plug-in is installed on Windows version. | Copies and links images after converting into SVG when XSL Formatter MathML Option is effective. Copies and links images after converting into JPEG or PNG when XSL Formatter MathML Option is not effective and MathPlayer plug-in is installed on Windows version. | |
Embedded | ||||
CGM | ExternalRef | Embeds images after converging converting into JPEG or PNG. Effective only when ActiveCGM plug-in is installed on Windows version. | Copies and links images after converging converting into JPEG or PNG. Effective only when ActiveCGM plug-in is installed on Windows version. | |
Embedded | ||||
EPS | ExternalRef | Embeds images after converging into JPEG or PNG in Windows version. In non-Windows versions, if the preview image included in EPS is the TIFF format, it's embedded after being chaned into JPEG or PNG, if it is the WMF format, it's embedded after being changed into SVG. | Copies and links images after converging into JPEG or PNG in Windows version. In non-Windows versions, if the preview image included in EPS is the TIFF format, it's copied and linked after being chaned into JPEG or PNG, if it is the WMF format, it's coied and linked after being changed into SVG. | |
Embedded |
Please refer to "Font Setting" for the font.
With SVG Output, the font can be embedded into SVG. However, the outline might not be able to be embedded correctly for certain TrueType and OpenType fonts.
In SVG Tiny, since many elements are not supported, it may be difficult to reproduce output that is faithful to the original document. XSL Formatter V3.3 approximate the original as much as possible by substituting the elements with alternative expressions to the extent possible. The following are the main restrictions of SVG Tiny.