Page 1 of 1

Column width c#

Posted: Sun Aug 21, 2011 10:58 am
by eliphelet
i am trying to set column width
and when i wrote:

MessageBox.Show(xPropertySetTable.getPropertyValue("TableColumnSeparators").Value.ToString());

it is bringing the exception: "IllegalArgumentException was unhandled"
someone know why?

Re: column width c#

Posted: Mon Sep 19, 2011 8:23 pm
by B Marcelly
Hi,
Refer to the API doc : http://api.openoffice.org/docs/common/r ... Separators
It says that it contains a sequence (i.e. an array) of TableColumnSeparator. Click on it in the API page, you will see that TableColumnSeparator is a structure.

You cannot show the contents of TableColumnSeparators so easily. And you cannot program OpenOffice.org in C++ without referring to the API.