wxAutoExcel
2.0.0
|
Represents a list object in ListObjects collection. More...
Public Member Functions | |
void | Delete () |
Deletes the ListObject object and clears the cell data from the worksheet. More... | |
void | ExportToVisio () |
Exports a ListObject object to Visio. More... | |
wxString | Publish (const wxArrayString &target, bool linkSource) |
Publishes the ListObject object to a server that is running Microsoft SharePoint Foundation. More... | |
void | Refresh () |
Retrieves the current data and schema for the list from the server that is running Microsoft SharePoint Foundation. More... | |
void | Resize (wxExcelRange range) |
The Resize method allows a ListObject object to be resized over a new range. More... | |
void | Unlink () |
Removes the link to a Microsoft SharePoint Foundation site from a list. More... | |
void | Unlist () |
Removes the list functionality. More... | |
bool | GetActive () |
Returns a Boolean value indicating whether a ListObject object in a worksheet is active—that is, whether the active cell is inside the range of the ListObject object. More... | |
wxString | GetAlternativeText () |
Returns the descriptive (alternative) text string for the specified table. More... | |
void | SetAlternativeText (const wxString &alternativeText) |
Sets the descriptive (alternative) text string for the specified table. More... | |
wxExcelAutoFilter | GetAutoFilter () |
Filters a table using the AutoFilter feature. More... | |
wxString | GetComment () |
Returns the associated comment. More... | |
void | SetComment (const wxString &comment) |
Sets the associated comment. More... | |
wxExcelRange | GetDataBodyRange () |
Returns a Range that represents the range of values, excluding the header row, in a table. More... | |
wxString | GetDisplayName () |
Returns the display name. More... | |
void | SetDisplayName (const wxString &displayName) |
Sets the display name. More... | |
bool | GetDisplayRightToLeft () |
True if it is displayed from right to left instead of from left to right, false otherwise. More... | |
wxExcelRange | GetHeaderRowRange () |
Returns a Range object that represents the range of the header row for a list. More... | |
wxExcelRange | GetInsertRowRange () |
Returns a Range object representing the Insert row, if any. More... | |
wxExcelListColumns | GetListColumns () |
Returns a ListColumns collection that represents all the columns. More... | |
wxExcelListRows | GetListRows () |
Returns a ListRows object that represents all the rows of data. More... | |
wxString | GetName () |
Returns a String value that represents the name of the ListObject object. More... | |
void | SetName (const wxString &name) |
Sets a String value that represents the name of the ListObject object. More... | |
wxExcelRange | GetRange () |
Returns a Range object that represents the range to which the specified list object in the above list applies. More... | |
wxString | GetSharePointURL () |
Returns a String representing the URL of the SharePoint list for a given ListObject object. More... | |
bool | GetShowAutoFilter () |
Returns Boolean to indicate whether the AutoFilter will be displayed. More... | |
void | SetShowAutoFilter (bool showAutoFilter) |
Returns Boolean to indicate whether the AutoFilter will be displayed. More... | |
bool | GetShowAutoFilterDropDown () |
True when the AutoFilter drop down for the ListObject object is displayed. More... | |
void | SetShowAutoFilterDropDown (bool showAutoFilterDropDown) |
True when the AutoFilter drop down for the ListObject object is displayed. More... | |
bool | GetShowHeaders () |
Returns if the header information should be displayed. More... | |
void | SetShowHeaders (bool showHeaders) |
Sets if the header information should be displayed. More... | |
bool | GetShowTableStyleColumnStripes () |
Returns if the Column Stripes table style is used. More... | |
void | SetShowTableStyleColumnStripes (bool showTableStyleColumnStripes) |
Sets if the Column Stripes table style is used. More... | |
bool | GetShowTableStyleFirstColumn () |
Returns if the first column is formatted. More... | |
void | SetShowTableStyleFirstColumn (bool showTableStyleFirstColumn) |
Sets if the first column is formatted. More... | |
bool | GetShowTableStyleLastColumn () |
Returns if the last column is displayed. More... | |
void | SetShowTableStyleLastColumn (bool showTableStyleLastColumn) |
Sets if the last column is displayed. More... | |
bool | GetShowTableStyleRowStripes () |
Returns if the Row Stripes table style is used. More... | |
void | SetShowTableStyleRowStripes (bool showTableStyleRowStripes) |
Sets if the Row Stripes table style is used. More... | |
bool | GetShowTotals () |
Gets or sets a Boolean to indicate whether the Total row is visible. More... | |
void | SetShowTotals (bool showTotals) |
Gets or sets a Boolean to indicate whether the Total row is visible. More... | |
wxExcelSort | GetSort () |
Gets or sets the sort column or columns, and sort order for the ListObject collection. More... | |
void | SetSort (wxExcelSort sort) |
Gets or sets the sort column or columns, and sort order for the ListObject collection. More... | |
XlListObjectSourceType | GetSourceType () |
Returns a XlListObjectSourceType value that represents the current source of the list. More... | |
wxString | GetSummary () |
Returns the description associated with the alternative text string for the specified table. More... | |
void | SetSummary (const wxString &summary) |
Sets the description associated with the alternative text string for the specified table. More... | |
wxExcelTableObject | GetTableObject () |
Returns a TableObject object. More... | |
wxExcelTableStyle | GetTableStyle () |
Gets the table style. More... | |
void | SetTableStyle (wxExcelTableStyle tableStyle) |
Sets the table style. More... | |
wxExcelRange | GetTotalsRowRange () |
Returns a Range representing the Total row, if any. More... | |
virtual wxString | GetAutoExcelObjectName_ () const |
Returns "ListObject". More... | |
Public Member Functions inherited from wxAutoExcel::wxExcelObject | |
bool | IsOk_ () const |
Returns true if the object has a valid dispatch. More... | |
wxString | GetAutomationObjectName_ (bool stripUnderscores=false) const |
Returns object name as provided by IDispatch->GetTypeInfo()->GetDocumentation(MEMBERID_NIL, &name, NULL, NULL, NULL). More... | |
wxSharedPtr< wxAutomationObject > | GetAutomationObject_ () |
Returns the underlying wxAutomationObject. More... | |
operator bool () const | |
Returns true if the object has a valid dispatch and its last automation call (if any), i.e. More... | |
WXLCID | GetAutomationLCID_ () const |
Returns the locale identifier used in automation calls. More... | |
bool | SetAutomationLCID_ (WXLCID lcid) |
Sets the locale identifier to be used in automation calls. More... | |
bool | GetPropertyAndMethodNames_ (wxArrayString &propertyNames, wxArrayString &methodNames, bool includeHidden=false) |
Returns lists of property and method names the automation interface exposes. More... | |
bool | GetUnimplementedObject_ (const wxString &name, wxAutomationObject &object) |
Helper function for receiving an automation object not implemented in wxAutoExcel, see FAQ on how to use. More... | |
Additional Inherited Members | |
Public Types inherited from wxAutoExcel::wxExcelObject | |
enum | ErrorFlags { Err_DoNothing = 0 , Err_LogOnInvalidDispatch = 1 , Err_AssertOnInvalidDispatch = 1 << 1 , Err_ThrowOnInvalidDispatch = 1 << 2 , Err_LogOnInvalidArgument = 1 << 3 , Err_AssertOnInvalidArgument = 1 << 4 , Err_ThrowOnInvalidArgument = 1 << 5 , Err_LogOnFailedInvoke = 1 << 6 , Err_AssertOnFailedInvoke = 1 << 7 , Err_ThrowOnFailedInvoke = 1 << 8 , Err_LogOnInvalidReturnType = 1 << 9 , Err_AssertOnInvalidReturnType = 1 << 10 , Err_ThrowOnInvalidReturnType = 1 << 11 , Err_LogOnOtherError = 1 << 12 , Err_AssertOnOtherError = 1 << 13 , Err_ThrowOnOtherError = 1 << 14 } |
Flags affecting the behaviour of wxExcelObject and its descendants when an error occurs during accessing an Excel object property or calling its method. More... | |
Static Public Member Functions inherited from wxAutoExcel::wxExcelObject | |
static unsigned | GetErrorMode_ () |
Sets the error mode to the combination of wxExcelObject::ErrorFlags. More... | |
static void | SetErrorMode_ (unsigned mode) |
Sets the error mode as the combination of wxExcelObject::ErrorFlags. More... | |
static bool | GetUnimplementedCollectionItem_ (wxAutomationObject &collection, const long index, wxAutomationObject &item, bool asProperty) |
Helper function for obtaining an item from MS Excel collection not implemented in wxAutoExcel, see FAQ on how to use. More... | |
Represents a list object in ListObjects collection.
void wxAutoExcel::wxExcelListObject::Delete | ( | ) |
Deletes the ListObject object and clears the cell data from the worksheet.
void wxAutoExcel::wxExcelListObject::ExportToVisio | ( | ) |
Exports a ListObject object to Visio.
wxString wxAutoExcel::wxExcelListObject::Publish | ( | const wxArrayString & | target, |
bool | linkSource | ||
) |
Publishes the ListObject object to a server that is running Microsoft SharePoint Foundation.
void wxAutoExcel::wxExcelListObject::Refresh | ( | ) |
Retrieves the current data and schema for the list from the server that is running Microsoft SharePoint Foundation.
This method can be used only with lists that are linked to a SharePoint site. If the SharePoint site is not available, calling this method will return an error.
void wxAutoExcel::wxExcelListObject::Resize | ( | wxExcelRange | range | ) |
The Resize method allows a ListObject object to be resized over a new range.
No cells are inserted or moved.
void wxAutoExcel::wxExcelListObject::Unlink | ( | ) |
Removes the link to a Microsoft SharePoint Foundation site from a list.
Returns Nothing.
void wxAutoExcel::wxExcelListObject::Unlist | ( | ) |
Removes the list functionality.
After you use this method, the range of cells that made up the the list will be a regular range of data.
bool wxAutoExcel::wxExcelListObject::GetActive | ( | ) |
Returns a Boolean value indicating whether a ListObject object in a worksheet is active—that is, whether the active cell is inside the range of the ListObject object.
wxString wxAutoExcel::wxExcelListObject::GetAlternativeText | ( | ) |
Returns the descriptive (alternative) text string for the specified table.
void wxAutoExcel::wxExcelListObject::SetAlternativeText | ( | const wxString & | alternativeText | ) |
Sets the descriptive (alternative) text string for the specified table.
wxExcelAutoFilter wxAutoExcel::wxExcelListObject::GetAutoFilter | ( | ) |
Filters a table using the AutoFilter feature.
wxString wxAutoExcel::wxExcelListObject::GetComment | ( | ) |
Returns the associated comment.
void wxAutoExcel::wxExcelListObject::SetComment | ( | const wxString & | comment | ) |
Sets the associated comment.
wxExcelRange wxAutoExcel::wxExcelListObject::GetDataBodyRange | ( | ) |
Returns a Range that represents the range of values, excluding the header row, in a table.
wxString wxAutoExcel::wxExcelListObject::GetDisplayName | ( | ) |
Returns the display name.
void wxAutoExcel::wxExcelListObject::SetDisplayName | ( | const wxString & | displayName | ) |
Sets the display name.
bool wxAutoExcel::wxExcelListObject::GetDisplayRightToLeft | ( | ) |
True if it is displayed from right to left instead of from left to right, false otherwise.
wxExcelRange wxAutoExcel::wxExcelListObject::GetHeaderRowRange | ( | ) |
Returns a Range object that represents the range of the header row for a list.
wxExcelRange wxAutoExcel::wxExcelListObject::GetInsertRowRange | ( | ) |
Returns a Range object representing the Insert row, if any.
wxExcelListColumns wxAutoExcel::wxExcelListObject::GetListColumns | ( | ) |
Returns a ListColumns collection that represents all the columns.
wxExcelListRows wxAutoExcel::wxExcelListObject::GetListRows | ( | ) |
Returns a ListRows object that represents all the rows of data.
wxString wxAutoExcel::wxExcelListObject::GetName | ( | ) |
Returns a String value that represents the name of the ListObject object.
void wxAutoExcel::wxExcelListObject::SetName | ( | const wxString & | name | ) |
Sets a String value that represents the name of the ListObject object.
wxExcelRange wxAutoExcel::wxExcelListObject::GetRange | ( | ) |
Returns a Range object that represents the range to which the specified list object in the above list applies.
wxString wxAutoExcel::wxExcelListObject::GetSharePointURL | ( | ) |
Returns a String representing the URL of the SharePoint list for a given ListObject object.
bool wxAutoExcel::wxExcelListObject::GetShowAutoFilter | ( | ) |
Returns Boolean to indicate whether the AutoFilter will be displayed.
void wxAutoExcel::wxExcelListObject::SetShowAutoFilter | ( | bool | showAutoFilter | ) |
Returns Boolean to indicate whether the AutoFilter will be displayed.
bool wxAutoExcel::wxExcelListObject::GetShowAutoFilterDropDown | ( | ) |
True when the AutoFilter drop down for the ListObject object is displayed.
void wxAutoExcel::wxExcelListObject::SetShowAutoFilterDropDown | ( | bool | showAutoFilterDropDown | ) |
True when the AutoFilter drop down for the ListObject object is displayed.
bool wxAutoExcel::wxExcelListObject::GetShowHeaders | ( | ) |
Returns if the header information should be displayed.
void wxAutoExcel::wxExcelListObject::SetShowHeaders | ( | bool | showHeaders | ) |
Sets if the header information should be displayed.
bool wxAutoExcel::wxExcelListObject::GetShowTableStyleColumnStripes | ( | ) |
Returns if the Column Stripes table style is used.
MSDN documentation for ListObject.ShowTableStyleColumnStripes
void wxAutoExcel::wxExcelListObject::SetShowTableStyleColumnStripes | ( | bool | showTableStyleColumnStripes | ) |
Sets if the Column Stripes table style is used.
MSDN documentation for ListObject.ShowTableStyleColumnStripes.
bool wxAutoExcel::wxExcelListObject::GetShowTableStyleFirstColumn | ( | ) |
Returns if the first column is formatted.
void wxAutoExcel::wxExcelListObject::SetShowTableStyleFirstColumn | ( | bool | showTableStyleFirstColumn | ) |
Sets if the first column is formatted.
MSDN documentation for ListObject.ShowTableStyleFirstColumn.
bool wxAutoExcel::wxExcelListObject::GetShowTableStyleLastColumn | ( | ) |
Returns if the last column is displayed.
void wxAutoExcel::wxExcelListObject::SetShowTableStyleLastColumn | ( | bool | showTableStyleLastColumn | ) |
Sets if the last column is displayed.
bool wxAutoExcel::wxExcelListObject::GetShowTableStyleRowStripes | ( | ) |
Returns if the Row Stripes table style is used.
void wxAutoExcel::wxExcelListObject::SetShowTableStyleRowStripes | ( | bool | showTableStyleRowStripes | ) |
Sets if the Row Stripes table style is used.
bool wxAutoExcel::wxExcelListObject::GetShowTotals | ( | ) |
Gets or sets a Boolean to indicate whether the Total row is visible.
void wxAutoExcel::wxExcelListObject::SetShowTotals | ( | bool | showTotals | ) |
Gets or sets a Boolean to indicate whether the Total row is visible.
wxExcelSort wxAutoExcel::wxExcelListObject::GetSort | ( | ) |
Gets or sets the sort column or columns, and sort order for the ListObject collection.
void wxAutoExcel::wxExcelListObject::SetSort | ( | wxExcelSort | sort | ) |
Gets or sets the sort column or columns, and sort order for the ListObject collection.
XlListObjectSourceType wxAutoExcel::wxExcelListObject::GetSourceType | ( | ) |
Returns a XlListObjectSourceType value that represents the current source of the list.
wxString wxAutoExcel::wxExcelListObject::GetSummary | ( | ) |
Returns the description associated with the alternative text string for the specified table.
void wxAutoExcel::wxExcelListObject::SetSummary | ( | const wxString & | summary | ) |
Sets the description associated with the alternative text string for the specified table.
wxExcelTableObject wxAutoExcel::wxExcelListObject::GetTableObject | ( | ) |
Returns a TableObject object.
wxExcelTableStyle wxAutoExcel::wxExcelListObject::GetTableStyle | ( | ) |
Gets the table style.
void wxAutoExcel::wxExcelListObject::SetTableStyle | ( | wxExcelTableStyle | tableStyle | ) |
Sets the table style.
wxExcelRange wxAutoExcel::wxExcelListObject::GetTotalsRowRange | ( | ) |
Returns a Range representing the Total row, if any.
|
inlinevirtual |
Returns "ListObject".
Reimplemented from wxAutoExcel::wxExcelObject.