Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: text ::

interface XTextColumns
Description
manages columns within the object.

The values used are relative. So it is not necessary to know the width of the object. The sum of the relative width values depends on the object and is defined in "ReferenceValue."


Methods' Summary
getReferenceValue  
getColumnCount  
setColumnCount sets the number of columns.  
getColumns returns the column description of the object.  
setColumns sets the descriptors of all columns.  
Methods' Details
getReferenceValue
long
getReferenceValue();

Returns
the sum of all values.

As described above, the width values are relative.

getColumnCount
short
getColumnCount();

Returns
the number of columns.
setColumnCount
void
setColumnCount( [in] short  nColumns );

Description
sets the number of columns.

The minimum is 1 column.

getColumns
sequence< TextColumn >
getColumns();

Description
returns the column description of the object.
See also
TextColumn
setColumns
void
setColumns( [in] sequence< TextColumn >  Columns );

Description
sets the descriptors of all columns.

The number of members in the sequence must be the same as the number of columns of the object.

See also
TextColumn
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.