Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

service TextDocumentView
Description
specifies the view of a TextDocument.
Developers Guide
OfficeDev - Component - Controllers - Document Specific Controller Services

Included Services - Summary
::com::sun::star::view::OfficeDocumentView
(referenced entity's summary:)
specifies a view of a standard office document.
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. (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 spellchecking should be done while typing.  
boolean
IsHideSpellMarks
[ OPTIONAL ]
specifies if the marks for misspelled text should be displayed.  
Included Services - Details
::com::sun::star::view::OfficeDocumentView
(referenced entity's summary:)
specifies a view of a standard office document.
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 spellchecking 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.