LibreOffice Module writerfilter (master) 1
|
#include <LoggedResources.hxx>
Public Member Functions | |
LoggedStream (const std::string &sPrefix) | |
virtual | ~LoggedStream () override |
void | startSectionGroup () override |
Receives start mark for group with the same section properties. More... | |
void | endSectionGroup () override |
Receives end mark for group with the same section properties. More... | |
void | startParagraphGroup () override |
Receives start mark for group with the same paragraph properties. More... | |
void | endParagraphGroup () override |
Receives end mark for group with the same paragraph properties. More... | |
void | startCharacterGroup () override |
Receives start mark for group with the same character properties. More... | |
void | endCharacterGroup () override |
Receives end mark for group with the same character properties. More... | |
void | startShape (css::uno::Reference< css::drawing::XShape > const &xShape) override |
Receives a shape. More... | |
void | endShape () override |
void | startTextBoxContent () override |
Receives a text-box-content. More... | |
void | endTextBoxContent () override |
void | text (const sal_uInt8 *data, size_t len) override |
Receives 8-bit per character text. More... | |
void | utext (const sal_uInt8 *data, size_t len) override |
Receives 16-bit per character text. More... | |
void | positionOffset (const OUString &rText, bool bVertical) override |
Offset in EMUs for a shape. More... | |
void | align (const OUString &rText, bool bVertical) override |
Horizontal and vertical alignment for a shape. More... | |
void | positivePercentage (const OUString &rText) override |
void | props (writerfilter::Reference< Properties >::Pointer_t ref) override |
Receives properties of the current run of text. More... | |
void | table (Id name, writerfilter::Reference< Table >::Pointer_t ref) override |
Receives table. More... | |
void | substream (Id name, writerfilter::Reference< Stream >::Pointer_t ref) override |
Receives a substream. More... | |
void | info (const std::string &info) override |
Debugging: Receives information about current point in stream. More... | |
void | startGlossaryEntry () override |
Receives start mark for glossary document entry. More... | |
void | endGlossaryEntry () override |
Receives end mark for glossary document entry. More... | |
void | checkId (const sal_Int32 nId) override |
Receives identifier for node entry. More... | |
virtual void | setDocumentReference (writerfilter::ooxml::OOXMLDocument *) override |
![]() | |
virtual void | startSectionGroup ()=0 |
Receives start mark for group with the same section properties. More... | |
virtual void | endSectionGroup ()=0 |
Receives end mark for group with the same section properties. More... | |
virtual void | markLastSectionGroup () |
The current section is the last one in this body text. More... | |
virtual void | setDocumentReference (writerfilter::ooxml::OOXMLDocument *pDocument)=0 |
virtual void | startParagraphGroup ()=0 |
Receives start mark for group with the same paragraph properties. More... | |
virtual void | endParagraphGroup ()=0 |
Receives end mark for group with the same paragraph properties. More... | |
virtual void | markLastParagraphInSection () |
virtual void | startCharacterGroup ()=0 |
Receives start mark for group with the same character properties. More... | |
virtual void | endCharacterGroup ()=0 |
Receives end mark for group with the same character properties. More... | |
virtual void | startShape (css::uno::Reference< css::drawing::XShape > const &xShape)=0 |
Receives a shape. More... | |
virtual void | endShape ()=0 |
virtual void | startTextBoxContent ()=0 |
Receives a text-box-content. More... | |
virtual void | endTextBoxContent ()=0 |
virtual void | text (const sal_uInt8 *data, size_t len)=0 |
Receives 8-bit per character text. More... | |
virtual void | utext (const sal_uInt8 *data, size_t len)=0 |
Receives 16-bit per character text. More... | |
virtual void | positionOffset (const OUString &rText, bool bVertical)=0 |
Offset in EMUs for a shape. More... | |
virtual css::awt::Point | getPositionOffset ()=0 |
Returns the last set offsets of a shape in HMM. More... | |
virtual void | align (const OUString &rText, bool bVertical)=0 |
Horizontal and vertical alignment for a shape. More... | |
virtual void | positivePercentage (const OUString &rText)=0 |
virtual void | props (writerfilter::Reference< Properties >::Pointer_t ref)=0 |
Receives properties of the current run of text. More... | |
virtual void | table (Id name, writerfilter::Reference< Table >::Pointer_t ref)=0 |
Receives table. More... | |
virtual void | substream (Id name, writerfilter::Reference< Stream >::Pointer_t ref)=0 |
Receives a substream. More... | |
virtual void | info (const std::string &info)=0 |
Debugging: Receives information about current point in stream. More... | |
virtual void | startGlossaryEntry ()=0 |
Receives start mark for glossary document entry. More... | |
virtual void | endGlossaryEntry ()=0 |
Receives end mark for glossary document entry. More... | |
virtual void | checkId (const sal_Int32 nId)=0 |
Receives identifier for node entry. More... | |
virtual void | commentProps (const OUString &, const CommentProperties &) |
![]() | |
SvRefBase () | |
SvRefBase (const SvRefBase &) | |
SvRefBase & | operator= (const SvRefBase &) |
void | RestoreNoDelete () |
void | AddNextRef () |
void | AddFirstRef () |
void | ReleaseRef () |
unsigned int | GetRefCount () const |
Protected Member Functions | |
virtual void | lcl_startSectionGroup ()=0 |
virtual void | lcl_endSectionGroup ()=0 |
virtual void | lcl_startParagraphGroup ()=0 |
virtual void | lcl_endParagraphGroup ()=0 |
virtual void | lcl_startCharacterGroup ()=0 |
virtual void | lcl_endCharacterGroup ()=0 |
virtual void | lcl_startShape (css::uno::Reference< css::drawing::XShape > const &xShape)=0 |
virtual void | lcl_endShape ()=0 |
virtual void | lcl_startTextBoxContent ()=0 |
virtual void | lcl_endTextBoxContent ()=0 |
virtual void | lcl_text (const sal_uInt8 *data, size_t len)=0 |
virtual void | lcl_utext (const sal_uInt8 *data, size_t len)=0 |
virtual void | lcl_positionOffset (const OUString &, bool) |
virtual css::awt::Point | getPositionOffset () override |
Returns the last set offsets of a shape in HMM. More... | |
virtual void | lcl_align (const OUString &, bool) |
virtual void | lcl_positivePercentage (const OUString &) |
virtual void | lcl_props (writerfilter::Reference< Properties >::Pointer_t ref)=0 |
virtual void | lcl_table (Id name, writerfilter::Reference< Table >::Pointer_t ref)=0 |
virtual void | lcl_substream (Id name, writerfilter::Reference< Stream >::Pointer_t ref)=0 |
virtual void | lcl_startGlossaryEntry () |
virtual void | lcl_endGlossaryEntry () |
virtual void | lcl_checkId (const sal_Int32) |
![]() | |
~Stream () override | |
![]() | |
virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Private Attributes | |
LoggedResourcesHelper | mHelper |
Additional Inherited Members | |
![]() | |
typedef tools::SvRef< Stream > | Pointer_t |
Pointer to this stream. More... | |
Definition at line 49 of file LoggedResources.hxx.
|
explicit |
Definition at line 67 of file LoggedResources.cxx.
|
overridevirtual |
Definition at line 77 of file LoggedResources.cxx.
|
overridevirtual |
Horizontal and vertical alignment for a shape.
Call before an ooxml:CT_PosH/V_align sprm is sent.
Implements writerfilter::Stream.
Definition at line 209 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::attribute(), writerfilter::LoggedResourcesHelper::chars(), writerfilter::LoggedResourcesHelper::endElement(), lcl_align(), mHelper, and writerfilter::LoggedResourcesHelper::startElement().
|
overridevirtual |
Receives identifier for node entry.
Implements writerfilter::Stream.
Definition at line 319 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::chars(), writerfilter::LoggedResourcesHelper::endElement(), lcl_checkId(), mHelper, nId, and writerfilter::LoggedResourcesHelper::startElement().
|
overridevirtual |
Receives end mark for group with the same character properties.
Implements writerfilter::Stream.
Definition at line 124 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::endElement(), and lcl_endCharacterGroup().
|
overridevirtual |
Receives end mark for glossary document entry.
Implements writerfilter::Stream.
Definition at line 306 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::endElement(), lcl_endGlossaryEntry(), mHelper, and writerfilter::LoggedResourcesHelper::startElement().
|
overridevirtual |
Receives end mark for group with the same paragraph properties.
Implements writerfilter::Stream.
Definition at line 106 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::endElement(), and lcl_endParagraphGroup().
|
overridevirtual |
Receives end mark for group with the same section properties.
Implements writerfilter::Stream.
Definition at line 88 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::endElement(), and lcl_endSectionGroup().
|
overridevirtual |
Implements writerfilter::Stream.
Definition at line 142 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::endElement(), and lcl_endShape().
|
overridevirtual |
Implements writerfilter::Stream.
Definition at line 153 of file LoggedResources.cxx.
References lcl_endTextBoxContent().
|
inlineoverrideprotectedvirtual |
Returns the last set offsets of a shape in HMM.
Implements writerfilter::Stream.
Reimplemented in writerfilter::dmapper::DomainMapper.
Definition at line 94 of file LoggedResources.hxx.
|
overridevirtual |
Debugging: Receives information about current point in stream.
info | the information |
Implements writerfilter::Stream.
Definition at line 279 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::attribute(), writerfilter::LoggedResourcesHelper::endElement(), mHelper, and writerfilter::LoggedResourcesHelper::startElement().
|
inlineprotectedvirtual |
Reimplemented in writerfilter::dmapper::DomainMapper.
Definition at line 95 of file LoggedResources.hxx.
Referenced by align().
|
inlineprotectedvirtual |
Reimplemented in writerfilter::dmapper::DomainMapper.
Definition at line 102 of file LoggedResources.hxx.
Referenced by checkId().
|
protectedpure virtual |
Implemented in writerfilter::dmapper::DomainMapper, writerfilter::dmapper::FontTable, and writerfilter::dmapper::GraphicImport.
Referenced by endCharacterGroup().
|
inlineprotectedvirtual |
Reimplemented in writerfilter::dmapper::DomainMapper.
Definition at line 101 of file LoggedResources.hxx.
Referenced by endGlossaryEntry().
|
protectedpure virtual |
Implemented in writerfilter::dmapper::DomainMapper, writerfilter::dmapper::FontTable, and writerfilter::dmapper::GraphicImport.
Referenced by endParagraphGroup().
|
protectedpure virtual |
Implemented in writerfilter::dmapper::DomainMapper, writerfilter::dmapper::FontTable, and writerfilter::dmapper::GraphicImport.
Referenced by endSectionGroup().
|
protectedpure virtual |
Implemented in writerfilter::dmapper::DomainMapper, writerfilter::dmapper::FontTable, and writerfilter::dmapper::GraphicImport.
Referenced by endShape().
|
protectedpure virtual |
Implemented in writerfilter::dmapper::DomainMapper, writerfilter::dmapper::FontTable, and writerfilter::dmapper::GraphicImport.
Referenced by endTextBoxContent().
|
inlineprotectedvirtual |
Reimplemented in writerfilter::dmapper::DomainMapper.
Definition at line 93 of file LoggedResources.hxx.
Referenced by positionOffset().
|
inlineprotectedvirtual |
Reimplemented in writerfilter::dmapper::DomainMapper.
Definition at line 96 of file LoggedResources.hxx.
Referenced by positivePercentage().
|
protectedpure virtual |
Referenced by props().
|
protectedpure virtual |
Implemented in writerfilter::dmapper::DomainMapper, writerfilter::dmapper::FontTable, and writerfilter::dmapper::GraphicImport.
Referenced by startCharacterGroup().
|
inlineprotectedvirtual |
Reimplemented in writerfilter::dmapper::DomainMapper.
Definition at line 100 of file LoggedResources.hxx.
Referenced by startGlossaryEntry().
|
protectedpure virtual |
Implemented in writerfilter::dmapper::DomainMapper, writerfilter::dmapper::FontTable, and writerfilter::dmapper::GraphicImport.
Referenced by startParagraphGroup().
|
protectedpure virtual |
Implemented in writerfilter::dmapper::DomainMapper, writerfilter::dmapper::FontTable, and writerfilter::dmapper::GraphicImport.
Referenced by startSectionGroup().
|
protectedpure virtual |
Implemented in writerfilter::dmapper::DomainMapper, writerfilter::dmapper::FontTable, and writerfilter::dmapper::GraphicImport.
Referenced by startShape().
|
protectedpure virtual |
Implemented in writerfilter::dmapper::DomainMapper, writerfilter::dmapper::FontTable, and writerfilter::dmapper::GraphicImport.
Referenced by startTextBoxContent().
|
protectedpure virtual |
Referenced by substream().
|
protectedpure virtual |
Referenced by table().
|
protectedpure virtual |
Implemented in writerfilter::dmapper::DomainMapper, writerfilter::dmapper::FontTable, and writerfilter::dmapper::GraphicImport.
Referenced by text().
|
protectedpure virtual |
Implemented in writerfilter::dmapper::DomainMapper, writerfilter::dmapper::FontTable, and writerfilter::dmapper::GraphicImport.
Referenced by utext().
|
overridevirtual |
Offset in EMUs for a shape.
Call before an ooxml::CT_PosH/V_posOffset sprm is sent.
Implements writerfilter::Stream.
Definition at line 194 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::attribute(), writerfilter::LoggedResourcesHelper::chars(), writerfilter::LoggedResourcesHelper::endElement(), lcl_positionOffset(), mHelper, and writerfilter::LoggedResourcesHelper::startElement().
|
overridevirtual |
Implements writerfilter::Stream.
Definition at line 224 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::chars(), writerfilter::LoggedResourcesHelper::endElement(), lcl_positivePercentage(), mHelper, and writerfilter::LoggedResourcesHelper::startElement().
|
overridevirtual |
Receives properties of the current run of text.
ref | reference to the properties |
Implements writerfilter::Stream.
Definition at line 238 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::endElement(), lcl_props(), mHelper, and writerfilter::LoggedResourcesHelper::startElement().
Referenced by writerfilter::dmapper::DomainMapper::lcl_utext(), and writerfilter::dmapper::DomainMapper::sprmWithProps().
|
inlineoverridevirtual |
Implements writerfilter::Stream.
Reimplemented in writerfilter::dmapper::DomainMapper.
Definition at line 78 of file LoggedResources.hxx.
|
overridevirtual |
Receives start mark for group with the same character properties.
Implements writerfilter::Stream.
Definition at line 115 of file LoggedResources.cxx.
References lcl_startCharacterGroup(), mHelper, and writerfilter::LoggedResourcesHelper::startElement().
|
overridevirtual |
Receives start mark for glossary document entry.
Implements writerfilter::Stream.
Definition at line 293 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::endElement(), lcl_startGlossaryEntry(), mHelper, and writerfilter::LoggedResourcesHelper::startElement().
|
overridevirtual |
Receives start mark for group with the same paragraph properties.
Implements writerfilter::Stream.
Definition at line 97 of file LoggedResources.cxx.
References lcl_startParagraphGroup(), mHelper, and writerfilter::LoggedResourcesHelper::startElement().
|
overridevirtual |
Receives start mark for group with the same section properties.
Implements writerfilter::Stream.
Definition at line 79 of file LoggedResources.cxx.
References lcl_startSectionGroup(), mHelper, and writerfilter::LoggedResourcesHelper::startElement().
|
overridevirtual |
Receives a shape.
Implements writerfilter::Stream.
Definition at line 133 of file LoggedResources.cxx.
References lcl_startShape(), mHelper, and writerfilter::LoggedResourcesHelper::startElement().
|
overridevirtual |
Receives a text-box-content.
Implements writerfilter::Stream.
Definition at line 151 of file LoggedResources.cxx.
References lcl_startTextBoxContent().
|
overridevirtual |
Receives a substream.
name | name of the substream |
ref | reference to the substream |
Implements writerfilter::Stream.
Definition at line 265 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::attribute(), writerfilter::LoggedResourcesHelper::endElement(), lcl_substream(), mHelper, name, writerfilter::QNameToString(), and writerfilter::LoggedResourcesHelper::startElement().
|
overridevirtual |
Receives table.
name | name of the table |
ref | reference to the table |
Implements writerfilter::Stream.
Definition at line 251 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::attribute(), writerfilter::LoggedResourcesHelper::endElement(), lcl_table(), mHelper, name, writerfilter::QNameToString(), and writerfilter::LoggedResourcesHelper::startElement().
|
overridevirtual |
Receives 8-bit per character text.
data | buffer containing the text |
len | number of characters in the text |
Implements writerfilter::Stream.
Definition at line 155 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::chars(), writerfilter::LoggedResourcesHelper::endElement(), lcl_text(), mHelper, and writerfilter::LoggedResourcesHelper::startElement().
|
overridevirtual |
Receives 16-bit per character text.
data | buffer containing the text |
len | number of characters in the text. |
Implements writerfilter::Stream.
Definition at line 174 of file LoggedResources.cxx.
References writerfilter::LoggedResourcesHelper::chars(), writerfilter::LoggedResourcesHelper::endElement(), lcl_utext(), mHelper, and writerfilter::LoggedResourcesHelper::startElement().
Referenced by writerfilter::dmapper::DomainMapper::sprmWithProps().
|
private |
Definition at line 106 of file LoggedResources.hxx.
Referenced by align(), checkId(), endGlossaryEntry(), info(), positionOffset(), positivePercentage(), props(), startCharacterGroup(), startGlossaryEntry(), startParagraphGroup(), startSectionGroup(), startShape(), substream(), table(), text(), and utext().