To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=94332 Issue #|94332 Summary|RFE Get number of text lines in paragraph Component|api Version|OOo 2.4.1 Platform|Unknown URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|ENHANCEMENT Priority|P3 Subcomponent|code Assigned to|jsc Reported by|rvojta
------- Additional comments from [EMAIL PROTECTED] Thu Sep 25 15:18:06 +0000 2008 ------- I can't get the number of text in paragraph via API in an easy way. It would be nice to have some function which can return the number of text lines in paragraph. I can workaround it, but it's ugly ... - put view cursor at paragraph start, get Y position - go right - if Y position changes, increment number of lines - if paragraph changes, end ... but there are many cases where this approach doesn't work. I know that my paragraph is on one page only, so, it's enough, but it would be nice to have more general and easier way how to count lines. Thread in [EMAIL PROTECTED]: http://sw.openoffice.org/servlets/ReadMsg?list=dev&msgNo=2175 --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
