interface XTextDocument in module com::sun::star::text::

(Global Index)

Syntax

interface XTextDocument : com::sun::star::frame::XModel ;

Description

is the main interface of a text document.

See also

TextDocument

Method Summary

getText

reformat reformats the contents of the document.

Known Services Which Export this Interface

com::sun::star::text::TextDocument

Method Details



getText

Syntax

com::sun::star::text::XText getText ();

Returns

the major Text of the text document.

This text does not contain texts in TextFrame s, or cells of TextTable s etc. directly. These are accessible from the contents via X...Supplier (e.g. XTextTablesSupplier ).


reformat

Syntax

void reformat ();

Description

reformats the contents of the document.

Top of Page