LibreOffice Module sc (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
oox::xls::WorksheetFragment Class Reference

#include <worksheetfragment.hxx>

Inheritance diagram for oox::xls::WorksheetFragment:
[legend]
Collaboration diagram for oox::xls::WorksheetFragment:
[legend]

Public Member Functions

 WorksheetFragment (const WorksheetHelper &rHelper, const OUString &rFragmentPath)
 
- Public Member Functions inherited from oox::xls::WorksheetFragmentBase
 WorksheetFragmentBase (const WorksheetHelper &rHelper, const OUString &rFragmentPath)
 
- Public Member Functions inherited from oox::core::FragmentHandler2
 FragmentHandler2 (XmlFilterBase &rFilter, const OUString &rFragmentPath, bool bEnableTrimSpace=true)
 
virtual ~FragmentHandler2 () override
 
 FragmentHandler2 (FragmentHandler2 const &)=default
 
 FragmentHandler2 (FragmentHandler2 &&)=default
 
FragmentHandler2operator= (FragmentHandler2 const &)=delete
 
FragmentHandler2operator= (FragmentHandler2 &&)=delete
 
virtual void SAL_CALL acquire () override
 
virtual void SAL_CALL release () override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &rxAttribs) final override
 
virtual void SAL_CALL startFastElement (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &rxAttribs) final override
 
virtual void SAL_CALL characters (const OUString &rChars) final override
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) final override
 
virtual void SAL_CALL startDocument () override
 
virtual void SAL_CALL endDocument () override
 
virtual ContextHandlerRef createRecordContext (sal_Int32 nRecId, SequenceInputStream &rStrm) override
 
virtual void startRecord (sal_Int32 nRecId, SequenceInputStream &rStrm) override
 
virtual void endRecord (sal_Int32 nRecId) override
 
virtual void onStartElement (const AttributeList &rAttribs) override
 
virtual void onEndElement () override
 
virtual void onStartRecord (SequenceInputStream &rStrm) override
 
virtual void onEndRecord () override
 
- Public Member Functions inherited from oox::core::FragmentHandler
 FragmentHandler (XmlFilterBase &rFilter, const OUString &rFragmentPath)
 
virtual ~FragmentHandler () override
 
 FragmentHandler (FragmentHandler const &)=default
 
 FragmentHandler (FragmentHandler &&)=default
 
FragmentHandleroperator= (FragmentHandler const &)=delete
 
FragmentHandleroperator= (FragmentHandler &&)=delete
 
css::uno::Reference< css::xml::sax::XFastContextHandler > getFastContextHandler ()
 
virtual void SAL_CALL processingInstruction (const OUString &rTarget, const OUString &rData) override
 
virtual void SAL_CALL setDocumentLocator (const css::uno::Reference< css::xml::sax::XLocator > &rxLocator) override
 
virtual void SAL_CALL startFastElement (::sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL endFastElement (::sal_Int32 Element) override
 
virtual void SAL_CALL endUnknownElement (const OUString &Namespace, const OUString &Name) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (::sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual css::uno::Reference< css::io::XInputStream > openFragmentStream () const
 
- Public Member Functions inherited from oox::core::ContextHandler2Helper
 ContextHandler2Helper (bool bEnableTrimSpace)
 
 ContextHandler2Helper (const ContextHandler2Helper &rParent)
 
virtual ~ContextHandler2Helper ()
 
sal_Int32 getCurrentElement () const
 
sal_Int32 getCurrentElementWithMce () const
 
bool isCurrentElement (sal_Int32 nElement) const
 
bool isCurrentElement (sal_Int32 nElement1, sal_Int32 nElement2) const
 
sal_Int32 getParentElement (sal_Int32 nCountBack=1) const
 
bool isParentElement (sal_Int32 nElement, sal_Int32 nCountBack=1) const
 
bool isRootElement () const
 
- Public Member Functions inherited from oox::xls::WorksheetHelper
 WorksheetHelper (WorksheetGlobals &rSheetGlob)
 
WorksheetType getSheetType () const
 Returns the type of this sheet. More...
 
SCTAB getSheetIndex () const
 Returns the index of the current sheet. More...
 
const css::uno::Reference< css::sheet::XSpreadsheet > & getSheet () const
 Returns the XSpreadsheet interface of the current sheet. More...
 
css::uno::Reference< css::table::XCell > getCell (const ScAddress &rAddress) const
 Returns the XCell interface for the passed cell address. More...
 
css::uno::Reference< css::table::XCellRange > getCellRange (const ScRange &rRange) const
 Returns the XCellRange interface for the passed cell range address. More...
 
css::uno::Reference< css::drawing::XDrawPage > getDrawPage () const
 Returns the XDrawPage interface of the draw page of the current sheet. More...
 
css::awt::Point getCellPosition (sal_Int32 nCol, sal_Int32 nRow) const
 Returns the absolute cell position in 1/100 mm. More...
 
const css::awt::Size & getDrawPageSize () const
 Returns the size of the entire drawing page in 1/100 mm. More...
 
SheetDataBuffergetSheetData () const
 Returns the buffer for cell contents and cell formatting. More...
 
CondFormatBuffergetCondFormats () const
 Returns the conditional formatting in this sheet. More...
 
CommentsBuffergetComments () const
 Returns the buffer for all cell comments in this sheet. More...
 
AutoFilterBuffergetAutoFilters () const
 Returns the auto filters for the sheet. More...
 
QueryTableBuffergetQueryTables () const
 Returns the buffer for all web query tables in this sheet. More...
 
WorksheetSettingsgetWorksheetSettings () const
 Returns the worksheet settings object. More...
 
PageSettingsgetPageSettings () const
 Returns the page/print settings for this sheet. More...
 
SheetViewSettingsgetSheetViewSettings () const
 Returns the view settings for this sheet. More...
 
VmlDrawinggetVmlDrawing () const
 Returns the VML drawing page for this sheet (OOXML/BIFF12 only). More...
 
ExtLstgetExtLst () const
 
void setPageBreak (const PageBreakModel &rModel, bool bRowBreak)
 Sets a column or row page break described in the passed struct. More...
 
void setHyperlink (const HyperlinkModel &rModel)
 Inserts the hyperlink URL into the spreadsheet. More...
 
void setValidation (const ValidationModel &rModel)
 Inserts the data validation settings into the spreadsheet. More...
 
void setDrawingPath (const OUString &rDrawingPath)
 Sets the path to the DrawingML fragment of this sheet. More...
 
void setVmlDrawingPath (const OUString &rVmlDrawingPath)
 Sets the path to the legacy VML drawing fragment of this sheet. More...
 
void extendUsedArea (const ScAddress &rAddress)
 Extends the used area of this sheet by the passed cell position. More...
 
void extendUsedArea (const ScRange &rRange)
 Extends the used area of this sheet by the passed cell range. More...
 
void extendShapeBoundingBox (const css::awt::Rectangle &rShapeRect)
 Extends the shape bounding box by the position and size of the passed rectangle (in 1/100 mm). More...
 
void setBaseColumnWidth (sal_Int32 nWidth)
 Sets base width for all columns (without padding pixels). More...
 
void setDefaultColumnWidth (double fWidth)
 Sets default width for all columns. More...
 
void setColumnModel (const ColumnModel &rModel)
 Sets column settings for a specific range of columns. More...
 
void setDefaultRowSettings (double fHeight, bool bCustomHeight, bool bHidden, bool bThickTop, bool bThickBottom)
 Sets default height and hidden state for all unused rows in the sheet. More...
 
void setRowModel (const RowModel &rModel)
 Sets row settings for a specific range of rows. More...
 
void putRichString (const ScAddress &rAddress, const RichString &rString, const oox::xls::Font *pFirstPortionFont)
 Inserts a rich-string cell directly into the Calc sheet. More...
 
void putFormulaTokens (const ScAddress &rAddress, const ApiTokenSequence &rTokens)
 Inserts a formula cell directly into the Calc sheet. More...
 
void initializeWorksheetImport ()
 Initial conversion before importing the worksheet. More...
 
void finalizeWorksheetImport ()
 Final conversion after importing the worksheet. More...
 
void finalizeDrawingImport ()
 Final import of drawing objects. More...
 
void setCellFormula (const ScAddress &rTokenAddress, const OUString &)
 
void setCellFormula (const ScAddress &rAddr, sal_Int32 nSharedId, const OUString &rCellValue, sal_Int32 nValueType)
 
void setCellArrayFormula (const ScRange &rRangeAddress, const ScAddress &rTokenAddress, const OUString &rTokenStr)
 
void createSharedFormulaMapEntry (const ScAddress &rAddress, sal_Int32 nSharedId, const OUString &rTokens)
 
void setCellFormulaValue (const ScAddress &rAddress, const OUString &rValueStr, sal_Int32 nCellType)
 
ScDocumentgetScDocument ()
 
- Public Member Functions inherited from oox::xls::WorkbookHelper
 WorkbookHelper (WorkbookGlobals &rBookGlob)
 
virtual ~WorkbookHelper ()
 
 WorkbookHelper (WorkbookHelper const &)=default
 
 WorkbookHelper (WorkbookHelper &&)=default
 
WorkbookHelperoperator= (WorkbookHelper const &)=delete
 
WorkbookHelperoperator= (WorkbookHelper &&)=delete
 
::oox::core::FilterBasegetBaseFilter () const
 Returns the base filter object (base class of all filters). More...
 
SegmentProgressBargetProgressBar () const
 Returns the filter progress bar. More...
 
sal_Int16 getCurrentSheetIndex () const
 Returns the index of the current Calc sheet, if filter currently processes a sheet. More...
 
bool isGeneratorKnownGood () const
 Returns true when reading a file generated by a known good generator. More...
 
void setVbaProjectStorage (const StorageRef &rxVbaPrjStrg)
 Sets the VBA project storage used to import VBA source code and forms. More...
 
void setCurrentSheetIndex (SCTAB nSheet)
 Sets the index of the current Calc sheet, if filter currently processes a sheet. More...
 
void finalizeWorkbookImport ()
 Final conversion after importing the workbook. More...
 
void useInternalChartDataTable (bool bInternal)
 
ScDocumentgetScDocument ()
 
const ScDocumentgetScDocument () const
 
ScDocumentImportgetDocImport ()
 
const ScDocumentImportgetDocImport () const
 
ScEditEngineDefaultergetEditEngine () const
 
const css::uno::Reference< css::sheet::XSpreadsheetDocument > & getDocument () const
 Returns a reference to the source/target spreadsheet document model. More...
 
css::uno::Reference< css::sheet::XSpreadsheet > getSheetFromDoc (sal_Int32 nSheet) const
 Returns a reference to the specified spreadsheet in the document model. More...
 
css::uno::Reference< css::sheet::XSpreadsheet > getSheetFromDoc (const OUString &rSheet) const
 Returns a reference to the specified spreadsheet in the document model. More...
 
css::uno::Reference< css::table::XCellRange > getCellRangeFromDoc (const ScRange &rRange) const
 Returns the XCellRange interface for the passed cell range address. More...
 
css::uno::Reference< css::container::XNameContainer > getCellStyleFamily () const
 Returns the cell styles container from the Calc document. More...
 
css::uno::Reference< css::style::XStyle > getStyleObject (const OUString &rStyleName, bool bPageStyle) const
 Returns the specified cell or page style from the Calc document. More...
 
ScRangeDatacreateNamedRangeObject (OUString &orName, const css::uno::Sequence< css::sheet::FormulaToken > &rTokens, sal_Int32 nIndex, sal_Int32 nNameFlags) const
 Creates and returns a defined name on-the-fly in the Calc document. More...
 
ScRangeDatacreateLocalNamedRangeObject (OUString &orName, const css::uno::Sequence< css::sheet::FormulaToken > &rTokens, sal_Int32 nIndex, sal_Int32 nNameFlags, sal_Int32 nTab) const
 Creates and returns a defined name on-the-fly in the sheet. More...
 
css::uno::Reference< css::sheet::XDatabaseRange > createDatabaseRangeObject (OUString &orName, const ScRange &rRangeAddr) const
 Creates and returns a database range on-the-fly in the Calc document. More...
 
css::uno::Reference< css::sheet::XDatabaseRange > createUnnamedDatabaseRangeObject (const ScRange &rRangeAddr) const
 Creates and returns an unnamed database range on-the-fly in the Calc document. More...
 
ScDBDatafindDatabaseRangeByIndex (sal_uInt16 nIndex) const
 Finds the (already existing) database range of the given formula token index. More...
 
css::uno::Reference< css::style::XStyle > createStyleObject (OUString &orStyleName, bool bPageStyle) const
 Creates and returns a com.sun.star.style.Style object for cells or pages. More...
 
FormulaBuffergetFormulaBuffer () const
 
WorkbookSettingsgetWorkbookSettings () const
 Returns the global workbook settings object. More...
 
ViewSettingsgetViewSettings () const
 Returns the workbook and sheet view settings object. More...
 
WorksheetBuffergetWorksheets () const
 Returns the worksheet buffer containing sheet names and properties. More...
 
ThemeBuffergetTheme () const
 Returns the office theme object read from the theme substorage. More...
 
StylesBuffergetStyles () const
 Returns all cell formatting objects read from the styles substream. More...
 
SharedStringsBuffergetSharedStrings () const
 Returns the shared strings read from the shared strings substream. More...
 
ExternalLinkBuffergetExternalLinks () const
 Returns the external links read from the external links substream. More...
 
DefinedNamesBuffergetDefinedNames () const
 Returns the defined names read from the workbook globals. More...
 
TableBuffergetTables () const
 Returns the tables collection (equivalent to Calc's database ranges). More...
 
ScenarioBuffergetScenarios () const
 Returns the scenarios collection. More...
 
ConnectionsBuffergetConnections () const
 Returns the collection of external data connections. More...
 
PivotCacheBuffergetPivotCaches () const
 Returns the collection of pivot caches. More...
 
PivotTableBuffergetPivotTables () const
 Returns the collection of pivot tables. More...
 
FormulaParsergetFormulaParser () const
 Returns a shared import formula parser (import filter only!). More...
 
FormulaParsercreateFormulaParser () const
 Returns an unshared import formula parser (import filter only!). More...
 
UnitConvertergetUnitConverter () const
 Returns the measurement unit converter. More...
 
AddressConvertergetAddressConverter () const
 Returns the converter for string to cell address/range conversion. More...
 
oox::drawingml::chart::ChartConvertergetChartConverter () const
 Returns the chart object converter. More...
 
PageSettingsConvertergetPageSettingsConverter () const
 Returns the page and print settings converter. More...
 
::oox::core::XmlFilterBasegetOoxFilter () const
 Returns the base OOXML/BIFF12 filter object. More...
 
bool importOoxFragment (const rtl::Reference< oox::core::FragmentHandler > &rxHandler)
 Imports a fragment using the passed fragment handler, which contains the full path to the fragment stream. More...
 
bool importOoxFragment (const rtl::Reference< oox::core::FragmentHandler > &rxHandler, oox::core::FastParser &rParser)
 
rtl_TextEncoding getTextEncoding () const
 Returns the text encoding used to import/export byte strings. More...
 

Protected Member Functions

virtual ::oox::core::ContextHandlerRef onCreateContext (sal_Int32 nElement, const AttributeList &rAttribs) override
 
virtual void onCharacters (const OUString &rChars) override
 
virtual ::oox::core::ContextHandlerRef onCreateRecordContext (sal_Int32 nRecId, SequenceInputStream &rStrm) override
 
virtual const ::oox::core::RecordInfogetRecordInfos () const override
 
virtual void initializeImport () override
 
virtual void finalizeImport () override
 
- Protected Member Functions inherited from oox::core::FragmentHandler2
bool prepareMceContext (sal_Int32 nElement, const AttributeList &rAttribs)
 
- Protected Member Functions inherited from oox::core::FragmentHandler
 FragmentHandler (XmlFilterBase &rFilter, const OUString &rFragmentPath, RelationsRef xRelations)
 
- Protected Member Functions inherited from oox::core::ContextHandler2Helper
css::uno::Reference< css::xml::sax::XFastContextHandler > implCreateChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &rxAttribs)
 
void implStartElement (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &rxAttribs)
 
void implCharacters (const OUString &rChars)
 
void implEndElement (sal_Int32 nElement)
 
ContextHandlerRef implCreateRecordContext (sal_Int32 nRecId, SequenceInputStream &rStrm)
 
void implStartRecord (sal_Int32 nRecId, SequenceInputStream &rStrm)
 
void implEndRecord (sal_Int32 nRecId)
 

Private Member Functions

void importPageSetUpPr (const AttributeList &rAttribs)
 Imports page settings from a pageSetUpPr element. More...
 
void importDimension (const AttributeList &rAttribs)
 Imports the dimension element containing the used area of the sheet. More...
 
void importSheetFormatPr (const AttributeList &rAttribs)
 Imports sheet format properties from a sheetFormatPr element. More...
 
void importCol (const AttributeList &rAttribs)
 Imports column settings from a col element. More...
 
void importMergeCell (const AttributeList &rAttribs)
 Imports a merged cell range from a mergeCell element. More...
 
void importHyperlink (const AttributeList &rAttribs)
 Imports the hyperlink element containing a hyperlink for a cell range. More...
 
void importBrk (const AttributeList &rAttribs, bool bRowBreak)
 Imports individual break that is either within row or column break context. More...
 
void importDrawing (const AttributeList &rAttribs)
 Imports the relation identifier for the DrawingML part. More...
 
void importLegacyDrawing (const AttributeList &rAttribs)
 Imports the relation identifier for the legacy VML drawing part. More...
 
void importOleObject (const AttributeList &rAttribs)
 Imports additional data for an OLE object. More...
 
void importControl (const AttributeList &rAttribs)
 Imports additional data for an OCX form control. More...
 
void importDimension (SequenceInputStream &rStrm)
 Imports the DIMENSION record containing the used area of the sheet. More...
 
void importSheetFormatPr (SequenceInputStream &rStrm)
 Imports sheet format properties from a SHEETFORMATPR record. More...
 
void importCol (SequenceInputStream &rStrm)
 Imports column settings from a COL record. More...
 
void importMergeCell (SequenceInputStream &rStrm)
 Imports a merged cell range from a MERGECELL record. More...
 
void importHyperlink (SequenceInputStream &rStrm)
 Imports a hyperlink for a cell range from a HYPERLINK record. More...
 
void importBrk (SequenceInputStream &rStrm, bool bRowBreak)
 Imports the BRK record for an individual row or column page break. More...
 
void importDrawing (SequenceInputStream &rStrm)
 Imports the DRAWING record containing the relation identifier for the DrawingML part. More...
 
void importLegacyDrawing (SequenceInputStream &rStrm)
 Imports the LEGACYDRAWING record containing the relation identifier for the VML drawing part. More...
 
void importOleObject (SequenceInputStream &rStrm)
 Imports additional data for an OLE object. More...
 
void importControl (SequenceInputStream &rStrm)
 Imports additional data for an OCX form control. More...
 
void importEmbeddedOleData (StreamDataSequence &orEmbeddedData, const OUString &rRelId)
 Imports the binary data of an embedded OLE object from the fragment with the passed ID. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from oox::xls::WorksheetHelper
static WorksheetGlobalsRef constructGlobals (const WorkbookHelper &rHelper, const ISegmentProgressBarRef &rxProgressBar, WorksheetType eSheetType, SCTAB nSheet)
 
static IWorksheetProgressgetWorksheetInterface (const WorksheetGlobalsRef &xRef)
 
- Static Public Member Functions inherited from oox::xls::WorkbookHelper
static WorkbookGlobalsRef constructGlobals (ExcelFilter &rFilter)
 
- Protected Types inherited from oox::core::FragmentHandler2
enum  MCE_STATE {
  MCE_STATE::Started,
  MCE_STATE::FoundChoice
}
 
- Protected Attributes inherited from oox::core::FragmentHandler2
::std::vector< MCE_STATEaMceState
 
- Protected Attributes inherited from oox::core::ContextHandler2Helper
bool mbEnableTrimSpace
 

Detailed Description

Definition at line 116 of file worksheetfragment.hxx.

Constructor & Destructor Documentation

oox::xls::WorksheetFragment::WorksheetFragment ( const WorksheetHelper rHelper,
const OUString &  rFragmentPath 
)
explicit

Member Function Documentation

void oox::xls::WorksheetFragment::finalizeImport ( )
overrideprotectedvirtual
const RecordInfo * oox::xls::WorksheetFragment::getRecordInfos ( ) const
overrideprotectedvirtual
void oox::xls::WorksheetFragment::importBrk ( const AttributeList rAttribs,
bool  bRowBreak 
)
private
void oox::xls::WorksheetFragment::importBrk ( SequenceInputStream rStrm,
bool  bRowBreak 
)
private
void oox::xls::WorksheetFragment::importCol ( const AttributeList rAttribs)
private
void oox::xls::WorksheetFragment::importCol ( SequenceInputStream rStrm)
private
void oox::xls::WorksheetFragment::importControl ( const AttributeList rAttribs)
private
void oox::xls::WorksheetFragment::importControl ( SequenceInputStream rStrm)
private
void oox::xls::WorksheetFragment::importDimension ( const AttributeList rAttribs)
private
void oox::xls::WorksheetFragment::importDimension ( SequenceInputStream rStrm)
private
void oox::xls::WorksheetFragment::importDrawing ( const AttributeList rAttribs)
private

Imports the relation identifier for the DrawingML part.

Definition at line 723 of file worksheetfragment.cxx.

References oox::AttributeList::getString(), and oox::xls::WorksheetHelper::setDrawingPath().

Referenced by onCreateContext(), and onCreateRecordContext().

void oox::xls::WorksheetFragment::importDrawing ( SequenceInputStream rStrm)
private

Imports the DRAWING record containing the relation identifier for the DrawingML part.

Definition at line 856 of file worksheetfragment.cxx.

References oox::xls::BiffHelper::readString(), and oox::xls::WorksheetHelper::setDrawingPath().

void oox::xls::WorksheetFragment::importEmbeddedOleData ( StreamDataSequence orEmbeddedData,
const OUString &  rRelId 
)
private

Imports the binary data of an embedded OLE object from the fragment with the passed ID.

Definition at line 897 of file worksheetfragment.cxx.

References oox::xls::WorkbookHelper::getBaseFilter(), and oox::core::FilterBase::importBinaryData().

Referenced by importOleObject().

void oox::xls::WorksheetFragment::importHyperlink ( const AttributeList rAttribs)
private
void oox::xls::WorksheetFragment::importHyperlink ( SequenceInputStream rStrm)
private
void oox::xls::WorksheetFragment::importLegacyDrawing ( const AttributeList rAttribs)
private

Imports the relation identifier for the legacy VML drawing part.

Definition at line 728 of file worksheetfragment.cxx.

References oox::AttributeList::getString(), and oox::xls::WorksheetHelper::setVmlDrawingPath().

Referenced by onCreateContext(), and onCreateRecordContext().

void oox::xls::WorksheetFragment::importLegacyDrawing ( SequenceInputStream rStrm)
private

Imports the LEGACYDRAWING record containing the relation identifier for the VML drawing part.

Definition at line 861 of file worksheetfragment.cxx.

References oox::xls::BiffHelper::readString(), and oox::xls::WorksheetHelper::setVmlDrawingPath().

void oox::xls::WorksheetFragment::importMergeCell ( const AttributeList rAttribs)
private
void oox::xls::WorksheetFragment::importMergeCell ( SequenceInputStream rStrm)
private
void oox::xls::WorksheetFragment::importOleObject ( const AttributeList rAttribs)
private
void oox::xls::WorksheetFragment::importOleObject ( SequenceInputStream rStrm)
private
void oox::xls::WorksheetFragment::importPageSetUpPr ( const AttributeList rAttribs)
private

Imports page settings from a pageSetUpPr element.

Definition at line 639 of file worksheetfragment.cxx.

References oox::AttributeList::getBool(), oox::xls::WorksheetHelper::getPageSettings(), and oox::xls::PageSettings::setFitToPagesMode().

Referenced by onCreateContext().

void oox::xls::WorksheetFragment::importSheetFormatPr ( const AttributeList rAttribs)
private
void oox::xls::WorksheetFragment::importSheetFormatPr ( SequenceInputStream rStrm)
private
void oox::xls::WorksheetFragment::initializeImport ( )
overrideprotectedvirtual
void oox::xls::WorksheetFragment::onCharacters ( const OUString &  rChars)
overrideprotectedvirtual
ContextHandlerRef oox::xls::WorksheetFragment::onCreateContext ( sal_Int32  nElement,
const AttributeList rAttribs 
)
overrideprotectedvirtual

Reimplemented from oox::core::FragmentHandler2.

Definition at line 352 of file worksheetfragment.cxx.

References oox::core::FragmentHandler2::aMceState, oox::xls::Chart, oox::xls::Dialog, oox::xls::Empty, oox::core::FragmentHandler2::FoundChoice, oox::xls::WorksheetHelper::getAutoFilters(), oox::core::ContextHandler2Helper::getCurrentElement(), oox::xls::WorksheetHelper::getPageSettings(), oox::xls::WorksheetHelper::getSheetType(), oox::xls::WorksheetHelper::getSheetViewSettings(), oox::xls::WorksheetHelper::getWorksheetSettings(), importBrk(), importCol(), importControl(), importDimension(), importDrawing(), oox::xls::PageSettings::importHeaderFooter(), importHyperlink(), importLegacyDrawing(), importMergeCell(), importOleObject(), oox::xls::WorksheetSettings::importOutlinePr(), oox::xls::PageSettings::importPageMargins(), oox::xls::PageSettings::importPageSetup(), importPageSetUpPr(), oox::xls::SheetViewSettings::importPane(), oox::xls::WorksheetSettings::importPhoneticPr(), oox::xls::PageSettings::importPicture(), oox::xls::PageSettings::importPrintOptions(), oox::xls::WorksheetSettings::importProtectedRange(), oox::xls::SheetViewSettings::importSelection(), importSheetFormatPr(), oox::xls::WorksheetSettings::importSheetPr(), oox::xls::WorksheetSettings::importSheetProtection(), oox::xls::SheetViewSettings::importSheetView(), oox::xls::WorksheetSettings::importTabColor(), oox::xls::Macro, picture, oox::core::FragmentHandler2::Started, oox::xls::Work, and XML_ROOT_CONTEXT.

ContextHandlerRef oox::xls::WorksheetFragment::onCreateRecordContext ( sal_Int32  nRecId,
SequenceInputStream rStrm 
)
overrideprotectedvirtual

Reimplemented from oox::core::FragmentHandler2.

Definition at line 502 of file worksheetfragment.cxx.

References oox::xls::BIFF12_ID_AUTOFILTER, oox::xls::BIFF12_ID_BRK, oox::xls::BIFF12_ID_COL, oox::xls::BIFF12_ID_COLBREAKS, oox::xls::BIFF12_ID_COLS, oox::xls::BIFF12_ID_CONDFORMATTING, oox::xls::BIFF12_ID_CONTROL, oox::xls::BIFF12_ID_CONTROLS, oox::xls::BIFF12_ID_DATAVALIDATIONS, oox::xls::BIFF12_ID_DIMENSION, oox::xls::BIFF12_ID_DRAWING, oox::xls::BIFF12_ID_HEADERFOOTER, oox::xls::BIFF12_ID_HYPERLINK, oox::xls::BIFF12_ID_LEGACYDRAWING, oox::xls::BIFF12_ID_MERGECELL, oox::xls::BIFF12_ID_MERGECELLS, oox::xls::BIFF12_ID_OLEOBJECT, oox::xls::BIFF12_ID_OLEOBJECTS, oox::xls::BIFF12_ID_PAGEMARGINS, oox::xls::BIFF12_ID_PAGESETUP, oox::xls::BIFF12_ID_PANE, oox::xls::BIFF12_ID_PHONETICPR, oox::xls::BIFF12_ID_PICTURE, oox::xls::BIFF12_ID_PRINTOPTIONS, oox::xls::BIFF12_ID_ROWBREAKS, oox::xls::BIFF12_ID_SCENARIOS, oox::xls::BIFF12_ID_SELECTION, oox::xls::BIFF12_ID_SHEETDATA, oox::xls::BIFF12_ID_SHEETFORMATPR, oox::xls::BIFF12_ID_SHEETPR, oox::xls::BIFF12_ID_SHEETPROTECTION, oox::xls::BIFF12_ID_SHEETVIEW, oox::xls::BIFF12_ID_SHEETVIEWS, oox::xls::BIFF12_ID_WORKSHEET, oox::xls::WorksheetHelper::getAutoFilters(), oox::core::ContextHandler2Helper::getCurrentElement(), oox::xls::WorksheetHelper::getPageSettings(), oox::xls::WorksheetHelper::getSheetViewSettings(), oox::xls::WorksheetHelper::getWorksheetSettings(), importBrk(), importCol(), importControl(), importDimension(), importDrawing(), oox::xls::PageSettings::importHeaderFooter(), importHyperlink(), importLegacyDrawing(), importMergeCell(), importOleObject(), oox::xls::PageSettings::importPageMargins(), oox::xls::PageSettings::importPageSetup(), oox::xls::SheetViewSettings::importPane(), oox::xls::WorksheetSettings::importPhoneticPr(), oox::xls::PageSettings::importPicture(), oox::xls::PageSettings::importPrintOptions(), oox::xls::SheetViewSettings::importSelection(), importSheetFormatPr(), oox::xls::WorksheetSettings::importSheetPr(), oox::xls::WorksheetSettings::importSheetProtection(), oox::xls::SheetViewSettings::importSheetView(), and XML_ROOT_CONTEXT.


The documentation for this class was generated from the following files: