Apache OpenOffice (AOO) Bugzilla – Issue 53534
Bad code example
Last modified: 2013-02-24 21:07:48 UTC
The example code for "Create and insert a TextTable via a TextTableDescriptor" and for "Create and insert a TextTable directly (may flicker)" is identical.
I also see that the examples ar identical. I don't believe that it's P1, that's all I can contribute for this issue.
Sorry for that P1 priotity. In our team we have reversed order. The less number is the less priority. I must confess that i don't read the Priority description.
@ przemaz: That's life :-) May be you can say for what of the listed functions the example is correct and contribute a better example for the other header? I don't have any knowledge for API.
The example applies to second part - insert a TextTable directly. I've searched the API and i don't found neither the TextTableDescriptor (http://api.openoffice.org/docs/common/ref/index-files/index-20.html) nor service XTextTableDescriptor (http://api.openoffice.org/docs/common/ref/index-files/index-24.html) There is a TableDecriptor but it is used to define a table of a database and not a table anchored in text document. I suggest to leave only one example.
move to api project
api subcomponent: documentation
JSc -> TL: it's one for you
Setting target to OOo 2.0.4
.
There is no (X)TextTableDescriptor and the example should not flicker because all the changes to the table are applied before it gets inserted. Changed the documentation accordingly. Files changed: offapi: - com/sun/star/text/TextTable.idl re-open issue and reassign to cn@openoffice.org
reassign to cn@openoffice.org
reset resolution to FIXED
ok in tl21
ok in src680_m181