Inserting table in draw

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Inserting table in draw

Антон Борисов
Hello, according to draw application menu it's possible to insert
table to draw document by gui,
I need to do this in extension,
so question is it's possible or not?

i found http://wiki.openoffice.org/wiki/Documentation/DevGuide/Charts/Creating_a_Chart_OLE_Object_in_Draw_and_Impress
, maybe it's possible to insert table same way ?

some links or examples would help


Thanks,
--
Борисов Антон

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Inserting table in draw

Ariel Constenla-Haile-2
Hi Anton,

On Sat, May 25, 2013 at 04:37:04PM +0400, Антон Борисов wrote:
> Hello, according to draw application menu it's possible to insert
> table to draw document by gui,
> I need to do this in extension,
> so question is it's possible or not?
>
> i found http://wiki.openoffice.org/wiki/Documentation/DevGuide/Charts/Creating_a_Chart_OLE_Object_in_Draw_and_Impress
> , maybe it's possible to insert table same way ?
>
> some links or examples would help

A table is a shape, in Draw/Impress. You have to insert the table as you
insert any other shape. But the API side of this is completely
undocumented, and rather bugged: last time I tried to inspect a table
shape with Bernard Marcelly's introspection tool, OpenOffice crashed,
I guess that the situation didn't change much since this thread from
2009
http://openoffice.2283327.n4.nabble.com/com-sun-star-drawing-TableShape-td2772795.html
(this thread has some sample code in Basic)

Some general and API-related known issues:

- [IDL] missing documentation for css.drawing.TableShape
  https://issues.apache.org/ooo/show_bug.cgi?id=98458

- Add Cell and Table styles in Styles and Formatting
  https://issues.apache.org/ooo/show_bug.cgi?id=98469

- Incorrect style family in Draw style families
  https://issues.apache.org/ooo/show_bug.cgi?id=98470

- Sub-object of Draw table style can crash OpenOffice
  https://issues.apache.org/ooo/show_bug.cgi?id=98480


Regards
--
Ariel Constenla-Haile
La Plata, Argentina

attachment0 (853 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Inserting table in draw

Антон Борисов
In reply to this post by Антон Борисов
thanks for reply, it helped

2013/5/25 Антон Борисов <[hidden email]>:

> Hello, according to draw application menu it's possible to insert
> table to draw document by gui,
> I need to do this in extension,
> so question is it's possible or not?
>
> i found http://wiki.openoffice.org/wiki/Documentation/DevGuide/Charts/Creating_a_Chart_OLE_Object_in_Draw_and_Impress
> , maybe it's possible to insert table same way ?
>
> some links or examples would help
>
>
> Thanks,
> --
> Борисов Антон



--
Борисов Антон

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]