Lívio Cipriano wrote:
Hi all,
What's the name of the variable in Writer that gives the total number of lines
in a document; like in Properties, Statistics?
CharacterCount, ParagraphCount, and WordCount you can get directly from
the document. Line count, however, you need to get from the document
view (or in this case, the current controller)
ThisComponent.currentController.LineCount
I do not know if you must update fields or anything to get this...
Makes sense about the lines because ONLY the view can know how many
lines are required.
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info: http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]