LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XAutoFormattable Interface Referencepublished

provides a method to apply TableAutoFormats to a cell range. More...

import"XAutoFormattable.idl";

Inheritance diagram for XAutoFormattable:
XInterface SheetCellRange TextTable SheetCellCursor Spreadsheet Paragraph

Public Member Functions

void autoFormat ([in] string aName) raises ( com::sun::star::lang::IllegalArgumentException )
 applies an AutoFormat to the cell range of the current context. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

provides a method to apply TableAutoFormats to a cell range.

Developers Guide
Spreadsheet Documents - Table Auto Formats

Member Function Documentation

◆ autoFormat()

void autoFormat ( [in] string  aName)
raises (com::sun::star::lang::IllegalArgumentException
)

applies an AutoFormat to the cell range of the current context.

Parameters
aNameis the name of the AutoFormat to apply.
Exceptions
com::sun::star::lang::IllegalArgumentExceptionif the specified AutoFormat does not exist.

The documentation for this interface was generated from the following file: