Column width c#

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
eliphelet
Posts: 5
Joined: Sun Aug 21, 2011 8:46 am

Column width c#

Post 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?
openOffice 3 on windows 7
B Marcelly
Volunteer
Posts: 1160
Joined: Mon Oct 08, 2007 1:26 am
Location: France, Paris area

Re: column width c#

Post 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.
Bernard

OpenOffice.org 1.1.5 / Apache OpenOffice 4.1.1 / LibreOffice 5.0.5
MS-Windows 7 Home SP1
Post Reply