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 <o3tl/unit_conversion.hxx>
#include <i18nlangtag/lang.h>
#include <vcl/outdev.hxx>
#include <unotools/resmgr.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

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::linguistic2
 
namespace  utl
 
namespace  o3tl
 
namespace  sw
 Dialog to specify the properties of date form field.
 

Macros

#define INVALID_TWIPS   LONG_MAX
 
#define TWIPS_MAX   (LONG_MAX - 1)
 
#define MINFLY   23
 
#define MINLAY   23
 
#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_WJ   u'\x2060'
 
#define CHAR_NNBSP   u'\x202F'
 
#define SW_COLLATOR_IGNORES
 

Typedefs

typedef tools::Long SwTwips
 

Enumerations

enum class  SwLabelType {
  Table ,
  Object ,
  Fly ,
  Draw
}
 
enum class  SetAttrMode {
  DEFAULT = 0x0000 ,
  DONTEXPAND = 0x0001 ,
  DONTREPLACE = 0x0002 ,
  NOTXTATRCHR = 0x0004 ,
  NOHINTADJUST = 0x0008 ,
  NOFORMATATTR = 0x0010 ,
  APICALL = 0x0020 ,
  FORCEHINTEXPAND = 0x0040 ,
  IS_COPY = 0x0080 ,
  NOHINTEXPAND = 0x0100 ,
  NO_CURSOR_CHANGE = 0x0200
}
 
enum class  sw::GetTextAttrMode {
  sw::Default ,
  sw::Expand ,
  sw::Parent
}
 
enum class  PrepareHint {
  Clear ,
  WidowsOrphans ,
  FixSizeChanged ,
  FollowFollows ,
  AdjustSizeWithoutFormatting ,
  FlyFrameSizeChanged ,
  FlyFrameAttributesChanged ,
  FlyFrameArrive ,
  FlyFrameLeave ,
  FootnoteInvalidation ,
  FramePositionChanged ,
  ULSpaceChanged ,
  MustFit ,
  Widows ,
  QuoVadis ,
  BossChanged ,
  Register ,
  FootnoteInvalidationGone ,
  FootnoteMove ,
  ErgoSum
}
 
enum class  FrameControlType {
  PageBreak ,
  Header ,
  Footer ,
  FloatingTable ,
  ContentControl ,
  Outline
}
 

Functions

constexpr tools::Long lMinBorderInMm (20)
 
SW_DLLPUBLIC OUString SwResId (TranslateId aId)
 
OUString SwResId (TranslateNId aContextSingularPlural, 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 ()
 
CollatorWrapperGetAppCaseCollator ()
 
SW_DLLPUBLICconst ::utl::TransliterationWrapperGetAppCmpStrIgnore ()
 

Variables

constexpr sal_Int32 COMPLETE_STRING = SAL_MAX_INT32
 
constexpr SwTwips cMinHdFtHeight = 56
 
constexpr SwTwips DEF_GUTTER_WIDTH = o3tl::toTwips(3, o3tl::Length::mm)
 
constexpr SwTwips MIN_BORDER_DIST = 28
 
constexpr SwTwips lMinBorder = o3tl::toTwips(lMinBorderInMm, o3tl::Length::mm)
 
constexpr SwTwips DOCUMENTBORDER = 284
 
constexpr sal_uInt8 MAXLEVEL = 10
 
constexpr short lBulletIndent = o3tl::toTwips(25, o3tl::Length::in100)
 
constexpr short lBulletFirstLineOffset = -lBulletIndent
 
constexpr sal_uInt16 lNumberIndent = o3tl::toTwips(25, o3tl::Length::in100)
 
constexpr short lNumberFirstLineOffset = -lNumberIndent
 
constexpr short lOutlineMinTextDistance = o3tl::toTwips(15, o3tl::Length::in100)
 
const sal_Unicode cMarkSeparator = '|'
 
const char cSequenceMarkSeparator = '!'
 
sal_Unicode const toxMarkSeparator = '\u0019'
 separator for toxmarks: #<no>%19<text>%19<type><typename>|toxmark More...
 

Macro Definition Documentation

◆ CHAR_HARDBLANK

#define CHAR_HARDBLANK   u'\x00A0'

Definition at line 173 of file swtypes.hxx.

◆ CHAR_HARDHYPHEN

#define CHAR_HARDHYPHEN   u'\x2011'

Definition at line 174 of file swtypes.hxx.

◆ CHAR_LRM

#define CHAR_LRM   u'\x200E'

Definition at line 177 of file swtypes.hxx.

◆ CHAR_NNBSP

#define CHAR_NNBSP   u'\x202F'

Definition at line 180 of file swtypes.hxx.

◆ CHAR_RLM

#define CHAR_RLM   u'\x200F'

Definition at line 176 of file swtypes.hxx.

◆ CHAR_SOFTHYPHEN

#define CHAR_SOFTHYPHEN   u'\x00AD'

Definition at line 175 of file swtypes.hxx.

◆ CHAR_WJ

#define CHAR_WJ   u'\x2060'

Definition at line 179 of file swtypes.hxx.

◆ CHAR_ZWSP

#define CHAR_ZWSP   u'\x200B'

Definition at line 178 of file swtypes.hxx.

◆ DB_DELIM

#define DB_DELIM   u'\x00ff'

Definition at line 130 of file swtypes.hxx.

◆ INIT_FLDTYPES

#define INIT_FLDTYPES   33

Definition at line 105 of file swtypes.hxx.

◆ INIT_SEQ_FLDTYPES

#define INIT_SEQ_FLDTYPES   5

Definition at line 109 of file swtypes.hxx.

◆ INVALID_TWIPS

#define INVALID_TWIPS   LONG_MAX

Definition at line 54 of file swtypes.hxx.

◆ MINFLY

#define MINFLY   23

Definition at line 61 of file swtypes.hxx.

◆ MINLAY

#define MINLAY   23

Definition at line 62 of file swtypes.hxx.

◆ SW_COLLATOR_IGNORES

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

Definition at line 194 of file swtypes.hxx.

◆ TWIPS_MAX

#define TWIPS_MAX   (LONG_MAX - 1)

Definition at line 55 of file swtypes.hxx.

Typedef Documentation

◆ SwTwips

Definition at line 53 of file swtypes.hxx.

Enumeration Type Documentation

◆ FrameControlType

enum class FrameControlType
strong
Enumerator
PageBreak 
Header 
Footer 
FloatingTable 
ContentControl 
Outline 

Definition at line 245 of file swtypes.hxx.

◆ PrepareHint

enum class PrepareHint
strong
Enumerator
Clear 
WidowsOrphans 
FixSizeChanged 
FollowFollows 
AdjustSizeWithoutFormatting 
FlyFrameSizeChanged 
FlyFrameAttributesChanged 
FlyFrameArrive 
FlyFrameLeave 
FootnoteInvalidation 
FramePositionChanged 
ULSpaceChanged 
MustFit 
Widows 
QuoVadis 
BossChanged 
Register 
FootnoteInvalidationGone 
FootnoteMove 
ErgoSum 

Definition at line 205 of file swtypes.hxx.

◆ SetAttrMode

enum class SetAttrMode
strong
Enumerator
DEFAULT 
DONTEXPAND 
Attention: \n: 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

NO_CURSOR_CHANGE 

don't change the cursor position

Definition at line 132 of file swtypes.hxx.

◆ SwLabelType

enum class SwLabelType
strong
Enumerator
Table 
Object 
Fly 
Draw 

Definition at line 84 of file swtypes.hxx.

Function Documentation

◆ GetAppCaseCollator()

CollatorWrapper & GetAppCaseCollator ( )

◆ GetAppCharClass()

SW_DLLPUBLIC CharClass & GetAppCharClass ( )

◆ GetAppCmpStrIgnore()

SW_DLLPUBLICconst ::utl::TransliterationWrapper & GetAppCmpStrIgnore ( )

◆ GetAppCollator()

SW_DLLPUBLIC CollatorWrapper & GetAppCollator ( )

◆ GetAppLanguage()

SW_DLLPUBLIC LanguageType GetAppLanguage ( )

◆ GetAppLanguageTag()

SW_DLLPUBLIC const LanguageTag & GetAppLanguageTag ( )

◆ GetGraphicSizeTwip()

SW_DLLPUBLIC Size GetGraphicSizeTwip ( const Graphic rGraphic,
vcl::RenderContext pOutDev 
)

◆ GetHyphenator()

css::uno::Reference< css::linguistic2::XHyphenator > GetHyphenator ( )

◆ GetLinguPropertySet()

css::uno::Reference< css::linguistic2::XLinguProperties > GetLinguPropertySet ( )

◆ GetSpellChecker()

css::uno::Reference< css::linguistic2::XSpellChecker1 > GetSpellChecker ( )

◆ GetThesaurus()

css::uno::Reference< css::linguistic2::XThesaurus > GetThesaurus ( )

◆ lMinBorderInMm()

constexpr tools::Long lMinBorderInMm ( 20  )
constexpr

◆ SW_ISPRINTABLE()

constexpr bool SW_ISPRINTABLE ( sal_Unicode  c)
constexpr

Definition at line 171 of file swtypes.hxx.

Referenced by SwEditWin::KeyInput().

◆ SwResId() [1/2]

SW_DLLPUBLIC OUString SwResId ( TranslateId  aId)

Definition at line 168 of file swmodule.cxx.

References Translate::get(), and SW_MOD.

Referenced by sw::DocumentRedlineManager::AcceptAllRedline(), sw::DocumentRedlineManager::AcceptRedline(), SwTOXStylesTabPage::ActivatePage(), SwMacroAssignDlg::AddEvents(), sw::DropDownFormFieldDialog::AppendItemToList(), SwGlossaryGroupDlg::Apply(), SwSortDlg::Apply(), SwDocShell::ApplyStyles(), SwWrtShell::AutoCorrect(), SwRedlineAcceptDlg::CallAcceptReject(), SwNumFormatBase::CallSelectHdl(), SwEditRegionDlg::ChangePasswd(), SwInsertSectionTabPage::ChangePasswd(), sw::annotation::SwAnnotationWin::CheckMetaText(), sw::AccessibilityCheck::checkObject(), SwEditRegionDlg::CheckPasswd(), SwEditShell::ClassifyDocPerHighestParagraphClass(), SwGetRefField::ConvertProgrammaticToUIName(), SwDocShell::ConvertTo(), SwDocShell::CreateDocumentInfoDialog(), SwUndoInsertLabel::CreateRewriter(), SwModule::CreateStyleFamilies(), SwFormatTablePage::DeactivatePage(), SwEditShell::Delete(), SwPostItMgr::Delete(), SwPostItMgr::DeleteCommentThread(), SwGlossaryDlg::DeleteEntry(), SwContentTree::DeleteOutlineSelections(), SwEditShell::DeleteSel(), SwParagraphNumTabPage::DisableNumbering(), SwParagraphNumTabPage::DisableOutline(), SwCommentRuler::DrawCommentControl(), SwTextPaintInfo::DrawCSDFHighlighting(), SwBookmarkPortion::dumpAsXml(), SwDocShell::Edit(), SwContentTree::EditEntry(), SwGlossaries::EditGroupDoc(), EndUndo(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwView::ExecDlgExt(), SwTextShell::ExecInsert(), SwView::ExecSearch(), SwSpellPopup::Execute(), SwDocShell::Execute(), SwView::Execute(), SwTableShell::Execute(), SwTextShell::Execute(), SwView::ExecutePrint(), SwView_Impl::ExecuteScan(), SwGlossaryHdl::Expand(), DocxExportFilter::exportDocument(), FillCharStyleListBox(), SwDocShell::FillClass(), SwGlobalDocShell::FillClass(), SwWebDocShell::FillClass(), SwTransferable::FillClipFormatItem(), SwAddressPreview::FillData(), FillFieldSelect(), SwFieldRefPage::FillFormatLB(), SwFieldDokPage::FillFormatLB(), SwFieldVarPage::FillFormatLB(), sw::sidebar::PageMarginControl::FillHelpText(), SwLabFormatPage::FillItem(), SwFieldVarPage::FillItemSet(), SwSpellPopup::fillLangPopupMenu(), SwContentType::FillMemberList(), SwStyleNameMapper::FillProgName(), SwDocStyleSheet::FillStyleSheet(), SwStyleNameMapper::FillUIName(), SwCursor::FindFormat(), SwStyleSheetIterator::First(), SwPostItMgr::FormatAll(), sw::ToxTextGenerator::GenerateText(), SwAuthorityFieldType::GetAuthFieldName(), SwAuthorityFieldType::GetAuthTypeName(), ShellResource::GetAutoFormatNameLst_(), SwPageDesc::GetByName(), SwCursorShell::GetCursorDescr(), SwRedlineData::GetDescr(), SwRangeRedline::GetDescr(), SwOLEObj::GetDescription(), SwField::GetDescription(), SwFrameFormat::GetDescription(), SwAuthorityField::GetDescription(), SwPostItField::GetDescription(), SwScriptField::GetDescription(), SwDrawFrameFormat::GetDescription(), SwGetRefField::GetDescription(), SwHistorySetFormat::GetDescription(), SwHistorySetFootnote::GetDescription(), SwDocStyleSheet::GetDescription(), SwFieldType::GetFieldName_(), sw::DocumentStylePoolManager::GetFormatFromPool(), SwFieldMgr::GetFormatStr(), SwBaseShell::GetGalleryState(), BookmarkTable::GetNameProposal(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwAnnotationShell::GetNoteState(), SwXNumberingRules::GetNumberingRuleByIndex(), sw::DocumentStylePoolManager::GetNumRuleFromPool(), sw::DocumentStylePoolManager::GetPageDescFromPool(), SwView::GetPageStr(), SwDoc::GetPaMDescr(), SwXTextDocument::getPartHash(), SwXTextDocument::getPartName(), SwFormatCharFormat::GetPresentation(), SwFormatAnchor::GetPresentation(), SwFormatCol::GetPresentation(), SwFormatChain::GetPresentation(), SwFormatEditInReadonly::GetPresentation(), SwFormatFollowTextFlow::GetPresentation(), SwFormatFrameSize::GetPresentation(), SwFormatHeader::GetPresentation(), SwFormatFooter::GetPresentation(), SwFormatLineNumber::GetPresentation(), SwFormatLayoutSplit::GetPresentation(), SwFormatVertOrient::GetPresentation(), SwFormatHoriOrient::GetPresentation(), SwFormatPageDesc::GetPresentation(), SwFormatSurround::GetPresentation(), SwMirrorGrf::GetPresentation(), SwRotationGrf::GetPresentation(), SwLuminanceGrf::GetPresentation(), SwContrastGrf::GetPresentation(), SwChannelGrf::GetPresentation(), SwGammaGrf::GetPresentation(), SwInvertGrf::GetPresentation(), SwTransparencyGrf::GetPresentation(), SwDrawModeGrf::GetPresentation(), SwFormatDrop::GetPresentation(), SwRegisterItem::GetPresentation(), SwNumRuleItem::GetPresentation(), SwParaConnectBorderItem::GetPresentation(), SwTextGridItem::GetPresentation(), SwPageFootnoteInfoItem::GetPresentation(), SwLabDlg::GetRecord(), SwModule::GetRedlineAuthor(), SwAccessibleContext::GetResource(), SwUndoRenameFormat::GetRewriter(), SwUndoNumruleRename::GetRewriter(), SwUndoPageDesc::GetRewriter(), SwUndoRenameBookmark::GetRewriter(), SwUndoDelete::GetRewriter(), SwUndoInsert::GetRewriter(), SwUndoOverwrite::GetRewriter(), SwUndoRedlineDelete::GetRewriter(), SwUndoInsTable::GetRewriter(), SwWrtShell::GetSelDescr(), SwView::GetState(), SwFrameShell::GetState(), SwSrcView::GetState(), SwFieldUnitTable::GetString(), SwFieldMgr::GetSubTypes(), sw::GraphicSizeCheckGUIEntry::getText(), SwTOXPara::GetText_Impl(), SwTOXTable::GetText_Impl(), sw::DocumentStylePoolManager::GetTextCollFromPool(), sw::GraphicSizeCheckGUIResult::getTitle(), SwMultiTOXTabDialog::GetTOXDescription(), SwFieldMgr::GetTypeStr(), GetUndoComment(), sw::mark::MarkManager::getUniqueMarkName(), SwDoc::GetUniqueNumRuleName(), SwDoc::GetUniqueSectionName(), SwDoc::GetUniqueTableName(), SwWrtShell::GotoContentControl(), SwBookmarkPortion::HandlePortion(), SwView::HyphenateDocument(), IMPL_LINK(), sw::annotation::IMPL_LINK_NOARG(), IMPL_LINK_NOARG(), SwNoTextFrame::ImplPaintPictureReplacement(), SwWrtShell::InfoReadOnlyDialog(), SwGlossaryDlg::Init(), SwAssignFieldsControl::Init(), sw::annotation::SwAnnotationWin::InitAnswer(), sw::annotation::SwAnnotationWin::InitControls(), SwDropDownContentControlButton::InitDropdown(), DropDownFormFieldButton::InitDropdown(), sw::DocumentFieldsManager::InitFieldTypes(), SwWrtShell::Insert(), BookmarkTable::InsertBookmark(), SwWrtShell::InsertContentControl(), SwModule::InsertEnv(), SwWrtShell::InsertGraphic(), SwView::InsertGraphicDlg(), SwModule::InsertLab(), SwView::InsertMedium(), SwWrtShell::InsertOleObject(), SwDrawShell::InsertPictureFromFile(), SwTextShell::InsertSymbol(), SwXText::insertTextContentWithProperties(), SwTextFormatInfo::IsHyphenate(), lcl_BuildTitleWithRedline(), lcl_DenotedPortion(), lcl_FindCharFormat(), lcl_FormatPostIt(), lcl_getCharFormat(), lcl_GetRedlineHelp(), lcl_GetScrollToolTip(), lcl_GetState(), lcl_GetUniqueFlyName(), lcl_InsertExpandCollapseAllItem(), lcl_NewUINameArray(), lcl_PrintHeader(), lcl_QuoteName(), lcl_RewriterFromHistory(), lcl_SelectDrawObjectByName(), SwSrcView::Load(), SwDBManager::LoadAndRegisterDataSource(), MakeSender(), MakeUndoReplaceRewriter(), SwDBManager::MergeMailFiles(), SwDrawBase::MouseButtonUp(), SwViewLayoutControl::MouseMove(), NavElementBox_Base::NavElementBox_Base(), SwGlossaryHdl::NewGlossary(), SwParaDlg::PageCreated(), SwTemplateDlgController::PageCreated(), SwPagePreviewLayout::Paint(), SwColumnFrame::PaintBreak(), SwRootFrame::PaintSwFrame(), SwTransferable::PasteDBData(), SwTransferable::PasteDDE(), SwTransferable::PasteFileContent(), SwTransferable::PasteFileList(), SwTransferable::PasteOLE(), SwTransferable::PrePasteSpecial(), SwTOXEntryTabPage::PreTokenButtonRemoved(), sw::sidebar::PropertyNametoRID(), sw::AccessibilityIssue::quickFixIssue(), sw::DocumentRedlineManager::RejectRedline(), SwView::Replace(), SwXDocumentIndex::TokenAccess_Impl::replaceByIndex(), SwEditWin::RequestHelp(), sw::sidebarwindows::SidebarTextControl::RequestHelp(), SwFieldDokInfPage::Reset(), SwFieldDokPage::Reset(), SwDropCapsPage::Reset(), SwFramePage::Reset(), SwRedlineOptionsTabPage::Reset(), sw::mark::DropDownFieldmark::SendLOKShowMessage(), SwOutlineContentVisibilityWin::Set(), SwDoc::SetAllUniqueFlyNames(), SwNumFormatBase::SetDefFormat(), SwNumFormatBase::SetFormatType(), SwColumnPage::SetLabels(), sw::sidebar::PageFormatPanel::SetMarginFieldUnit(), SwHeaderFooterWin::SetOffset(), sw::annotation::SwAnnotationWin::SetPostItText(), SwXFieldMaster::setPropertyValue(), SwTextAPIEditSource::SetString(), SwTOXEntryTabPage::SetWrtShell(), ShellResource::ShellResource(), SwChangeDBDlg::ShowDBName(), SwMultiTOXTabDialog::ShowPreview(), SwInputWindow::ShowWin(), SwDocShell::StartConvertFrom(), StartProgress(), WW8AttributeOutput::StartRun(), sw::AccessibilityStatusBarControl::StateChangedAtStatusBarControl(), SwTemplateControl::StateChangedAtStatusBarControl(), SwWordCountStatusBarControl::StateChangedAtStatusBarControl(), SwView::StateStatusLine(), SwDocShell::StateStyleSheet(), SwFieldVarPage::SubTypeHdl(), SwAssignFieldsDialog::SwAssignFieldsDialog(), SwAuthorMarkPane::SwAuthorMarkPane(), SwBackgroundDlg::SwBackgroundDlg(), SwBorderDlg::SwBorderDlg(), SwCaptionDialog::SwCaptionDialog(), SwCharDlg::SwCharDlg(), SwContentTree::SwContentTree(), SwConvertTableDlg::SwConvertTableDlg(), SwCustomizeAddressBlockDialog::SwCustomizeAddressBlockDialog(), 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(), SwPageBreakWin::SwPageBreakWin(), SwParaDlg::SwParaDlg(), SwPrintUIOptions::SwPrintUIOptions(), SwRangeRedline::SwRangeRedline(), SwSelectDBTableDialog::SwSelectDBTableDialog(), SwTemplateDlgController::SwTemplateDlgController(), SwTokenWindow::SwTokenWindow(), SwTOXEntryTabPage::SwTOXEntryTabPage(), SwTOXSelectTabPage::SwTOXSelectTabPage(), SwXLinkTargetSupplier::SwXLinkTargetSupplier(), SwPostItMgr::ToggleResolved(), SwPostItMgr::ToggleResolvedForThread(), SwTranslateHelper::TranslateDocumentCancellable(), NavElementBox_Base::UpdateBox(), SwCommentRuler::UpdateCommentHelpText(), SwEditWin::UpdatePointer(), SwContentTree::UpdateTracking(), sw::sidebar::UpdateTree(), SwWrtShell::WarnHiddenSectionDialog(), SwWrtShell::WarnSwitchToDesignModeDialog(), SwXMLWriter::Write_(), and SwHyphWrapper::~SwHyphWrapper().

◆ SwResId() [2/2]

OUString SwResId ( TranslateNId  aContextSingularPlural,
int  nCardinality 
)

Definition at line 173 of file swmodule.cxx.

References Translate::nget(), and SW_MOD.

Variable Documentation

◆ cMarkSeparator

const sal_Unicode cMarkSeparator = '|'

◆ cMinHdFtHeight

constexpr SwTwips cMinHdFtHeight = 56
constexpr

◆ COMPLETE_STRING

constexpr sal_Int32 COMPLETE_STRING = SAL_MAX_INT32
constexpr

Definition at line 57 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(), 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(), sw::GrammarContact::getGrammarCheck(), SwEditShell::GetGrammarCorrection(), SwEditShell::GetLineCount(), SwTextFrame::GetLineCount(), GetMinLen(), SwTextCursor::GetModelPositionForViewPoint(), SwSubFont::GetModelPositionForViewPoint_(), SwTextFrame::GetModelPositionForViewPoint_(), SwTextSizeInfo::GetMultiCreator(), 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(), SwCursorShell::IsInHiddenRange(), SwScriptInfo::IsInHiddenRange(), SwTextFrame::JoinFrame(), lcl_CalcHeightOfFirstContentLine(), lcl_CheckKashidaPositions(), lcl_CheckKashidaWidth(), lcl_ModifyOfst(), lcl_SpellAndGrammarAgain(), SwContentFrame::MakeAll(), SwTextFormatter::MakeRestPortion(), SwpHints::MergePortions(), SwWrongList::Move(), SwScriptInfo::NextBookmark(), SwScriptInfo::NextDirChg(), SwScriptInfo::NextHiddenChg(), SwScriptInfo::NextScriptChg(), SwWrongList::NextWrong(), SwTextFrame::Prepare(), SwLayCacheImpl::Read(), SwTextFrame::RemoveFootnote(), SwExtend::Reset(), SwTextFormatInfo::ScanPortionEnd(), SwRedlineItr::Seek(), SwAttrIter::SeekStartAndChgAttrIter(), SwUndoMove::SetDestRange(), SwDrawTextInfo::SetIdx(), SwDrawTextInfo::SetIdxLen(), SwHistoryChangeFlyAnchor::SetInDoc(), SwDrawTextInfo::SetLen(), SwDrawTextInfo::SetMeasureLen(), SwUndRng::SetPaM(), SwDrawTextInfo::SetText(), SwDrawTextInfo::SetTextIdxLen(), SwUndRng::SetValues(), SwTextFrame::SmartTagScan(), SwTextFrame::SplitFrame(), SwGrammarMarkUp::SplitGrammarList(), SwWrongList::SplitList(), SwTextFrame::SwClientNotify(), SwDrawTextInfo::SwDrawTextInfo(), SwRedlineItr::SwRedlineItr(), SwTextSlot::SwTextSlot(), SwUndoInsNum::SwUndoInsNum(), SwUndoMove::SwUndoMove(), SwUndoMoveNum::UndoImpl(), SwUndoInsSection::UndoImpl(), SwTextFrame::UnitDown_(), SwTextFrame::UnitUp_(), SwWrongList::Validate(), SwLayoutCache::Write(), and SwFontSave::~SwFontSave().

◆ cSequenceMarkSeparator

const char cSequenceMarkSeparator = '!'

Definition at line 126 of file swtypes.hxx.

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

◆ DEF_GUTTER_WIDTH

constexpr SwTwips DEF_GUTTER_WIDTH = o3tl::toTwips(3, o3tl::Length::mm)
constexpr

◆ DOCUMENTBORDER

constexpr SwTwips DOCUMENTBORDER = 284
constexpr

◆ lBulletFirstLineOffset

constexpr short lBulletFirstLineOffset = -lBulletIndent
constexpr

◆ lBulletIndent

constexpr short lBulletIndent = o3tl::toTwips(25, o3tl::Length::in100)
constexpr

Definition at line 98 of file swtypes.hxx.

Referenced by SwAutoFormat::BuildEnum().

◆ lMinBorder

constexpr SwTwips lMinBorder = o3tl::toTwips(lMinBorderInMm, o3tl::Length::mm)
constexpr

Definition at line 74 of file swtypes.hxx.

Referenced by SwFEShell::BeginCreate().

◆ lNumberFirstLineOffset

constexpr short lNumberFirstLineOffset = -lNumberIndent
constexpr

◆ lNumberIndent

constexpr sal_uInt16 lNumberIndent = o3tl::toTwips(25, o3tl::Length::in100)
constexpr

Definition at line 100 of file swtypes.hxx.

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

◆ lOutlineMinTextDistance

constexpr short lOutlineMinTextDistance = o3tl::toTwips(15, o3tl::Length::in100)
constexpr

Definition at line 102 of file swtypes.hxx.

Referenced by SwNumRule::SwNumRule().

◆ MAXLEVEL

constexpr sal_uInt8 MAXLEVEL = 10
constexpr

Definition at line 92 of file swtypes.hxx.

Referenced by SwNumPositionTabPage::ActivatePage(), SwOutlineSettingsTabPage::ActivatePage(), 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(), SwMultiTOXTabDialog::CreateOrUpdateExample(), SwMultiTOXTabDialog::CreateTOXDescFromTOXBase(), SwCaptionDialog::DrawSample(), MSWordExportBase::DuplicateNumRuleImpl(), SwHTMLParser::EndNumberBulletList(), EnsureMaxLevelForTemplates(), SwTextShell::ExecEnterNum(), SwTextShell::ExecSetNumber(), SwDocShell::Execute(), SwContentTree::ExecuteDrop(), sw::ExportStoredChapterNumberingRules(), SwTOXSelectTabPage::FillTOXDescription(), SwNode::FindOutlineNodeOfLevel(), sw::ToxTextGenerator::GenerateText(), SwNumRule::Get(), SwNumRule::GetBullIndent(), SwXNumberingRules::getByIndex(), SwXDocumentIndex::StyleAccess_Impl::getByIndex(), SwXDocumentIndex::TokenAccess_Impl::getByIndex(), sw::StoredChapterNumberingRules::getByIndex(), SwXNumberingRules::getCount(), SwXDocumentIndex::StyleAccess_Impl::getCount(), sw::StoredChapterNumberingRules::getCount(), SwAutoFormat::GetDigitLevel(), SwTextNode::GetExpandText(), SwForm::GetFormMaxLevel(), SwHTMLNumRuleInfo::GetLevel(), SwOutlineTabDialog::GetLevel(), SwHTMLParser::GetMarginsFromContextWithNumberBullet(), 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(), SwWW8StyInf::HasWW8OutlineLevel(), IMPL_LINK(), IMPL_LINK_NOARG(), SwNumPositionTabPage::InitControls(), SwNumPositionTabPage::InitPosAndSpaceMode(), SwFieldMgr::InsertField(), SwHTMLParser::InsertImage(), SwTOXMgr::InsertTOXMark(), SwCaptionOptPage::InvalidatePreview(), IsEqualFormatting(), IsExportNumRule(), SwEditShell::IsProtectedOutlinePara(), SwEditWin::KeyInput(), lcl_AdjustOutlineStylesForOOo(), lcl_BitToLevel(), lcl_ChgNumRule(), lcl_dbg_out(), lcl_FindOutlineNum(), lcl_IsNoEndTextAttrAtPos(), lcl_IsNumOk(), lcl_toxMatchTSwitch(), SwNumRule::MakeNumString(), SwNumRule::MakeRefNumString(), SwNumRule::MakeSvxNumRule(), SwList::MarkListLevel(), SwXMLImport::MergeListsAtDocumentInsertPosition(), SwIndexMarkPane::ModifyHdl(), SwEditShell::MoveNumParas(), SwNavigationPI::MoveOutline(), SwDoc::MoveOutlinePara(), MSWordStyles::MSWordStyles(), SwHTMLParser::NewNumberBulletList(), SwHTMLParser::NewNumberBulletListItem(), SwTextFormatter::NewNumberPortion(), SwWW8ImplReader::NextAnlLine(), numfunc::NumDownChangesIndent(), SwWrtShell::NumOrBulletOff(), SwWrtShell::NumOrBulletOn(), SwDoc::NumOrNoNum(), SwDoc::NumUpDown(), SwOutlineTabDialog::Ok(), SwNumRule::operator=(), SwNumRulesWithName::operator=(), SwTOXBase::operator=(), SwNumRule::operator==(), OutHTML_SwFormat(), SwDoc::OutlineUpDown(), MSWordExportBase::OutputFormat(), MSWordExportBase::OutputTextNode(), NumberingPreview::Paint(), AttributeOutputBase::ParaNumRule(), RtfAttributeOutput::ParaNumRule_Impl(), WW8RStyle::PostStyle(), Writer::PutNumFormatFontsInAttrPool(), SwChapterField::PutValue(), SwSetExpFieldType::PutValue(), SwSetExpFieldType::QueryValue(), SwWW8ImplReader::Read_LFOPosition(), SwWW8ImplReader::Read_ListLevel(), SwWW8ImplReader::RegisterNumFormatOnTextNode(), SwXNumberingRules::replaceByIndex(), SwXDocumentIndex::StyleAccess_Impl::replaceByIndex(), SwXDocumentIndex::TokenAccess_Impl::replaceByIndex(), sw::StoredChapterNumberingRules::replaceByIndex(), SwNumRule::Reset(), SwNumPositionTabPage::Reset(), SwNumRulesWithName::ResetNumRule(), SwCaptionOptPage::SaveEntry(), SwNumRule::Set(), SwTextNode::SetAttrListLevel(), SwTextNode::SetAttrOutlineLevel(), SwTextFormatColl::SetAttrOutlineLevel(), SwTokenWindow::SetForm(), SwUnoCursorHelper::setNumberingProperty(), SwEditShell::SetNumberingRestart(), SwXNumberingRules::SetNumberingRuleByIndex(), SwWW8ImplReader::SetOutlineStyles(), SwXNumberingRules::SetPropertiesToNumFormat(), SwXFieldMaster::setPropertyValue(), SwXDocumentIndexMark::setPropertyValue(), SwTOXBase::SetStyleNames(), SwWW8ImplReader::SetStylesList(), SwNumRule::SetSvxRule(), SwOutlineSettingsTabPage::SetWrtShell(), AttributeOutputBase::StartTOX(), SwView::StateStatusLine(), SwAutoFormat::SwAutoFormat(), SwCaptionOptPage::SwCaptionOptPage(), SwFieldDokPage::SwFieldDokPage(), SwFieldVarPage::SwFieldVarPage(), SwNumPositionTabPage::SwNumPositionTabPage(), SwNumRule::SwNumRule(), SwNumRulesWithName::SwNumRulesWithName(), SwOutlineTabDialog::SwOutlineTabDialog(), 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(), SwContentTree::UpdateTracking(), SwWW8StyInf::WW8OutlineLevelToOutlinelevel(), and SwNumRule::~SwNumRule().

◆ MIN_BORDER_DIST

constexpr SwTwips MIN_BORDER_DIST = 28
constexpr

◆ toxMarkSeparator

sal_Unicode const toxMarkSeparator = '\u0019'

separator for toxmarks: #<no>%19<text>%19<type><typename>|toxmark

Definition at line 128 of file swtypes.hxx.

Referenced by SwTOXSortTabBase::GetURL(), and sw::PrepareJumpToTOXMark().