summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porexp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/porexp.hxx')
-rw-r--r--sw/source/core/text/porexp.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/sw/source/core/text/porexp.hxx b/sw/source/core/text/porexp.hxx
index c3cebe233715..82de5b1be4fc 100644
--- a/sw/source/core/text/porexp.hxx
+++ b/sw/source/core/text/porexp.hxx
@@ -33,8 +33,12 @@ public:
// Accessibility: pass information about this portion to the PortionHandler
virtual void HandlePortion( SwPortionHandler& rPH ) const override;
+
+ void dumpAsXml(xmlTextWriterPtr pWriter, const OUString& rText,
+ TextFrameIndex& nOffset) const override;
};
+/// Non-breaking space or non-breaking hyphen.
class SwBlankPortion : public SwExpandPortion
{
sal_Unicode m_cChar;
@@ -54,18 +58,21 @@ public:
// Accessibility: pass information about this portion to the PortionHandler
virtual void HandlePortion( SwPortionHandler& rPH ) const override;
+
+ void dumpAsXml(xmlTextWriterPtr pWriter, const OUString& rText,
+ TextFrameIndex& nOffset) const override;
};
class SwPostItsPortion : public SwExpandPortion
{
- bool bScript;
+ bool m_bScript;
public:
explicit SwPostItsPortion( bool bScrpt );
virtual void Paint( const SwTextPaintInfo &rInf ) const override;
virtual bool Format( SwTextFormatInfo &rInf ) override;
virtual sal_uInt16 GetViewWidth( const SwTextSizeInfo &rInf ) const override;
virtual bool GetExpText( const SwTextSizeInfo &rInf, OUString &rText ) const override;
- bool IsScript() const { return bScript; }
+ bool IsScript() const { return m_bScript; }
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */