wxAutoExcel
2.0.0
|
Represents Microsoft Excel PageSetup object. More...
Public Member Functions | |
bool | GetAlignMarginsHeaderFooter () |
True if the header and the footer are aligned. More... | |
void | SetAlignMarginsHeaderFooter (bool alignMarginsHeaderFooter) |
True if the header and the footer are aligned. More... | |
bool | GetBlackAndWhite () |
True if elements of the document will be printed in black and white. More... | |
void | SetBlackAndWhite (bool blackAndWhite) |
True if elements of the document will be printed in black and white. More... | |
double | GetBottomMargin () |
Returns the size of the bottom margin, in points. More... | |
void | SetBottomMargin (double bottomMargin) |
Sets the size of the bottom margin, in points. More... | |
wxString | GetCenterFooter () |
Returns the center footer. More... | |
void | SetCenterFooter (const wxString ¢erFooter) |
Sets the center footer. More... | |
wxExcelGraphic | GetCenterFooterPicture () |
Returns a Graphic Represents the picture for the center section of the footer. More... | |
wxString | GetCenterHeader () |
Returns the center heaer. More... | |
void | SetCenterHeader (const wxString ¢erHeader) |
Sets the center heaer. More... | |
wxExcelGraphic | GetCenterHeaderPicture () |
Returns a Graphic Represents the picture for the center section of the header. More... | |
bool | GetCenterHorizontally () |
True if the sheet is centered horizontally on the page when it's printed. More... | |
void | SetCenterHorizontally (bool centerHorizontally) |
True if the sheet is centered horizontally on the page when it's printed. More... | |
bool | GetCenterVertically () |
True if the sheet is centered vertically on the page when it's printed. More... | |
void | SetCenterVertically (bool centerVertically) |
True if the sheet is centered vertically on the page when it's printed. More... | |
bool | GetDifferentFirstPageHeaderFooter () |
True if a different header or footer is used on the first page. More... | |
void | SetDifferentFirstPageHeaderFooter (bool differentFirstPageHeaderFooter) |
True if a different header or footer is used on the first page. More... | |
bool | GetDraft () |
True if the sheet will be printed without graphics. More... | |
void | SetDraft (bool draft) |
True if the sheet will be printed without graphics. More... | |
wxExcelPage | GetEvenPage () |
Returns the page settings for the even pages. More... | |
wxExcelPage | GetFirstPage () |
Returns the page settings for the first page. More... | |
long | GetFirstPageNumber () |
Returns the first page number that will be used when this sheet is printed. More... | |
void | SetFirstPageNumber (long firstPageNumber) |
Sets the first page number that will be used when this sheet is printed. More... | |
long | GetFitToPagesTall () |
Returns the number of pages tall the worksheet will be scaled to when it's printed. More... | |
void | SetFitToPagesTall (long fitToPagesTall) |
Sets the number of pages tall the worksheet will be scaled to when it's printed. More... | |
long | GetFitToPagesWide () |
Returns the number of pages wide the worksheet will be scaled to when it's printed. More... | |
void | SetFitToPagesWide (long fitToPagesWide) |
Sets the number of pages wide the worksheet will be scaled to when it's printed. More... | |
double | GetFooterMargin () |
Returns the distance from the bottom of the page to the footer, in points. More... | |
void | SetFooterMargin (double footerMargin) |
Sets the distance from the bottom of the page to the footer, in points. More... | |
double | GetHeaderMargin () |
Returns the distance from the top of the page to the header, in points. More... | |
void | SetHeaderMargin (double headerMargin) |
Sets the distance from the top of the page to the header, in points. More... | |
wxString | GetLeftFooter () |
Returns the left footer. More... | |
void | SetLeftFooter (const wxString &leftFooter) |
Sets the left footer. More... | |
wxExcelGraphic | GetLeftFooterPicture () |
Returns a Graphic Represents the picture for the left section of the footer. More... | |
wxString | GetLeftHeader () |
Returns the left header. More... | |
void | SetLeftHeader (const wxString &leftHeader) |
Sets the left header. More... | |
wxExcelGraphic | GetLeftHeaderPicture () |
Returns a Graphic Represents the picture for the left section of the header. More... | |
double | GetLeftMargin () |
Returns the size of the left margin, in points. More... | |
void | SetLeftMargin (double leftMargin) |
Sets the size of the left margin, in points. More... | |
bool | GetOddAndEvenPagesHeaderFooter () |
True if different headers and footers for odd-numbered and even-numbered pages. More... | |
void | SetOddAndEvenPagesHeaderFooter (bool oddAndEvenPagesHeaderFooter) |
True if different headers and footers for odd-numbered and even-numbered pages. More... | |
XlOrder | GetOrder () |
Returns a XlOrder value that represents the order that Microsoft Excel uses to number pages when printing a large worksheet. More... | |
void | SetOrder (XlOrder order) |
Sets a XlOrder value that represents the order that Microsoft Excel uses to number pages when printing a large worksheet. More... | |
XlPageOrientation | GetOrientation () |
Returns a XlPageOrientation value that represents the portrait or landscape printing mode. More... | |
void | SetOrientation (XlPageOrientation orientation) |
Sets a XlPageOrientation value that represents the portrait or landscape printing mode. More... | |
wxExcelPages | GetPages () |
Returns Pages collection. More... | |
XlPaperSize | GetPaperSize () |
Returns the size of the paper. More... | |
void | SetPaperSize (XlPaperSize paperSize) |
Sets the size of the paper. More... | |
wxString | GetPrintArea () |
Returns the range to be printed, as a string using A1-style references in the language of the macro. More... | |
void | SetPrintArea (const wxString &printArea) |
Sets the range to be printed, as a string using A1-style references in the language of the macro. More... | |
XlPrintLocation | GetPrintComments () |
Returns the way comments are printed with the sheet. More... | |
void | SetPrintComments (XlPrintLocation printComments) |
Sets the way comments are printed with the sheet. More... | |
XlPrintErrors | GetPrintErrors () |
Returns an XlPrintErrors contstant specifying the type of print error displayed. More... | |
void | SetPrintErrors (XlPrintErrors printErrors) |
Sets an XlPrintErrors contstant specifying the type of print error displayed. More... | |
bool | GetPrintGridlines () |
True if cell gridlines are printed on the page. More... | |
void | SetPrintGridlines (bool printGridlines) |
True if cell gridlines are printed on the page. More... | |
bool | GetPrintHeadings () |
True if row and column headings are printed with this page. More... | |
void | SetPrintHeadings (bool printHeadings) |
True if row and column headings are printed with this page. More... | |
bool | GetPrintNotes () |
True if cell notes are printed as end notes with the sheet. More... | |
void | SetPrintNotes (bool printNotes) |
True if cell notes are printed as end notes with the sheet. More... | |
long | GetPrintQuality (int index) |
Returns the print quality. More... | |
void | SetPrintQuality (int index, long quality) |
Sets the print quality. More... | |
wxString | GetPrintTitleColumns () |
Returns the columns that contain the cells to be repeated on the left side of each page, as a string in A1-style notation in the language of the macro. More... | |
void | SetPrintTitleColumns (const wxString &printTitleColumns) |
Sets the columns that contain the cells to be repeated on the left side of each page, as a string in A1-style notation in the language of the macro. More... | |
wxString | GetPrintTitleRows () |
Returns the rows that contain the cells to be repeated at the top of each page, as a string in A1-style notation in the language of the macro. More... | |
void | SetPrintTitleRows (const wxString &printTitleRows) |
Sets the rows that contain the cells to be repeated at the top of each page, as a string in A1-style notation in the language of the macro. More... | |
wxString | GetRightFooter () |
Returns the right part of the footer. More... | |
void | SetRightFooter (const wxString &rightFooter) |
Sets the right part of the footer. More... | |
wxExcelGraphic | GetRightFooterPicture () |
Returns a Graphic Represents the picture for the right section of the footer. More... | |
wxString | GetRightHeader () |
Returns the right part of the header. More... | |
void | SetRightHeader (const wxString &rightHeader) |
Sets the right part of the header. More... | |
wxExcelGraphic | GetRightHeaderPicture () |
Returns a Graphic Represents the picture for the right section of the header. More... | |
double | GetRightMargin () |
Returns the size of the right margin, in points. More... | |
void | SetRightMargin (double rightMargin) |
Sets the size of the right margin, in points. More... | |
bool | GetScaleWithDocHeaderFooter () |
True if the header and footer should be scaled with the document when the size of the document changes. More... | |
void | SetScaleWithDocHeaderFooter (bool scaleWithDocHeaderFooter) |
True if the header and footer should be scaled with the document when the size of the document changes. More... | |
double | GetTopMargin () |
Returns the size of the top margin, in points. More... | |
void | SetTopMargin (double topMargin) |
Sets the size of the top margin, in points. More... | |
long | GetZoom () |
Returns a value that represents a percentage (between 10 and 400 percent) by which Microsoft Excel will scale the worksheet for printing. More... | |
void | SetZoom (long zoom) |
Sets a value that represents a percentage (between 10 and 400 percent) by which Microsoft Excel will scale the worksheet for printing. More... | |
virtual wxString | GetAutoExcelObjectName_ () const |
Returns "PageSetup". 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 PageSetup object.
bool wxAutoExcel::wxExcelPageSetup::GetAlignMarginsHeaderFooter | ( | ) |
True if the header and the footer are aligned.
with the margins set in the page setup options. Since Excel 2007.
void wxAutoExcel::wxExcelPageSetup::SetAlignMarginsHeaderFooter | ( | bool | alignMarginsHeaderFooter | ) |
True if the header and the footer are aligned.
with the margins set in the page setup options. Since Excel 2007.
bool wxAutoExcel::wxExcelPageSetup::GetBlackAndWhite | ( | ) |
True if elements of the document will be printed in black and white.
void wxAutoExcel::wxExcelPageSetup::SetBlackAndWhite | ( | bool | blackAndWhite | ) |
True if elements of the document will be printed in black and white.
double wxAutoExcel::wxExcelPageSetup::GetBottomMargin | ( | ) |
Returns the size of the bottom margin, in points.
void wxAutoExcel::wxExcelPageSetup::SetBottomMargin | ( | double | bottomMargin | ) |
Sets the size of the bottom margin, in points.
wxString wxAutoExcel::wxExcelPageSetup::GetCenterFooter | ( | ) |
Returns the center footer.
void wxAutoExcel::wxExcelPageSetup::SetCenterFooter | ( | const wxString & | centerFooter | ) |
Sets the center footer.
wxExcelGraphic wxAutoExcel::wxExcelPageSetup::GetCenterFooterPicture | ( | ) |
Returns a Graphic Represents the picture for the center section of the footer.
Used to set attributes about the picture.
wxString wxAutoExcel::wxExcelPageSetup::GetCenterHeader | ( | ) |
Returns the center heaer.
void wxAutoExcel::wxExcelPageSetup::SetCenterHeader | ( | const wxString & | centerHeader | ) |
Sets the center heaer.
wxExcelGraphic wxAutoExcel::wxExcelPageSetup::GetCenterHeaderPicture | ( | ) |
Returns a Graphic Represents the picture for the center section of the header.
Used to set attributes about the picture.
bool wxAutoExcel::wxExcelPageSetup::GetCenterHorizontally | ( | ) |
True if the sheet is centered horizontally on the page when it's printed.
void wxAutoExcel::wxExcelPageSetup::SetCenterHorizontally | ( | bool | centerHorizontally | ) |
True if the sheet is centered horizontally on the page when it's printed.
bool wxAutoExcel::wxExcelPageSetup::GetCenterVertically | ( | ) |
True if the sheet is centered vertically on the page when it's printed.
void wxAutoExcel::wxExcelPageSetup::SetCenterVertically | ( | bool | centerVertically | ) |
True if the sheet is centered vertically on the page when it's printed.
bool wxAutoExcel::wxExcelPageSetup::GetDifferentFirstPageHeaderFooter | ( | ) |
True if a different header or footer is used on the first page.
MSDN documentation for PageSetup.DifferentFirstPageHeaderFooter.
void wxAutoExcel::wxExcelPageSetup::SetDifferentFirstPageHeaderFooter | ( | bool | differentFirstPageHeaderFooter | ) |
True if a different header or footer is used on the first page.
MSDN documentation for PageSetup.DifferentFirstPageHeaderFooter.
bool wxAutoExcel::wxExcelPageSetup::GetDraft | ( | ) |
True if the sheet will be printed without graphics.
void wxAutoExcel::wxExcelPageSetup::SetDraft | ( | bool | draft | ) |
True if the sheet will be printed without graphics.
wxExcelPage wxAutoExcel::wxExcelPageSetup::GetEvenPage | ( | ) |
Returns the page settings for the even pages.
Since Excel 2007.
wxExcelPage wxAutoExcel::wxExcelPageSetup::GetFirstPage | ( | ) |
Returns the page settings for the first page.
Since Excel 2007.
long wxAutoExcel::wxExcelPageSetup::GetFirstPageNumber | ( | ) |
Returns the first page number that will be used when this sheet is printed.
If xlAutomatic, Microsoft Excel chooses the first page number. The default is xlAutomatic.
void wxAutoExcel::wxExcelPageSetup::SetFirstPageNumber | ( | long | firstPageNumber | ) |
Sets the first page number that will be used when this sheet is printed.
If xlAutomatic, Microsoft Excel chooses the first page number. The default is xlAutomatic.
long wxAutoExcel::wxExcelPageSetup::GetFitToPagesTall | ( | ) |
Returns the number of pages tall the worksheet will be scaled to when it's printed.
Applies only to worksheets.
void wxAutoExcel::wxExcelPageSetup::SetFitToPagesTall | ( | long | fitToPagesTall | ) |
Sets the number of pages tall the worksheet will be scaled to when it's printed.
Applies only to worksheets.
long wxAutoExcel::wxExcelPageSetup::GetFitToPagesWide | ( | ) |
Returns the number of pages wide the worksheet will be scaled to when it's printed.
Applies only to worksheets.
void wxAutoExcel::wxExcelPageSetup::SetFitToPagesWide | ( | long | fitToPagesWide | ) |
Sets the number of pages wide the worksheet will be scaled to when it's printed.
Applies only to worksheets.
double wxAutoExcel::wxExcelPageSetup::GetFooterMargin | ( | ) |
Returns the distance from the bottom of the page to the footer, in points.
void wxAutoExcel::wxExcelPageSetup::SetFooterMargin | ( | double | footerMargin | ) |
Sets the distance from the bottom of the page to the footer, in points.
double wxAutoExcel::wxExcelPageSetup::GetHeaderMargin | ( | ) |
Returns the distance from the top of the page to the header, in points.
void wxAutoExcel::wxExcelPageSetup::SetHeaderMargin | ( | double | headerMargin | ) |
Sets the distance from the top of the page to the header, in points.
wxString wxAutoExcel::wxExcelPageSetup::GetLeftFooter | ( | ) |
Returns the left footer.
void wxAutoExcel::wxExcelPageSetup::SetLeftFooter | ( | const wxString & | leftFooter | ) |
Sets the left footer.
wxExcelGraphic wxAutoExcel::wxExcelPageSetup::GetLeftFooterPicture | ( | ) |
Returns a Graphic Represents the picture for the left section of the footer.
Used to set attributes about the picture.
wxString wxAutoExcel::wxExcelPageSetup::GetLeftHeader | ( | ) |
Returns the left header.
void wxAutoExcel::wxExcelPageSetup::SetLeftHeader | ( | const wxString & | leftHeader | ) |
Sets the left header.
wxExcelGraphic wxAutoExcel::wxExcelPageSetup::GetLeftHeaderPicture | ( | ) |
Returns a Graphic Represents the picture for the left section of the header.
Used to set attributes about the picture.
double wxAutoExcel::wxExcelPageSetup::GetLeftMargin | ( | ) |
Returns the size of the left margin, in points.
void wxAutoExcel::wxExcelPageSetup::SetLeftMargin | ( | double | leftMargin | ) |
Sets the size of the left margin, in points.
bool wxAutoExcel::wxExcelPageSetup::GetOddAndEvenPagesHeaderFooter | ( | ) |
True if different headers and footers for odd-numbered and even-numbered pages.
Since Excel 2007.
MSDN documentation for PageSetup.OddAndEvenPagesHeaderFooter.
void wxAutoExcel::wxExcelPageSetup::SetOddAndEvenPagesHeaderFooter | ( | bool | oddAndEvenPagesHeaderFooter | ) |
True if different headers and footers for odd-numbered and even-numbered pages.
Since Excel 2007.
MSDN documentation for PageSetup.OddAndEvenPagesHeaderFooter.
XlOrder wxAutoExcel::wxExcelPageSetup::GetOrder | ( | ) |
Returns a XlOrder value that represents the order that Microsoft Excel uses to number pages when printing a large worksheet.
void wxAutoExcel::wxExcelPageSetup::SetOrder | ( | XlOrder | order | ) |
Sets a XlOrder value that represents the order that Microsoft Excel uses to number pages when printing a large worksheet.
XlPageOrientation wxAutoExcel::wxExcelPageSetup::GetOrientation | ( | ) |
Returns a XlPageOrientation value that represents the portrait or landscape printing mode.
void wxAutoExcel::wxExcelPageSetup::SetOrientation | ( | XlPageOrientation | orientation | ) |
Sets a XlPageOrientation value that represents the portrait or landscape printing mode.
wxExcelPages wxAutoExcel::wxExcelPageSetup::GetPages | ( | ) |
XlPaperSize wxAutoExcel::wxExcelPageSetup::GetPaperSize | ( | ) |
void wxAutoExcel::wxExcelPageSetup::SetPaperSize | ( | XlPaperSize | paperSize | ) |
wxString wxAutoExcel::wxExcelPageSetup::GetPrintArea | ( | ) |
Returns the range to be printed, as a string using A1-style references in the language of the macro.
void wxAutoExcel::wxExcelPageSetup::SetPrintArea | ( | const wxString & | printArea | ) |
Sets the range to be printed, as a string using A1-style references in the language of the macro.
XlPrintLocation wxAutoExcel::wxExcelPageSetup::GetPrintComments | ( | ) |
Returns the way comments are printed with the sheet.
Read/write XlPrintLocation.
void wxAutoExcel::wxExcelPageSetup::SetPrintComments | ( | XlPrintLocation | printComments | ) |
Sets the way comments are printed with the sheet.
Read/write XlPrintLocation.
XlPrintErrors wxAutoExcel::wxExcelPageSetup::GetPrintErrors | ( | ) |
Returns an XlPrintErrors contstant specifying the type of print error displayed.
This feature allows users to suppress the display of error values when printing a worksheet.
void wxAutoExcel::wxExcelPageSetup::SetPrintErrors | ( | XlPrintErrors | printErrors | ) |
Sets an XlPrintErrors contstant specifying the type of print error displayed.
This feature allows users to suppress the display of error values when printing a worksheet.
bool wxAutoExcel::wxExcelPageSetup::GetPrintGridlines | ( | ) |
True if cell gridlines are printed on the page.
Applies only to worksheets.
void wxAutoExcel::wxExcelPageSetup::SetPrintGridlines | ( | bool | printGridlines | ) |
True if cell gridlines are printed on the page.
Applies only to worksheets.
bool wxAutoExcel::wxExcelPageSetup::GetPrintHeadings | ( | ) |
True if row and column headings are printed with this page.
Applies only to worksheets.
void wxAutoExcel::wxExcelPageSetup::SetPrintHeadings | ( | bool | printHeadings | ) |
True if row and column headings are printed with this page.
Applies only to worksheets.
bool wxAutoExcel::wxExcelPageSetup::GetPrintNotes | ( | ) |
True if cell notes are printed as end notes with the sheet.
Applies only to worksheets.
void wxAutoExcel::wxExcelPageSetup::SetPrintNotes | ( | bool | printNotes | ) |
True if cell notes are printed as end notes with the sheet.
Applies only to worksheets.
long wxAutoExcel::wxExcelPageSetup::GetPrintQuality | ( | int | index | ) |
Returns the print quality.
Index can be either 1 for horizontal quality or 2 for vertical quality, which a printer may not support
void wxAutoExcel::wxExcelPageSetup::SetPrintQuality | ( | int | index, |
long | quality | ||
) |
Sets the print quality.
Index can be either 1 for horizontal quality or 2 for vertical quality, which a printer may not support
wxString wxAutoExcel::wxExcelPageSetup::GetPrintTitleColumns | ( | ) |
Returns the columns that contain the cells to be repeated on the left side of each page, as a string in A1-style notation in the language of the macro.
void wxAutoExcel::wxExcelPageSetup::SetPrintTitleColumns | ( | const wxString & | printTitleColumns | ) |
Sets the columns that contain the cells to be repeated on the left side of each page, as a string in A1-style notation in the language of the macro.
wxString wxAutoExcel::wxExcelPageSetup::GetPrintTitleRows | ( | ) |
Returns the rows that contain the cells to be repeated at the top of each page, as a string in A1-style notation in the language of the macro.
void wxAutoExcel::wxExcelPageSetup::SetPrintTitleRows | ( | const wxString & | printTitleRows | ) |
Sets the rows that contain the cells to be repeated at the top of each page, as a string in A1-style notation in the language of the macro.
wxString wxAutoExcel::wxExcelPageSetup::GetRightFooter | ( | ) |
Returns the right part of the footer.
Since Excel 2007.
void wxAutoExcel::wxExcelPageSetup::SetRightFooter | ( | const wxString & | rightFooter | ) |
Sets the right part of the footer.
wxExcelGraphic wxAutoExcel::wxExcelPageSetup::GetRightFooterPicture | ( | ) |
Returns a Graphic Represents the picture for the right section of the footer.
Used to set attributes about the picture.
wxString wxAutoExcel::wxExcelPageSetup::GetRightHeader | ( | ) |
Returns the right part of the header.
void wxAutoExcel::wxExcelPageSetup::SetRightHeader | ( | const wxString & | rightHeader | ) |
Sets the right part of the header.
wxExcelGraphic wxAutoExcel::wxExcelPageSetup::GetRightHeaderPicture | ( | ) |
Returns a Graphic Represents the picture for the right section of the header.
Used to set attributes about the picture.
double wxAutoExcel::wxExcelPageSetup::GetRightMargin | ( | ) |
Returns the size of the right margin, in points.
void wxAutoExcel::wxExcelPageSetup::SetRightMargin | ( | double | rightMargin | ) |
Sets the size of the right margin, in points.
bool wxAutoExcel::wxExcelPageSetup::GetScaleWithDocHeaderFooter | ( | ) |
True if the header and footer should be scaled with the document when the size of the document changes.
Since Excel 2007.
void wxAutoExcel::wxExcelPageSetup::SetScaleWithDocHeaderFooter | ( | bool | scaleWithDocHeaderFooter | ) |
True if the header and footer should be scaled with the document when the size of the document changes.
Since Excel 2007.
double wxAutoExcel::wxExcelPageSetup::GetTopMargin | ( | ) |
Returns the size of the top margin, in points.
void wxAutoExcel::wxExcelPageSetup::SetTopMargin | ( | double | topMargin | ) |
Sets the size of the top margin, in points.
long wxAutoExcel::wxExcelPageSetup::GetZoom | ( | ) |
Returns a value that represents a percentage (between 10 and 400 percent) by which Microsoft Excel will scale the worksheet for printing.
void wxAutoExcel::wxExcelPageSetup::SetZoom | ( | long | zoom | ) |
Sets a value that represents a percentage (between 10 and 400 percent) by which Microsoft Excel will scale the worksheet for printing.
|
inlinevirtual |
Returns "PageSetup".
Reimplemented from wxAutoExcel::wxExcelObject.