DynaPDF Manual - Page 781

Previous Page 780   Index   Next Page 782

Function Reference
Page 781 of 787
Special characters
The following list defines which characters can be used to insert new lines, tabulators and so on.
Character code (Hex)
Description
0x10 or 0x13 or
New line or end-of-line character code. The combination of a carriage return plus
0x13 + 0x10
a line feed will be treaded as single end-of-line character.
0x09
A tabulator is emulated by inserting a variable count of space characters. The
number of characters can be adjusted inside the text with the command tag
\TL[] or outside with the property SetTabLen().
The function supports also specific Unicode characters which are used to control the bidirectional
algorithm. The bidirectional formatting codes are also supported by all other text functions.
Character code (Hex)
Description
0x202A
LRE Left-to-Right Embedding (treat the following text as embedded left-to-right)
0x202B
RLE Right-to-Left Embedding (treat the following text as embedded right-to-left)
0x202C
PDF Pop Directional Format (restore the bidirectional state to what it was before
the last LRE, RLE, LRO or RLO)
0x202D
LRO Left-to-Right Override (force the following characters to be treated as
strong left-to-right characters)
0x202E
RLO Right-to-Left Override (force the following characters to be treated as
strong right-to-left characters)
0x200E
LRM Left-to-Right Mark (left-to-right zero-width character)
0x200F
RLM Right-to-Left Mark (right-to-left zero-width character)
0x200C
Zero width non-joiner
0x200D
Zero width joiner
The bidirectional code pages 1255 and 1256 support the character codes 0x200E and 0x200F only (the
mapped codes are 253 and 254).
Note that the Unicode character codes are supported by the Unicode version of the function only.
Escape Sequences
In situations where an alignement or command tag should be output as plain text it is possible to
precede the tag with an additional backslash. This marks the string as plain text and the function
does not interpret it as command or alignment tag. The first backslash is treated as escape character
and will be removed.
 

Previous topic: Command tags

Next topic: How to create multi-column text?

Start Chat