Column width c#

Java, C++, C#, Delphi, ??? - Using the UNO bridges

Column width c#

Postby eliphelet » Sun Aug 21, 2011 10:58 am

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
eliphelet
 
Posts: 5
Joined: Sun Aug 21, 2011 8:46 am

Re: column width c#

Postby B Marcelly » Mon Sep 19, 2011 8:23 pm

Hi,
Refer to the API doc : http://api.openoffice.org/docs/common/ref/com/sun/star/text/TextTable.html#TableColumnSeparators
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
B Marcelly
Volunteer
 
Posts: 1160
Joined: Mon Oct 08, 2007 1:26 am
Location: France, Paris area


Return to External Programs

Who is online

Users browsing this forum: No registered users and 1 guest