20#ifndef INCLUDED_SW_SOURCE_CORE_INC_SWPORTIONHANDLER_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_SWPORTIONHANDLER_HXX
24#include <rtl/ustring.hxx>
60 sal_Int32 nHeight = 0,
71 const OUString& rText,
73 sal_Int32 nHeight = 0,
75 const SwFont* pFont =
nullptr
The SwPortionHandler interface implements a visitor for the layout engine's text portions.
virtual void Special(TextFrameIndex nLength, const OUString &rText, PortionType nType, sal_Int32 nHeight=0, sal_Int32 nWidth=0, const SwFont *pFont=nullptr)=0
special portion.
virtual void LineBreak(sal_Int32 nWidth)=0
line break.
virtual void Skip(TextFrameIndex nLength)=0
skip characters.
virtual void Finish()=0
end of paragraph.
virtual ~SwPortionHandler()
virtual void Text(TextFrameIndex nLength, PortionType nType, sal_Int32 nHeight=0, sal_Int32 nWidth=0)=0
(empty) destructor