To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51971
------- Additional comments from [EMAIL PROTECTED] Fri Jul 15 02:21:41 -0700
2005 -------
sw->ataraxis: changing your code like this should solve the problem.
xText=xTextFrame.getText();
XEnumerationAccess xEA = (XEnumerationAccess)
UnoRuntime.queryInterface(XEnumerationAccess.class, xText);
XEnumeration xEnum = xEA.createEnumeration();
boolean isTable = false;
try {
XPropertySet props = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, xEnum.nextElement());
isTable = props.getPropertySetInfo().hasPropertyByName("TextTable");
} catch (Exception e) {
}
if (isTable) {
xTextCursor = xText.createTextCursor();
xTextCursor.gotoStart(false);
xTextCursor.gotoEnd(true);
text = xTextCursor.getString();
System.out.println(text);
}
---------------------------------------------------------------------
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]