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 <svx/flagsdef.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

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

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  SwLabelType {
  SwLabelType::Table,
  SwLabelType::Object,
  SwLabelType::Fly,
  SwLabelType::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 {
  PrepareHint::Clear,
  PrepareHint::WidowsOrphans,
  PrepareHint::FixSizeChanged,
  PrepareHint::FollowFollows,
  PrepareHint::AdjustSizeWithoutFormatting,
  PrepareHint::FlyFrameSizeChanged,
  PrepareHint::FlyFrameAttributesChanged,
  PrepareHint::FlyFrameArrive,
  PrepareHint::FlyFrameLeave,
  PrepareHint::FootnoteInvalidation,
  PrepareHint::FramePositionChanged,
  PrepareHint::ULSpaceChanged,
  PrepareHint::MustFit,
  PrepareHint::Widows,
  PrepareHint::QuoVadis,
  PrepareHint::BossChanged,
  PrepareHint::Register,
  PrepareHint::FootnoteInvalidationGone,
  PrepareHint::FootnoteMove,
  PrepareHint::ErgoSum
}
 
enum  FrameControlType {
  FrameControlType::PageBreak,
  FrameControlType::Header,
  FrameControlType::Footer,
  FrameControlType::FloatingTable,
  FrameControlType::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::TransliterationWrapper & GetAppCmpStrIgnore ()
 

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

#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_WJ   u'\x2060'
#define CHAR_ZWSP   u'\x200B'
#define DB_DELIM   u'\x00ff'
#define INIT_FLDTYPES   33
#define INIT_SEQ_FLDTYPES   5
#define INVALID_TWIPS   LONG_MAX

Definition at line 55 of file swtypes.hxx.

Referenced by SwDoc::CheckDefaultPageFormat().

#define MINFLY   23
#define MINLAY   23

Definition at line 63 of file swtypes.hxx.

Referenced by WW8TabDesc::AdjustNewBand(), 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(), sw::sidebar::TableEditPanel::InitColumnWidthToolitem(), sw::sidebar::TableEditPanel::InitRowHeightToolitem(), 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(), SwVbaTableHelper::SetColWidth(), SwTableFUNC::SetColWidth(), SwHTMLParser::SetControlSize(), wwSectionManager::SetLeftRight(), WW8TabDesc::SetSizePosition(), SwView::StateTabWin(), SwColMgr::SwColMgr(), SwTableHeightDlg::SwTableHeightDlg(), SwTableWidthDlg::SwTableWidthDlg(), SwPageFrame::UpdateAttr_(), and SwTableColumnPage::UpdateCols().

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

Definition at line 183 of file swtypes.hxx.

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

#define TWIPS_MAX   (LONG_MAX - 1)

Definition at line 56 of file swtypes.hxx.

Referenced by SwRootFrame::CheckViewLayout().

Typedef Documentation

Definition at line 52 of file swtypes.hxx.

Enumeration Type Documentation

enum FrameControlType
strong
Enumerator
PageBreak 
Header 
Footer 
FloatingTable 
Outline 

Definition at line 234 of file swtypes.hxx.

enum 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 194 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 133 of file swtypes.hxx.

enum SwLabelType
strong
Enumerator
Table 
Object 
Fly 
Draw 

Definition at line 85 of file swtypes.hxx.

Function Documentation

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 ( )
constexpr tools::Long lMinBorderInMm ( 20  )
constexpr bool SW_ISPRINTABLE ( sal_Unicode  c)

Definition at line 160 of file swtypes.hxx.

Referenced by SwEditWin::KeyInput().

SW_DLLPUBLIC OUString SwResId ( TranslateId  aId)

Definition at line 165 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(), 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(), SwParagraphNumTabPage::DisableNumbering(), SwParagraphNumTabPage::DisableOutline(), SwCommentRuler::DrawCommentControl(), SwDocShell::Edit(), SwContentTree::EditEntry(), SwGlossaries::EditGroupDoc(), EndUndo(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwView::ExecDlgExt(), SwTextShell::ExecInsert(), SwView::ExecSearch(), SwTableShell::Execute(), SwTextShell::Execute(), SwSpellPopup::Execute(), SwDocShell::Execute(), SwView::ExecutePrint(), SwView_Impl::ExecuteScan(), SwGlossaryHdl::Expand(), FillCharStyleListBox(), SwGlobalDocShell::FillClass(), SwWebDocShell::FillClass(), SwDocShell::FillClass(), SwTransferable::FillClipFormatItem(), SwAddressPreview::FillData(), FillFieldSelect(), SwFieldVarPage::FillFormatLB(), SwFieldRefPage::FillFormatLB(), sw::sidebar::PageMarginControl::FillHelpText(), SwLabFormatPage::FillItem(), SwFieldVarPage::FillItemSet(), SwSpellPopup::fillLangPopupMenu(), 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(), 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(), sw::DocumentStylePoolManager::GetPageDescFromPool(), SwView::GetPageStr(), SwDoc::GetPaMDescr(), SwXTextDocument::getPartHash(), SwXTextDocument::getPartName(), SwFormatLayoutSplit::GetPresentation(), SwFormatEditInReadonly::GetPresentation(), SwFormatFollowTextFlow::GetPresentation(), SwFormatSurround::GetPresentation(), SwFormatChain::GetPresentation(), SwFormatVertOrient::GetPresentation(), SwFormatHeader::GetPresentation(), SwPageFootnoteInfoItem::GetPresentation(), SwFormatLineNumber::GetPresentation(), SwFormatPageDesc::GetPresentation(), SwMirrorGrf::GetPresentation(), SwFormatCharFormat::GetPresentation(), SwFormatAnchor::GetPresentation(), SwTextGridItem::GetPresentation(), SwFormatFrameSize::GetPresentation(), SwFormatFooter::GetPresentation(), SwFormatHoriOrient::GetPresentation(), SwFormatDrop::GetPresentation(), SwRotationGrf::GetPresentation(), SwFormatCol::GetPresentation(), SwLuminanceGrf::GetPresentation(), SwRegisterItem::GetPresentation(), SwContrastGrf::GetPresentation(), SwChannelGrf::GetPresentation(), SwNumRuleItem::GetPresentation(), SwParaConnectBorderItem::GetPresentation(), SwGammaGrf::GetPresentation(), SwInvertGrf::GetPresentation(), SwTransparencyGrf::GetPresentation(), SwDrawModeGrf::GetPresentation(), 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(), SwView::GetState(), SwFieldUnitTable::GetString(), SwFieldMgr::GetSubTypes(), SwTOXPara::GetText_Impl(), SwTOXTable::GetText_Impl(), sw::DocumentStylePoolManager::GetTextCollFromPool(), SwMultiTOXTabDialog::GetTOXDescription(), SwFieldMgr::GetTypeStr(), GetUndoComment(), SwDoc::GetUniqueNumRuleName(), SwDoc::GetUniqueSectionName(), SwDoc::GetUniqueTableName(), SwView::HyphenateDocument(), IMPL_LINK(), sw::annotation::IMPL_LINK_NOARG(), IMPL_LINK_NOARG(), SwGlossaryDlg::Init(), SwAssignFieldsControl::Init(), sw::annotation::SwAnnotationWin::InitAnswer(), sw::annotation::SwAnnotationWin::InitControls(), DropDownFormFieldButton::InitDropdown(), sw::DocumentFieldsManager::InitFieldTypes(), SwWrtShell::Insert(), BookmarkTable::InsertBookmark(), SwModule::InsertEnv(), 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_GetCountOrName< SfxStyleFamily::Char >(), 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(), SwGlossaryHdl::NewGlossary(), SwPagePreviewLayout::Paint(), SwColumnFrame::PaintBreak(), SwNoTextFrame::PaintPicture(), SwRootFrame::PaintSwFrame(), SwTransferable::PasteDBData(), SwTransferable::PasteDDE(), SwTransferable::PasteFileContent(), SwTransferable::PasteFileList(), SwTransferable::PasteOLE(), SwTransferable::PrePasteSpecial(), SwTOXEntryTabPage::PreTokenButtonRemoved(), sw::sidebar::PropertyNametoRID(), sw::DocumentRedlineManager::RejectRedline(), SwView::Replace(), SwXDocumentIndex::TokenAccess_Impl::replaceByIndex(), sw::sidebarwindows::SidebarTextControl::RequestHelp(), SwEditWin::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(), SwXFieldMaster::setPropertyValue(), SwTOXEntryTabPage::SetWrtShell(), ShellResource::ShellResource(), SwChangeDBDlg::ShowDBName(), SwInputWindow::ShowWin(), SwDocShell::StartConvertFrom(), StartProgress(), 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(), SwSelectDBTableDialog::SwSelectDBTableDialog(), SwTemplateDlgController::SwTemplateDlgController(), SwTokenWindow::SwTokenWindow(), SwTOXEntryTabPage::SwTOXEntryTabPage(), SwTOXSelectTabPage::SwTOXSelectTabPage(), SwXLinkTargetSupplier::SwXLinkTargetSupplier(), SwPostItMgr::ToggleResolved(), SwPostItMgr::ToggleResolvedForThread(), SwCommentRuler::UpdateCommentHelpText(), SwEditWin::UpdatePointer(), SwContentTree::UpdateTracking(), sw::sidebar::UpdateTree(), SwXMLWriter::Write_(), and SwHyphWrapper::~SwHyphWrapper().

OUString SwResId ( TranslateNId  aContextSingularPlural,
int  nCardinality 
)

Definition at line 170 of file swmodule.cxx.

References Translate::nget(), and SW_MOD.

Variable Documentation

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

Definition at line 58 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(), SwEditShell::GetGrammarCorrection(), SwTextFrame::GetLineCount(), SwEditShell::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(), 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(), SwCursorShell::SelectHiddenRange(), SwUndoMove::SetDestRange(), SwHistoryChangeFlyAnchor::SetInDoc(), SwUndRng::SetPaM(), SwUndRng::SetValues(), SwTextFrame::SmartTagScan(), SwTextFrame::SplitFrame(), SwGrammarMarkUp::SplitGrammarList(), SwWrongList::SplitList(), SwTextFrame::SwClientNotify(), SwRedlineItr::SwRedlineItr(), 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 127 of file swtypes.hxx.

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

constexpr SwTwips DEF_GUTTER_WIDTH = o3tl::toTwips(3, o3tl::Length::mm)
constexpr SwTwips DOCUMENTBORDER = 284
constexpr short lBulletFirstLineOffset = -lBulletIndent
constexpr short lBulletIndent = o3tl::toTwips(25, o3tl::Length::in100)

Definition at line 99 of file swtypes.hxx.

Referenced by SwAutoFormat::BuildEnum().

Definition at line 75 of file swtypes.hxx.

Referenced by SwFEShell::BeginCreate().

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

Definition at line 101 of file swtypes.hxx.

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

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

Definition at line 103 of file swtypes.hxx.

Referenced by SwNumRule::SwNumRule().

constexpr sal_uInt8 MAXLEVEL = 10

Definition at line 93 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(), SwContentTree::ExecCommand(), SwTextShell::ExecEnterNum(), SwTextShell::ExecSetNumber(), SwDocShell::Execute(), SwContentTree::ExecuteDrop(), 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(), sw::StoredChapterNumberingRules::getCount(), SwXNumberingRules::getCount(), SwXDocumentIndex::StyleAccess_Impl::getCount(), SwAutoFormat::GetDigitLevel(), SwTextNode::GetExpandText(), SwForm::GetFormMaxLevel(), SwOutlineTabDialog::GetLevel(), SwHTMLNumRuleInfo::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(), 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(), 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(), SwNumRulesWithName::operator=(), SwNumRule::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(), sw::StoredChapterNumberingRules::replaceByIndex(), SwXNumberingRules::replaceByIndex(), SwXDocumentIndex::StyleAccess_Impl::replaceByIndex(), SwXDocumentIndex::TokenAccess_Impl::replaceByIndex(), SwNumPositionTabPage::Reset(), SwNumRule::Reset(), SwNumRulesWithName::ResetNumRule(), SwCaptionOptPage::SaveEntry(), SwNumRule::Set(), SwTextNode::SetAttrListLevel(), SwTextFormatColl::SetAttrOutlineLevel(), SwTextNode::SetAttrOutlineLevel(), 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().

constexpr SwTwips MIN_BORDER_DIST = 28
sal_Unicode const toxMarkSeparator = '\u0019'

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

Definition at line 129 of file swtypes.hxx.

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