I believe that a text table has different support than a Calc document
I only show how to merge and split text table cells in my book (and not
in my free macro document). Have you looked at the developer's guide?
Nicole Scholz wrote:
Hi!
I found some examples of merging columns in scalc and I tried to transfer the
code into writer. Unfortunately I was not able to get it running.
I created a CellRange of the Table in Writer and then tried to merge the
cellRange.
CellRange = xTextTable~xCellRange~getCellRangeByName("A"row":B"row)
CellRange~XMergeable~merge(.true)
When I run the program I get the following error message:
Object "The NIL object" does not understand message "MERGE"
Do I create the CellRange wrong or call the merge method wrong?
Thanks
Nicole
-------- Original-Nachricht --------
Datum: Sat, 10 May 2008 22:59:24 +0200
Von: "Nicole Scholz" <[EMAIL PROTECTED]>
An: dev@api.openoffice.org
Betreff: [api-dev] merge table columns example
Hi!
I try to merge two columns in one row of a table. I read the developer
guide and I searched the mailing list and so I found out that the XMergeable
Interface is needed and that I have to set the method merge to true.
But I dont know how to do this. How do I say which columns I want to
merge? Can someone give me a short example?
Thanks
Nicole
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info: http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]