20 #include <com/sun/star/i18n/ScriptType.hpp>
27 #include <osl/diagnose.h>
34 SwInsText::SwInsText(sal_Int32
const nP, sal_Int32
const nL,
bool const isInFMCommand,
bool const isInFMResult)
36 ,
nPos( nP ), nLen( nL )
37 , isInsideFieldmarkCommand(isInFMCommand)
38 , isInsideFieldmarkResult(isInFMResult)
55 : pDestNode(pD), nDestStart(nD), nSourceStart(nS), nLen(nL)
60 : nStart(nS), nLen(nL)
65 : nStart(nS), nLen(nL)
85 OSL_ENSURE(
pOut,
"No OutputDevice pointer" );
95 m_pTable( pNewTable ), m_pHistory( nullptr ), m_nSplitLine( USHRT_MAX ),
100 OSL_ENSURE(
m_pTable,
"No Table pointer" );
112 m_pTheChgdSet( &rTheSet )
119 m_pTheChgdSet( rChgSet.m_pTheChgdSet )
133 OSL_ENSURE(
m_bDelSet,
"The Set may not be changed!" );
145 assert(
false &&
"SwMsgPoolItem knows no ==" );
151 OSL_FAIL(
"SwMsgPoolItem knows no Clone" );
155 #if OSL_DEBUG_LEVEL > 0
161 OSL_ENSURE( pHt,
"GetDfltFormatAttr(): Dflt == 0" );
186 if( nIdx < m_pNode->GetIndex() &&
195 static const sal_uInt16 aLangMap[3] =
197 static const sal_uInt16 aFontMap[3] =
199 static const sal_uInt16 aFontSizeMap[3] =
201 static const sal_uInt16 aWeightMap[3] =
203 static const sal_uInt16 aPostureMap[3] =
206 const sal_uInt16* pM;
248 if( i18n::ScriptType::WEAK == nScript )
252 case i18n::ScriptType::COMPLEX:
255 case i18n::ScriptType::ASIAN:
constexpr TypedWhichId< SwTableFormulaUpdate > RES_TABLEFML_UPDATE(170)
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)
constexpr TypedWhichId< SwFormatChg > RES_FMT_CHG(162)
virtual ~SwAttrSetChg() override
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_LANGUAGE(10)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_FONTSIZE(8)
RedlineDelText(sal_Int32 nS, sal_Int32 nL)
constexpr TypedWhichId< SwInsText > RES_INS_TXT(164)
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)
constexpr TypedWhichId< SwDocPosUpdate > RES_DOCPOS_UPDATE(169)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CTL_LANGUAGE(29)
constexpr sal_uInt16 POOLATTR_BEGIN(HINT_BEGIN)
const SfxPoolItem * GetDfltAttr(sal_uInt16 nWhich)
Get the default attribute from corresponding default attribute table.
RedlineUnDelText(sal_Int32 nS, sal_Int32 nL)
sal_Int16 GetI18NScriptTypeOfLanguage(LanguageType nLang)
constexpr TypedWhichId< SwFindNearestNode > RES_FINDNEARESTNODE(184)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_WEIGHT(15)
sal_uInt16 ClearItem(sal_uInt16 nWhich=0)
constexpr TypedWhichId< SwUpdateAttr > RES_UPDATE_ATTR(167)
SwDocPosUpdate(const SwTwips nDocPos)
SwDelText(sal_Int32 nS, sal_Int32 nL)
SwNodeOffset GetIndex() const
constexpr TypedWhichId< SwVirtPageNumInfo > RES_VIRTPAGENUM_INFO(180)
SwFindNearestNode(const SwNode &rNd)
constexpr TypedWhichId< SwAttrSetChg > RES_ATTRSET_CHG(163)
sal_uInt16 GetWhichOfScript(sal_uInt16 nWhich, sal_uInt16 nScript)
constexpr TypedWhichId< SwAutoFormatGetDocNode > RES_AUTOFMT_DOCNODE(173)
void CheckNode(const SwNode &rNd)
SwNodes & GetNodes()
Node is in which nodes-array/doc?
constexpr TypedWhichId< SwRefMarkFieldUpdate > RES_REFMARKFLD_UPDATE(168)
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)
LanguageType GetAppLanguage()
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CTL_POSTURE(30)
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< SwDelChr > RES_DEL_CHR(165)
SwInsText(sal_Int32 nP, sal_Int32 nL, bool isInFMCommand, bool isInFMResult)
SwNode & GetEndOfExtras() const
This is the last EndNode of a special section.
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CTL_FONTSIZE(28)
constexpr TypedWhichId< SwDelText > RES_DEL_TXT(166)
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
bool m_bDetectedRangeSegmentation false
Base class of the Writer document model elements.