You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/08/30 17:26:47 UTC
[Bug 120766] New: XEnumerationAccess.createEnumeration() doesn't
show table after drag-n-drop
https://issues.apache.org/ooo/show_bug.cgi?id=120766
Priority: P3
Bug ID: 120766
Assignee: ooo-issues@incubator.apache.org
Summary: XEnumerationAccess.createEnumeration() doesn't show
table after drag-n-drop
Severity: normal
Issue Type: DEFECT
Classification: Code
OS: Linux
Reporter: pavlok311@gmail.com
Hardware: PC
Status: UNCONFIRMED
Version: AOO 3.4.1
Component: code
Product: api
If table is created in Microsoft Office 2010 Word editor, then
dragged-and-dropped and saved as '.doc' file this table is not included in
XEnumerationAccess.createEnumeration();
Here is the test python code:
def list_elements(_el):
if not hasattr(_el, 'createEnumeration'):
return
enum = _el.createEnumeration()
while enum.hasMoreElements():
new_el = enum.nextElement()
print 'el = ', new_el.ImplementationName
list_elements(new_el)
print 'Element type = ', el.ImplementationName
list_elements(el)
print 'Listing finished'
For the file with a table which wasn't dragged-and-dropped the result is:
Element type = SwXBodyText
el = SwXTextTable
el = SwXParagraph
el = SwXTextPortion
Listing finished
For table which was dragged-and-dropped:
Element type = SwXBodyText
el = SwXParagraph
el = SwXTextPortion
Listing finished
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 120766] XEnumerationAccess.createEnumeration() doesn't show
table after drag-n-drop
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120766
--- Comment #1 from pavlok311@gmail.com ---
Created attachment 79244
--> https://issues.apache.org/ooo/attachment.cgi?id=79244&action=edit
File with table that isn't included in enumeration
--
You are receiving this mail because:
You are the assignee for the bug.