Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: sheet ::

interface XSubTotalCalculatable
Description
contains methods to handle a subtotal descriptor.

The subtotal descriptor provides properties to set up the subtotal function.

See also
SheetCellRange, SubTotalDescriptor
Developers Guide
Spreadsheets - Subtotals

Methods' Summary
createSubTotalDescriptor creates a subtotal descriptor.  
applySubTotals creates subtotals using the settings of the passed descriptor.  
removeSubTotals removes the subtotals from the current object.  
Methods' Details
createSubTotalDescriptor
XSubTotalDescriptor
createSubTotalDescriptor( [in] boolean  bEmpty );

Description
creates a subtotal descriptor.
Parameter bEmpty
if set to true, creates an empty descriptor. If set to false, fills the descriptor with previous settings of the current object (i.e. a database range).
applySubTotals
void
applySubTotals( [in] XSubTotalDescriptor  xDescriptor,
[in] boolean  bReplace );

Description
creates subtotals using the settings of the passed descriptor.
Parameter xDescriptor
the subtotal descriptor with the settings used for the subtotal operation.
Parameter bReplace
if set to true, replaces previous subtotal results.
removeSubTotals
void
removeSubTotals();

Description
removes the subtotals from the current object.
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.