LibreOffice
LibreOffice 24.2 SDK API Reference
Loading...
Searching...
No Matches
TableColumn Service Reference

represents a special cell range containing all cells of a single specific column in a table or spreadsheet. More...

import <TableColumn.idl;

Inheritance diagram for TableColumn:
XCellRange XPropertySet XNamed XInterface XInterface XInterface

Exported Interfaces

interface com::sun::star::table::XCellRange
 provides access to the cells of this column.
 
interface com::sun::star::beans::XPropertySet
 published service PropertySet
 
interface com::sun::star::container::XNamed
 provides methods to access the name of the column.
 

Public Attributes

long Width
 contains the width of the column (in 1/100th mm).
 
boolean OptimalWidth
 is TRUE, if the column always keeps its optimal width.
 
boolean IsVisible
 is TRUE, if the column is visible.
 
boolean IsStartOfNewPage
 is TRUE, if there is a manual horizontal page break attached to the column.
 

Additional Inherited Members

- Public Member Functions inherited from XCellRange
com::sun::star::table::XCell getCellByPosition ([in] long nColumn, [in] long nRow) raises ( com::sun::star::lang::IndexOutOfBoundsException )
 Returns a single cell within the range.
 
com::sun::star::table::XCellRange getCellRangeByPosition ([in] long nLeft, [in] long nTop, [in] long nRight, [in] long nBottom) raises ( com::sun::star::lang::IndexOutOfBoundsException )
 Returns a sub-range of cells within the range.
 
com::sun::star::table::XCellRange getCellRangeByName ([in] string aRange)
 Returns a sub-range of cells within the range.
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
 
void acquire ()
 increases the reference counter by one.
 
void release ()
 decreases the reference counter by one.
 
- Public Member Functions inherited from XPropertySet
com::sun::star::beans::XPropertySetInfo getPropertySetInfo ()
 
void setPropertyValue ([in] string aPropertyName, [in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException )
 sets the value of the property with the specified name.
 
any getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 
void addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 adds an XPropertyChangeListener to the specified property.
 
void removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 removes an XPropertyChangeListener from the listener list.
 
void addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 adds an XVetoableChangeListener to the specified property with the name PropertyName.
 
void removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 removes an XVetoableChangeListener from the listener list.
 
- Public Member Functions inherited from XNamed
string getName ()
 
void setName ([in] string aName)
 sets the programmatic name of the object.
 

Detailed Description

represents a special cell range containing all cells of a single specific column in a table or spreadsheet.

Developers Guide
Spreadsheet Documents - Spreadsheet Services - Overview

Exported Interfaces

◆ com::sun::star::beans::XPropertySet

published service PropertySet

provides access to the cell properties of all cells of this column.

◆ com::sun::star::container::XNamed

provides methods to access the name of the column.

In spreadsheets, the name of a column cannot be changed.

◆ com::sun::star::table::XCellRange

provides access to the cells of this column.

See also
com::sun::star::table::CellRange

Member Data Documentation

◆ IsStartOfNewPage

boolean IsStartOfNewPage
property

is TRUE, if there is a manual horizontal page break attached to the column.

◆ IsVisible

boolean IsVisible
property

is TRUE, if the column is visible.

◆ OptimalWidth

boolean OptimalWidth
property

is TRUE, if the column always keeps its optimal width.

◆ Width

long Width
property

contains the width of the column (in 1/100th mm).

When hidden, it returns the width which the column would have, if it were visible.


The documentation for this service was generated from the following files: