LibreOffice
LibreOffice 24.2 SDK API Reference
|
This interface enables the object to handle list of ruby lines (aka Furigana lines). More...
import"XRubySelection.idl";
Public Member Functions | |
sequence< com::sun::star::beans::PropertyValues > | getRubyList ([in] boolean Automatic) |
returns a sequence of ruby elements. More... | |
void | setRubyList ([in] sequence< com::sun::star::beans::PropertyValues > RubyList, [in] boolean Automatic) |
applies the RubyList to the current selection. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
This interface enables the object to handle list of ruby lines (aka Furigana lines).
sequence<com::sun::star::beans::PropertyValues> getRubyList | ( | [in] boolean | Automatic | ) |
returns a sequence of ruby elements.
Each element contains at least a string that contains the selected text and the ruby text. Additional parameters can be the ruby adjustment, the name of a character style.
Automatic | if Automatic is set the selection is parsed for words and applied ruby attributes |
void setRubyList | ( | [in] sequence< com::sun::star::beans::PropertyValues > | RubyList, |
[in] boolean | Automatic | ||
) |
applies the RubyList to the current selection.
The number of elements must be equal to the number of elements that are returned by getRubyList. Automatic must be set equally, too.