Thanks Oliver, that's EXACTLY what I needed.
And my code snippet in case anyone needs to see it.
insertIntoCell("A1", "Org / Reviewer", xTT);
insertIntoCell("B1", "Page #", xTT);
XTextTableCursor xTTC = xTT.createCursorByCellName("B1");
xTTC.gotoCellByName("F1", true);
boolean merge = xTTC.mergeRange();
if (merge) {
System.out.println("Merge successful");
} else {
System.out.println("Merge UNsuccessful");
}
_______________________
Anh-Tuan Le
FCI
703.961.1818 x162
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, April 16, 2007 2:14 PM
To: [email protected]
Subject: Re: [api-dev] text table cells with multiple columns?
Anh-Tuan Le wrote:
> Hi, I am working with an XTextTable and I'm able to create all the cells
> individually. But I would like to do is to create cells that multiple
> column spans. Is this possible? I looked through as many mailings as I
> could but could not find an answer.
>
>
Hi,
what you need is a com::sun::star::text::XTextTableCursor. see
http://api.openoffice.org/docs/common/ref/com/sun/star/text/XTextTableCursor
.html
Regards,
Oliver
---------------------------------------------------------------------
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]