XlsxWorkbookPageSetup
Overview
XlsxWorkbookPageSetup is a class in Aspose.Cells FOSS for C++.
Provides static methods for building and loading page-setup XML elements.
Methods
| Signature | Description |
|---|---|
BuildPageSetupDefinedNames(model: Core::WorkbookModel) → XmlElement | Builds the definedNames element containing print area and print titles. |
LoadWorksheetDefinedNames(workbookRoot: XmlElement, diagnostics: LoadDiagnostics, options: LoadOptions) → std::unordered_map<int, WorksheetDefinedNamesState> | Loads worksheet defined name states (print area / print titles) from the workbook root. |
ApplyWorksheetDefinedNames(worksheetModel: Core::WorksheetModel, definedNamesState: WorksheetDefinedNamesState) | Applies loaded defined names to the worksheet model. |
BuildSheetProperties(pageSetup: Core::PageSetupModel) → XmlElement | Builds the sheetPr element for fit-to-page settings. |
BuildPrintOptionsElement(pageSetup: Core::PageSetupModel) → XmlElement | Builds the printOptions element. |
BuildPageMarginsElement(pageSetup: Core::PageSetupModel) → XmlElement | Builds the pageMargins element. |
BuildPageSetupElement(pageSetup: Core::PageSetupModel) → XmlElement | Builds the pageSetup element. |
BuildHeaderFooterElement(pageSetup: Core::PageSetupModel) → XmlElement | Builds the headerFooter element. |
BuildRowBreaksElement(pageSetup: Core::PageSetupModel) → XmlElement | Builds the rowBreaks element. |
BuildColumnBreaksElement(pageSetup: Core::PageSetupModel) → XmlElement | Builds the colBreaks element. |
LoadWorksheetPageSetup(worksheetModel: Core::WorksheetModel, worksheetRoot: XmlElement, diagnostics: LoadDiagnostics, options: LoadOptions, sheetName: std::string_view) | Loads page-setup data from the worksheet XML root into the model. |