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::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 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 {
  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

template<typename T = SwTwips>
constexpr T MmToTwips (const double mm)
 
SW_DLLPUBLIC OUString SwResId (const char *pId)
 
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 ()
 
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
 
const short lBulletIndent = 1440/4
 
const short lBulletFirstLineOffset = -lBulletIndent
 
const sal_uInt16 lNumberIndent = 1440/4
 
const short lNumberFirstLineOffset = -lNumberIndent
 
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(), 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 MM50   283
#define SW_COLLATOR_IGNORES
Value:
( \
css::i18n::CollatorOptions::CollatorOptions_IGNORE_CASE )

Definition at line 185 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 SwRootFrame::CheckViewLayout().

Typedef Documentation

typedef long SwTwips

Definition at line 49 of file swtypes.hxx.

Enumeration Type Documentation

enum FrameControlType
strong
Enumerator
PageBreak 
Header 
Footer 
FloatingTable 
Outline 

Definition at line 236 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 196 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 135 of file swtypes.hxx.

enum SwLabelType
strong
Enumerator
Table 
Object 
Fly 
Draw 

Definition at line 87 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 ( )
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 162 of file swtypes.hxx.

Referenced by SwEditWin::KeyInput().

SW_DLLPUBLIC OUString SwResId ( const char *  pId)

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::annotation::AnnotationMenuButton::AnnotationMenuButton(), 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(), 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(), SwFieldDokPage::FillFormatLB(), 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(), 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(), 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(), 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(), 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(), 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(), SwSrcView::Load(), SwDBManager::LoadAndRegisterDataSource(), MakeSender(), MakeUndoReplaceRewriter(), SwDBManager::MergeMailFiles(), sw::annotation::AnnotationMenuButton::MouseButtonDown(), 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::SendLOKMessage(), 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(), SwBookmarkControl::StateChanged(), SwWordCountStatusBarControl::StateChanged(), SwView::StateStatusLine(), SwDocShell::StateStyleSheet(), SwFieldVarPage::SubTypeHdl(), SwAssignFieldsDialog::SwAssignFieldsDialog(), SwAuthorMarkPane::SwAuthorMarkPane(), SwBackgroundDlg::SwBackgroundDlg(), SwBorderDlg::SwBorderDlg(), SwCaptionDialog::SwCaptionDialog(), SwCharDlg::SwCharDlg(), SwColumnPage::SwColumnPage(), 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(), SwParaDlg::SwParaDlg(), SwPrintUIOptions::SwPrintUIOptions(), SwSelectDBTableDialog::SwSelectDBTableDialog(), SwTemplateControl::SwTemplateControl(), SwTokenWindow::SwTokenWindow(), SwTOXEntryTabPage::SwTOXEntryTabPage(), SwTOXSelectTabPage::SwTOXSelectTabPage(), SwXLinkTargetSupplier::SwXLinkTargetSupplier(), SwPostItMgr::ToggleResolvedForThread(), SwCommentRuler::UpdateCommentHelpText(), SwEditWin::UpdatePointer(), SwXMLWriter::Write_(), and SwHyphWrapper::~SwHyphWrapper().

OUString SwResId ( const char *  pId,
int  nCardinality 
)

Definition at line 170 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(), 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 131 of file swtypes.hxx.

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

const short lBulletFirstLineOffset = -lBulletIndent
const short lBulletIndent = 1440/4

Definition at line 103 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 lNumberFirstLineOffset = -lNumberIndent
const sal_uInt16 lNumberIndent = 1440/4

Definition at line 105 of file swtypes.hxx.

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

const short lOutlineMinTextDistance = 216

Definition at line 107 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(), 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(), SwNumRulesWithName::MakeNumRule(), SwNumRule::MakeNumString(), SwNumRule::MakeRefNumString(), SwNumRule::MakeSvxNumRule(), SwListImpl::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(), 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(), SwUnoCursorHelper::setNumberingProperty(), SwEditShell::SetNumberingRestart(), SwXNumberingRules::SetNumberingRuleByIndex(), SwXNumberingRules::SetPropertiesToNumFormat(), SwXFieldMaster::setPropertyValue(), SwXDocumentIndexMark::setPropertyValue(), SwTOXBase::SetStyleNames(), 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(), SwWW8StyInf::WW8OutlineLevelToOutlinelevel(), and SwNumRule::~SwNumRule().

const sal_uInt8 NO_NUMLEVEL = 0x20

Definition at line 97 of file swtypes.hxx.