25#include <com/sun/star/lang/XComponent.hpp>
26#include <com/sun/star/style/TabAlign.hpp>
40 class XComponentContext;
43 class XMultiServiceFactory;
61class DomainMapper_Impl;
64class GraphicZOrderHelper;
71 std::unique_ptr<DomainMapper_Impl>
m_pImpl;
74 DomainMapper(
const css::uno::Reference<css::uno::XComponentContext>& xContext,
75 css::uno::Reference<css::io::XInputStream>
const& xInputStream,
76 css::uno::Reference<css::lang::XComponent>
const& xModel,
103 css::uno::Reference<css::lang::XMultiServiceFactory>
const &
GetTextFactory()
const;
127 const std::map<sal_Int32, css::uno::Any>& rDeferredCharacterProperties,
128 bool bCharContext =
true);
152 virtual void lcl_startShape(css::uno::Reference<css::drawing::XShape>
const& xShape)
override;
160 virtual void lcl_align(
const OUString& rText,
bool bVertical)
override;
169 virtual void lcl_checkId(
const sal_Int32 nId)
override;
178 void finishParagraph(
const bool bRemove =
false,
const bool bNoNumbering =
false);
181 void handleParaJustification(
const sal_Int32 nIntValue, const ::tools::SvRef<PropertyMap>& rContext,
const bool bExchangeLeftRight);
std::vector< css::beans::PropertyValue > PropertyValueVector_t
Handler for binary objects.
void sprm(Sprm &sprm) override
Receives a SPRM.
An SPRM: Section, Paragraph and Run Modifier.
void HandleRedline(Sprm &rSprm)
virtual void lcl_endTextBoxContent() override
virtual void lcl_endSectionGroup() override
virtual void lcl_props(writerfilter::Reference< Properties >::Pointer_t ref) override
virtual void lcl_startShape(css::uno::Reference< css::drawing::XShape > const &xShape) override
virtual void lcl_endCharacterGroup() override
virtual void lcl_attribute(Id Name, Value &val) override
virtual void lcl_endGlossaryEntry() override
static OUString getBracketStringFromEnum(const sal_Int32 nIntValue, const bool bIsPrefix=true)
GraphicZOrderHelper * graphicZOrderHelper()
virtual void markLastSectionGroup() override
The current section is the last one in this body text.
virtual void lcl_positivePercentage(const OUString &rText) override
css::uno::Reference< css::container::XNameContainer > const & GetCharacterStyles()
void enableInteropGrabBag(const OUString &aName)
Enable storing of seen tokens in a named grab bag.
bool IsStyleSheetImport() const
bool IsOOXMLImport() const
virtual void lcl_substream(Id name, ::writerfilter::Reference< Stream >::Pointer_t ref) override
virtual void lcl_endShape() override
virtual css::awt::Point getPositionOffset() override
Returns the last set offsets of a shape in HMM.
virtual void markLastParagraphInSection() override
css::uno::Reference< css::text::XTextRange > GetCurrentTextRange()
virtual void lcl_text(const sal_uInt8 *data, size_t len) override
css::uno::Reference< css::drawing::XShape > PopPendingShape()
Return the first from the pending (not inserted to the document) shapes, if there are any.
void PopStyleSheetProperties(bool bAffectTableMngr=false)
virtual void lcl_entry(writerfilter::Reference< Properties >::Pointer_t ref) override
OUString GetUnusedCharacterStyleName()
OUString GetListStyleName(sal_Int32 nListId) const
static sal_Int16 getEmphasisValue(const sal_Int32 nIntValue)
virtual void lcl_startCharacterGroup() override
StyleSheetTablePtr const & GetStyleSheetTable()
void ValidateListLevel(const OUString &sStyleIdentifierD)
void hasControls(const bool bSet)
void SetDocDefaultsImport(bool bSet)
bool IsNumberingImport() const
OUString getOrCreateCharStyle(PropertyValueVector_t &rCharProperties, bool bAlwaysCreate)
virtual void lcl_startGlossaryEntry() override
virtual void lcl_utext(const sal_uInt8 *data, size_t len) override
virtual void lcl_align(const OUString &rText, bool bVertical) override
void sprmWithProps(Sprm &sprm, const PropertyMapPtr &pContext)
std::unique_ptr< DomainMapper_Impl > m_pImpl
virtual void lcl_sprm(Sprm &sprm) override
css::uno::Reference< css::lang::XMultiServiceFactory > const & GetTextFactory() const
void PushStyleSheetProperties(const PropertyMapPtr &pStyleProperties, bool bAffectTableMngr=false)
static css::style::TabAlign getTabAlignFromValue(const sal_Int32 nIntValue)
void PushListProperties(const ::tools::SvRef< PropertyMap > &pListProperties)
static bool getColorFromId(const Id, sal_Int32 &nColor)
static sal_Unicode getFillCharFromValue(const sal_Int32 nIntValue)
virtual ~DomainMapper() override
std::unique_ptr< GraphicZOrderHelper > m_zOrderHelper
virtual void lcl_checkId(const sal_Int32 nId) override
DomainMapper(const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::io::XInputStream > const &xInputStream, css::uno::Reference< css::lang::XComponent > const &xModel, bool bRepairStorage, SourceDocumentType eDocumentType, utl::MediaDescriptor const &rMediaDesc)
virtual void setDocumentReference(writerfilter::ooxml::OOXMLDocument *pDocument) override
virtual void lcl_startTextBoxContent() override
virtual void lcl_positionOffset(const OUString &rText, bool bVertical) override
static void handleUnderlineType(const Id nId, const ::tools::SvRef< PropertyMap > &rContext)
void processDeferredCharacterProperties(const std::map< sal_Int32, css::uno::Any > &rDeferredCharacterProperties, bool bCharContext=true)
css::beans::PropertyValue getInteropGrabBag()
Get the stored tokens and clear the internal storage.
bool IsInHeaderFooter() const
virtual void lcl_startSectionGroup() override
SettingsTablePtr const & GetSettingsTable()
virtual void lcl_endParagraphGroup() override
virtual void data(const sal_uInt8 *buf, size_t len) override
Receives binary data of the object.
virtual void lcl_startParagraphGroup() override
void handleParaJustification(const sal_Int32 nIntValue, const ::tools::SvRef< PropertyMap > &rContext, const bool bExchangeLeftRight)
virtual void lcl_table(Id name, writerfilter::Reference< Table >::Pointer_t ref) override
void ProcessDeferredStyleCharacterProperties()
virtual void commentProps(const OUString &sId, const CommentProperties &rProps) override
void finishParagraph(const bool bRemove=false, const bool bNoNumbering=false)
OUString m_sGlossaryEntryName
std::map< sal_Int32, STLPropertyMapEntry > PropertyMap
tools::SvRef< StyleSheetTable > StyleSheetTablePtr