XlsxWorkbookPageSetup

XlsxWorkbookPageSetup

Overview

XlsxWorkbookPageSetup is a class in Aspose.Cells FOSS for C++.

Provides static methods for building and loading page-setup XML elements.

Methods

SignatureDescription
BuildPageSetupDefinedNames(model: Core::WorkbookModel)XmlElementBuilds 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)XmlElementBuilds the sheetPr element for fit-to-page settings.
BuildPrintOptionsElement(pageSetup: Core::PageSetupModel)XmlElementBuilds the printOptions element.
BuildPageMarginsElement(pageSetup: Core::PageSetupModel)XmlElementBuilds the pageMargins element.
BuildPageSetupElement(pageSetup: Core::PageSetupModel)XmlElementBuilds the pageSetup element.
BuildHeaderFooterElement(pageSetup: Core::PageSetupModel)XmlElementBuilds the headerFooter element.
BuildRowBreaksElement(pageSetup: Core::PageSetupModel)XmlElementBuilds the rowBreaks element.
BuildColumnBreaksElement(pageSetup: Core::PageSetupModel)XmlElementBuilds 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.

See Also