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

interface XDataPilotFieldGrouping
Description
provides methods to control a data pilot field which has already been created.

Methods' Summary
createNameGroup Creates a new Field which contains a group containing the given Items.  
createDateGroup Creates a new Field if the current field is grouped by dates. Doesn't create a new field if the field contains no dates or it isn't grouped yet.  
Methods' Details
createNameGroup
XDataPilotField
createNameGroup( [in] sequence< string >  aItems )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Creates a new Field which contains a group containing the given Items.
Returns
the new created field if there is one created.
Parameter aItems
A sequence containing the Item names which have to be in the new group. This have to be Items of the current field.
createDateGroup
XDataPilotField
createDateGroup( [in] DataPilotFieldGroupInfo  aInfo )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Creates a new Field if the current field is grouped by dates. Doesn't create a new field if the field contains no dates or it isn't grouped yet.
Returns
the new created field if there is one created.
Parameter aInfo
contains the information how to group the field.
Top of Page