24#include <osl/diagnose.h>
44 sal_uInt16 nWhCJK = 0, nWhCTL = 0;
45 switch( rItem.
Which() )
82 SvxFrameDirection::Horizontal_RL_TB : SvxFrameDirection::Horizontal_LR_TB;
91 return !rModify.GetInfo( aGetHt );
98 for (
size_t i=0;
i < nTableCount; ++
i)
134 OSL_ENSURE( !rPatternName.isEmpty(),
"no Document style name" );
152 sal_uInt16 nRet = USHRT_MAX;
virtual void SetModified()=0
Must be called manually at changes of format.
virtual SwTextFormatColl * GetTextCollFromPool(sal_uInt16 nId, bool bRegardLanguage=true)=0
Return "Auto-Collection with ID.
static bool isRightToLeft(LanguageType nLang)
void ResetPoolDefaultItem(sal_uInt16 nWhich)
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
std::unique_ptr< SfxPoolItem > CloneSetWhich(sal_uInt16 nNewWhich) const
const OUString * GetDocPattern(size_t nPos) const
size_t GetTableFrameFormatCount(bool bUsed) const
size_t SetDocPattern(const OUString &rPatternName)
std::vector< OUString > m_PatternNames
IDocumentState const & getIDocumentState() const
bool IsUsed(const sw::BroadcastingModify &) const
void RemoveAllFormatLanguageDependencies()
size_t GetPageDescCnt() const
IDocumentStylePoolAccess const & getIDocumentStylePoolAccess() const
SwTableFormat & GetTableFrameFormat(size_t nFormat, bool bUsed) const
const SwAttrPool & GetAttrPool() const
const SwPageDesc & GetPageDesc(const size_t i) const
IDocumentListsAccess const & getIDocumentListsAccess() const
const OUString & GetDefaultListStyleName() const
SwNumRule::tParagraphStyleList::size_type GetParagraphStyleListSize() const
bool IsUsedByRedline() const
SwNumRule::tTextNodeList::size_type GetTextNodeListSize() const
const OUString & GetDefaultListId() const
const OUString & GetName() const
SwFrameFormat & GetMaster()
SwFrameFormat & GetLeft()
SwTable is one table in the document model, containing rows (which contain cells).
const OUString & GetTableStyleName() const
Return the table style name of this table.
static SwTable * FindTable(SwFrameFormat const *const pFormat)
Represents the style of a paragraph.
virtual bool ResetFormatAttr(sal_uInt16 nWhich1, sal_uInt16 nWhich2=0) override
constexpr TypedWhichId< SvxFrameDirectionItem > RES_FRAMEDIR(126)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CTL_FONTSIZE(28)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
constexpr TypedWhichId< SvxAutoKernItem > RES_CHRATR_AUTOKERN(17)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_FONTSIZE(8)
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< SvxAdjustItem > RES_PARATR_ADJUST(64)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CJK_LANGUAGE(24)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CTL_POSTURE(30)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_POSTURE(11)
constexpr TypedWhichId< SvxScriptSpaceItem > RES_PARATR_SCRIPTSPACE(73)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CJK_WEIGHT(26)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_FONT(7)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CJK_POSTURE(25)
void SetAllScriptItem(SfxItemSet &rSet, const SfxPoolItem &rItem)
sal_uInt16 GetPoolParent(sal_uInt16 nId)
Query defined parent of a POOL-ID Returns 0 if standard USHRT_MAX if no parent the parent in all othe...
SvxFrameDirection GetDefaultFrameDirection(LanguageType nLanguage)
Return the AutoCollection by its Id.
const sal_uInt16 COLL_DOC_BITS
@ RES_POOLCOLL_LABEL_DRAWING
Label drawing objects.
@ RES_POOLCOLL_HEADLINE5
Heading 5.
@ RES_POOLCOLL_TEXT
Text body.
@ RES_POOLCOLL_STANDARD
Standard.
@ RES_POOLCOLL_GREETING
Complimentary close.
@ RES_POOLCOLL_HEADLINE6
Heading 6.
@ RES_POOLCOLL_HEADERFOOTER
Subgroup header.
@ RES_POOLCOLL_HEADLINE10
Heading 10.
@ RES_POOLCOLL_SIGNATURE
Signature.
@ RES_POOLCOLL_TOX_USERH
Subgroup user indices.
@ RES_POOLCOLL_REGISTER_BASE
Base index.
@ RES_POOLCOLL_MARGINAL
Marginalia.
@ RES_POOLCOLL_TOX_CNTNTH
Subgroup table of contents.
@ RES_POOLCOLL_LABEL
Subgroup labels.
@ RES_POOLCOLL_TOX_TABLESH
tables index.
@ RES_POOLCOLL_TEXT_NEGIDENT
Text body hanging indent.
@ RES_POOLCOLL_NUMBER_BULLET_BASE
Base list.
@ RES_POOLCOLL_LABEL_FRAME
Label frame.
@ RES_POOLCOLL_TOX_IDXH
Subgroup index tables.
@ RES_POOLCOLL_LABEL_FIGURE
Label figure.
@ RES_POOLCOLL_HEADLINE8
Heading 8.
@ RES_POOLCOLL_TOX_OBJECTH
object index.
@ RES_POOLCOLL_ENVELOPE_ADDRESS
Addressee.
@ RES_POOLCOLL_TABLE
Subgroup table.
@ RES_POOLCOLL_COMMENT
Comment.
@ RES_POOLCOLL_CONFRONTATION
List indent.
@ RES_POOLCOLL_FOOTERR
Footer Right.
@ RES_POOLCOLL_HEADER
Header Left&Right.
@ RES_POOLCOLL_TOX_ILLUSH
illustrations index.
@ RES_POOLCOLL_HEADLINE9
Heading 9.
@ RES_POOLCOLL_FOOTERL
Footer Left.
@ RES_POOLCOLL_FRAME
Other stuff.
@ RES_POOLCOLL_LABEL_TABLE
Label table.
@ RES_POOLCOLL_LABEL_ABB
Label illustration.
@ RES_POOLCOLL_TEXT_MOVE
Text body indent.
@ RES_POOLCOLL_HEADLINE_BASE
Subgroup headings.
@ RES_POOLCOLL_SEND_ADDRESS
Sender.
@ RES_POOLCOLL_HEADERL
Header Left.
@ RES_POOLCOLL_HEADLINE2
Heading 2.
@ RES_POOLCOLL_HEADLINE4
Heading 4.
@ RES_POOLCOLL_FOOTNOTE
Footnotes.
@ RES_POOLCOLL_TOX_AUTHORITIESH
index of authorities.
@ RES_POOLCOLL_HEADLINE7
Heading 7.
@ RES_POOLCOLL_HEADLINE1
Heading 1.
@ RES_POOLCOLL_HEADERR
Header Right.
@ RES_POOLCOLL_TABLE_HDLN
Table of Contents - heading.
@ RES_POOLCOLL_FOOTER
Subgroup footer.
@ RES_POOLCOLL_TEXT_IDENT
Text body first line indent.
@ RES_POOLCOLL_HEADLINE3
Heading 3.
@ RES_POOLCOLL_ENDNOTE
Endnotes.
const sal_uInt16 POOLGRP_FRAMEFMT
const sal_uInt16 POOLGRP_NOCOLLID
POOLCOLL-IDs: +-—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+ !User! Range ! 0 ! Offset ! +-—+—+—+—+—+—+—+—+—+—+—+...
const sal_uInt16 COLL_GET_RANGE_BITS
const sal_uInt16 POOLGRP_NUMRULE
const sal_uInt16 COLL_REGISTER_BITS
const sal_uInt16 COLL_TEXT_BITS
const sal_uInt16 POOLGRP_CHARFMT
Other groups:
const sal_uInt16 POOLGRP_PAGEDESC
const sal_uInt16 COLL_HTML_BITS
const sal_uInt16 COLL_LISTS_BITS
const sal_uInt16 COLL_EXTRA_BITS