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)
86 , m_nSplitLine(USHRT_MAX)
91 OSL_ENSURE(
m_pTable,
"No Table pointer" );
103 m_pTheChgdSet( &rTheSet )
110 m_pTheChgdSet( rChgSet.m_pTheChgdSet )
124 OSL_ENSURE(
m_bDelSet,
"The Set may not be changed!" );
136 assert(
false &&
"SwMsgPoolItem knows no ==" );
142 OSL_FAIL(
"SwMsgPoolItem knows no Clone" );
146#if OSL_DEBUG_LEVEL > 0
152 OSL_ENSURE( pHt,
"GetDfltFormatAttr(): Dflt == 0" );
177 if( nIdx < m_pNode->GetIndex() &&
186 static const sal_uInt16 aLangMap[3] =
188 static const sal_uInt16 aFontMap[3] =
190 static const sal_uInt16 aFontSizeMap[3] =
192 static const sal_uInt16 aWeightMap[3] =
194 static const sal_uInt16 aPostureMap[3] =
197 const sal_uInt16* pM;
239 if( i18n::ScriptType::WEAK == nScript )
243 case i18n::ScriptType::COMPLEX:
246 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
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.
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 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< SwAttrSetChg > RES_ATTRSET_CHG(169)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CTL_POSTURE(30)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_POSTURE(11)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CJK_WEIGHT(26)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_FONT(7)
constexpr TypedWhichId< SwUpdateAttr > RES_UPDATE_ATTR(170)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CJK_POSTURE(25)
constexpr TypedWhichId< SwAutoFormatGetDocNode > RES_AUTOFMT_DOCNODE(176)
constexpr TypedWhichId< SwFormatChg > RES_FMT_CHG(168)
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.