20#include <com/sun/star/i18n/ScriptType.hpp>
28#include <osl/diagnose.h>
40 : pDestNode(pD), nDestStart(nD), nSourceStart(nS), nLen(nL)
46 ,
nPos( nP ), nLen( nL )
47 , isInsideFieldmarkCommand(isInFMCommand)
48 , isInsideFieldmarkResult(isInFMResult)
63 : nStart(nS), nLen(nL)
68 : nStart(nS), nLen(nL)
88 OSL_ENSURE(
pOut,
"No OutputDevice pointer" );
98 m_pTable( pNewTable ), m_pHistory( nullptr ), m_nSplitLine( USHRT_MAX ),
103 OSL_ENSURE(
m_pTable,
"No Table pointer" );
115 m_pTheChgdSet( &rTheSet )
122 m_pTheChgdSet( rChgSet.m_pTheChgdSet )
136 OSL_ENSURE(
m_bDelSet,
"The Set may not be changed!" );
148 assert(
false &&
"SwMsgPoolItem knows no ==" );
154 OSL_FAIL(
"SwMsgPoolItem knows no Clone" );
158#if OSL_DEBUG_LEVEL > 0
164 OSL_ENSURE( pHt,
"GetDfltFormatAttr(): Dflt == 0" );
189 if( nIdx < m_pNode->GetIndex() &&
198 static const sal_uInt16 aLangMap[3] =
200 static const sal_uInt16 aFontMap[3] =
202 static const sal_uInt16 aFontSizeMap[3] =
204 static const sal_uInt16 aWeightMap[3] =
206 static const sal_uInt16 aPostureMap[3] =
209 const sal_uInt16* pM;
251 if( i18n::ScriptType::WEAK == nScript )
255 case i18n::ScriptType::COMPLEX:
258 case i18n::ScriptType::ASIAN:
sal_uInt16 ClearItem(sal_uInt16 nWhich=0)
SwAttrSetChg(const SwAttrSet &rTheSet, SwAttrSet &rSet)
SwAttrSet * m_pChgSet
what has changed
void ClearItem(sal_uInt16 nWhichL)
virtual ~SwAttrSetChg() override
SwDocPosUpdate(const SwTwips nDocPos)
void CheckNode(const SwNode &rNd)
SwFindNearestNode(const SwNode &rNd)
virtual bool operator==(const SfxPoolItem &) const override
virtual SwMsgPoolItem * Clone(SfxItemPool *pPool=nullptr) const override
SwMsgPoolItem(sal_uInt16 nWhich)
Base class of the Writer document model elements.
SwNodeOffset GetIndex() const
SwNodes & GetNodes()
Node is in which nodes-array/doc?
SwNode & GetEndOfExtras() const
This is the last EndNode of a special section.
A page of the document layout.
VclPtr< OutputDevice > pOut
pointer to the current output device
SwRefMarkFieldUpdate(OutputDevice *)
Is sent if reference marks should be updated.
SwTable is one table in the document model, containing rows (which contain cells).
SwTextNode is a paragraph in the document model.
SwUpdateAttr(sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW)
SwVirtPageNumInfo(const SwPageFrame *pPg)
Multiple attributes can be attached to a single paragraph / table The frame, in the end,...
DeleteChar(const sal_Int32 nPos)
DeleteText(sal_Int32 nS, sal_Int32 nL)
InsertText(sal_Int32 nP, sal_Int32 nL, bool isInFMCommand, bool isInFMResult)
MoveText(SwTextNode *pD, sal_Int32 nD, sal_Int32 nS, sal_Int32 nL)
RedlineDelText(sal_Int32 nS, sal_Int32 nL)
RedlineUnDelText(sal_Int32 nS, sal_Int32 nL)
constexpr TypedWhichId< SwVirtPageNumInfo > RES_VIRTPAGENUM_INFO(180)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CTL_FONTSIZE(28)
constexpr TypedWhichId< SwRefMarkFieldUpdate > RES_REFMARKFLD_UPDATE(168)
constexpr sal_uInt16 POOLATTR_BEGIN(HINT_BEGIN)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_FONTSIZE(8)
constexpr TypedWhichId< SwFindNearestNode > RES_FINDNEARESTNODE(184)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_LANGUAGE(10)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_WEIGHT(15)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CTL_LANGUAGE(29)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CJK_FONTSIZE(23)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CTL_FONT(27)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CTL_WEIGHT(31)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CJK_LANGUAGE(24)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CTL_POSTURE(30)
constexpr TypedWhichId< SwDocPosUpdate > RES_DOCPOS_UPDATE(169)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_POSTURE(11)
constexpr TypedWhichId< SwFormatChg > RES_FMT_CHG(162)
constexpr TypedWhichId< SwAttrSetChg > RES_ATTRSET_CHG(163)
constexpr TypedWhichId< SwTableFormulaUpdate > RES_TABLEFML_UPDATE(170)
constexpr TypedWhichId< SwAutoFormatGetDocNode > RES_AUTOFMT_DOCNODE(173)
constexpr TypedWhichId< SwUpdateAttr > RES_UPDATE_ATTR(167)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CJK_WEIGHT(26)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_FONT(7)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CJK_POSTURE(25)
const SfxPoolItem * GetDfltAttr(sal_uInt16 nWhich)
Get the default attribute from corresponding default attribute table.
sal_uInt16 GetWhichOfScript(sal_uInt16 nWhich, sal_uInt16 nScript)
LanguageType GetAppLanguage()
sal_Int16 GetI18NScriptTypeOfLanguage(LanguageType nLang)
Dialog to specify the properties of date form field.