LibreOffice Module sw (master)  1
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
swtypes.hxx File Reference
#include <rtl/ustring.hxx>
#include <limits.h>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/i18n/CollatorOptions.hpp>
#include "swdllapi.h"
#include <o3tl/typed_flags_set.hxx>
#include <i18nlangtag/lang.h>
#include <vcl/outdev.hxx>
Include dependency graph for swtypes.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< SetAttrMode >
 

Namespaces

 com
 
 com::sun
 
 com::sun::star
 
 com::sun::star::linguistic2
 
 utl
 
 o3tl
 

Macros

#define INVALID_TWIPS   LONG_MAX
 
#define TWIPS_MAX   (LONG_MAX - 1)
 
#define MM50   283
 
#define MINFLY   23
 
#define MINLAY   23
 
#define DEF_GUTTER_WIDTH   (MM50 / 5 * 3)
 
#define MIN_BORDER_DIST   28
 
#define DOCUMENTBORDER   284
 
#define SET_CURR_SHELL(shell)   CurrShell aCurr( shell )
 
#define INIT_FLDTYPES   33
 
#define INIT_SEQ_FLDTYPES   5
 
#define DB_DELIM   u'\x00ff'
 
#define CHAR_HARDBLANK   u'\x00A0'
 
#define CHAR_HARDHYPHEN   u'\x2011'
 
#define CHAR_SOFTHYPHEN   u'\x00AD'
 
#define CHAR_RLM   u'\x200F'
 
#define CHAR_LRM   u'\x200E'
 
#define CHAR_ZWSP   u'\x200B'
 
#define CHAR_ZWNBSP   u'\x2060'
 
#define CHAR_NNBSP   u'\x202F'
 
#define SW_COLLATOR_IGNORES
 

Typedefs

typedef long SwTwips
 

Enumerations

enum  SwLabelType {
  LTYPE_TABLE,
  LTYPE_OBJECT,
  LTYPE_FLY,
  LTYPE_DRAW
}
 
enum  SetAttrMode {
  SetAttrMode::DEFAULT = 0x0000,
  SetAttrMode::DONTEXPAND = 0x0001,
  SetAttrMode::DONTREPLACE = 0x0002,
  SetAttrMode::NOTXTATRCHR = 0x0004,
  SetAttrMode::NOHINTADJUST = 0x0008,
  SetAttrMode::NOFORMATATTR = 0x0010,
  SetAttrMode::APICALL = 0x0020,
  SetAttrMode::FORCEHINTEXPAND = 0x0040,
  SetAttrMode::IS_COPY = 0x0080,
  SetAttrMode::NOHINTEXPAND = 0x0100
}
 
enum  PrepareHint {
  PREP_BEGIN,
  PREP_CLEAR = PREP_BEGIN,
  PREP_WIDOWS_ORPHANS,
  PREP_FIXSIZE_CHG,
  PREP_FOLLOW_FOLLOWS,
  PREP_ADJUST_FRM,
  PREP_FLY_CHGD,
  PREP_FLY_ATTR_CHG,
  PREP_FLY_ARRIVE,
  PREP_FLY_LEAVE,
  PREP_FTN,
  PREP_POS_CHGD,
  PREP_UL_SPACE,
  PREP_MUST_FIT,
  PREP_WIDOWS,
  PREP_QUOVADIS,
  PREP_BOSS_CHGD,
  PREP_REGISTER,
  PREP_FTN_GONE,
  PREP_MOVEFTN,
  PREP_ERGOSUM
}
 
enum  FrameControlType {
  PageBreak,
  Header,
  Footer,
  FloatingTable
}
 

Functions

template<typename T = SwTwips>
constexpr T MmToTwips (const double mm)
 
SW_DLLPUBLIC OUString SwResId (const char *pId)
 
SW_DLLPUBLIC OUString SwResId (const char *pId, int nCardinality)
 
css::uno::Reference< css::linguistic2::XSpellChecker1 > GetSpellChecker ()
 
css::uno::Reference< css::linguistic2::XHyphenator > GetHyphenator ()
 
css::uno::Reference< css::linguistic2::XThesaurus > GetThesaurus ()
 
css::uno::Reference< css::linguistic2::XLinguProperties > GetLinguPropertySet ()
 
SW_DLLPUBLIC Size GetGraphicSizeTwip (const Graphic &, vcl::RenderContext *pOutDev)
 
constexpr bool SW_ISPRINTABLE (sal_Unicode c)
 
SW_DLLPUBLIC CharClassGetAppCharClass ()
 
SW_DLLPUBLIC LanguageType GetAppLanguage ()
 
SW_DLLPUBLIC const LanguageTagGetAppLanguageTag ()
 
SW_DLLPUBLIC CollatorWrapperGetAppCollator ()
 
SW_DLLPUBLIC CollatorWrapperGetAppCaseCollator ()
 
SW_DLLPUBLICconst::utl::TransliterationWrapper & GetAppCmpStrIgnore ()
 

Variables

const sal_Int32 COMPLETE_STRING = SAL_MAX_INT32
 
const SwTwips cMinHdFtHeight = 56
 
const SwTwips lMinBorder = 1134
 
const sal_uInt8 MAXLEVEL = 10
 
const sal_uInt8 NO_NUMLEVEL = 0x20
 
SwPathFinder * pPathFinder
 
const short lBullIndent = 1440/4
 
const short lBullFirstLineOffset = -lBullIndent
 
const sal_uInt16 lNumIndent = 1440/4
 
const short lNumFirstLineOffset = -lNumIndent
 
const short lOutlineMinTextDistance = 216
 
const sal_Unicode cMarkSeparator = '|'
 
const char cSequenceMarkSeparator = '!'
 

Macro Definition Documentation

#define CHAR_HARDBLANK   u'\x00A0'
#define CHAR_HARDHYPHEN   u'\x2011'
#define CHAR_LRM   u'\x200E'
#define CHAR_NNBSP   u'\x202F'
#define CHAR_RLM   u'\x200F'
#define CHAR_SOFTHYPHEN   u'\x00AD'
#define CHAR_ZWNBSP   u'\x2060'
#define CHAR_ZWSP   u'\x200B'
#define DB_DELIM   u'\x00ff'
#define DEF_GUTTER_WIDTH   (MM50 / 5 * 3)
#define DOCUMENTBORDER   284
#define INIT_FLDTYPES   33
#define INIT_SEQ_FLDTYPES   5
#define INVALID_TWIPS   LONG_MAX

Definition at line 52 of file swtypes.hxx.

Referenced by SwDoc::CheckDefaultPageFormat().

#define MIN_BORDER_DIST   28
#define MINFLY   23
#define MINLAY   23

Definition at line 66 of file swtypes.hxx.

Referenced by WW8TabDesc::AdjustNewBand(), SwTableProperties_Impl::ApplyTableAttr(), SwHTMLTableLayout::AutoLayoutPass1(), SwHTMLParser::BuildTableCell(), WW8TabDesc::CalcDefaults(), SwTextFrame::CalcFitToContent(), CalculateFlySize(), SwFlyFreeFrame::CheckClip(), CheckSplitCells(), SwHTMLTableLayoutColumn::ClearPass1Info(), WW8TabDesc::CreateSwTable(), SwFormatTablePage::DeactivatePage(), SwTextShell::ExecInsert(), SwTableShell::Execute(), SwSectionFrame::Format(), SwTabFrame::Format(), SwTableFUNC::GetMaxColWidth(), IMPL_LINK(), IMPL_LINK_NOARG(), SwRootFrame::ImplCalcBrowseWidth(), SwXMLTableContext::InsertCell(), SwXMLTableContext::InsertColumn(), SwHTMLParser::InsertHorzRule(), SwModule::InsertLab(), lcl_CalcCellFit(), lcl_CalcColValues(), lcl_CalcSubColValues(), lcl_SetOtherBoxWidth(), lcl_SetSelBoxWidth(), SwContentFrame::MakePrtArea(), SwXMLTableContext::MakeTable(), HTMLTable::MakeTable(), SwXMLTableContext::MakeTable_(), SwFormatTablePage::ModifyHdl(), SwWW8ImplReader::MoveOutsideFly(), SwHTMLParser::NewMarquee(), lt_TableColumn::operator()(), SwFormatFrameSize::PutValue(), SvXMLImportItemMapper::PutXMLValue(), SwFormatFrameSize::QueryValue(), SwWW8ImplReader::Read_HdFtTextAsHackedFrame(), SwFormatTablePage::Reset(), SwTableFUNC::SetColWidth(), SwVbaTableHelper::SetColWidth(), SwHTMLParser::SetControlSize(), wwSectionManager::SetLeftRight(), WW8TabDesc::SetSizePosition(), SwView::StateTabWin(), SwColMgr::SwColMgr(), SwTableHeightDlg::SwTableHeightDlg(), SwTableWidthDlg::SwTableWidthDlg(), SwXMLTableColContext_Impl::SwXMLTableColContext_Impl(), SwPageFrame::UpdateAttr_(), and SwTableColumnPage::UpdateCols().

#define MM50   283
#define SET_CURR_SHELL (   shell)    CurrShell aCurr( shell )

Definition at line 101 of file swtypes.hxx.

Referenced by SwEditShell::AcceptRedline(), SwEditShell::AcceptRedlinesInSelection(), SwFEShell::AdjustCellWidth(), SwEditShell::AutoCorrect(), SwEditShell::AutoFormat(), SwEditShell::AutoFormatBySplitNode(), SwFEShell::BalanceRowHeight(), SwViewShell::CalcLayout(), SwViewShell::CalcPagesForPrint(), SwFEShell::CheckUnboundObjects(), SwViewShell::ChgAllPageOrientation(), SwViewShell::ChgAllPageSize(), SwFEShell::ChgCurPageDesc(), SwFEShell::ChgPageDesc(), SwEditWin::Command(), SwEditShell::Copy(), SwFEShell::Copy(), SwEditShell::CopySelToDoc(), SwEditShell::Delete(), SwFEShell::DeleteCol(), SwEditShell::DeleteExtTextInput(), SwEditShell::DeleteGlobalDocContent(), SwFEShell::DeleteRow(), SwFEShell::DeleteTableSel(), SwEditShell::DeleteTOXMark(), SwEditShell::DelFullPara(), SwViewShellImp::EndAction(), SwEditShell::FieldToText(), SwFEShell::FindAnchorPos(), SwCursorShell::GetContentAtPos(), SwFEShell::GetContentPos(), SwCursorShell::GetCurrFrame(), SwFEShell::GetFlyFrameAttr(), SwEditShell::GetIMapGraphic(), SwCursorShell::GetNextPrevPageNum(), SwFEShell::GetObjAt(), SwCursorShell::GetPageCnt(), SwCursorShell::GetPageNum(), SwCursorShell::GetPageNumSeqNonEmpty(), SwEditShell::GetPrevAutoCorrWord(), SwCursorShell::GetShadowCursorPos(), SwCursorShell::GoNextCursor(), SwCursorShell::GoPrevCursor(), SwFEShell::GotoFly(), SwCursorShell::GotoFlyAnchor(), SwCursorShell::GotoFooterText(), SwCursorShell::GotoFormatField(), SwEditShell::GotoGlobalDocContent(), SwCursorShell::GotoHeaderText(), SwCursorShell::GotoINetAttr(), SwCursorShell::GotoNextOutline(), SwCursorShell::GotoNxtPrvTableFormula(), SwCursorShell::GotoNxtPrvTOXMark(), SwCursorShell::GotoOutline(), SwCursorShell::GotoPage(), SwCursorShell::GotoPrevOutline(), SwCursorShell::GotoRedline(), SwCursorShell::GotoRefMark(), SwCursorShell::GotoTOXMark(), SwCursorShell::HideCursor(), SwCursorShell::HideCursors(), SwViewShell::ImplApplyViewOptions(), SwViewShell::ImplEndAction(), SwViewShell::ImplUnlockPaint(), SwFEShell::Insert(), SwEditShell::Insert2(), SwFEShell::InsertCol(), SwFEShell::InsertDrawObj(), SwModule::InsertEnv(), SwEditShell::InsertGlobalDocContent(), SwModule::InsertLab(), SwFEShell::InsertObject(), SwFEShell::InsertRow(), SwEditShell::InsertTableOf(), SwViewShell::InvalidateLayout(), SwFEShell::IsFlyInFly(), SwFEShell::IsObjSelectable(), SwViewShell::LayoutIdle(), SwCursorShell::LRMargin(), SwCursorShell::MakeOutlineSel(), SwFEShell::MergeTab(), SwNoTextFrame::Modify(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwCursorShell::MoveColumn(), SwCursorShell::MoveCursorToNum(), SwCursorShell::MoveFieldType(), SwEditShell::MoveGlobalDocContent(), SwCursorShell::MovePage(), SwFEShell::NewFlyFrame(), SwView::OuterResizePixel(), SwViewShell::Paint(), SwCursorShell::Paint(), SwFEShell::Paste(), SwFEShell::PastePages(), SwViewShell::PrintOrPDFExport(), SwViewShell::PrintProspect(), SwFEShell::ProtectCells(), SwViewShell::PrtOle2(), SwView::ReadUserData(), SwView::ReadUserDataSequence(), SwEditShell::Redo(), SwEditShell::RejectRedline(), SwEditShell::RejectRedlinesInSelection(), SwPaintQueue::Repaint(), SwEditShell::Repeat(), SwEditShell::Replace(), SwFEShell::ReplaceSdrObj(), SwEditWin::RequestHelp(), SwEditShell::ResetAttr(), SwFEShell::ResetFlyFrameAttr(), SwFEShell::SelectFlyFrame(), SwCursorShell::SelectNxtPrvHyperlink(), SwFEShell::SelectObj(), SwCursorShell::SelectText(), SwCursorShell::SelectTextAttr(), SwCursorShell::SelNextRedline(), SwCursorShell::SelPrevRedline(), SwCursorShell::SelTable(), SwCursorShell::SelTableBox(), SwCursorShell::SelTableRowOrCol(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SwFEShell::SetBoxAlign(), SwFEShell::SetBoxBackground(), SwFEShell::SetBoxDirection(), SwOLENode::SetChanged(), SwFEShell::SetColRowWidthHeight(), SwCursorShell::SetCursor(), SwCursorShell::SetCursorInHdFt(), SwFEShell::SetDrawingAttr(), SwEditShell::SetEndNoteInfo(), SwEditShell::SetExtTextInputData(), SwFEShell::SetFlyFrameAttr(), SwFEShell::SetFlyPos(), SwEditShell::SetFootnoteInfo(), SwFEShell::SetFrameFormat(), SwEditShell::SetLineNumberInfo(), SwFEShell::SetMouseTabCols(), SwFEShell::SetMouseTabRows(), SwFEShell::SetObjAttr(), SwEditShell::SetRedlineFlags(), SwFEShell::SetRowBackground(), SwFEShell::SetRowHeight(), SwFEShell::SetRowSplit(), SwFEShell::SetRowsToRepeat(), SwCursorShell::SetShadowCursorPos(), SwFEShell::SetTabBackground(), SwFEShell::SetTabBorders(), SwFEShell::SetTabCols(), SwFEShell::SetTableAttr(), SwEditShell::SetTableBoxFormulaAttrs(), SwFEShell::SetTabLineStyle(), SwFEShell::SetTabRows(), SwCursorShell::SetVisibleCursor(), SwFEShell::ShouldObjectBeSelected(), SwCursorShell::ShowCursors(), SwFEShell::Sort(), SwFEShell::SplitTab(), SwLinguIter::Start_(), SwViewShellImp::StartAction(), SwCursorShell::SwCursorShell(), SwView::SwView(), SwViewShell::SwViewShell(), SwWrtShell::SwWrtShell(), SwCursorShell::TestCurrPam(), SwEditShell::TransliterateText(), SwEditShell::Undo(), SwFEShell::UnProtectCells(), SwFEShell::UnProtectTables(), SwViewShell::UpdateAllCharts(), SwCursorShell::UpdateCursor(), SwCursorShell::UpdateCursorPos(), SwEditShell::UpdateExpFields(), SwViewShell::UpdateFields(), SwEditShell::UpdateOneField(), SwDoc::UpdatePagesForPrintingWithPostItData(), SwEditWin::UpdatePointer(), SwEditShell::UpdateRedlineAttr(), SwEditShell::UpdateTableOf(), SwFEShell::UpdateTableStyleFormatting(), SwCursorShell::UpDown(), SwViewShell::VisPortChgd(), SwCursorShell::VisPortChgd(), SwViewShell::~SwViewShell(), and SwWrtShell::~SwWrtShell().

#define SW_COLLATOR_IGNORES
Value:
( \
css::i18n::CollatorOptions::CollatorOptions_IGNORE_CASE )

Definition at line 193 of file swtypes.hxx.

Referenced by GetAppCollator(), SwTOXInternational::Init(), and SwSortElement::keycompare().

#define TWIPS_MAX   (LONG_MAX - 1)

Definition at line 53 of file swtypes.hxx.

Referenced by SwTextFrame::CalcPreps(), and SwRootFrame::CheckViewLayout().

Typedef Documentation

typedef long SwTwips

Definition at line 49 of file swtypes.hxx.

Enumeration Type Documentation

Enumerator
PageBreak 
Header 
Footer 
FloatingTable 

Definition at line 246 of file swtypes.hxx.

Enumerator
PREP_BEGIN 
PREP_CLEAR 
PREP_WIDOWS_ORPHANS 
PREP_FIXSIZE_CHG 
PREP_FOLLOW_FOLLOWS 
PREP_ADJUST_FRM 
PREP_FLY_CHGD 
PREP_FLY_ATTR_CHG 
PREP_FLY_ARRIVE 
PREP_FLY_LEAVE 
PREP_FTN 
PREP_POS_CHGD 
PREP_UL_SPACE 
PREP_MUST_FIT 
PREP_WIDOWS 
PREP_QUOVADIS 
PREP_BOSS_CHGD 
PREP_REGISTER 
PREP_FTN_GONE 
PREP_MOVEFTN 
PREP_ERGOSUM 

Definition at line 204 of file swtypes.hxx.

enum SetAttrMode
strong
Enumerator
DEFAULT 
DONTEXPAND 
Attention:
: DONTEXPAND does not work very well for CHARATR because it can expand only the whole AUTOFMT or nothing
DONTREPLACE 
NOTXTATRCHR 
NOHINTADJUST 

attention: NOHINTADJUST prevents MergePortions! when using this need to pay attention to ignore start/end flags of hint

NOFORMATATTR 
APICALL 
FORCEHINTEXPAND 

Force hint expand (only matters for hints with CH_TXTATR).

IS_COPY 

The inserted item is a copy – intended for use in ndtxt.cxx.

NOHINTEXPAND 

for Undo, translated to SwInsertFlags::NOHINTEXPAND

Definition at line 143 of file swtypes.hxx.

Enumerator
LTYPE_TABLE 
LTYPE_OBJECT 
LTYPE_FLY 
LTYPE_DRAW 

Definition at line 87 of file swtypes.hxx.

Function Documentation

SW_DLLPUBLIC CollatorWrapper& GetAppCaseCollator ( )
SW_DLLPUBLIC CharClass& GetAppCharClass ( )
SW_DLLPUBLICconst ::utl::TransliterationWrapper& GetAppCmpStrIgnore ( )
SW_DLLPUBLIC CollatorWrapper& GetAppCollator ( )
SW_DLLPUBLIC LanguageType GetAppLanguage ( )
SW_DLLPUBLIC const LanguageTag& GetAppLanguageTag ( )
SW_DLLPUBLIC Size GetGraphicSizeTwip ( const Graphic ,
vcl::RenderContext pOutDev 
)
css::uno::Reference< css::linguistic2::XHyphenator > GetHyphenator ( )
css::uno::Reference< css::linguistic2::XLinguProperties > GetLinguPropertySet ( )
css::uno::Reference< css::linguistic2::XSpellChecker1 > GetSpellChecker ( )
css::uno::Reference< css::linguistic2::XThesaurus > GetThesaurus ( )
template<typename T = SwTwips>
constexpr T MmToTwips ( const double  mm)

Definition at line 57 of file swtypes.hxx.

Referenced by SwRootFrame::IsBetweenPages().

constexpr bool SW_ISPRINTABLE ( sal_Unicode  c)

Definition at line 170 of file swtypes.hxx.

Referenced by SwEditWin::KeyInput().

SW_DLLPUBLIC OUString SwResId ( const char *  pId)

Definition at line 191 of file swmodule.cxx.

References Translate::get(), and SW_MOD.

Referenced by sw::DocumentRedlineManager::AcceptAllRedline(), sw::DocumentRedlineManager::AcceptRedline(), SwTOXStylesTabPage::ActivatePage(), SwMacroAssignDlg::AddEvents(), sw::annotation::AnnotationMenuButton::AnnotationMenuButton(), SwGlossaryGroupDlg::Apply(), SwSortDlg::Apply(), SwWrtShell::AutoCorrect(), SwRedlineAcceptDlg::CallAcceptReject(), SwNumFormatBase::CallSelectHdl(), SwEditRegionDlg::ChangePasswd(), SwInsertSectionTabPage::ChangePasswd(), sw::annotation::SwAnnotationWin::CheckMetaText(), SwEditRegionDlg::CheckPasswd(), SwEditShell::ClassifyDocPerHighestParagraphClass(), SwGetRefField::ConvertProgrammaticToUIName(), SwDocShell::ConvertTo(), SwDocShell::CreateDocumentInfoDialog(), SwOneExampleFrame::CreateErrorMessage(), SwOneExampleFrame::CreatePopup(), SwUndoInsertLabel::CreateRewriter(), SwModule::CreateStyleFamilies(), SwFormatTablePage::DeactivatePage(), SwEditShell::Delete(), SwPostItMgr::Delete(), SwGlossaryDlg::DeleteEntry(), SwParagraphNumTabPage::DisableNumbering(), SwParagraphNumTabPage::DisableOutline(), SwCommentRuler::DrawCommentControl(), SwContentTree::EditEntry(), SwGlossaries::EditGroupDoc(), SwView::ExecDlgExt(), SwTextShell::ExecInsert(), SwView::ExecSearch(), SwTableShell::Execute(), SwTextShell::Execute(), SwSpellPopup::Execute(), SwDocShell::Execute(), SwView::ExecutePrint(), SwView_Impl::ExecuteScan(), SwGlossaryHdl::Expand(), SwGlobalDocShell::FillClass(), SwWebDocShell::FillClass(), SwDocShell::FillClass(), SwTransferable::FillClipFormatItem(), SwAddressPreview::FillData(), FillFieldSelect(), SwFieldDokPage::FillFormatLB(), SwFieldVarPage::FillFormatLB(), SwFieldRefPage::FillFormatLB(), sw::sidebar::PageMarginControl::FillHelpText(), SwLabFormatPage::FillItem(), SwFieldVarPage::FillItemSet(), SwSpellPopup::fillLangPopupMenu(), SwStyleNameMapper::FillProgName(), SwStyleNameMapper::FillUIName(), SwCursor::FindFormat(), SwPostItMgr::FormatAll(), SwAuthorityFieldType::GetAuthFieldName(), SwAuthorityFieldType::GetAuthTypeName(), ShellResource::GetAutoFormatNameLst_(), SwPageDesc::GetByName(), SwCursorShell::GetCursorDescr(), SwRedlineData::GetDescr(), SwRangeRedline::GetDescr(), SwOLEObj::GetDescription(), SwHistorySetFormat::GetDescription(), SwDocStyleSheet::GetDescription(), SwGetRefField::GetDescription(), SwFrameFormat::GetDescription(), SwAuthorityField::GetDescription(), SwHistorySetFootnote::GetDescription(), SwField::GetDescription(), SwDrawFrameFormat::GetDescription(), SwPostItField::GetDescription(), SwScriptField::GetDescription(), SwFieldType::GetFieldName_(), sw::DocumentStylePoolManager::GetFormatFromPool(), SwFieldMgr::GetFormatStr(), SwBaseShell::GetGalleryState(), BookmarkTable::GetNameProposal(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwAnnotationShell::GetNoteState(), SwXNumberingRules::GetNumberingRuleByIndex(), sw::DocumentStylePoolManager::GetNumRuleFromPool(), SwStyleBase_Impl::GetOldPageDesc(), sw::DocumentStylePoolManager::GetPageDescFromPool(), SwView::GetPageStr(), SwDoc::GetPaMDescr(), SwXTextDocument::getPartHash(), SwXTextDocument::getPartName(), SwFormatLayoutSplit::GetPresentation(), SwFormatEditInReadonly::GetPresentation(), SwFormatSurround::GetPresentation(), SwFormatChain::GetPresentation(), SwFormatVertOrient::GetPresentation(), SwFormatHeader::GetPresentation(), SwFormatFollowTextFlow::GetPresentation(), SwFormatLineNumber::GetPresentation(), SwPageFootnoteInfoItem::GetPresentation(), SwFormatPageDesc::GetPresentation(), SwFormatCharFormat::GetPresentation(), SwMirrorGrf::GetPresentation(), SwFormatAnchor::GetPresentation(), SwTextGridItem::GetPresentation(), SwFormatFrameSize::GetPresentation(), SwFormatDrop::GetPresentation(), SwFormatFooter::GetPresentation(), SwFormatHoriOrient::GetPresentation(), SwRotationGrf::GetPresentation(), SwFormatCol::GetPresentation(), SwRegisterItem::GetPresentation(), SwLuminanceGrf::GetPresentation(), SwContrastGrf::GetPresentation(), SwNumRuleItem::GetPresentation(), SwChannelGrf::GetPresentation(), SwParaConnectBorderItem::GetPresentation(), SwGammaGrf::GetPresentation(), SwInvertGrf::GetPresentation(), SwTransparencyGrf::GetPresentation(), SwDrawModeGrf::GetPresentation(), sw::XStyleFamily::getPropertyValue(), SwLabDlg::GetRecord(), SwModule::GetRedlineAuthor(), SwAccessibleContext::GetResource(), SwUndoPageDesc::GetRewriter(), SwUndoOverwrite::GetRewriter(), SwUndoRedlineDelete::GetRewriter(), SwUndoInsTable::GetRewriter(), SwUndoInsert::GetRewriter(), SwUndoDelete::GetRewriter(), SwUndoRenameBookmark::GetRewriter(), SwUndoRenameFormat::GetRewriter(), SwUndoNumruleRename::GetRewriter(), SwWrtShell::GetSelDescr(), SwFrameShell::GetState(), SwSrcView::GetState(), SwFieldUnitTable::GetString(), SwFieldMgr::GetSubTypes(), SwTOXPara::GetText_Impl(), SwTOXTable::GetText_Impl(), sw::DocumentStylePoolManager::GetTextCollFromPool(), SwScrollNaviPopup::GetToolTip(), SwMultiTOXTabDialog::GetTOXDescription(), SwFieldMgr::GetTypeStr(), GetUndoComment(), SwDoc::GetUniqueNumRuleName(), SwDoc::GetUniqueSectionName(), SwDoc::GetUniqueTableName(), SwView::HyphenateDocument(), IMPL_LINK(), IMPL_LINK_NOARG(), SwGlossaryDlg::Init(), SwAssignFieldsControl::Init(), sw::annotation::SwAnnotationWin::InitAnswer(), sw::annotation::SwAnnotationWin::InitControls(), sw::DocumentFieldsManager::InitFieldTypes(), SwWrtShell::Insert(), SwModule::InsertEnv(), SwView::InsertGraphicDlg(), SwModule::InsertLab(), SwView::InsertMedium(), SwWrtShell::InsertOleObject(), SwDrawShell::InsertPictureFromFile(), SwTextShell::InsertSymbol(), SwBaseShell::InsertTable(), lcl_BuildTitleWithRedline(), lcl_DenotedPortion(), lcl_getCharFormat(), lcl_GetRedlineHelp(), lcl_GetState(), lcl_GetUniqueFlyName(), lcl_NewUINameArray(), lcl_PrintHeader(), lcl_QuoteName(), lcl_RewriterFromHistory(), SwSrcView::Load(), SwDBManager::LoadAndRegisterDataSource(), MakeSender(), MakeUndoReplaceRewriter(), SwDBManager::MergeMailFiles(), sw::annotation::AnnotationMenuButton::MouseButtonDown(), SwDrawBase::MouseButtonUp(), SwViewLayoutControl::MouseMove(), NavElementBox_Impl::NavElementBox_Impl(), SwGlossaryHdl::NewGlossary(), sw::sidebar::PageFormatPanel::PageFormatPanel(), SwPagePreviewLayout::Paint(), SwColumnFrame::PaintBreak(), SwNoTextFrame::PaintPicture(), SwRootFrame::PaintSwFrame(), SwTransferable::PasteDBData(), SwTransferable::PasteDDE(), SwTransferable::PasteFileContent(), SwTransferable::PasteFileList(), SwTransferable::PasteOLE(), SwTransferable::PasteSpecial(), SwTOXEntryTabPage::PreTokenButtonRemoved(), sw::DocumentRedlineManager::RejectRedline(), SwView::Replace(), SwXDocumentIndex::TokenAccess_Impl::replaceByIndex(), sw::sidebarwindows::SidebarTextControl::RequestHelp(), SwEditWin::RequestHelp(), SwFieldDokInfPage::Reset(), SwFieldDokPage::Reset(), SwDropCapsPage::Reset(), SwFramePage::Reset(), SwDoc::SetAllUniqueFlyNames(), NumFormatListBox::SetDefFormat(), SwNumFormatBase::SetDefFormat(), NumFormatListBox::SetFormatType(), SwNumFormatBase::SetFormatType(), SwColumnPage::SetLabels(), SwHeaderFooterWin::SetOffset(), SwXFieldMaster::setPropertyValue(), SwTOXEntryTabPage::SetWrtShell(), ShellResource::ShellResource(), SwChangeDBDlg::ShowDBName(), SwInputWindow::ShowWin(), SwDocShell::StartConvertFrom(), StartProgress(), SwBookmarkControl::StateChanged(), SwWordCountStatusBarControl::StateChanged(), SwView::StateStatusLine(), SwFieldVarPage::SubTypeHdl(), SwAssignFieldsDialog::SwAssignFieldsDialog(), SwAuthorMarkPane::SwAuthorMarkPane(), SwBackgroundDlg::SwBackgroundDlg(), SwBorderDlg::SwBorderDlg(), SwCaptionDialog::SwCaptionDialog(), SwCharDlg::SwCharDlg(), SwColumnPage::SwColumnPage(), SwContentTree::SwContentTree(), SwConvertTableDlg::SwConvertTableDlg(), SwCreateAuthEntryDlg_Impl::SwCreateAuthEntryDlg_Impl(), SwCustomizeAddressBlockDialog::SwCustomizeAddressBlockDialog(), SwFieldDialog::SwFieldDialog(), SwFieldRefPage::SwFieldRefPage(), SwForm::SwForm(), SwFrameDlg::SwFrameDlg(), SwGlobalTree::SwGlobalTree(), SwGlossaryGroupDlg::SwGlossaryGroupDlg(), SwHeaderFooterWin::SwHeaderFooterWin(), SwIndexMarkPane::SwIndexMarkPane(), SwInputWindow::SwInputWindow(), SwInsertBookmarkDlg::SwInsertBookmarkDlg(), SwJavaEditDialog::SwJavaEditDialog(), SwLabDlg::SwLabDlg(), SwLineNumberingDlg::SwLineNumberingDlg(), SwMailConfigDlg::SwMailConfigDlg(), SwMailMergeConfigItem_Impl::SwMailMergeConfigItem_Impl(), SwMailMergeWizard::SwMailMergeWizard(), SwNavigationPI::SwNavigationPI(), SwNumNamesDlg::SwNumNamesDlg(), SwParaDlg::SwParaDlg(), SwPrintUIOptions::SwPrintUIOptions(), SwScrollNaviPopup::SwScrollNaviPopup(), SwSelectDBTableDialog::SwSelectDBTableDialog(), SwSendMailDialog::SwSendMailDialog(), SwSequenceOptionDialog::SwSequenceOptionDialog(), SwTemplateControl::SwTemplateControl(), SwTokenWindow::SwTokenWindow(), SwTOXEntryTabPage::SwTOXEntryTabPage(), SwTOXSelectTabPage::SwTOXSelectTabPage(), SwXLinkTargetSupplier::SwXLinkTargetSupplier(), SwXMLBodyContext_Impl::SwXMLBodyContext_Impl(), NavElementBox_Impl::Update(), SwCommentRuler::UpdateCommentHelpText(), SwXMLWriter::Write_(), and SwHyphWrapper::~SwHyphWrapper().

SW_DLLPUBLIC OUString SwResId ( const char *  pId,
int  nCardinality 
)

Definition at line 196 of file swmodule.cxx.

References Translate::nget(), and SW_MOD.

Variable Documentation

const sal_Unicode cMarkSeparator = '|'
const SwTwips cMinHdFtHeight = 56
const sal_Int32 COMPLETE_STRING = SAL_MAX_INT32

Definition at line 61 of file swtypes.hxx.

Referenced by SwTextFormatter::AllowRepaintOpt(), SwTextFrame::AutoSpell_(), SwTextFormatter::BuildPortions(), SwAccessibleMap::BuildSelectedParas(), SwTextFrame::CalcFlyPos(), SwTextFrame::CalcFootnoteFlag(), SwRubyPortion::CalcRubyOffset(), SwRangeRedline::CalcStartEnd(), SwAutoFormat::CanJoin(), SwTextFrame::ChangeOffset(), SwpHints::Check(), SwLayHelper::CheckInsert(), SwRedlineItr::CheckLine(), SwGrammarMarkUp::ClearGrammarList(), SwTextFrame::CollectAutoCmplWrds(), SwXTextMarkup::commitMultiTextMarkup(), SwXTextMarkup::commitStringMarkup(), SwLayoutCache::CompareLayout(), SwTextNode::Convert(), SwAttrIter::CtorInitAttrIter(), SwTextFormatter::CtorInitTextFormatter(), SwTextSizeInfo::CtorInitTextSizeInfo(), SwUnoCursorHelper::DocInsertStringSplitCR(), SwLayIdle::DoIdleJob(), SwLayIdle::DoIdleJob_(), SwSubFont::DrawStretchCapital(), SwFntObj::DrawText(), SwSubFont::DrawText_(), SwTextFly::DrawTextOpaque(), SwFieldPortion::Format(), SwTextPortion::Format_(), SwParaPortion::FormatReset(), SwScriptInfo::GetBoundsOfHiddenRange(), SwTextFrame::GetCharRect(), SwCursorShell::GetContentAtPos(), SwTextCursor::GetCursorOfst(), SwSubFont::GetCursorOfst_(), SwTextFrame::GetCursorOfst_(), SwGrammarContact::getGrammarCheck(), SwEditShell::GetGrammarCorrection(), SwTextFrame::GetLineCount(), SwEditShell::GetLineCount(), GetMinLen(), SwTextSizeInfo::GetMultiCreator(), SwASC_RedlineIter::GetNextRedlineSkip(), SwTextFrame::GetScalingOfSelectedText(), SwScriptIterator::GetScriptChgPos(), SwScriptInfo::GetScriptInfo(), SwEditShell::GetScriptType(), SwGrammarMarkUp::getSentenceEnd(), SwFont::GetTextBreak(), SwFntObj::GetTextSize(), SwSubFont::GetTextSize_(), SwContentNode::GoNext(), SwContentNode::GoPrevious(), SwTextGuess::Guess(), SwTextFrame::HideAndShowObjects(), SwTextFrame::HideHidden(), SwEditShell::IgnoreGrammarErrorAt(), SwTextFormatInfo::Init(), SwScriptInfo::InitScriptInfo(), SwEditShell::Insert2(), SwWrongList::Invalidate(), SwWrongList::Invalidate_(), SwAnchoredDrawObject::InvalidateObjPos(), SwTextFrame::InvalidateRange_(), SwTextFrame::IsHiddenNow(), SwTextFrame::IsIdxInside(), SwScriptInfo::IsInHiddenRange(), SwTextFrame::JoinFrame(), lcl_CalcHeightOfFirstContentLine(), lcl_CheckKashidaPositions(), lcl_CheckKashidaWidth(), lcl_ModifyOfst(), lcl_SpellAndGrammarAgain(), SwContentFrame::MakeAll(), SwTextFormatter::MakeRestPortion(), SwpHints::MergePortions(), SwWrongList::Move(), SwScriptInfo::NextDirChg(), SwScriptInfo::NextHiddenChg(), SwScriptInfo::NextScriptChg(), SwWrongList::NextWrong(), SwTextFrame::Prepare(), SwLayCacheImpl::Read(), SwTextFrame::RemoveFootnote(), SwExtend::Reset(), SwTextFormatInfo::ScanPortionEnd(), SwASC_AttrIter::SearchNext(), SwRedlineItr::Seek(), SwAttrIter::SeekStartAndChgAttrIter(), SwCursorShell::SelectHiddenRange(), SwUndoMove::SetDestRange(), SwHistoryChangeFlyAnchor::SetInDoc(), SwUndRng::SetPaM(), SwUndRng::SetValues(), SwTextFrame::SmartTagScan(), SwTextFrame::SplitFrame(), SwGrammarMarkUp::SplitGrammarList(), SwWrongList::SplitList(), SwTextFrame::SwClientNotify(), SwMinMaxArgs::SwMinMaxArgs(), SwRedlineItr::SwRedlineItr(), SwTextFormatInfo::SwTextFormatInfo(), SwUndoInsNum::SwUndoInsNum(), SwUndoMove::SwUndoMove(), SwUndoInsSection::UndoImpl(), SwUndoMoveNum::UndoImpl(), SwTextFrame::UnitDown_(), SwTextFrame::UnitUp_(), SwWrongList::Validate(), SwLayoutCache::Write(), and SwFontSave::~SwFontSave().

const char cSequenceMarkSeparator = '!'

Definition at line 139 of file swtypes.hxx.

Referenced by SwView::JumpToSwMark(), and SwTOXBaseSection::UpdateSequence().

const short lBullFirstLineOffset = -lBullIndent
const short lBullIndent = 1440/4

Definition at line 111 of file swtypes.hxx.

Referenced by SwAutoFormat::BuildEnum().

const SwTwips lMinBorder = 1134

Definition at line 77 of file swtypes.hxx.

Referenced by SwFEShell::BeginCreate().

const short lNumFirstLineOffset = -lNumIndent
const sal_uInt16 lNumIndent = 1440/4

Definition at line 113 of file swtypes.hxx.

Referenced by SwAutoFormat::BuildEnum(), and SwNumRule::SwNumRule().

const short lOutlineMinTextDistance = 216

Definition at line 115 of file swtypes.hxx.

Referenced by SwNumRule::SwNumRule().

const sal_uInt8 MAXLEVEL = 10

Definition at line 95 of file swtypes.hxx.

Referenced by SwNumPositionTabPage::ActivatePage(), SwOutlineSettingsTabPage::ActivatePage(), SwSequenceOptionDialog::Apply(), SwTOXDescription::ApplyTo(), SwTOXSelectTabPage::ApplyTOXDescription(), SwAutoFormat::BuildEnum(), MSWordStyles::BuildStylesTable(), SwTextFrame::CalcAdditionalFirstLineOffset(), SwChapterField::ChangeExpansion(), SwNumRule::ChangeIndent(), SwTextNode::ChgTextCollUpdateNum(), SwOutlineSettingsTabPage::CollSave(), SwTextNode::CopyExpandText(), SwNumRule::CopyNumRule(), SwTOXBase::CopyTOXBase(), SwWW8ImplReader::CoreLoad(), SwContentTree::CreateContextMenu(), SwMultiTOXTabDialog::CreateOrUpdateExample(), SwMultiTOXTabDialog::CreateTOXDescFromTOXBase(), SwContentTree::Display(), SwCaptionDialog::DrawSample(), MSWordExportBase::DuplicateNumRule(), SwHTMLParser::EndNumBulList(), EnsureMaxLevelForTemplates(), SwContentTree::ExecCommand(), SwTextShell::ExecEnterNum(), SwTextShell::ExecSetNumber(), SwDocShell::Execute(), sw::ExportStoredChapterNumberingRules(), SwTOXSelectTabPage::FillTOXDescription(), SwNode::FindOutlineNodeOfLevel(), sw::ToxTextGenerator::GenerateText(), SwNumRule::Get(), SwNumRule::GetBullIndent(), sw::StoredChapterNumberingRules::getByIndex(), SwXNumberingRules::getByIndex(), SwXDocumentIndex::StyleAccess_Impl::getByIndex(), SwXDocumentIndex::TokenAccess_Impl::getByIndex(), numfunc::SwDefBulletConfig::GetChar(), SwCursorShell::GetContentAtPos(), sw::StoredChapterNumberingRules::getCount(), SwXNumberingRules::getCount(), SwXDocumentIndex::StyleAccess_Impl::getCount(), SwAutoFormat::GetDigitLevel(), SwTextNode::GetExpandText(), SwForm::GetFormMaxLevel(), SwOutlineTabDialog::GetLevel(), SwHTMLNumRuleInfo::GetLevel(), SwHTMLParser::GetMarginsFromContextWithNumBul(), SwXNumberingRules::GetNumberingRuleByIndex(), SwNumRule::GetNumFormat(), sw::util::GetNumFormatFromSwNumRuleLevel(), SwNumRule::GetNumIndent(), SwEditShell::GetNumLevel(), sw::DocumentStylePoolManager::GetNumRuleFromPool(), sw::ToxTextGenerator::GetNumStringOfFirstNode(), SwEditShell::GetPaMAttr(), SwWrtShell::GetSelectionType(), SwNodeNum::GetStartValue(), SwListShell::GetState(), SwTextShell::GetState(), SwTOXBase::GetStyleNames(), SwContentTree::HasContentChanged(), SwWW8StyInf::HasWW8OutlineLevel(), IMPL_LINK(), IMPL_LINK_NOARG(), SwContentType::Init(), SwNumPositionTabPage::InitControls(), SwNumPositionTabPage::InitPosAndSpaceMode(), SwFieldMgr::InsertField(), SwHTMLParser::InsertImage(), SwTOXMgr::InsertTOXMark(), SwCaptionOptPage::InvalidatePreview(), IsEqualFormatting(), IsExportNumRule(), SwEditShell::IsProtectedOutlinePara(), SwEditWin::KeyInput(), lcl_AdjustOutlineStylesForOOo(), lcl_ChgNumRule(), lcl_dbg_out(), lcl_FindOutlineNum(), lcl_IsNoEndTextAttrAtPos(), lcl_IsNumOk(), lcl_toxMatchTSwitch(), SwNumRulesWithName::MakeNumRule(), SwNumRule::MakeNumString(), SwNumRule::MakeRefNumString(), SwNumRule::MakeSvxNumRule(), SwListImpl::MarkListLevel(), SwXMLImport::MergeListsAtDocumentInsertPosition(), SwIndexMarkPane::ModifyHdl(), SwEditShell::MoveNumParas(), SwNavigationPI::MoveOutline(), SwDoc::MoveOutlinePara(), MSWordStyles::MSWordStyles(), SwTextFormatter::NewNumberPortion(), SwHTMLParser::NewNumBulList(), SwHTMLParser::NewNumBulListItem(), SwWW8ImplReader::NextAnlLine(), SwContentTree::NotifyCopying(), SwContentTree::NotifyMoving(), SwWrtShell::NumOrBulletOff(), SwWrtShell::NumOrBulletOn(), SwDoc::NumOrNoNum(), SwDoc::NumUpDown(), SwOutlineTabDialog::Ok(), SwNumRulesWithName::operator=(), SwNumRule::operator=(), SwTOXBase::operator=(), SwNumRule::operator==(), OutHTML_SwFormat(), SwDoc::OutlineUpDown(), MSWordExportBase::OutputFormat(), MSWordExportBase::OutputTextNode(), NumberingPreview::Paint(), AttributeOutputBase::ParaNumRule(), RtfAttributeOutput::ParaNumRule_Impl(), Writer::PutNumFormatFontsInAttrPool(), SwChapterField::PutValue(), SwSetExpFieldType::PutValue(), SwSetExpFieldType::QueryValue(), SwWW8ImplReader::RegisterNumFormatOnTextNode(), sw::StoredChapterNumberingRules::replaceByIndex(), SwXNumberingRules::replaceByIndex(), SwXDocumentIndex::StyleAccess_Impl::replaceByIndex(), SwXDocumentIndex::TokenAccess_Impl::replaceByIndex(), SwDoc::ReplaceNumRule(), SwNumPositionTabPage::Reset(), SwCaptionOptPage::SaveEntry(), SwNumRule::Set(), SwTextNode::SetAttrListLevel(), SwTextFormatColl::SetAttrOutlineLevel(), SwTextNode::SetAttrOutlineLevel(), SwTokenWindow::SetForm(), SwUnoCursorHelper::setNumberingProperty(), SwEditShell::SetNumberingRestart(), SwXNumberingRules::SetNumberingRuleByIndex(), SwXNumberingRules::SetPropertiesToNumFormat(), SwXFieldMaster::setPropertyValue(), SwXDocumentIndexMark::setPropertyValue(), SwXStyle::SetPropertyValue(), SwTOXBase::SetStyleNames(), SwNumRule::SetSvxRule(), SwOutlineSettingsTabPage::SetWrtShell(), AttributeOutputBase::StartTOX(), SwView::StateStatusLine(), SwAddStylesDlg_Impl::SwAddStylesDlg_Impl(), SwAutoFormat::SwAutoFormat(), SwCaptionOptPage::SwCaptionOptPage(), SwDocIndexDescriptorProperties_Impl::SwDocIndexDescriptorProperties_Impl(), SwFieldDokPage::SwFieldDokPage(), SwFieldVarPage::SwFieldVarPage(), SwNumPositionTabPage::SwNumPositionTabPage(), SwNumRule::SwNumRule(), SwNumRulesWithName::SwNumRulesWithName(), SwOutlineTabDialog::SwOutlineTabDialog(), SwSequenceOptionDialog::SwSequenceOptionDialog(), SwXMLConditionParser_Impl::SwXMLConditionParser_Impl(), SwXNumberingRules::SwXNumberingRules(), SwOutlineSettingsTabPage::Update(), SwTOXBaseSection::UpdateContent(), SwFieldMgr::UpdateCurField(), SwIndexMarkPane::UpdateDialog(), SwCaptionOptPage::UpdateEntry(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), SwGetRefField::UpdateField(), SwCursorShell::UpdateMarkedListLevel(), SwNumFormat::UpdateNumNodes(), SwTOXMgr::UpdateOrInsertTOX(), SwTOXBaseSection::UpdateTable(), SwTOXBaseSection::UpdateTemplate(), SwWW8StyInf::WW8OutlineLevelToOutlinelevel(), and SwNumRule::~SwNumRule().

const sal_uInt8 NO_NUMLEVEL = 0x20

Definition at line 97 of file swtypes.hxx.

SwPathFinder* pPathFinder