|
LibreOffice
LibreOffice 7.6 SDK API Reference
|
allows converting selections of text to frames or tables. More...
import <XTextConvert.idl;
allows converting selections of text to frames or tables.
| ::com::sun::star::text::XTextTable convertToTable | ( | [in] sequence< sequence< sequence< com::sun::star::text::XTextRange > > > | TableRanges, |
| [in] sequence< sequence< com::sun::star::beans::PropertyValues > > | CellProperties, | ||
| [in] sequence< com::sun::star::beans::PropertyValues > | RowProperties, | ||
| [in] com::sun::star::beans::PropertyValues | TableProperties | ||
| ) | |||
| raises | ( | com::sun::star::lang::IllegalArgumentException, | |
| com::sun::star::beans::UnknownPropertyException | |||
| ) | |||
converts the paragraphs marked in TableRanges into a table.
| TableRanges | contains the TextRange interfaces of the paragraphs, cells and rows of the table. |
The inner sequence contains the start and end paragraphs of each table cell. The next sequence groups the cells to a row and the outer sequence groups the rows of the table.
| CellProperties | contains the properties of each cell. |
| RowProperties | contains the properties of each table row. |
| TableProperties | contains the properties of the table. |
| ::com::sun::star::text::XTextContent convertToTextFrame | ( | [in] com::sun::star::text::XTextRange | Start, |
| [in] com::sun::star::text::XTextRange | End, | ||
| [in] com::sun::star::beans::PropertyValues | FrameProperties | ||
| ) | |||
| raises | ( | com::sun::star::lang::IllegalArgumentException, | |
| com::sun::star::beans::UnknownPropertyException, | |||
| com::sun::star::beans::PropertyVetoException | |||
| ) | |||
moves the paragraphs from Start to End into a text frame.
| Start | start position of frame content |
| End | end position of frame content |
| FrameProperties | contains the properties of the to-be-created text frame |