20.07.2014 Views

DOC1 Programmer's Guide

DOC1 Programmer's Guide

DOC1 Programmer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

XSL-FO structure<br />

Tabs<br />

XSL-FO does not natively support tabs but the<br />

importer has been adapted to expect a new element<br />

within an fo:block element that allows you to code tab<br />

settings. This is named g1d1i:tab.<br />

The element has the following attributes:<br />

position<br />

alignment<br />

alignment<br />

-character<br />

Name Valid values Default Effect<br />

spacing Measurement<br />

0.25<br />

inches<br />

Sets fixed tab<br />

spacing. Note that<br />

this cannot be used<br />

in combination with<br />

other properties<br />

leadingcharacter<br />

An offset<br />

position<br />

relative to<br />

page left<br />

margin<br />

"left"<br />

"right"<br />

"centre"<br />

"character"<br />

Single text<br />

character<br />

Single text<br />

character<br />

None<br />

"left"<br />

Sets a single tab<br />

stop relative to the<br />

left page margin<br />

Sets how text is<br />

positioned in<br />

relation to the tab. If<br />

‘character’ is<br />

specified the<br />

alignment-character<br />

property must be<br />

set.<br />

None When alignment =<br />

”character” this<br />

specifies the<br />

character which will<br />

be centered on the<br />

tab.<br />

None<br />

Specifies a<br />

character that will<br />

be used to pad the<br />

space between the<br />

current tab stop and<br />

the previous offset.<br />

The following fragment illustrates these points:<br />

<br />

<br />

<br />

Here is some tabbed text:<br />

1#&0009;2#&0009;3<br />

<br />

<br />

<br />

<br />

<br />

#&0009;See section.#&0009;10<br />

<br />

<br />

Images<br />

NOTE THE USE OF THE ESCAPE CHARACTER SEQUENCE<br />

(#&0009 IN THIS EXAMPLE) TO SPECIFY THE TAB<br />

CHARACTER.<br />

Image files referenced by a document design are<br />

included by coding the fo:external-graphic element<br />

within an fo:block.<br />

The importer will attempt to copy the actual image<br />

files referenced in such elements to the <strong>DOC1</strong><br />

Designer repository.<br />

If the element includes an src attribute and this<br />

contains a path name the importer will look for the<br />

file in this location. Otherwise the importer will look<br />

for the file in the location indicated by the Resource<br />

Path option which can be specified in the<br />

Application Import dialog.<br />

237

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!