LibreOffice Module sw (master)  1
Functions
poolfmt.cxx File Reference
#include <memory>
#include <hintids.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <unotools/localedatawrapper.hxx>
#include <editeng/paperinf.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/tstpitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/lspcitem.hxx>
#include <editeng/adjustitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/keepitem.hxx>
#include <editeng/opaqitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/cmapitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/protitem.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/charrotateitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <editeng/emphasismarkitem.hxx>
#include <editeng/scriptspaceitem.hxx>
#include <viewopt.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <DocumentSettingManager.hxx>
#include <IDocumentState.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <fmtanchr.hxx>
#include <fmtornt.hxx>
#include <fmtsrnd.hxx>
#include <fmtfsize.hxx>
#include <poolfmt.hxx>
#include <paratr.hxx>
#include <pagedesc.hxx>
#include <frmtool.hxx>
#include <charfmt.hxx>
#include <docary.hxx>
#include <fmtcol.hxx>
#include <ndtxt.hxx>
#include <fmtline.hxx>
#include <GetMetricVal.hxx>
#include <numrule.hxx>
#include <swtable.hxx>
#include <tblafmt.hxx>
#include <hints.hxx>
#include <svx/xdef.hxx>
#include <svx/xfillit0.hxx>
Include dependency graph for poolfmt.cxx:

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...
 

Function Documentation

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 115 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 181 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, POOLGRP_CHARFMT, POOLGRP_FRAMEFMT, POOLGRP_NOCOLLID, POOLGRP_NUMRULE, POOLGRP_PAGEDESC, RES_POOLCOLL_CONFRONTATION, RES_POOLCOLL_ENDNOTE, 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_JAKETADRESS, 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_NUMBUL_BASE, RES_POOLCOLL_REGISTER_BASE, RES_POOLCOLL_SENDADRESS, 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, RES_POOLCOLL_TOX_USERH, and USHRT_MAX.

Referenced by SwDocStyleSheet::GetParent(), and sw::DocumentStylePoolManager::GetTextCollFromPool().

void SetAllScriptItem ( SfxItemSet rSet,
const SfxPoolItem rItem 
)