LibreOffice Module sw (master) 1
|
#include <hintids.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <osl/diagnose.h>
#include <doc.hxx>
#include <IDocumentState.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <IDocumentListsAccess.hxx>
#include <list.hxx>
#include <poolfmt.hxx>
#include <pagedesc.hxx>
#include <fmtcol.hxx>
#include <numrule.hxx>
#include <swtable.hxx>
#include <tblafmt.hxx>
#include <hints.hxx>
Go to the source code of this file.
Functions | |
void | SetAllScriptItem (SfxItemSet &rSet, const SfxPoolItem &rItem) |
SvxFrameDirection | GetDefaultFrameDirection (LanguageType nLanguage) |
Return the AutoCollection by its Id. More... | |
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 other cases. More... | |
SvxFrameDirection GetDefaultFrameDirection | ( | LanguageType | nLanguage | ) |
Return the AutoCollection by its Id.
If it doesn't exist yet, create it. If the String pointer is defined, then only query for the Attribute descriptions. It doesn't create a style!
Definition at line 79 of file poolfmt.cxx.
References MsLangId::isRightToLeft().
Referenced by sw::DocumentStylePoolManager::GetTextCollFromPool(), SwDocShell::InitNew(), SwDoc::MakePageDesc(), and SwPageFootnoteInfo::SwPageFootnoteInfo().
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 other cases.
Definition at line 150 of file poolfmt.cxx.
References COLL_DOC_BITS, COLL_EXTRA_BITS, COLL_GET_RANGE_BITS, COLL_HTML_BITS, COLL_LISTS_BITS, COLL_REGISTER_BITS, COLL_TEXT_BITS, nId, POOLGRP_CHARFMT, POOLGRP_FRAMEFMT, POOLGRP_NOCOLLID, POOLGRP_NUMRULE, POOLGRP_PAGEDESC, RES_POOLCOLL_COMMENT, RES_POOLCOLL_CONFRONTATION, RES_POOLCOLL_ENDNOTE, RES_POOLCOLL_ENVELOPE_ADDRESS, RES_POOLCOLL_FOOTER, RES_POOLCOLL_FOOTERL, RES_POOLCOLL_FOOTERR, RES_POOLCOLL_FOOTNOTE, RES_POOLCOLL_FRAME, RES_POOLCOLL_GREETING, RES_POOLCOLL_HEADER, RES_POOLCOLL_HEADERFOOTER, RES_POOLCOLL_HEADERL, RES_POOLCOLL_HEADERR, RES_POOLCOLL_HEADLINE1, RES_POOLCOLL_HEADLINE10, RES_POOLCOLL_HEADLINE2, RES_POOLCOLL_HEADLINE3, RES_POOLCOLL_HEADLINE4, RES_POOLCOLL_HEADLINE5, RES_POOLCOLL_HEADLINE6, RES_POOLCOLL_HEADLINE7, RES_POOLCOLL_HEADLINE8, RES_POOLCOLL_HEADLINE9, RES_POOLCOLL_HEADLINE_BASE, RES_POOLCOLL_LABEL, RES_POOLCOLL_LABEL_ABB, RES_POOLCOLL_LABEL_DRAWING, RES_POOLCOLL_LABEL_FIGURE, RES_POOLCOLL_LABEL_FRAME, RES_POOLCOLL_LABEL_TABLE, RES_POOLCOLL_MARGINAL, RES_POOLCOLL_NUMBER_BULLET_BASE, RES_POOLCOLL_REGISTER_BASE, RES_POOLCOLL_SEND_ADDRESS, RES_POOLCOLL_SIGNATURE, RES_POOLCOLL_STANDARD, RES_POOLCOLL_TABLE, RES_POOLCOLL_TABLE_HDLN, RES_POOLCOLL_TEXT, RES_POOLCOLL_TEXT_IDENT, RES_POOLCOLL_TEXT_MOVE, RES_POOLCOLL_TEXT_NEGIDENT, RES_POOLCOLL_TOX_AUTHORITIESH, RES_POOLCOLL_TOX_CNTNTH, RES_POOLCOLL_TOX_IDXH, RES_POOLCOLL_TOX_ILLUSH, RES_POOLCOLL_TOX_OBJECTH, RES_POOLCOLL_TOX_TABLESH, and RES_POOLCOLL_TOX_USERH.
Referenced by SwDocStyleSheet::GetParent(), and sw::DocumentStylePoolManager::GetTextCollFromPool().
void SetAllScriptItem | ( | SfxItemSet & | rSet, |
const SfxPoolItem & | rItem | ||
) |
Definition at line 41 of file poolfmt.cxx.
References SfxPoolItem::CloneSetWhich(), SfxItemSet::Put(), RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_CTL_POSTURE(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_LANGUAGE(), RES_CHRATR_POSTURE(), RES_CHRATR_WEIGHT(), rSet, and SfxPoolItem::Which().
Referenced by SwAutoFormat::BuildEnum(), sw::DocumentStylePoolManager::GetFormatFromPool(), sw::DocumentStylePoolManager::GetTextCollFromPool(), and SwAutoCorrDoc::SetAttr().