|
LibreOffice
LibreOffice 24.8 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. | |
| void | setRubyList ([in] sequence< com::sun::star::beans::PropertyValues > RubyList, [in] boolean Automatic) |
| applies the RubyList to the current selection. | |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
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.