LibreOffice Module sw (master) 1
Namespaces | Functions | Variables
DocumentStylePoolManager.cxx File Reference
#include <DocumentStylePoolManager.hxx>
#include <SwStyleNameMapper.hxx>
#include <doc.hxx>
#include <DocumentSettingManager.hxx>
#include <IDocumentState.hxx>
#include <IDocumentUndoRedo.hxx>
#include <fmtanchr.hxx>
#include <fmtfsize.hxx>
#include <paratr.hxx>
#include <poolfmt.hxx>
#include <fmtornt.hxx>
#include <charfmt.hxx>
#include <fmtsrnd.hxx>
#include <docary.hxx>
#include <pagedesc.hxx>
#include <frmfmt.hxx>
#include <fmtline.hxx>
#include <numrule.hxx>
#include <hints.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/emphasismarkitem.hxx>
#include <editeng/scriptspaceitem.hxx>
#include <o3tl/unit_conversion.hxx>
#include <svx/strings.hrc>
#include <svx/dialmgr.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <strings.hrc>
#include <frmatr.hxx>
#include <frameformats.hxx>
#include <com/sun/star/text/VertOrientation.hpp>
#include <com/sun/star/text/RelOrientation.hpp>
#include <com/sun/star/text/HoriOrientation.hpp>
#include <unotools/syslocale.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <comphelper/lok.hxx>
Include dependency graph for DocumentStylePoolManager.cxx:

Go to the source code of this file.

Namespaces

namespace  sw
 Dialog to specify the properties of date form field.
 

Functions

bool IsConditionalByPoolId (sal_uInt16 nId)
 
static std::vector< OUString > lcl_NewUINameArray (const TranslateId *pIds, const size_t nLen, const size_t nSvxIds=0)
 

Variables

const TranslateId STR_POOLCOLL_TEXT_ARY []
 
const TranslateId STR_POOLCOLL_LISTS_ARY []
 
const TranslateId STR_POOLCOLL_EXTRA_ARY []
 
const TranslateId STR_POOLCOLL_REGISTER_ARY []
 
const TranslateId STR_POOLCOLL_DOC_ARY []
 
const TranslateId STR_POOLCOLL_HTML_ARY []
 
const TranslateId STR_POOLCHR_ARY []
 
const TranslateId STR_POOLCHR_HTML_ARY []
 
const TranslateId STR_POOLFRM_ARY []
 
const TranslateId STR_POOLPAGE_ARY []
 
const TranslateId STR_POOLNUMRULE_NUM_ARY []
 
const TranslateId STR_TABSTYLE_ARY []
 

Function Documentation

◆ IsConditionalByPoolId()

bool IsConditionalByPoolId ( sal_uInt16  nId)

◆ lcl_NewUINameArray()

static std::vector< OUString > lcl_NewUINameArray ( const TranslateId pIds,
const size_t  nLen,
const size_t  nSvxIds = 0 
)
static

Variable Documentation

◆ STR_POOLCHR_ARY

const TranslateId STR_POOLCHR_ARY[]
Initial value:
=
{
STR_POOLCHR_FOOTNOTE,
STR_POOLCHR_PAGENO,
STR_POOLCHR_LABEL,
STR_POOLCHR_DROPCAPS,
STR_POOLCHR_NUM_LEVEL,
STR_POOLCHR_BULLET_LEVEL,
STR_POOLCHR_INET_NORMAL,
STR_POOLCHR_INET_VISIT,
STR_POOLCHR_JUMPEDIT,
STR_POOLCHR_TOXJUMP,
STR_POOLCHR_ENDNOTE,
STR_POOLCHR_LINENUM,
STR_POOLCHR_IDX_MAIN_ENTRY,
STR_POOLCHR_FOOTNOTE_ANCHOR,
STR_POOLCHR_ENDNOTE_ANCHOR,
STR_POOLCHR_RUBYTEXT,
STR_POOLCHR_VERT_NUM
}

Definition at line 459 of file DocumentStylePoolManager.cxx.

Referenced by SwStyleNameMapper::GetChrFormatUINameArray(), and sw::DocumentStylePoolManager::GetFormatFromPool().

◆ STR_POOLCHR_HTML_ARY

const TranslateId STR_POOLCHR_HTML_ARY[]
Initial value:
=
{
STR_POOLCHR_HTML_EMPHASIS,
STR_POOLCHR_HTML_CITATION,
STR_POOLCHR_HTML_STRONG,
STR_POOLCHR_HTML_CODE,
STR_POOLCHR_HTML_SAMPLE,
STR_POOLCHR_HTML_KEYBOARD,
STR_POOLCHR_HTML_VARIABLE,
STR_POOLCHR_HTML_DEFINSTANCE,
STR_POOLCHR_HTML_TELETYPE
}

Definition at line 480 of file DocumentStylePoolManager.cxx.

Referenced by sw::DocumentStylePoolManager::GetFormatFromPool(), and SwStyleNameMapper::GetHTMLChrFormatUINameArray().

◆ STR_POOLCOLL_DOC_ARY

const TranslateId STR_POOLCOLL_DOC_ARY[]
Initial value:
=
{
STR_POOLCOLL_DOC_TITLE,
STR_POOLCOLL_DOC_SUBTITLE,
STR_POOLCOLL_DOC_APPENDIX
}

Definition at line 441 of file DocumentStylePoolManager.cxx.

Referenced by SwStyleNameMapper::GetDocUINameArray(), and sw::DocumentStylePoolManager::GetTextCollFromPool().

◆ STR_POOLCOLL_EXTRA_ARY

const TranslateId STR_POOLCOLL_EXTRA_ARY[]
Initial value:
{
STR_POOLCOLL_HEADERFOOTER,
STR_POOLCOLL_HEADER,
STR_POOLCOLL_HEADERL,
STR_POOLCOLL_HEADERR,
STR_POOLCOLL_FOOTER,
STR_POOLCOLL_FOOTERL,
STR_POOLCOLL_FOOTERR,
STR_POOLCOLL_TABLE,
STR_POOLCOLL_TABLE_HDLN,
STR_POOLCOLL_LABEL,
STR_POOLCOLL_LABEL_ABB,
STR_POOLCOLL_LABEL_TABLE,
STR_POOLCOLL_LABEL_FRAME,
STR_POOLCOLL_LABEL_FIGURE,
STR_POOLCOLL_FRAME,
STR_POOLCOLL_FOOTNOTE,
STR_POOLCOLL_ENVELOPE_ADDRESS,
STR_POOLCOLL_SEND_ADDRESS,
STR_POOLCOLL_ENDNOTE,
STR_POOLCOLL_LABEL_DRAWING
}

Definition at line 362 of file DocumentStylePoolManager.cxx.

Referenced by SwStyleNameMapper::GetExtraUINameArray(), and sw::DocumentStylePoolManager::GetTextCollFromPool().

◆ STR_POOLCOLL_HTML_ARY

const TranslateId STR_POOLCOLL_HTML_ARY[]
Initial value:
=
{
STR_POOLCOLL_HTML_BLOCKQUOTE,
STR_POOLCOLL_HTML_PRE,
STR_POOLCOLL_HTML_HR,
STR_POOLCOLL_HTML_DD,
STR_POOLCOLL_HTML_DT
}

Definition at line 449 of file DocumentStylePoolManager.cxx.

Referenced by SwStyleNameMapper::GetHTMLUINameArray(), and sw::DocumentStylePoolManager::GetTextCollFromPool().

◆ STR_POOLCOLL_LISTS_ARY

const TranslateId STR_POOLCOLL_LISTS_ARY[]

◆ STR_POOLCOLL_REGISTER_ARY

const TranslateId STR_POOLCOLL_REGISTER_ARY[]

◆ STR_POOLCOLL_TEXT_ARY

const TranslateId STR_POOLCOLL_TEXT_ARY[]
Initial value:
=
{
STR_POOLCOLL_STANDARD,
STR_POOLCOLL_TEXT,
STR_POOLCOLL_TEXT_IDENT,
STR_POOLCOLL_TEXT_NEGIDENT,
STR_POOLCOLL_TEXT_MOVE,
STR_POOLCOLL_GREETING,
STR_POOLCOLL_SIGNATURE,
STR_POOLCOLL_CONFRONTATION,
STR_POOLCOLL_MARGINAL,
STR_POOLCOLL_HEADLINE_BASE,
STR_POOLCOLL_HEADLINE1,
STR_POOLCOLL_HEADLINE2,
STR_POOLCOLL_HEADLINE3,
STR_POOLCOLL_HEADLINE4,
STR_POOLCOLL_HEADLINE5,
STR_POOLCOLL_HEADLINE6,
STR_POOLCOLL_HEADLINE7,
STR_POOLCOLL_HEADLINE8,
STR_POOLCOLL_HEADLINE9,
STR_POOLCOLL_HEADLINE10
}

Definition at line 286 of file DocumentStylePoolManager.cxx.

Referenced by sw::DocumentStylePoolManager::GetTextCollFromPool(), and SwStyleNameMapper::GetTextUINameArray().

◆ STR_POOLFRM_ARY

const TranslateId STR_POOLFRM_ARY[]
Initial value:
=
{
STR_POOLFRM_FRAME,
STR_POOLFRM_GRAPHIC,
STR_POOLFRM_OLE,
STR_POOLFRM_FORMEL,
STR_POOLFRM_MARGINAL,
STR_POOLFRM_WATERSIGN,
STR_POOLFRM_LABEL
}

Definition at line 493 of file DocumentStylePoolManager.cxx.

Referenced by sw::DocumentStylePoolManager::GetFormatFromPool(), and SwStyleNameMapper::GetFrameFormatUINameArray().

◆ STR_POOLNUMRULE_NUM_ARY

const TranslateId STR_POOLNUMRULE_NUM_ARY[]
Initial value:
=
{
STR_POOLNUMRULE_NOLIST,
STR_POOLNUMRULE_NUM1,
STR_POOLNUMRULE_NUM2,
STR_POOLNUMRULE_NUM3,
STR_POOLNUMRULE_NUM4,
STR_POOLNUMRULE_NUM5,
STR_POOLNUMRULE_BUL1,
STR_POOLNUMRULE_BUL2,
STR_POOLNUMRULE_BUL3,
STR_POOLNUMRULE_BUL4,
STR_POOLNUMRULE_BUL5
}

Definition at line 519 of file DocumentStylePoolManager.cxx.

Referenced by sw::DocumentStylePoolManager::GetNumRuleFromPool(), and SwStyleNameMapper::GetNumRuleUINameArray().

◆ STR_POOLPAGE_ARY

const TranslateId STR_POOLPAGE_ARY[]
Initial value:
=
{
STR_POOLPAGE_STANDARD,
STR_POOLPAGE_FIRST,
STR_POOLPAGE_LEFT,
STR_POOLPAGE_RIGHT,
STR_POOLPAGE_ENVELOPE,
STR_POOLPAGE_REGISTER,
STR_POOLPAGE_HTML,
STR_POOLPAGE_FOOTNOTE,
STR_POOLPAGE_ENDNOTE,
STR_POOLPAGE_LANDSCAPE
}

Definition at line 504 of file DocumentStylePoolManager.cxx.

Referenced by sw::DocumentStylePoolManager::GetPageDescFromPool(), and SwStyleNameMapper::GetPageDescUINameArray().

◆ STR_TABSTYLE_ARY

const TranslateId STR_TABSTYLE_ARY[]