attribute split_rules
Ruby on Rails 2.3.18
Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Specifies the split mode; used only when #hard_margins is set to true. Allowable values are:
SPLIT_FIXED-
The word will be split at the number of characters needed, with no marking at all.
repre
senta
ion
SPLIT_CONTINUATION-
The word will be split at the number of characters needed, with a C-style continuation character. If a word is the only item on a line and it cannot be split into an appropriate size, SPLIT_FIXED will be used.
repr\
esen\
tati\
on
SPLIT_HYPHENATION-
The word will be split according to the hyphenator specified in #hyphenator. If there is no #hyphenator specified, works like SPLIT_CONTINUATION. The example is using TeX::Hyphen. If a word is the only item on a line and it cannot be split into an appropriate size, SPLIT_CONTINUATION mode will be used.
rep-
re-
sen-
ta-
tion
- Default
- Used in
-
#format,#paragraphs