For a list of style elements, see Appendix 5, “ODS Style Elements,”
on page 1937.
Example
exmpl.title(data: 'This text is formatted using STYLE_ELEM
and the SystemTitle Style Element.',
style_elem: 'UserText',
data: 'The STYLE_ELEM argument applies to the
entire method.');
Examples
Example 1: Formatting Data with Style Attributes and Style Elements
Features:DECLARE statement
Methods
NOTE
FORMAT_TEXT
Arguments
DATA
STYLE_ELEM
STYLE_ATTR
INLINE_ELEM
INLINE_ATTR
Details
This example demonstrates the following:
•using the FORMAT_TEXT method to add text to your output
•using the NOTE method to add a note to your output
•using style elements to format your ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.