LibreOffice Module writerfilter (master) 1
|
#include <OOXMLDocumentImpl.hxx>
Public Member Functions | |
OOXMLDocumentImpl (OOXMLStream::Pointer_t pStream, css::uno::Reference< css::task::XStatusIndicator > xStatusIndicator, bool bSkipImages, const css::uno::Sequence< css::beans::PropertyValue > &rDescriptor) | |
virtual | ~OOXMLDocumentImpl () override |
virtual void | resolve (Stream &rStream) override |
Resolves this document to a stream handler. More... | |
virtual void | resolveFootnote (Stream &rStream, Id aType, const sal_Int32 nNoteId) override |
Resolves a footnote to a stream handler. More... | |
virtual void | resolveEndnote (Stream &rStream, Id aType, const sal_Int32 nNoteId) override |
Resolves an endnote to a stream handler. More... | |
virtual void | resolveHeader (Stream &rStream, const sal_Int32 type, const OUString &rId) override |
Resolves a header to a stream handler. More... | |
virtual void | resolveFooter (Stream &rStream, const sal_Int32 type, const OUString &rId) override |
Resolves a footer to a stream handler. More... | |
virtual void | resolveComment (Stream &rStream, const sal_Int32 nId) override |
Resolves a comment to a stream handler. More... | |
OOXMLPropertySet * | getPicturePropSet (const OUString &rId) |
virtual void | resolvePicture (Stream &rStream, const OUString &rId) override |
Resolves a picture to a stream handler. More... | |
virtual OUString | getTargetForId (const OUString &rId) override |
Returns target URL from relationships for a given id. More... | |
virtual void | setModel (css::uno::Reference< css::frame::XModel > xModel) override |
virtual css::uno::Reference< css::frame::XModel > | getModel () override |
virtual void | setDrawPage (css::uno::Reference< css::drawing::XDrawPage > xDrawPage) override |
virtual css::uno::Reference< css::drawing::XDrawPage > | getDrawPage () override |
virtual css::uno::Reference< css::io::XInputStream > | getInputStreamForId (const OUString &rId) override |
virtual void | setXNoteId (const sal_Int32 nId) override |
virtual sal_Int32 | getXNoteId () const override |
virtual const OUString & | getTarget () const override |
virtual rtl::Reference< oox::shape::ShapeContextHandler > | getShapeContext () override |
virtual void | setShapeContext (rtl::Reference< oox::shape::ShapeContextHandler > xContext) override |
virtual const oox::drawingml::ThemePtr & | getTheme () const override |
void | pushShapeContext () override |
Push context of drawingML shapes, so nested shapes are handled separately. More... | |
void | popShapeContext () override |
Pop context of a previously pushed drawingML shape. More... | |
virtual css::uno::Reference< css::xml::dom::XDocument > | getThemeDom () override |
virtual css::uno::Sequence< css::uno::Reference< css::xml::dom::XDocument > > | getCustomXmlDomList () override |
virtual css::uno::Sequence< css::uno::Reference< css::xml::dom::XDocument > > | getCustomXmlDomPropsList () override |
virtual css::uno::Reference< css::xml::dom::XDocument > | getGlossaryDocDom () override |
virtual css::uno::Sequence< css::uno::Sequence< css::beans::NamedValue > > | getGlossaryDomList () override |
virtual css::uno::Sequence< css::beans::PropertyValue > | getEmbeddingsList () override |
void | incrementProgress () |
bool | IsSkipImages () const |
OUString const & | GetDocumentBaseURL () const |
const css::uno::Sequence< css::beans::PropertyValue > & | getMediaDescriptor () const |
const css::uno::Reference< css::graphic::XGraphicMapper > & | getGraphicMapper () const |
void | setTheme (const oox::drawingml::ThemePtr &pTheme) |
const rtl::Reference< oox::shape::ShapeFilterBase > & | getShapeFilterBase () |
const rtl::Reference< oox::drawingml::ThemeFilterBase > & | getThemeFilterBase () |
virtual void | resolve (Stream &rStream) override=0 |
Resolves this document to a stream handler. More... | |
virtual void | resolveFootnote (Stream &rStream, Id aNoteType, const sal_Int32 nNoteId)=0 |
Resolves a footnote to a stream handler. More... | |
virtual void | resolveEndnote (Stream &rStream, Id aNoteType, const sal_Int32 NoteId)=0 |
Resolves an endnote to a stream handler. More... | |
virtual void | resolveComment (Stream &rStream, const sal_Int32 nCommentId)=0 |
Resolves a comment to a stream handler. More... | |
virtual void | resolvePicture (Stream &rStream, const OUString &rPictureId)=0 |
Resolves a picture to a stream handler. More... | |
virtual void | resolveHeader (Stream &rStream, const sal_Int32 type, const OUString &rId)=0 |
Resolves a header to a stream handler. More... | |
virtual void | resolveFooter (Stream &rStream, const sal_Int32 type, const OUString &rId)=0 |
Resolves a footer to a stream handler. More... | |
virtual OUString | getTargetForId (const OUString &rId)=0 |
Returns target URL from relationships for a given id. More... | |
virtual void | setModel (css::uno::Reference< css::frame::XModel > xModel)=0 |
virtual css::uno::Reference< css::frame::XModel > | getModel ()=0 |
virtual void | setDrawPage (css::uno::Reference< css::drawing::XDrawPage > xDrawPage)=0 |
virtual css::uno::Reference< css::drawing::XDrawPage > | getDrawPage ()=0 |
virtual css::uno::Reference< css::io::XInputStream > | getInputStreamForId (const OUString &rId)=0 |
virtual void | setXNoteId (const sal_Int32 nId)=0 |
virtual sal_Int32 | getXNoteId () const =0 |
virtual const OUString & | getTarget () const =0 |
virtual rtl::Reference< oox::shape::ShapeContextHandler > | getShapeContext ()=0 |
virtual void | setShapeContext (rtl::Reference< oox::shape::ShapeContextHandler > xContext)=0 |
virtual const oox::drawingml::ThemePtr & | getTheme () const =0 |
virtual void | pushShapeContext ()=0 |
Push context of drawingML shapes, so nested shapes are handled separately. More... | |
virtual void | popShapeContext ()=0 |
Pop context of a previously pushed drawingML shape. More... | |
virtual css::uno::Reference< css::xml::dom::XDocument > | getThemeDom ()=0 |
virtual css::uno::Reference< css::xml::dom::XDocument > | getGlossaryDocDom ()=0 |
virtual css::uno::Sequence< css::uno::Sequence< css::beans::NamedValue > > | getGlossaryDomList ()=0 |
virtual css::uno::Sequence< css::uno::Reference< css::xml::dom::XDocument > > | getCustomXmlDomList ()=0 |
virtual css::uno::Sequence< css::uno::Reference< css::xml::dom::XDocument > > | getCustomXmlDomPropsList ()=0 |
virtual css::uno::Sequence< css::beans::PropertyValue > | getEmbeddingsList ()=0 |
![]() | |
virtual void | resolve (Stream &rHandler)=0 |
Resolves the reference. More... | |
Reference ()=default | |
Reference (Reference const &)=default | |
Reference (Reference &&)=default | |
Reference & | operator= (Reference const &)=default |
Reference & | operator= (Reference &&)=default |
![]() | |
SvRefBase () | |
SvRefBase (const SvRefBase &) | |
SvRefBase & | operator= (const SvRefBase &) |
void | RestoreNoDelete () |
void | AddNextRef () |
void | AddFirstRef () |
void | ReleaseRef () |
unsigned int | GetRefCount () const |
Private Member Functions | |
void | resolveFastSubStream (Stream &rStream, OOXMLStream::StreamType_t nType) |
css::uno::Reference< css::xml::dom::XDocument > | importSubStream (OOXMLStream::StreamType_t nType) |
void | importSubStreamRelations (const OOXMLStream::Pointer_t &pStream, OOXMLStream::StreamType_t nType) |
writerfilter::Reference< Stream >::Pointer_t | getSubStream (const OUString &rId) |
writerfilter::Reference< Stream >::Pointer_t | getXNoteStream (OOXMLStream::StreamType_t nType, const sal_Int32 nNoteId) |
void | resolveCustomXmlStream (Stream &rStream) |
void | resolveGlossaryStream (Stream &rStream) |
void | resolveEmbeddingsStream (const OOXMLStream::Pointer_t &pStream) |
void | resolveCommentsExtendedStream (Stream &rStream) |
Static Private Member Functions | |
static void | resolveFastSubStreamWithId (Stream &rStream, const writerfilter::Reference< Stream >::Pointer_t &pStream, sal_uInt32 nId) |
Private Attributes | |
OOXMLStream::Pointer_t | mpStream |
css::uno::Reference< css::task::XStatusIndicator > | mxStatusIndicator |
writerfilter::Reference< Stream >::Pointer_t | mpXFootnoteStream |
writerfilter::Reference< Stream >::Pointer_t | mpXEndnoteStream |
sal_Int32 | mnXNoteId |
css::uno::Reference< css::frame::XModel > | mxModel |
css::uno::Reference< css::drawing::XDrawPage > | mxDrawPage |
css::uno::Reference< css::xml::dom::XDocument > | mxGlossaryDocDom |
css::uno::Sequence< css::uno::Sequence< css::beans::NamedValue > > | mxGlossaryDomList |
std::stack< rtl::Reference< oox::shape::ShapeContextHandler > > | maShapeContexts |
Stack of shape contexts, 1 element for VML, 1 element / nesting level for drawingML. More... | |
css::uno::Reference< css::xml::dom::XDocument > | mxThemeDom |
css::uno::Sequence< css::uno::Reference< css::xml::dom::XDocument > > | mxCustomXmlDomList |
css::uno::Sequence< css::uno::Reference< css::xml::dom::XDocument > > | mxCustomXmlDomPropsList |
css::uno::Reference< css::xml::dom::XDocument > | mxCustomXmlProsDom |
css::uno::Reference< css::io::XInputStream > | mxEmbeddings |
css::uno::Sequence< css::beans::PropertyValue > | mxEmbeddingsList |
std::vector< css::beans::PropertyValue > | m_aEmbeddings |
bool | mbIsSubstream |
bool | mbSkipImages |
sal_Int32 | mnPercentSize |
How many paragraphs equal to 1 percent? More... | |
sal_Int32 | mnProgressLastPos |
Position progress when it was last updated, possibly not after every paragraph in case of large documents. More... | |
sal_Int32 | mnProgressCurrentPos |
Current position progress, updated after every paragraph. More... | |
sal_Int32 | mnProgressEndPos |
End position, i.e. the estimated number of paragraphs. More... | |
OUString | m_rBaseURL |
DocumentBaseURL. More... | |
css::uno::Sequence< css::beans::PropertyValue > | maMediaDescriptor |
css::uno::Reference< css::graphic::XGraphicMapper > | mxGraphicMapper |
Graphic mapper. More... | |
oox::drawingml::ThemePtr | mpTheme |
rtl::Reference< oox::shape::ShapeFilterBase > | mxShapeFilterBase |
rtl::Reference< oox::drawingml::ThemeFilterBase > | mxThemeFilterBase |
bool | mbCommentsExtendedResolved = false |
Additional Inherited Members | |
![]() | |
typedef tools::SvRef< OOXMLDocument > | Pointer_t |
Pointer to this stream. More... | |
![]() | |
typedef tools::SvRef< Reference< Stream > > | Pointer_t |
Pointer to reference. More... | |
![]() | |
~Reference () override | |
![]() | |
virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Definition at line 37 of file OOXMLDocumentImpl.hxx.
writerfilter::ooxml::OOXMLDocumentImpl::OOXMLDocumentImpl | ( | OOXMLStream::Pointer_t | pStream, |
css::uno::Reference< css::task::XStatusIndicator > | xStatusIndicator, | ||
bool | bSkipImages, | ||
const css::uno::Sequence< css::beans::PropertyValue > & | rDescriptor | ||
) |
Definition at line 56 of file OOXMLDocumentImpl.cxx.
References create(), and pushShapeContext().
Referenced by getSubStream(), and getXNoteStream().
|
overridevirtual |
Definition at line 73 of file OOXMLDocumentImpl.cxx.
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 873 of file OOXMLDocumentImpl.cxx.
References mxCustomXmlDomList.
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 878 of file OOXMLDocumentImpl.cxx.
References mxCustomXmlDomPropsList.
|
inline |
Definition at line 155 of file OOXMLDocumentImpl.hxx.
References m_rBaseURL.
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 833 of file OOXMLDocumentImpl.cxx.
References mxDrawPage.
Referenced by getXNoteStream(), and resolve().
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 883 of file OOXMLDocumentImpl.cxx.
References mxEmbeddingsList.
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 801 of file OOXMLDocumentImpl.cxx.
References mxGlossaryDocDom.
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 806 of file OOXMLDocumentImpl.cxx.
References mxGlossaryDomList.
|
inline |
Definition at line 158 of file OOXMLDocumentImpl.hxx.
References mxGraphicMapper.
Referenced by writerfilter::ooxml::OOXMLFastContextHandlerShape::setToken().
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 811 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLDocumentFactory::createStream(), and mpStream.
const uno::Sequence< beans::PropertyValue > & writerfilter::ooxml::OOXMLDocumentImpl::getMediaDescriptor | ( | ) | const |
Definition at line 838 of file OOXMLDocumentImpl.cxx.
References maMediaDescriptor.
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 823 of file OOXMLDocumentImpl.cxx.
References mxModel.
Referenced by getXNoteStream().
OOXMLPropertySet * writerfilter::ooxml::OOXMLDocumentImpl::getPicturePropSet | ( | const OUString & | rId | ) |
Definition at line 336 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLPropertySet::add(), writerfilter::ooxml::OOXMLProperty::ATTRIBUTE, writerfilter::ooxml::OOXMLDocumentFactory::createStream(), and mpStream.
Referenced by resolvePicture().
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 849 of file OOXMLDocumentImpl.cxx.
References maShapeContexts.
Referenced by writerfilter::ooxml::OOXMLFastContextHandlerShape::setToken().
const rtl::Reference< oox::shape::ShapeFilterBase > & writerfilter::ooxml::OOXMLDocumentImpl::getShapeFilterBase | ( | ) |
Definition at line 888 of file OOXMLDocumentImpl.cxx.
References mpStream, and mxShapeFilterBase.
|
private |
Definition at line 244 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLDocumentFactory::createStream(), maMediaDescriptor, mbIsSubstream, mbSkipImages, mpStream, mxDrawPage, mxModel, OOXMLDocumentImpl(), setDrawPage(), and setModel().
Referenced by resolveFooter(), and resolveHeader().
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 238 of file OOXMLDocumentImpl.cxx.
References mpStream.
Referenced by writerfilter::ooxml::OOXMLParserState::getTarget().
|
overridevirtual |
Returns target URL from relationships for a given id.
rId | the id to look for |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 368 of file OOXMLDocumentImpl.cxx.
References mpStream.
|
inlineoverridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 140 of file OOXMLDocumentImpl.hxx.
References mpTheme.
Referenced by writerfilter::ooxml::OOXMLFastContextHandlerTheme::lcl_startFastElement(), resolve(), and writerfilter::ooxml::OOXMLFastContextHandlerShape::setToken().
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 868 of file OOXMLDocumentImpl.cxx.
References mxThemeDom.
const rtl::Reference< oox::drawingml::ThemeFilterBase > & writerfilter::ooxml::OOXMLDocumentImpl::getThemeFilterBase | ( | ) |
Definition at line 895 of file OOXMLDocumentImpl.cxx.
References mpStream, and mxThemeFilterBase.
Referenced by writerfilter::ooxml::OOXMLFastContextHandlerTheme::lcl_startFastElement().
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 233 of file OOXMLDocumentImpl.cxx.
References mnXNoteId.
Referenced by writerfilter::ooxml::OOXMLParserState::getXNoteId().
|
private |
Definition at line 259 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLDocumentFactory::createStream(), getDrawPage(), getModel(), maMediaDescriptor, mbSkipImages, mpStream, nId, nType, OOXMLDocumentImpl(), setDrawPage(), setModel(), and setXNoteId().
Referenced by resolveComment(), resolveEndnote(), and resolveFootnote().
|
private |
Definition at line 129 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLStream::CHARTS, writerfilter::ooxml::OOXMLDocumentFactory::createStream(), writerfilter::ooxml::OOXMLStream::CUSTOMXML, writerfilter::ooxml::OOXMLStream::CUSTOMXMLPROPS, writerfilter::ooxml::OOXMLStream::EMBEDDINGS, importSubStreamRelations(), mpStream, nType, and TOOLS_INFO_EXCEPTION.
Referenced by resolve(), and resolveCustomXmlStream().
|
private |
Definition at line 175 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLStream::CHARTS, writerfilter::ooxml::OOXMLDocumentFactory::createStream(), writerfilter::ooxml::OOXMLStream::CUSTOMXMLPROPS, writerfilter::ooxml::OOXMLStream::EMBEDDINGS, importSubStreamRelations(), mxCustomXmlProsDom, mxEmbeddings, nType, and TOOLS_WARN_EXCEPTION.
Referenced by importSubStream(), importSubStreamRelations(), and resolveEmbeddingsStream().
void writerfilter::ooxml::OOXMLDocumentImpl::incrementProgress | ( | ) |
Definition at line 546 of file OOXMLDocumentImpl.cxx.
References mnPercentSize, mnProgressCurrentPos, mnProgressEndPos, mnProgressLastPos, and mxStatusIndicator.
|
inline |
Definition at line 154 of file OOXMLDocumentImpl.hxx.
References mbSkipImages.
Referenced by writerfilter::ooxml::OOXMLFastContextHandlerWrapper::lcl_createFastChildContext().
|
overridevirtual |
Pop context of a previously pushed drawingML shape.
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 862 of file OOXMLDocumentImpl.cxx.
References maShapeContexts.
Referenced by writerfilter::ooxml::OOXMLFastContextHandlerShape::~OOXMLFastContextHandlerShape().
|
overridevirtual |
Push context of drawingML shapes, so nested shapes are handled separately.
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 857 of file OOXMLDocumentImpl.cxx.
References maShapeContexts.
Referenced by OOXMLDocumentImpl(), and writerfilter::ooxml::OOXMLFastContextHandlerShape::setToken().
|
overridevirtual |
Resolves this document to a stream handler.
rStream | stream handler to resolve this document to |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 438 of file OOXMLDocumentImpl.cxx.
References aMap, exceptionToString(), writerfilter::ooxml::OOXMLStream::FONTTABLE, cppu::getCaughtException(), getDrawPage(), SfxObjectShell::GetShellFromComponent(), getTheme(), writerfilter::ooxml::OOXMLStream::GLOSSARY, importSubStream(), SfxObjectShell::IsContinueImportOnFilterExceptions(), maMediaDescriptor, mbIsSubstream, mnPercentSize, mnProgressEndPos, mnXNoteId, mpStream, mxGlossaryDocDom, mxModel, mxStatusIndicator, mxThemeDom, writerfilter::ooxml::OOXMLStream::NUMBERING, nValue, resolveCustomXmlStream(), resolveEmbeddingsStream(), resolveFastSubStream(), resolveGlossaryStream(), SAL_WARN, writerfilter::Stream::setDocumentReference(), writerfilter::ooxml::OOXMLStream::SETTINGS, writerfilter::ooxml::OOXMLStream::STYLES, SvxResId(), and writerfilter::ooxml::OOXMLStream::THEME.
|
overridevirtual |
Resolves a comment to a stream handler.
rStream | stream handler to resolve to |
rComment | id of the comment to resolve |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 321 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLStream::COMMENTS, getXNoteStream(), mbCommentsExtendedResolved, nId, resolveCommentsExtendedStream(), and resolveFastSubStreamWithId().
|
private |
Definition at line 316 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLStream::COMMENTS_EXTENDED, and resolveFastSubStream().
Referenced by resolveComment().
|
private |
Definition at line 560 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLStreamImpl::accessDocumentStream(), aSeq, comphelper::containerToSequence(), customTarget, writerfilter::ooxml::OOXMLStream::CUSTOMXML, importSubStream(), mxCustomXmlDomList, mxCustomXmlDomPropsList, mxCustomXmlProsDom, and resolveFastSubStream().
Referenced by resolve().
|
private |
Definition at line 716 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLStreamImpl::accessDocumentStream(), aSeq, writerfilter::ooxml::OOXMLStream::CHARTS, comphelper::containerToSequence(), writerfilter::ooxml::OOXMLDocumentFactory::createStream(), customTarget, embeddingsTarget, writerfilter::ooxml::OOXMLStream::FOOTER, writerfilter::ooxml::OOXMLStream::HEADER, importSubStreamRelations(), m_aEmbeddings, mxEmbeddings, mxEmbeddingsList, resolveEmbeddingsStream(), TOOLS_INFO_EXCEPTION, u, and writerfilter::ooxml::OOXMLStream::UNKNOWN.
Referenced by resolve(), and resolveEmbeddingsStream().
|
overridevirtual |
Resolves an endnote to a stream handler.
An endnote is resolved if either the note type or note id matches.
rStream | stream handler to resolve to |
rNoteType | type of footnote to resolve |
rNoteId | id of the endnote to resolve |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 294 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLStream::ENDNOTES, getXNoteStream(), mpXEndnoteStream, nId, and resolveFastSubStreamWithId().
|
private |
Definition at line 77 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLDocumentFactory::createStream(), mnXNoteId, mpStream, nType, and TOOLS_INFO_EXCEPTION.
Referenced by resolve(), resolveCommentsExtendedStream(), and resolveCustomXmlStream().
|
staticprivate |
Definition at line 122 of file OOXMLDocumentImpl.cxx.
References nId, and writerfilter::Stream::substream().
Referenced by resolveComment(), resolveEndnote(), resolveFooter(), resolveFootnote(), and resolveHeader().
|
overridevirtual |
Resolves a footer to a stream handler.
rStream | stream handler to resolve to |
type | type of footer to resolve: NS_ooxml::LN_Value_ST_HrdFtr_even header on even page NS_ooxml::LN_Value_ST_HrdFtr_default header on right page NS_ooxml::LN_Value_ST_HrdFtr_first header on first page |
rId | id of the header |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 395 of file OOXMLDocumentImpl.cxx.
References getSubStream(), resolveFastSubStreamWithId(), and type.
|
overridevirtual |
Resolves a footnote to a stream handler.
A footnote is resolved if either the note type or note id matches.
rStream | stream handler to resolve to |
rNoteType | type of footnote to resolve |
rNoteId | id of the footnote to resolve |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 272 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLStream::FOOTNOTES, getXNoteStream(), mpXFootnoteStream, nId, and resolveFastSubStreamWithId().
|
private |
Definition at line 635 of file OOXMLDocumentImpl.cxx.
References writerfilter::ooxml::OOXMLStreamImpl::accessDocumentStream(), aSeq, comphelper::containerToSequence(), writerfilter::ooxml::OOXMLDocumentFactory::createStream(), writerfilter::ooxml::OOXMLStream::FONTTABLE, comphelper::NamedValueCollection::getNamedValues(), comphelper::NamedValueCollection::getOrDefault(), writerfilter::ooxml::OOXMLStream::GLOSSARY, mpStream, mxGlossaryDomList, name, nType, comphelper::NamedValueCollection::put(), SAL_WARN, writerfilter::ooxml::OOXMLStream::SETTINGS, sId, writerfilter::ooxml::OOXMLStream::STYLES, sType, TOOLS_INFO_EXCEPTION, writerfilter::ooxml::OOXMLStream::UNKNOWN, value, and writerfilter::ooxml::OOXMLStream::WEBSETTINGS.
Referenced by resolve().
|
overridevirtual |
Resolves a header to a stream handler.
rStream | stream handler to resolve to |
type | type of header to resolve: NS_ooxml::LN_Value_ST_HrdFtr_even header on even page NS_ooxml::LN_Value_ST_HrdFtr_default header on right page NS_ooxml::LN_Value_ST_HrdFtr_first header on first page |
rId | id of the header |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 373 of file OOXMLDocumentImpl.cxx.
References getSubStream(), resolveFastSubStreamWithId(), and type.
|
overridevirtual |
Resolves a picture to a stream handler.
rStream | stream handler to resolve to |
rPictureId | id of the picture to resolve |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 360 of file OOXMLDocumentImpl.cxx.
References tools::SvRef< typename T >::get(), getPicturePropSet(), and writerfilter::Stream::props().
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 828 of file OOXMLDocumentImpl.cxx.
References mxDrawPage.
Referenced by getSubStream(), and getXNoteStream().
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 818 of file OOXMLDocumentImpl.cxx.
References mxModel, and xModel.
Referenced by getSubStream(), and getXNoteStream().
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 843 of file OOXMLDocumentImpl.cxx.
References maShapeContexts.
Referenced by writerfilter::ooxml::OOXMLFastContextHandlerShape::setToken().
|
inline |
Definition at line 163 of file OOXMLDocumentImpl.hxx.
References mpTheme.
Referenced by writerfilter::ooxml::OOXMLFastContextHandlerShape::lcl_createFastChildContext(), and writerfilter::ooxml::OOXMLFastContextHandlerTheme::lcl_startFastElement().
|
overridevirtual |
Implements writerfilter::ooxml::OOXMLDocument.
Definition at line 228 of file OOXMLDocumentImpl.cxx.
References mnXNoteId, and nId.
Referenced by getXNoteStream(), and writerfilter::ooxml::OOXMLParserState::setXNoteId().
|
private |
Definition at line 57 of file OOXMLDocumentImpl.hxx.
Referenced by resolveEmbeddingsStream().
|
private |
DocumentBaseURL.
Definition at line 69 of file OOXMLDocumentImpl.hxx.
Referenced by GetDocumentBaseURL().
|
private |
Definition at line 70 of file OOXMLDocumentImpl.hxx.
Referenced by getMediaDescriptor(), getSubStream(), getXNoteStream(), and resolve().
|
private |
Stack of shape contexts, 1 element for VML, 1 element / nesting level for drawingML.
Definition at line 50 of file OOXMLDocumentImpl.hxx.
Referenced by getShapeContext(), popShapeContext(), pushShapeContext(), and setShapeContext().
|
private |
Definition at line 79 of file OOXMLDocumentImpl.hxx.
Referenced by resolveComment().
|
private |
Definition at line 58 of file OOXMLDocumentImpl.hxx.
Referenced by getSubStream(), and resolve().
|
private |
Definition at line 59 of file OOXMLDocumentImpl.hxx.
Referenced by getSubStream(), getXNoteStream(), and IsSkipImages().
|
private |
How many paragraphs equal to 1 percent?
Definition at line 61 of file OOXMLDocumentImpl.hxx.
Referenced by incrementProgress(), and resolve().
|
private |
Current position progress, updated after every paragraph.
Definition at line 65 of file OOXMLDocumentImpl.hxx.
Referenced by incrementProgress().
|
private |
End position, i.e. the estimated number of paragraphs.
Definition at line 67 of file OOXMLDocumentImpl.hxx.
Referenced by incrementProgress(), and resolve().
|
private |
Position progress when it was last updated, possibly not after every paragraph in case of large documents.
Definition at line 63 of file OOXMLDocumentImpl.hxx.
Referenced by incrementProgress().
|
private |
Definition at line 43 of file OOXMLDocumentImpl.hxx.
Referenced by getXNoteId(), resolve(), resolveFastSubStream(), and setXNoteId().
|
private |
Definition at line 39 of file OOXMLDocumentImpl.hxx.
Referenced by getInputStreamForId(), getPicturePropSet(), getShapeFilterBase(), getSubStream(), getTarget(), getTargetForId(), getThemeFilterBase(), getXNoteStream(), importSubStream(), resolve(), resolveFastSubStream(), and resolveGlossaryStream().
|
private |
Definition at line 75 of file OOXMLDocumentImpl.hxx.
Referenced by getTheme(), and setTheme().
|
private |
Definition at line 42 of file OOXMLDocumentImpl.hxx.
Referenced by resolveEndnote().
|
private |
Definition at line 41 of file OOXMLDocumentImpl.hxx.
Referenced by resolveFootnote().
|
private |
Definition at line 52 of file OOXMLDocumentImpl.hxx.
Referenced by getCustomXmlDomList(), and resolveCustomXmlStream().
|
private |
Definition at line 53 of file OOXMLDocumentImpl.hxx.
Referenced by getCustomXmlDomPropsList(), and resolveCustomXmlStream().
|
private |
Definition at line 54 of file OOXMLDocumentImpl.hxx.
Referenced by importSubStreamRelations(), and resolveCustomXmlStream().
|
private |
Definition at line 46 of file OOXMLDocumentImpl.hxx.
Referenced by getDrawPage(), getSubStream(), and setDrawPage().
|
private |
Definition at line 55 of file OOXMLDocumentImpl.hxx.
Referenced by importSubStreamRelations(), and resolveEmbeddingsStream().
|
private |
Definition at line 56 of file OOXMLDocumentImpl.hxx.
Referenced by getEmbeddingsList(), and resolveEmbeddingsStream().
|
private |
Definition at line 47 of file OOXMLDocumentImpl.hxx.
Referenced by getGlossaryDocDom(), and resolve().
|
private |
Definition at line 48 of file OOXMLDocumentImpl.hxx.
Referenced by getGlossaryDomList(), and resolveGlossaryStream().
|
private |
Graphic mapper.
Definition at line 72 of file OOXMLDocumentImpl.hxx.
Referenced by getGraphicMapper().
|
private |
Definition at line 45 of file OOXMLDocumentImpl.hxx.
Referenced by getModel(), getSubStream(), resolve(), and setModel().
|
private |
Definition at line 76 of file OOXMLDocumentImpl.hxx.
Referenced by getShapeFilterBase().
|
private |
Definition at line 40 of file OOXMLDocumentImpl.hxx.
Referenced by incrementProgress(), and resolve().
|
private |
Definition at line 51 of file OOXMLDocumentImpl.hxx.
Referenced by getThemeDom(), and resolve().
|
private |
Definition at line 77 of file OOXMLDocumentImpl.hxx.
Referenced by getThemeFilterBase().