wxAutoExcel
2.0.0
|
Represents Microsoft Excel Window object. More...
Public Member Functions | |
void | Activate () |
Brings the window to the front of the z-order. More... | |
bool | ActivateNext () |
Activates the specified window and then sends it to the back of the window z-order. More... | |
bool | ActivatePrevious () |
Activates the specified window and then activates the window at the back of the window z-order. More... | |
bool | Close () |
Closes the object. More... | |
bool | LargeScroll (long *down=NULL, long *up=NULL, long *toRight=NULL, long *toLeft=NULL) |
Scrolls the contents of the window by pages. More... | |
wxExcelWindow | NewWindow () |
Creates a new window or a copy of the specified window. More... | |
long | PointsToScreenPixelsX (double points) |
Converts a horizontal measurement from points (document coordinates) to screen pixels (screen coordinates). More... | |
long | PointsToScreenPixelsY (double points) |
Converts a vertical measurement from points (document coordinates) to screen pixels (screen coordinates). More... | |
bool | PrintOut (long *from=NULL, long *to=NULL, long *copies=NULL, wxXlTribool preview=wxDefaultXlTribool, const wxString &activePrinter=wxEmptyString, wxXlTribool printToFile=wxDefaultXlTribool, wxXlTribool collate=wxDefaultXlTribool, const wxString &prToFileName=wxEmptyString) |
Prints the object. More... | |
bool | PrintPreview (wxXlTribool enableChanges=wxDefaultXlTribool) |
Shows a preview of the object as it would look when printed. More... | |
bool | RangeFromPoint (long x, long y, wxExcelRange &range, wxExcelShape &shape) |
Returns Range or Shape that is positioned at the specified pair of screen coordinates, if there's any. More... | |
void | ScrollIntoView (long left, long top, long width, long height, wxXlTribool start=wxDefaultXlTribool) |
Scrolls the document window so that the contents of a specified rectangular area are displayed in either the upper-left or lower-right corner of the document window or pane (depending on the value of the Start argument). More... | |
bool | ScrollWorkbookTabs (long *sheets=NULL, long *position=NULL) |
Scrolls through the workbook tabs at the bottom of the window. More... | |
bool | SmallScroll (long *down=NULL, long *up=NULL, long *toRight=NULL, long *toLeft=NULL) |
Scrolls the contents of the window by rows or columns. More... | |
wxExcelRange | GetActiveCell () |
Returns a Range Represents the active cell in the active window (the window on top) or in the specified window. More... | |
wxExcelPane | GetActivePane () |
Returns a Pane Represents the active pane in the window. More... | |
wxExcelSheet | GetActiveSheet () |
Returns an Represents the active sheet (the sheet on top) in the active workbook or in the specified window or workbook. More... | |
bool | GetAutoFilterDateGrouping () |
True if the auto filter for date grouping is currently displayed in the specified window. More... | |
void | SetAutoFilterDateGrouping (bool autoFilterDateGrouping) |
True if the auto filter for date grouping is currently displayed in the specified window. More... | |
wxString | GetCaption () |
Returns the name that appears in the title bar of the document window. More... | |
void | SetCaption (const wxString &caption) |
Sets the name that appears in the title bar of the document window. More... | |
bool | GetDisplayFormulas () |
True if the window is displaying formulas; False if the window is displaying values. More... | |
void | SetDisplayFormulas (bool displayFormulas) |
True if the window is displaying formulas; False if the window is displaying values. More... | |
bool | GetDisplayGridlines () |
True if gridlines are displayed. More... | |
void | SetDisplayGridlines (bool displayGridlines) |
True if gridlines are displayed. More... | |
bool | GetDisplayHeadings () |
True if both row and column headings are displayed; False if no headings are displayed. More... | |
void | SetDisplayHeadings (bool displayHeadings) |
True if both row and column headings are displayed; False if no headings are displayed. More... | |
bool | GetDisplayHorizontalScrollBar () |
True if the horizontal scroll bar is displayed. More... | |
void | SetDisplayHorizontalScrollBar (bool displayHorizontalScrollBar) |
True if the horizontal scroll bar is displayed. More... | |
bool | GetDisplayOutline () |
True if outline symbols are displayed. More... | |
void | SetDisplayOutline (bool displayOutline) |
True if outline symbols are displayed. More... | |
bool | GetDisplayRightToLeft () |
True if the specified window is displayed from right to left instead of from left to right. More... | |
void | SetDisplayRightToLeft (bool displayRightToLeft) |
True if the specified window is displayed from right to left instead of from left to right. More... | |
bool | GetDisplayRuler () |
True if a ruler is displayed for the specified window. More... | |
void | SetDisplayRuler (bool displayRuler) |
True if a ruler is displayed for the specified window. More... | |
bool | GetDisplayVerticalScrollBar () |
True if the vertical scroll bar is displayed. More... | |
void | SetDisplayVerticalScrollBar (bool displayVerticalScrollBar) |
True if the vertical scroll bar is displayed. More... | |
bool | GetDisplayWhitespace () |
True if whitespace is displayed. More... | |
void | SetDisplayWhitespace (bool displayWhitespace) |
True if whitespace is displayed. More... | |
bool | GetDisplayWorkbookTabs () |
True if the workbook tabs are displayed. More... | |
void | SetDisplayWorkbookTabs (bool displayWorkbookTabs) |
True if the workbook tabs are displayed. More... | |
bool | GetDisplayZeros () |
True if zero values are displayed. More... | |
void | SetDisplayZeros (bool displayZeros) |
True if zero values are displayed. More... | |
bool | GetEnableResize () |
True if the window can be resized. More... | |
void | SetEnableResize (bool enableResize) |
True if the window can be resized. More... | |
bool | GetFreezePanes () |
True if split panes are frozen. More... | |
void | SetFreezePanes (bool freezePanes) |
True if split panes are frozen. More... | |
wxColour | GetGridlineColor () |
Returns the gridline color as an RGB value. More... | |
void | SetGridlineColor (const wxColour &gridlineColor) |
Sets the gridline color as an RGB value. More... | |
long | GetGridlineColorIndex () |
Returns the gridline color as an index into the current color palette or as the following XlColorIndex constant. More... | |
void | SetGridlineColorIndex (long gridlineColorIndex) |
Sets the gridline color as an index into the current color palette or as the following XlColorIndex constant. More... | |
double | GetHeight () |
Returns a Double value that represents tThe height, in points, of the window. More... | |
void | SetHeight (double height) |
Sets a Double value that represents tThe height, in points, of the window. More... | |
long | GetIndex () |
Returns a Long value that represents the index number of the object within the collection of similar objects. More... | |
double | GetLeft () |
Returns a Double value that represents the distance, in points, from the left edge of the client area to the left edge of the window. More... | |
void | SetLeft (double left) |
Sets a Double value that represents the distance, in points, from the left edge of the client area to the left edge of the window. More... | |
wxExcelPanes | GetPanes () |
Returns a Panes collection that represents all the panes in the specified window. More... | |
wxExcelRange | GetRangeSelection () |
Returns a Range Represents the selected cells on the worksheet in the specified window even if a graphic object is active or selected on the worksheet. More... | |
long | GetScrollColumn () |
Returns the number of the leftmost column in the pane or window. More... | |
void | SetScrollColumn (long scrollColumn) |
Sets the number of the leftmost column in the pane or window. More... | |
long | GetScrollRow () |
Returns the number of the row that appears at the top of the pane or window. More... | |
void | SetScrollRow (long scrollRow) |
Sets the number of the row that appears at the top of the pane or window. More... | |
wxExcelSheets | GetSelectedSheets () |
Returns a Sheets collection that represents all the selected sheets in the specified window. More... | |
wxExcelSheetViews | GetSheetViews () |
Returns the SheetViews object for the specified window. More... | |
bool | GetSplit () |
True if the window is split. More... | |
void | SetSplit (bool split) |
True if the window is split. More... | |
long | GetSplitColumn () |
Returns the column number where the window is split into panes (the number of columns to the left of the split line). More... | |
void | SetSplitColumn (long splitColumn) |
Sets the column number where the window is split into panes (the number of columns to the left of the split line). More... | |
double | GetSplitHorizontal () |
Returns the location of the horizontal window split, in points. More... | |
void | SetSplitHorizontal (double splitHorizontal) |
Sets the location of the horizontal window split, in points. More... | |
long | GetSplitRow () |
Returns the row number where the window is split into panes (the number of rows above the split). More... | |
void | SetSplitRow (long splitRow) |
Sets the row number where the window is split into panes (the number of rows above the split). More... | |
double | GetSplitVertical () |
Returns the location of the vertical window split, in points. More... | |
void | SetSplitVertical (double splitVertical) |
Sets the location of the vertical window split, in points. More... | |
double | GetTabRatio () |
Returns the ratio of the width of the workbook's tab area to the width of the window's horizontal scroll bar (as a number between 0 (zero) and 1; the default value is 0.6). More... | |
void | SetTabRatio (double tabRatio) |
Sets the ratio of the width of the workbook's tab area to the width of the window's horizontal scroll bar (as a number between 0 (zero) and 1; the default value is 0.6). More... | |
double | GetTop () |
Returns a Double value that represents the distance, in points, from the top edge of the window to the top edge of the usable area (below the menus, any toolbars docked at the top, and the formula bar). More... | |
void | SetTop (double top) |
Sets a Double value that represents the distance, in points, from the top edge of the window to the top edge of the usable area (below the menus, any toolbars docked at the top, and the formula bar). More... | |
XlWindowType | GetType () |
Returns a XlWindowType value that represents the window type. More... | |
void | SetType (XlWindowType type) |
Sets a XlWindowType value that represents the window type. More... | |
double | GetUsableHeight () |
Returns the maximum height of the space that a window can occupy in the application window area, in points. More... | |
double | GetUsableWidth () |
Returns the maximum width of the space that a window can occupy in the application window area, in points. More... | |
XlWindowView | GetView () |
Returns the view showing in the window. More... | |
void | SetView (XlWindowView view) |
Sets the view showing in the window. More... | |
bool | GetVisible () |
Returns a Boolean value that determines whether the object is visible. More... | |
void | SetVisible (bool visible) |
Sets a Boolean value that determines whether the object is visible. More... | |
wxExcelRange | GetVisibleRange () |
Returns a Range Represents the range of cells that are visible in the window or pane. More... | |
double | GetWidth () |
Returns a Double value that represents the width, in points, of the window. More... | |
void | SetWidth (double width) |
Sets a Double value that represents the width, in points, of the window. More... | |
long | GetWindowNumber () |
Returns the window number. More... | |
XlWindowState | GetWindowState () |
Returns the state of the window. More... | |
void | SetWindowState (XlWindowState windowState) |
Sets the state of the window. More... | |
long | GetZoom () |
Returns the display size of the window, as a percentage (100 equals normal size, 200 equals double size, and so on). More... | |
void | SetZoom (long zoom) |
Sets the display size of the window, as a percentage (100 equals normal size, 200 equals double size, and so on). More... | |
virtual wxString | GetAutoExcelObjectName_ () const |
Returns "Window". 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 Microsoft Excel Window object.
void wxAutoExcel::wxExcelWindow::Activate | ( | ) |
Brings the window to the front of the z-order.
bool wxAutoExcel::wxExcelWindow::ActivateNext | ( | ) |
Activates the specified window and then sends it to the back of the window z-order.
bool wxAutoExcel::wxExcelWindow::ActivatePrevious | ( | ) |
Activates the specified window and then activates the window at the back of the window z-order.
bool wxAutoExcel::wxExcelWindow::Close | ( | ) |
Closes the object.
bool wxAutoExcel::wxExcelWindow::LargeScroll | ( | long * | down = NULL , |
long * | up = NULL , |
||
long * | toRight = NULL , |
||
long * | toLeft = NULL |
||
) |
Scrolls the contents of the window by pages.
wxExcelWindow wxAutoExcel::wxExcelWindow::NewWindow | ( | ) |
Creates a new window or a copy of the specified window.
long wxAutoExcel::wxExcelWindow::PointsToScreenPixelsX | ( | double | points | ) |
Converts a horizontal measurement from points (document coordinates) to screen pixels (screen coordinates).
Returns the converted measurement as a Long value.
long wxAutoExcel::wxExcelWindow::PointsToScreenPixelsY | ( | double | points | ) |
Converts a vertical measurement from points (document coordinates) to screen pixels (screen coordinates).
Returns the converted measurement as a Long value.
bool wxAutoExcel::wxExcelWindow::PrintOut | ( | long * | from = NULL , |
long * | to = NULL , |
||
long * | copies = NULL , |
||
wxXlTribool | preview = wxDefaultXlTribool , |
||
const wxString & | activePrinter = wxEmptyString , |
||
wxXlTribool | printToFile = wxDefaultXlTribool , |
||
wxXlTribool | collate = wxDefaultXlTribool , |
||
const wxString & | prToFileName = wxEmptyString |
||
) |
Prints the object.
bool wxAutoExcel::wxExcelWindow::PrintPreview | ( | wxXlTribool | enableChanges = wxDefaultXlTribool | ) |
Shows a preview of the object as it would look when printed.
bool wxAutoExcel::wxExcelWindow::RangeFromPoint | ( | long | x, |
long | y, | ||
wxExcelRange & | range, | ||
wxExcelShape & | shape | ||
) |
Returns Range or Shape that is positioned at the specified pair of screen coordinates, if there's any.
void wxAutoExcel::wxExcelWindow::ScrollIntoView | ( | long | left, |
long | top, | ||
long | width, | ||
long | height, | ||
wxXlTribool | start = wxDefaultXlTribool |
||
) |
Scrolls the document window so that the contents of a specified rectangular area are displayed in either the upper-left or lower-right corner of the document window or pane (depending on the value of the Start argument).
bool wxAutoExcel::wxExcelWindow::ScrollWorkbookTabs | ( | long * | sheets = NULL , |
long * | position = NULL |
||
) |
Scrolls through the workbook tabs at the bottom of the window.
Doesn't affect the active sheet in the workbook.
bool wxAutoExcel::wxExcelWindow::SmallScroll | ( | long * | down = NULL , |
long * | up = NULL , |
||
long * | toRight = NULL , |
||
long * | toLeft = NULL |
||
) |
Scrolls the contents of the window by rows or columns.
wxExcelRange wxAutoExcel::wxExcelWindow::GetActiveCell | ( | ) |
Returns a Range Represents the active cell in the active window (the window on top) or in the specified window.
If the window isn't displaying a worksheet, this property fails.
wxExcelPane wxAutoExcel::wxExcelWindow::GetActivePane | ( | ) |
Returns a Pane Represents the active pane in the window.
wxExcelSheet wxAutoExcel::wxExcelWindow::GetActiveSheet | ( | ) |
Returns an Represents the active sheet (the sheet on top) in the active workbook or in the specified window or workbook.
Returns Nothing if no sheet is active.
bool wxAutoExcel::wxExcelWindow::GetAutoFilterDateGrouping | ( | ) |
True if the auto filter for date grouping is currently displayed in the specified window.
Since Excel 2007.
void wxAutoExcel::wxExcelWindow::SetAutoFilterDateGrouping | ( | bool | autoFilterDateGrouping | ) |
True if the auto filter for date grouping is currently displayed in the specified window.
wxString wxAutoExcel::wxExcelWindow::GetCaption | ( | ) |
Returns the name that appears in the title bar of the document window.
void wxAutoExcel::wxExcelWindow::SetCaption | ( | const wxString & | caption | ) |
Sets the name that appears in the title bar of the document window.
bool wxAutoExcel::wxExcelWindow::GetDisplayFormulas | ( | ) |
True if the window is displaying formulas; False if the window is displaying values.
void wxAutoExcel::wxExcelWindow::SetDisplayFormulas | ( | bool | displayFormulas | ) |
True if the window is displaying formulas; False if the window is displaying values.
bool wxAutoExcel::wxExcelWindow::GetDisplayGridlines | ( | ) |
True if gridlines are displayed.
void wxAutoExcel::wxExcelWindow::SetDisplayGridlines | ( | bool | displayGridlines | ) |
True if gridlines are displayed.
bool wxAutoExcel::wxExcelWindow::GetDisplayHeadings | ( | ) |
True if both row and column headings are displayed; False if no headings are displayed.
void wxAutoExcel::wxExcelWindow::SetDisplayHeadings | ( | bool | displayHeadings | ) |
True if both row and column headings are displayed; False if no headings are displayed.
bool wxAutoExcel::wxExcelWindow::GetDisplayHorizontalScrollBar | ( | ) |
True if the horizontal scroll bar is displayed.
void wxAutoExcel::wxExcelWindow::SetDisplayHorizontalScrollBar | ( | bool | displayHorizontalScrollBar | ) |
True if the horizontal scroll bar is displayed.
bool wxAutoExcel::wxExcelWindow::GetDisplayOutline | ( | ) |
True if outline symbols are displayed.
void wxAutoExcel::wxExcelWindow::SetDisplayOutline | ( | bool | displayOutline | ) |
True if outline symbols are displayed.
bool wxAutoExcel::wxExcelWindow::GetDisplayRightToLeft | ( | ) |
True if the specified window is displayed from right to left instead of from left to right.
False if the object is displayed from left to right.
void wxAutoExcel::wxExcelWindow::SetDisplayRightToLeft | ( | bool | displayRightToLeft | ) |
True if the specified window is displayed from right to left instead of from left to right.
False if the object is displayed from left to right.
bool wxAutoExcel::wxExcelWindow::GetDisplayRuler | ( | ) |
True if a ruler is displayed for the specified window.
Since Excel 2007.
void wxAutoExcel::wxExcelWindow::SetDisplayRuler | ( | bool | displayRuler | ) |
True if a ruler is displayed for the specified window.
bool wxAutoExcel::wxExcelWindow::GetDisplayVerticalScrollBar | ( | ) |
True if the vertical scroll bar is displayed.
void wxAutoExcel::wxExcelWindow::SetDisplayVerticalScrollBar | ( | bool | displayVerticalScrollBar | ) |
True if the vertical scroll bar is displayed.
bool wxAutoExcel::wxExcelWindow::GetDisplayWhitespace | ( | ) |
void wxAutoExcel::wxExcelWindow::SetDisplayWhitespace | ( | bool | displayWhitespace | ) |
True if whitespace is displayed.
bool wxAutoExcel::wxExcelWindow::GetDisplayWorkbookTabs | ( | ) |
True if the workbook tabs are displayed.
void wxAutoExcel::wxExcelWindow::SetDisplayWorkbookTabs | ( | bool | displayWorkbookTabs | ) |
True if the workbook tabs are displayed.
bool wxAutoExcel::wxExcelWindow::GetDisplayZeros | ( | ) |
True if zero values are displayed.
void wxAutoExcel::wxExcelWindow::SetDisplayZeros | ( | bool | displayZeros | ) |
True if zero values are displayed.
bool wxAutoExcel::wxExcelWindow::GetEnableResize | ( | ) |
True if the window can be resized.
void wxAutoExcel::wxExcelWindow::SetEnableResize | ( | bool | enableResize | ) |
True if the window can be resized.
bool wxAutoExcel::wxExcelWindow::GetFreezePanes | ( | ) |
True if split panes are frozen.
void wxAutoExcel::wxExcelWindow::SetFreezePanes | ( | bool | freezePanes | ) |
True if split panes are frozen.
wxColour wxAutoExcel::wxExcelWindow::GetGridlineColor | ( | ) |
Returns the gridline color as an RGB value.
void wxAutoExcel::wxExcelWindow::SetGridlineColor | ( | const wxColour & | gridlineColor | ) |
Sets the gridline color as an RGB value.
long wxAutoExcel::wxExcelWindow::GetGridlineColorIndex | ( | ) |
Returns the gridline color as an index into the current color palette or as the following XlColorIndex constant.
void wxAutoExcel::wxExcelWindow::SetGridlineColorIndex | ( | long | gridlineColorIndex | ) |
Sets the gridline color as an index into the current color palette or as the following XlColorIndex constant.
double wxAutoExcel::wxExcelWindow::GetHeight | ( | ) |
Returns a Double value that represents tThe height, in points, of the window.
void wxAutoExcel::wxExcelWindow::SetHeight | ( | double | height | ) |
Sets a Double value that represents tThe height, in points, of the window.
long wxAutoExcel::wxExcelWindow::GetIndex | ( | ) |
Returns a Long value that represents the index number of the object within the collection of similar objects.
double wxAutoExcel::wxExcelWindow::GetLeft | ( | ) |
Returns a Double value that represents the distance, in points, from the left edge of the client area to the left edge of the window.
void wxAutoExcel::wxExcelWindow::SetLeft | ( | double | left | ) |
Sets a Double value that represents the distance, in points, from the left edge of the client area to the left edge of the window.
wxExcelPanes wxAutoExcel::wxExcelWindow::GetPanes | ( | ) |
Returns a Panes collection that represents all the panes in the specified window.
wxExcelRange wxAutoExcel::wxExcelWindow::GetRangeSelection | ( | ) |
Returns a Range Represents the selected cells on the worksheet in the specified window even if a graphic object is active or selected on the worksheet.
long wxAutoExcel::wxExcelWindow::GetScrollColumn | ( | ) |
Returns the number of the leftmost column in the pane or window.
void wxAutoExcel::wxExcelWindow::SetScrollColumn | ( | long | scrollColumn | ) |
Sets the number of the leftmost column in the pane or window.
long wxAutoExcel::wxExcelWindow::GetScrollRow | ( | ) |
Returns the number of the row that appears at the top of the pane or window.
void wxAutoExcel::wxExcelWindow::SetScrollRow | ( | long | scrollRow | ) |
Sets the number of the row that appears at the top of the pane or window.
wxExcelSheets wxAutoExcel::wxExcelWindow::GetSelectedSheets | ( | ) |
Returns a Sheets collection that represents all the selected sheets in the specified window.
wxExcelSheetViews wxAutoExcel::wxExcelWindow::GetSheetViews | ( | ) |
Returns the SheetViews object for the specified window.
Since Excel 2007.
bool wxAutoExcel::wxExcelWindow::GetSplit | ( | ) |
True if the window is split.
void wxAutoExcel::wxExcelWindow::SetSplit | ( | bool | split | ) |
True if the window is split.
long wxAutoExcel::wxExcelWindow::GetSplitColumn | ( | ) |
Returns the column number where the window is split into panes (the number of columns to the left of the split line).
void wxAutoExcel::wxExcelWindow::SetSplitColumn | ( | long | splitColumn | ) |
Sets the column number where the window is split into panes (the number of columns to the left of the split line).
double wxAutoExcel::wxExcelWindow::GetSplitHorizontal | ( | ) |
Returns the location of the horizontal window split, in points.
Read/write Double.
void wxAutoExcel::wxExcelWindow::SetSplitHorizontal | ( | double | splitHorizontal | ) |
Sets the location of the horizontal window split, in points.
Read/write Double.
long wxAutoExcel::wxExcelWindow::GetSplitRow | ( | ) |
Returns the row number where the window is split into panes (the number of rows above the split).
void wxAutoExcel::wxExcelWindow::SetSplitRow | ( | long | splitRow | ) |
Sets the row number where the window is split into panes (the number of rows above the split).
double wxAutoExcel::wxExcelWindow::GetSplitVertical | ( | ) |
Returns the location of the vertical window split, in points.
Read/write Double.
void wxAutoExcel::wxExcelWindow::SetSplitVertical | ( | double | splitVertical | ) |
Sets the location of the vertical window split, in points.
Read/write Double.
double wxAutoExcel::wxExcelWindow::GetTabRatio | ( | ) |
Returns the ratio of the width of the workbook's tab area to the width of the window's horizontal scroll bar (as a number between 0 (zero) and 1; the default value is 0.6).
Read/write Double.
void wxAutoExcel::wxExcelWindow::SetTabRatio | ( | double | tabRatio | ) |
Sets the ratio of the width of the workbook's tab area to the width of the window's horizontal scroll bar (as a number between 0 (zero) and 1; the default value is 0.6).
Read/write Double.
double wxAutoExcel::wxExcelWindow::GetTop | ( | ) |
Returns a Double value that represents the distance, in points, from the top edge of the window to the top edge of the usable area (below the menus, any toolbars docked at the top, and the formula bar).
void wxAutoExcel::wxExcelWindow::SetTop | ( | double | top | ) |
Sets a Double value that represents the distance, in points, from the top edge of the window to the top edge of the usable area (below the menus, any toolbars docked at the top, and the formula bar).
XlWindowType wxAutoExcel::wxExcelWindow::GetType | ( | ) |
Returns a XlWindowType value that represents the window type.
void wxAutoExcel::wxExcelWindow::SetType | ( | XlWindowType | type | ) |
Sets a XlWindowType value that represents the window type.
double wxAutoExcel::wxExcelWindow::GetUsableHeight | ( | ) |
Returns the maximum height of the space that a window can occupy in the application window area, in points.
Read-only Double.
double wxAutoExcel::wxExcelWindow::GetUsableWidth | ( | ) |
Returns the maximum width of the space that a window can occupy in the application window area, in points.
Read-only Double.
XlWindowView wxAutoExcel::wxExcelWindow::GetView | ( | ) |
Returns the view showing in the window.
Read/write XlWindowView.
void wxAutoExcel::wxExcelWindow::SetView | ( | XlWindowView | view | ) |
bool wxAutoExcel::wxExcelWindow::GetVisible | ( | ) |
Returns a Boolean value that determines whether the object is visible.
void wxAutoExcel::wxExcelWindow::SetVisible | ( | bool | visible | ) |
Sets a Boolean value that determines whether the object is visible.
wxExcelRange wxAutoExcel::wxExcelWindow::GetVisibleRange | ( | ) |
Returns a Range Represents the range of cells that are visible in the window or pane.
If a column or row is partially visible, it's included in the range.
double wxAutoExcel::wxExcelWindow::GetWidth | ( | ) |
Returns a Double value that represents the width, in points, of the window.
void wxAutoExcel::wxExcelWindow::SetWidth | ( | double | width | ) |
Sets a Double value that represents the width, in points, of the window.
long wxAutoExcel::wxExcelWindow::GetWindowNumber | ( | ) |
Returns the window number.
For example, a window named "Book1.xls:2" has 2 as its window number. Most windows have the window number 1.
XlWindowState wxAutoExcel::wxExcelWindow::GetWindowState | ( | ) |
Returns the state of the window.
Read/write XlWindowState.
void wxAutoExcel::wxExcelWindow::SetWindowState | ( | XlWindowState | windowState | ) |
long wxAutoExcel::wxExcelWindow::GetZoom | ( | ) |
Returns the display size of the window, as a percentage (100 equals normal size, 200 equals double size, and so on).
void wxAutoExcel::wxExcelWindow::SetZoom | ( | long | zoom | ) |
Sets the display size of the window, as a percentage (100 equals normal size, 200 equals double size, and so on).
|
inlinevirtual |
Returns "Window".
Reimplemented from wxAutoExcel::wxExcelObject.