20 #ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXTERNALLINKFRAGMENT_HXX
21 #define INCLUDED_SC_SOURCE_FILTER_INC_EXTERNALLINKFRAGMENT_HXX
38 const css::uno::Reference< css::sheet::XExternalSheetCache >& rxSheetCache );
42 virtual void onCharacters(
const OUString& rChars )
override;
65 css::uno::Reference< css::sheet::XExternalSheetCache >
76 const OUString& rFragmentPath,
81 virtual void onCharacters(
const OUString& rChars )
override;
86 virtual const ::oox::core::RecordInfo*
getRecordInfos()
const override;
Helper class to provide access to global workbook data.
ExternalLinkFragment(const WorkbookHelper &rHelper, const OUString &rFragmentPath, ExternalLink &rExtLink)
void importExtCellString(SequenceInputStream &rStrm)
Imports the EXTCELL_STRING from the passed stream.
virtual void onEndElement() override
sal_Int32 mnCurrType
Position of current cell.
virtual void onCharacters(const OUString &rChars) override
virtual void onCharacters(const OUString &rChars) override
void setCellValue(const css::uno::Any &rValue)
Sets the passed cell value to the current position in the sheet cache.
::oox::core::ContextHandlerRef createSheetDataContext(sal_Int32 nSheetId)
void importExtCellDouble(SequenceInputStream &rStrm)
Imports the EXTCELL_DOUBLE from the passed stream.
ExternalNameRef mxExtName
ScAddress maCurrPos
The sheet cache used to store external cell values.
virtual ::oox::core::ContextHandlerRef onCreateRecordContext(sal_Int32 nRecId, SequenceInputStream &rStrm) override
css::uno::Any const & rValue
Fragment handler derived from the WorkbookHelper helper class.
void importExtCellBlank(SequenceInputStream &rStrm)
Imports the EXTCELL_BLANK from the passed stream.
void importCell(const AttributeList &rAttribs)
Imports cell settings from a c element.
virtual const ::oox::core::RecordInfo * getRecordInfos() const override
ExternalSheetDataContext(WorkbookFragmentBase &rFragment, const css::uno::Reference< css::sheet::XExternalSheetCache > &rxSheetCache)
Context handler derived from the WorkbookHelper helper class.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
virtual ::oox::core::ContextHandlerRef onCreateRecordContext(sal_Int32 nRecId, SequenceInputStream &rStrm) override
void importExtCellError(SequenceInputStream &rStrm)
Imports the EXTCELL_ERROR from the passed stream.
css::uno::Reference< css::sheet::XExternalSheetCache > mxSheetCache
This class implements importing the sheetData element in external sheets.
void importExtCellBool(SequenceInputStream &rStrm)
Imports the EXTCELL_BOOL from the passed stream.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
std::shared_ptr< ExternalName > ExternalNameRef