(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.