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

service TextDocumentView

Included Services - Summary
::com::sun::star::view::OfficeDocumentView
(referenced entity's summary:)
Exported Interfaces - Summary
::com::sun::star::view::XViewSettingsSupplier

This interface permits access to the properties of the view.

XTextViewCursorSupplier

This interface makes it possible to access the cursor which belongs to the view and can be visible for the user.

::com::sun::star::beans::XPropertySet

Gives access to the objects properties.
Since OOo 2.0 (details)

Properties' Summary
[ readonly ] long
PageCount
[ OPTIONAL ]
returns the number of pages in the document  
[ readonly ] long
LineCount
[ OPTIONAL ]
returns the number of lines in the document  
boolean
IsConstantSpellcheck
[ OPTIONAL ]
specifies if spell checking should be done while typing.
Since OOo 2.0  
boolean
IsHideSpellMarks
[ OPTIONAL ]
specifies if the marks for misspelled text should be displayed.
Since OOo 2.0  
Included Services - Details
::com::sun::star::view::OfficeDocumentView
(referenced entity's summary:)
Exported Interfaces - Details
::com::sun::star::view::XViewSettingsSupplier
Description
This interface permits access to the properties of the view.
XTextViewCursorSupplier
Description
This interface makes it possible to access the cursor which belongs to the view and can be visible for the user.
::com::sun::star::beans::XPropertySet
Usage Restrictions
optional
Description
Gives access to the objects properties.
Since OOo 2.0
Properties' Details
PageCount
[ readonly ] long PageCount;
Usage Restrictions
optional
Description
returns the number of pages in the document

Since the document needs to be formatted to get the result obtaining this value may take some time.


Since OOo 2.0
LineCount
[ readonly ] long LineCount;
Usage Restrictions
optional
Description
returns the number of lines in the document

Since the document needs to be formatted to get the result obtaining this value may take some time.

Empty paragraphs are not counted.


Since OOo 2.0
IsConstantSpellcheck
boolean IsConstantSpellcheck;
Usage Restrictions
optional
Description
specifies if spell checking should be done while typing.
Since OOo 2.0
IsHideSpellMarks
boolean IsHideSpellMarks;
Usage Restrictions
optional
Description
specifies if the marks for misspelled text should be displayed.
Since OOo 2.0

 
Top of Page