20 #include <com/sun/star/i18n/ScriptType.hpp>
27 #include <osl/diagnose.h>
52 : pDestNode(pD), nDestStart(nD), nSourceStart(nS), nLen(nL)
57 : nStart(nS), nLen(nL)
62 : nStart(nS), nLen(nL)
82 OSL_ENSURE(
pOut,
"No OutputDevice pointer" );
92 m_pTable( pNewTable ), m_pHistory( nullptr ), m_nSplitLine(
USHRT_MAX ),
97 OSL_ENSURE(
m_pTable,
"No Table pointer" );
109 m_pTheChgdSet( &rTheSet )
116 m_pTheChgdSet( rChgSet.m_pTheChgdSet )
130 OSL_ENSURE(
m_bDelSet,
"The Set may not be changed!" );
142 assert(
false &&
"SwMsgPoolItem knows no ==" );
148 OSL_FAIL(
"SwMsgPoolItem knows no Clone" );
152 #if OSL_DEBUG_LEVEL > 0
158 OSL_ENSURE( pHt,
"GetDfltFormatAttr(): Dflt == 0" );
183 if( nIdx < m_pNode->GetIndex() &&
192 static const sal_uInt16 aLangMap[3] =
194 static const sal_uInt16 aFontMap[3] =
196 static const sal_uInt16 aFontSizeMap[3] =
198 static const sal_uInt16 aWeightMap[3] =
200 static const sal_uInt16 aPostureMap[3] =
203 const sal_uInt16* pM;
245 if( i18n::ScriptType::WEAK == nScript )
249 case i18n::ScriptType::COMPLEX:
252 case i18n::ScriptType::ASIAN:
sal_uLong GetIndex() const
VclPtr< OutputDevice > pOut
pointer to the current output device
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CTL_FONT(27)
SwAttrSetChg(const SwAttrSet &rTheSet, SwAttrSet &rSet)
MoveText(SwTextNode *pD, sal_Int32 nD, sal_Int32 nS, sal_Int32 nL)
virtual ~SwAttrSetChg() override
constexpr TypedWhichId< SwUpdateAttr > RES_UPDATE_ATTR(165)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_LANGUAGE(10)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_FONTSIZE(8)
constexpr TypedWhichId< SwDocPosUpdate > RES_DOCPOS_UPDATE(167)
RedlineDelText(sal_Int32 nS, sal_Int32 nL)
SwUpdateAttr(sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW)
Dialog to specify the properties of date form field.
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CJK_POSTURE(25)
SwRefMarkFieldUpdate(OutputDevice *)
Is sent if reference marks should be updated.
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_FONT(7)
const BorderLinePrimitive2D *pCandidateB assert(pCandidateA)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CTL_LANGUAGE(29)
constexpr sal_uInt16 POOLATTR_BEGIN(HINT_BEGIN)
constexpr TypedWhichId< SwAttrSetChg > RES_ATTRSET_CHG(161)
constexpr TypedWhichId< SwFormatChg > RES_FMT_CHG(160)
constexpr TypedWhichId< SwVirtPageNumInfo > RES_VIRTPAGENUM_INFO(178)
const SfxPoolItem * GetDfltAttr(sal_uInt16 nWhich)
Get the default attribute from corresponding default attribute table.
RedlineUnDelText(sal_Int32 nS, sal_Int32 nL)
constexpr TypedWhichId< SwFindNearestNode > RES_FINDNEARESTNODE(182)
constexpr TypedWhichId< SwDelText > RES_DEL_TXT(164)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_WEIGHT(15)
sal_uInt16 ClearItem(sal_uInt16 nWhich=0)
SwDocPosUpdate(const SwTwips nDocPos)
constexpr TypedWhichId< SwRefMarkFieldUpdate > RES_REFMARKFLD_UPDATE(166)
SwDelText(sal_Int32 nS, sal_Int32 nL)
SwFindNearestNode(const SwNode &rNd)
static sal_Int16 GetI18NScriptTypeOfLanguage(LanguageType nLang)
sal_uInt16 GetWhichOfScript(sal_uInt16 nWhich, sal_uInt16 nScript)
void CheckNode(const SwNode &rNd)
SwNodes & GetNodes()
Node is in which nodes-array/doc?
A page of the document layout.
SwTable is one table in the document model, containing rows (which contain cells).
SwMsgPoolItem(sal_uInt16 nWhich)
SwTextNode is a paragraph in the document model.
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CJK_WEIGHT(26)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CTL_WEIGHT(31)
const o3tl::enumarray< SvxAdjust, unsigned short > aSvxToUnoAdjust USHRT_MAX
LanguageType GetAppLanguage()
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CTL_POSTURE(30)
constexpr TypedWhichId< SwTableFormulaUpdate > RES_TABLEFML_UPDATE(168)
constexpr TypedWhichId< SwAutoFormatGetDocNode > RES_AUTOFMT_DOCNODE(171)
virtual SwMsgPoolItem * Clone(SfxItemPool *pPool=nullptr) const override
SwVirtPageNumInfo(const SwPageFrame *pPg)
Multiple attributes can be attached to a single paragraph / table The frame, in the end...
void ClearItem(sal_uInt16 nWhichL)
constexpr TypedWhichId< SwInsText > RES_INS_TXT(162)
SwInsText(sal_Int32 nP, sal_Int32 nL)
constexpr TypedWhichId< SwDelChr > RES_DEL_CHR(163)
SwNode & GetEndOfExtras() const
This is the last EndNode of a special section.
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CTL_FONTSIZE(28)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CJK_FONTSIZE(23)
SwAttrSet * m_pChgSet
what has changed
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_POSTURE(11)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CJK_LANGUAGE(24)
virtual bool operator==(const SfxPoolItem &) const override
Base class of the Writer document model elements.