LibreOffice Module sw (master) 1
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
sw Namespace Reference

Dialog to specify the properties of date form field. More...

Namespaces

namespace  access
 
namespace  annotation
 
namespace  detail
 
namespace  hack
 
namespace  Justify
 
namespace  mark
 
namespace  ms
 
namespace  overlay
 
namespace  proofreadingiterator
 
namespace  search
 
namespace  sidebar
 
namespace  sidebarwindows
 
namespace  types
 
namespace  util
 

Classes

class  AccessibilityCheck
 
struct  AccessibilityCheckStatus
 
class  AccessibilityIssue
 
class  AccessibilityStatusBarControl
 
class  BaseCheck
 Base class for accessibility checks. More...
 
class  BorderCacheOwner
 Bookkeeping helper for SwCache caching writer borders. More...
 
class  BroadcasterMixin
 
struct  CheckDrawFrameFormatLayerHint
 
class  ClientIteratorBase
 
struct  CollectPostItsHint
 
struct  CollectTextMarksHint
 
struct  CollectTextObjectsHint
 
struct  CollectTextTOXMarksForLayoutHint
 
class  CondCollCondChg
 
struct  ContactChangedHint
 
struct  CreatePortionHint
 
class  DateFormFieldDialog
 
class  DefaultToxTabStopTokenHandler
 The default implementation of ToxTabStopTokenHandler. More...
 
class  DeleteChar
 
class  DeleteText
 
class  DescriptionChanged
 
class  DocPosUpdate
 DocPosUpdate is sent to signal that only the frames from or to a specified document-global position have to be updated. More...
 
class  DocPosUpdateAtIndex
 
class  DocumentChartDataProviderManager
 
class  DocumentContentOperationsManager
 
class  DocumentDeviceManager
 
class  DocumentDrawModelManager
 
class  DocumentDyingHint
 
class  DocumentExternalDataManager
 
class  DocumentFieldsManager
 
class  DocumentLayoutManager
 
class  DocumentLinksAdministrationManager
 
class  DocumentListItemsManager
 
class  DocumentListsManager
 
class  DocumentOutlineNodesManager
 
class  DocumentRedlineManager
 
class  DocumentSettingManager
 
class  DocumentStateManager
 
class  DocumentStatisticsManager
 
class  DocumentStylePoolManager
 
class  DocumentTimerManager
 
class  DrawFlyCntPortion
 
struct  DrawFormatLayoutCopyHint
 
struct  DrawFrameFormatHint
 
class  DrawUndoGuard
 
class  DropDownFieldDialog
 
class  DropDownFormFieldDialog
 
struct  Extent
 Describes a part of a single text node, which will be part of a text frame, even when redlines are hidden at a layout level. More...
 
class  ExternalData
 
struct  ExternalDataTypeHash
 
class  Filters
 
struct  FindContentFrameHint
 
struct  FindFormatForFieldHint
 
struct  FindFormatForPostItIdHint
 
struct  FindRedlineHint
 
struct  FindSdrObjectHint
 
class  FlyContentPortion
 
class  FlyCreationSuppressor
 
class  FormatDropDefiner
 
struct  FrameClient
 
class  FrameFormats
 
struct  GatherDdeTablesHint
 
struct  GatherFieldsHint
 
struct  GatherNodeIndexHint
 
struct  GatherRefFieldsHint
 
struct  GetObjectConnectedHint
 
struct  GetZOrderHint
 
struct  GetZOrderLayer
 
class  GrammarContact
 This class is responsible for the delayed display of grammar checks when a paragraph is edited It's a client of the paragraph the cursor points to. More...
 
class  GraphicPieceArrivedHint
 
class  GraphicSizeCheck
 Run the graphic size checks for all the graphic objects in the DOM and store a list of violations. More...
 
class  GraphicSizeCheckGUIEntry
 The UI part of the GraphicSizeViolation used by GenericCheckDialog. More...
 
class  GraphicSizeCheckGUIResult
 The UI part presenting the graphic size check results, which is used by GenericCheckDialog. More...
 
class  GraphicSizeViolation
 Class responsible to check if a graphic object violates the size constraints and store the results. More...
 
class  GrfRereadAndInCacheHint
 
class  GroupUndoGuard
 Blocks grouping undo actions together into an SfxListUndoAction. More...
 
struct  HasHiddenInformationNotesHint
 
class  ICoreFrameStyle
 
class  IndexingExport
 
class  IndexingExportFilter
 
struct  InRangeSearchHint
 
class  InsertText
 
class  IShellCursorSupplier
 The Undo actions need to create new Shell cursors. More...
 
class  LayoutDumpFilter
 Implementation of UNO export service to dump the layout of the document as XML. More...
 
struct  LegacyModifyHint
 
struct  LinkAnchorSearchHint
 
class  LinkedGraphicStreamArrivedHint
 
class  ListenerEntry
 
class  MergedAttrIter
 
class  MergedAttrIterBase
 iterate SwTextAttr in potentially merged text frame More...
 
class  MergedAttrIterByEnd
 
class  MergedAttrIterReverse
 
struct  MergedPara
 Describes parts of multiple text nodes, which will form a text frame, even when redlines are hidden at a layout level. More...
 
class  Meta
 Meta is an annotation on a range of text. More...
 
class  MetaField
 
class  MetaFieldManager
 knows all meta-fields in the document. More...
 
class  ModelTraverseHandler
 
class  ModelTraverser
 
struct  ModifyChangedHint
 
class  MoveTableBoxHint
 
class  MoveTableLineHint
 
class  MoveText
 text is moved into pDestNode More...
 
class  NameChanged
 
class  OnlineAccessibilityCheck
 
class  PageFootnoteHint
 
struct  ParagraphIdleData
 
class  PostGraphicArrivedHint
 
class  PreGraphicArrivedHint
 
class  RedlineDelText
 new delete redline is created More...
 
class  RedlineUnDelText
 delete redline is removed More...
 
class  RepeatContext
 
struct  RestoreFlyAnchorHint
 
class  Ring
 
class  RingContainer
 helper class that provides Svalue_typeL-style container iteration to the ring More...
 
class  RingIterator
 
class  SectionHidden
 
class  SpzFrameFormat
 
class  StoredChapterNumberingRules
 
class  SwDocIdle
 An Idle, which is just ready to be scheduled for idle documents. More...
 
class  TableBoxFormatChanged
 
class  TableHeadingChange
 
class  TableLineFormatChanged
 
class  TextNodeNotificationSuppressor
 
class  ThemeColorChanger
 
class  TitleChanged
 
class  ToxLinkProcessor
 A helper class for ToxTextGenerator. More...
 
class  ToxTabStopTokenHandler
 This class handles tab stop tokens in the pattern for tox entries. More...
 
class  ToxTextGenerator
 This class generates text for the entries of a table of x. More...
 
class  ToxWhitespaceStripper
 This class helps to remove unwanted whitespaces from a string to use in a Tox. More...
 
class  UndoGuard
 
class  UndoManager
 Stores the undo/redo information, implementing the IDocumentUndoRedo interface. More...
 
class  UndoRedoContext
 
class  UndoThemeChange
 
struct  UnoCursorHint
 
class  UnoCursorPointer
 
struct  UnoImplPtrDeleter
 
class  WeakNodeContainer
 Contains the node and tracks if the node gets deleted. More...
 
class  WriterListener
 refactoring out the same of the more sane SwClient functionality More...
 
class  WriterMultiListener
 
class  WrongListIterator
 
class  WrongListIteratorBase
 
class  WrongListIteratorCounter
 
struct  WW8AnchorConvHint
 
struct  WW8AnchorConvResult
 
class  WW8FFData
 

Typedefs

typedef FrameFormats<::SwTableFormat * > TableFrameFormats
 
typedef FrameFormats< sw::SpzFrameFormat * > SpzFrameFormats
 
typedef std::shared_ptr< ExternalDatatExternalDataPointer
 
typedef std::function< SwTextFrame *()> Creator
 
template<typename T >
using UnoImplPtr = std::unique_ptr< T, UnoImplPtrDeleter< T > >
 Smart pointer class ensuring that the pointed object is deleted with a locked SolarMutex. More...
 

Enumerations

enum class  IssueObject {
  UNKNOWN ,
  GRAPHIC ,
  OLE ,
  SHAPE ,
  FORM ,
  TABLE ,
  TEXT ,
  DOCUMENT_TITLE ,
  FOOTENDNOTE ,
  TEXTFRAME
}
 
enum class  LineAlign {
  NONE ,
  TOP ,
  CENTER ,
  BOTTOM
}
 
enum class  RedlineMode {
  Shown ,
  Hidden
}
 
enum class  FieldmarkMode {
  ShowCommand = 1 ,
  ShowResult = 2 ,
  ShowBoth = 3
}
 
enum class  ParagraphBreakMode {
  Shown ,
  Hidden
}
 
enum class  FrameMode {
  New ,
  Existing
}
 
enum class  Recreate {
  No ,
  ThisNode ,
  Predecessor
}
 
enum class  Css1Background {
  Attr = 1 ,
  Page = 2 ,
  Table = 3 ,
  Fly = 4 ,
  Section = 5 ,
  TableRow = 6 ,
  TableCell = 7
}
 
enum class  IteratorMode {
  Exact ,
  UnwrapMulti
}
 
enum class  DBConnURIType {
  UNKNOWN = 0 ,
  ODB ,
  CALC ,
  DBASE ,
  FLAT ,
  MSJET ,
  MSACE ,
  WRITER
}
 
enum class  DrawFrameFormatHintId {
  DYING ,
  PREPPASTING ,
  PREP_INSERT_FLY ,
  PREP_DELETE_FLY ,
  PAGE_OUT_OF_BOUNDS ,
  MAKE_FRAMES ,
  DELETE_FRAMES ,
  POST_RESTORE_FLY_ANCHOR
}
 
enum class  WW8AnchorConv {
  NO_CONV ,
  CONV2PG ,
  CONV2COL_OR_PARA ,
  CONV2CHAR ,
  CONV2LINE ,
  RELTOTABLECELL
}
 
enum class  tExternalDataType {
  FIB ,
  STTBF_ASSOC
}
 
enum class  WrongState {
  TODO ,
  PENDING ,
  DONE
}
 
enum class  ListLevelIndents {
  No ,
  FirstLine ,
  LeftMargin
}
 
enum class  GetTextAttrMode {
  Default ,
  Expand ,
  Parent
}
 
enum class  DeleteAndInsertMode {
  Default = 0 ,
  ForceExpandHints = (1<<0) ,
  ForceReplace = (1<<1)
}
 
enum class  TextRangeMode {
  RequireTextNode ,
  AllowNonTextNode ,
  AllowTableNode
}
 

Functions

void NotifyTableCollapsedParagraph (const SwContentNode *const pNode, SwCursorShell *const pShell)
 An empty paragraph inside a table with a nested table preceding it should be hidden, unless the cursor is positioned in the paragraph. More...
 
bool IsMarkHidden (SwRootFrame const &rLayout, ::sw::mark::IMark const &rMark)
 
bool FindAttrImpl (SwPaM &rSearchPam, const SfxPoolItem &rAttr, SwMoveFnCollection const &fnMove, const SwPaM &rRegion, bool bInReadOnly, SwRootFrame const *const pLayout)
 
bool FindFormatImpl (SwPaM &rSearchPam, const SwFormat &rFormat, SwMoveFnCollection const &fnMove, const SwPaM &rRegion, bool bInReadOnly, SwRootFrame const *const pLayout)
 
bool FindTextImpl (SwPaM &rSearchPam, const i18nutil::SearchOptions2 &rSearchOpt, bool bSearchInNotes, utl::TextSearch &rSText, SwMoveFnCollection const &fnMove, const SwPaM &rRegion, bool bInReadOnly, SwRootFrame const *pLayout, std::unique_ptr< SvxSearchItem > &xSearchItem)
 Search. More...
 
bool ReplaceImpl (SwPaM &rCursor, OUString const &rReplacement, bool const bRegExp, SwDoc &rDoc, SwRootFrame const *const pLayout)
 
std::optional< OUString > ReplaceBackReferences (const i18nutil::SearchOptions2 &rSearchOpt, SwPaM *pPam, SwRootFrame const *pLayout)
 Helperfunction to resolve backward references in regular expressions. More...
 
void MakeRegion (SwMoveFnCollection const &fnMove, const SwPaM &rOrigRg, std::optional< SwPaM > &rPam)
 make a new region More...
 
InsertText MakeInsertText (SwTextNode &rNode, const sal_Int32 nPos, const sal_Int32 nLen)
 
void GotoPrevLayoutTextFrame (SwNodeIndex &rIndex, SwRootFrame const *const pLayout)
 
void GotoNextLayoutTextFrame (SwNodeIndex &rIndex, SwRootFrame const *const pLayout)
 
std::vector< std::unique_ptr< SwRangeRedline > > GetAllValidRanges (std::unique_ptr< SwRangeRedline > p)
 
void CopyBookmarks (const SwPaM &rPam, const SwPosition &rCpyPam, SwCopyFlags flags)
 
void CalcBreaks (std::vector< std::pair< SwNodeOffset, sal_Int32 > > &rBreaks, SwPaM const &rPam, bool const isOnlyFieldmarks)
 
static bool IsEmptyRange (const SwPosition &rStart, const SwPosition &rEnd, SwCopyFlags const flags)
 Checks if rStart..rEnd mark a range that makes sense to copy. More...
 
static auto GetCorrPosition (SwPaM const &rPam) -> SwPosition
 
static void lcl_PushNumruleState (std::shared_ptr< SwNumRuleItem > &aNumRuleItemHolderIfSet, std::shared_ptr< SfxStringItem > &aListIdItemHolderIfSet, const SwTextNode *pDestTextNd)
 
static void lcl_PopNumruleState (const std::shared_ptr< SwNumRuleItem > &aNumRuleItemHolderIfSet, const std::shared_ptr< SfxStringItem > &aListIdItemHolderIfSet, SwTextNode *pDestTextNd, const SwPaM &rPam)
 
bool IsFieldDeletedInModel (IDocumentRedlineAccess const &rIDRA, SwTextField const &rTextField)
 
OUString GetExpandTextMerged (SwRootFrame const *const pLayout, SwTextNode const &rNode, bool const bWithNumber, bool const bWithSpacesForLevel, ExpandMode const i_mode)
 
static void UpdateFieldsForRedline (IDocumentFieldsAccess &rIDFA)
 
void UpdateFramesForAddDeleteRedline (SwDoc &rDoc, SwPaM const &rPam)
 
void UpdateFramesForRemoveDeleteRedline (SwDoc &rDoc, SwPaM const &rPam)
 
 IMPL_LINK (DocumentStatisticsManager, DoIdleStatsUpdate, Timer *, pIdle, void)
 
 IMPL_LINK (DocumentTimerManager, FireIdleJobsTimeout, Timer *,, void)
 
 IMPL_LINK_NOARG (DocumentTimerManager, DoIdleJobs, Timer *, void)
 
bool IsFootnoteDeleted (IDocumentRedlineAccess const &rIDRA, SwTextFootnote const &rTextFootnote)
 
SwFrame const * FindNeighbourFrameForNode (SwNode const &rNode)
 
bool GetRanges (std::vector< std::shared_ptr< SwUnoCursor > > &rRanges, SwDoc &rDoc, SwPaM const &rDelPam)
 
SwTextFrameSwHyphIterCacheLastTextFrame (SwTextNode const *pNode, const sw::Creator &create)
 
bool IsMarkHintHidden (SwRootFrame const &rLayout, SwTextNode const &rNode, SwTextAttrEnd const &rHint)
 
bool HasPageBreakBefore (SwPageFrame const &rPage)
 
bool IsRightPageByNumber (SwRootFrame const &rLayout, sal_uInt16 nPageNum)
 
void RemoveFootnotesForNode (SwRootFrame const &rLayout, SwTextNode const &rTextNode, std::vector< std::pair< sal_Int32, sal_Int32 > > const *const pExtents)
 
bool IsPageFrameEmpty (SwPageFrame const &rPage)
 check if there's content on the page that requires it to exist More...
 
std::pair< SwTextNode *, sal_Int32 > MapViewToModel (MergedPara const &, TextFrameIndex nIndex)
 
TextFrameIndex MapModelToView (MergedPara const &, SwTextNode const *pNode, sal_Int32 nIndex)
 
std::unique_ptr< sw::MergedParaCheckParaRedlineMerge (SwTextFrame &rFrame, SwTextNode &rTextNode, FrameMode eMode)
 
SwTextFrameMakeTextFrame (SwTextNode &rNode, SwFrame *, sw::FrameMode eMode)
 
bool FrameContainsNode (SwContentFrame const &rFrame, SwNodeOffset nNodeIndex)
 
bool IsParaPropsNode (SwRootFrame const &rLayout, SwTextNode const &rNode)
 
SwTextNodeGetParaPropsNode (SwRootFrame const &rLayout, SwNode const &rNode)
 
SwPosition GetParaPropsPos (SwRootFrame const &rLayout, SwPosition const &rPos)
 
std::pair< SwTextNode *, SwTextNode * > GetFirstAndLastNode (SwRootFrame const &rLayout, SwNode const &rPos)
 
SwTextNode const & GetAttrMerged (SfxItemSet &rFormatSet, SwTextNode const &rNode, SwRootFrame const *pLayout)
 
TextFrameIndex UpdateMergedParaForDelete (MergedPara &rMerged, bool isRealDelete, SwTextNode const &rNode, sal_Int32 nIndex, sal_Int32 nLen)
 
void MoveMergedFlysAndFootnotes (std::vector< SwTextFrame * > const &rFrames, SwTextNode const &rFirstNode, SwTextNode &rSecondNode, bool)
 
void MoveDeletedPrevFrames (const SwTextNode &rDeletedPrev, SwTextNode &rNode)
 if first node is deleted & second survives, then the first node's frame will be deleted too; prevent this by moving the frame to the second node if necessary. More...
 
void CheckResetRedlineMergeFlag (SwTextNode &rNode, Recreate const eRecreateMerged)
 if first node is First, its frames may need to be moved, never deleted. More...
 
void AddRemoveFlysAnchoredToFrameStartingAtNode (SwTextFrame &rFrame, SwTextNode &rTextNode, std::set< SwNodeOffset > *const pSkipped)
 rTextNode is the first one of the "new" merge - if rTextNode isn't the same as MergedPara::pFirstNode, then nodes before rTextNode have their flys already properly attached, so only the other nodes need handling here. More...
 
void RecreateStartTextFrames (SwTextNode &rNode)
 
bool HasNumberingWhichNeedsLayoutUpdate (const SwTextNode &rTextNode)
 Decides if rTextNode has a numbering which has layout-level values (e.g. More...
 
const char * PortionTypeToString (PortionType nType)
 
bool IsShrinkPageForPostIts (SwViewShell const &rShell, SwPrintData const &)
 
bool GetAtPageRelOrientation (sal_Int16 &rOrientation, bool const isIgnorePrintArea)
 
bool IsFlyFrameFormatInHeader (const SwFrameFormat &rFormat)
 
void CheckAnchoredFlyConsistency (SwDoc const &rDoc)
 
SwTwips FootnoteSeparatorHeight (SwPageFootnoteInfo const &rInf)
 
ColorGetActiveRetoucheColor ()
 
static TextFrameIndex UpdateMergedParaForInsert (MergedPara &rMerged, bool const isRealInsert, SwTextNode const &rNode, sal_Int32 const nIndex, sal_Int32 const nLen)
 
 IMPL_LINK (GrammarContact, TimerRepaint, Timer *, pTimer, void)
 
sw::GrammarContactgetGrammarContactFor (const SwTextNode &)
 getGrammarContact() delivers the grammar contact of the document (for a given textnode) More...
 
void finishGrammarCheckFor (SwTextNode &)
 finishGrammarCheck() calls the same function of the grammar contact of the document (for a given textnode) More...
 
std::optional< std::vector< SwFrameFormat * > > GetFlysAnchoredAt (SwDoc &rDoc, SwNodeOffset const nSttNode)
 
void DeepCopyPaM (SwPaM const &rSource, SwPaM &rTarget)
 
bool XTextRangeToSwPaM (SwUnoInternalPaM &rToFill, const uno::Reference< text::XTextRange > &xTextRange, ::sw::TextRangeMode const eMode)
 
static bool lcl_IsStartNodeInFormat (const bool bHeader, SwStartNode const *const pSttNode, SwFrameFormat const *const pFrameFormat, SwFrameFormat *&rpFormat)
 
uno::Reference< text::XText > CreateParentXText (SwDoc &rDoc, const SwPosition &rPos)
 
auto FilterControlChars (std::u16string_view aString) -> OUString
 
 IMPL_LINK_NOARG (DropDownFormFieldDialog, ListChangedHdl, weld::TreeView &, void)
 
 IMPL_LINK (DropDownFormFieldDialog, KeyPressedHdl, const KeyEvent &, rEvent, bool)
 
 IMPL_LINK_NOARG (DropDownFormFieldDialog, EntryChangedHdl, weld::Entry &, void)
 
 IMPL_LINK (DropDownFormFieldDialog, ButtonPushedHdl, weld::Button &, rButton, void)
 
void ExportStoredChapterNumberingRules (SwChapterNumRules &rRules, SvStream &rStream, OUString const &rFileName)
 
void ImportStoredChapterNumberingRules (SwChapterNumRules &rRules, SvStream &rStream, OUString const &rFileName)
 
DBConnURIType GetDBunoType (const INetURLObject &rURL)
 
void InitPrintOptionsFromApplication (SwPrintData &o_rData, bool const bWeb)
 
auto PrepareJumpToTOXMark (SwDoc const &rDoc, std::u16string_view aName) -> std::optional< std::pair< SwTOXMark, sal_Int32 > >
 
void ClientNotifyAttrChg (SwModify &rModify, const SwAttrSet &aSet, SwAttrSet &aOld, SwAttrSet &aNew)
 
SW_DLLPUBLIC bool XTextRangeToSwPaM (SwUnoInternalPaM &rToFill, const css::uno::Reference< css::text::XTextRange > &xTextRange, TextRangeMode eMode=TextRangeMode::RequireTextNode)
 
bool GetDefaultTextContentValue (css::uno::Any &rAny, std::u16string_view rPropertyName, sal_uInt16 nWID=0)
 

Variables

const SwTwips WIDOW_MAGIC = (SAL_MAX_INT32 - 1)/2
 

Detailed Description

Dialog to specify the properties of date form field.

Dialog to specify the properties of drop-down form field.

Typedef Documentation

◆ Creator

typedef std::function<SwTextFrame*()> sw::Creator

Definition at line 144 of file splargs.hxx.

◆ SpzFrameFormats

Definition at line 237 of file frameformats.hxx.

◆ TableFrameFormats

Definition at line 236 of file frameformats.hxx.

◆ tExternalDataPointer

typedef std::shared_ptr<ExternalData> sw::tExternalDataPointer

Definition at line 40 of file IDocumentExternalData.hxx.

◆ UnoImplPtr

template<typename T >
using sw::UnoImplPtr = typedef std::unique_ptr<T, UnoImplPtrDeleter<T> >

Smart pointer class ensuring that the pointed object is deleted with a locked SolarMutex.

Definition at line 116 of file unobaseclass.hxx.

Enumeration Type Documentation

◆ Css1Background

enum class sw::Css1Background
strong
Enumerator
Attr 
Page 
Table 
Fly 
Section 
TableRow 
TableCell 

Definition at line 260 of file wrthtml.hxx.

◆ DBConnURIType

enum class sw::DBConnURIType
strong
Enumerator
UNKNOWN 
ODB 
CALC 
DBASE 
FLAT 
MSJET 
MSACE 
WRITER 

Definition at line 481 of file dbmgr.hxx.

◆ DeleteAndInsertMode

enum class sw::DeleteAndInsertMode
strong
Enumerator
Default 
ForceExpandHints 
ForceReplace 

Definition at line 61 of file unobaseclass.hxx.

◆ DrawFrameFormatHintId

enum class sw::DrawFrameFormatHintId
strong
Enumerator
DYING 
PREPPASTING 
PREP_INSERT_FLY 
PREP_DELETE_FLY 
PAGE_OUT_OF_BOUNDS 
MAKE_FRAMES 
DELETE_FRAMES 
POST_RESTORE_FLY_ANCHOR 

Definition at line 298 of file frmfmt.hxx.

◆ FieldmarkMode

enum class sw::FieldmarkMode
strong
Enumerator
ShowCommand 
ShowResult 
ShowBoth 

Definition at line 49 of file rootfrm.hxx.

◆ FrameMode

enum class sw::FrameMode
strong
Enumerator
New 
Existing 

Definition at line 110 of file txtfrm.hxx.

◆ GetTextAttrMode

enum class sw::GetTextAttrMode
strong
Enumerator
Default 
Expand 

DEFAULT: (Start <= nIndex < End)

Parent 

EXPAND : (Start < nIndex <= End)

Definition at line 163 of file swtypes.hxx.

◆ IssueObject

enum class sw::IssueObject
strong
Enumerator
UNKNOWN 
GRAPHIC 
OLE 
SHAPE 
FORM 
TABLE 
TEXT 
DOCUMENT_TITLE 
FOOTENDNOTE 
TEXTFRAME 

Definition at line 20 of file AccessibilityIssue.hxx.

◆ IteratorMode

enum class sw::IteratorMode
strong
Enumerator
Exact 
UnwrapMulti 

Definition at line 129 of file calbck.hxx.

◆ LineAlign

enum class sw::LineAlign
strong
Enumerator
NONE 
TOP 
CENTER 
BOTTOM 

Definition at line 48 of file ascharanchoredobjectposition.hxx.

◆ ListLevelIndents

enum class sw::ListLevelIndents
strong
Enumerator
No 
FirstLine 
LeftMargin 

Definition at line 52 of file paratr.hxx.

◆ ParagraphBreakMode

enum class sw::ParagraphBreakMode
strong
Enumerator
Shown 
Hidden 

Definition at line 50 of file rootfrm.hxx.

◆ Recreate

enum class sw::Recreate
strong
Enumerator
No 
ThisNode 
Predecessor 

Definition at line 135 of file txtfrm.hxx.

◆ RedlineMode

enum class sw::RedlineMode
strong
Enumerator
Shown 
Hidden 

Definition at line 44 of file rootfrm.hxx.

◆ tExternalDataType

enum class sw::tExternalDataType
strong
Enumerator
FIB 
STTBF_ASSOC 

Definition at line 27 of file IDocumentExternalData.hxx.

◆ TextRangeMode

enum class sw::TextRangeMode
strong
Enumerator
RequireTextNode 
AllowNonTextNode 
AllowTableNode 

Definition at line 57 of file unotextrange.hxx.

◆ WrongState

enum class sw::WrongState
strong
Enumerator
TODO 
PENDING 
DONE 

Definition at line 87 of file ndtxt.hxx.

◆ WW8AnchorConv

enum class sw::WW8AnchorConv
strong
Enumerator
NO_CONV 
CONV2PG 
CONV2COL_OR_PARA 
CONV2CHAR 
CONV2LINE 
RELTOTABLECELL 

Definition at line 340 of file frmfmt.hxx.

Function Documentation

◆ AddRemoveFlysAnchoredToFrameStartingAtNode()

void sw::AddRemoveFlysAnchoredToFrameStartingAtNode ( SwTextFrame rFrame,
SwTextNode rTextNode,
std::set< SwNodeOffset > *  pSkipped 
)

rTextNode is the first one of the "new" merge - if rTextNode isn't the same as MergedPara::pFirstNode, then nodes before rTextNode have their flys already properly attached, so only the other nodes need handling here.

Definition at line 4325 of file wsfrm.cxx.

References AddRemoveFlysForNode(), SwFrame::FindPageFrame(), SwNode::GetDoc(), SwTextFrame::GetFollow(), SwNode::GetIndex(), SwTextFrame::GetMergedPara(), SwNode::GetNodes(), SwNode::GetRedlineMergeFlag(), SwDoc::GetSpzFrameFormats(), SwNode::GetTextNode(), i, and SwNode::NonFirst.

Referenced by CheckResetRedlineMergeFlag(), UnHideRedlines(), and UpdateFramesForAddDeleteRedline().

◆ CalcBreaks()

void sw::CalcBreaks ( std::vector< std::pair< SwNodeOffset, sal_Int32 > > &  rBreaks,
SwPaM const &  rPam,
bool const  isOnlyFieldmarks 
)

◆ CheckAnchoredFlyConsistency()

void sw::CheckAnchoredFlyConsistency ( SwDoc const &  rDoc)

◆ CheckParaRedlineMerge()

std::unique_ptr< sw::MergedPara > sw::CheckParaRedlineMerge ( SwTextFrame rFrame,
SwTextNode rTextNode,
FrameMode  eMode 
)

◆ CheckResetRedlineMergeFlag()

void sw::CheckResetRedlineMergeFlag ( SwTextNode rNode,
Recreate const  eRecreateMerged 
)

◆ ClientNotifyAttrChg()

void sw::ClientNotifyAttrChg ( SwModify rModify,
const SwAttrSet aSet,
SwAttrSet aOld,
SwAttrSet aNew 
)

◆ CopyBookmarks()

void sw::CopyBookmarks ( const SwPaM rPam,
const SwPosition rCpyPam,
SwCopyFlags  flags 
)

◆ CreateParentXText()

css::uno::Reference< css::text::XText > sw::CreateParentXText ( SwDoc rDoc,
const SwPosition rPos 
)

◆ DeepCopyPaM()

void sw::DeepCopyPaM ( SwPaM const &  rSource,
SwPaM rTarget 
)

◆ ExportStoredChapterNumberingRules()

void sw::ExportStoredChapterNumberingRules ( SwChapterNumRules rRules,
SvStream rStream,
OUString const &  rFileName 
)

◆ FilterControlChars()

auto sw::FilterControlChars ( std::u16string_view  aString) -> OUString

◆ FindAttrImpl()

bool sw::FindAttrImpl ( SwPaM rSearchPam,
const SfxPoolItem rAttr,
SwMoveFnCollection const &  fnMove,
const SwPaM rRegion,
bool  bInReadOnly,
SwRootFrame const *const  pLayout 
)

◆ FindFormatImpl()

bool sw::FindFormatImpl ( SwPaM rSearchPam,
const SwFormat rFormat,
SwMoveFnCollection const &  fnMove,
const SwPaM rRegion,
bool  bInReadOnly,
SwRootFrame const *const  pLayout 
)

◆ FindNeighbourFrameForNode()

SwFrame const * sw::FindNeighbourFrameForNode ( SwNode const &  rNode)

◆ FindTextImpl()

bool sw::FindTextImpl ( SwPaM rSearchPam,
const i18nutil::SearchOptions2 rSearchOpt,
bool  bSearchInNotes,
utl::TextSearch rSText,
SwMoveFnCollection const &  fnMove,
const SwPaM rRegion,
bool  bInReadOnly,
SwRootFrame const *const  pLayout,
std::unique_ptr< SvxSearchItem > &  xSearchItem 
)

◆ finishGrammarCheckFor()

void sw::finishGrammarCheckFor ( SwTextNode )

finishGrammarCheck() calls the same function of the grammar contact of the document (for a given textnode)

Returns
void

Definition at line 155 of file GrammarContact.cxx.

References sw::GrammarContact::finishGrammarCheck(), and getGrammarContactFor().

Referenced by SwXTextMarkup::commitMultiTextMarkup(), SwXTextMarkup::commitStringMarkup(), and SwXFlatParagraph::setChecked().

◆ FootnoteSeparatorHeight()

SW_DLLPUBLIC SwTwips sw::FootnoteSeparatorHeight ( SwPageFootnoteInfo const &  rInf)

◆ FrameContainsNode()

bool sw::FrameContainsNode ( SwContentFrame const &  rFrame,
SwNodeOffset  nNodeIndex 
)

◆ GetActiveRetoucheColor()

SW_DLLPUBLIC Color * sw::GetActiveRetoucheColor ( )

Definition at line 257 of file paintfrm.cxx.

References aGlobalRetoucheColor.

◆ GetAllValidRanges()

std::vector< std::unique_ptr< SwRangeRedline > > sw::GetAllValidRanges ( std::unique_ptr< SwRangeRedline p)

◆ GetAtPageRelOrientation()

bool sw::GetAtPageRelOrientation ( sal_Int16 &  rOrientation,
bool const  isIgnorePrintArea 
)

◆ GetAttrMerged()

SwTextNode const & sw::GetAttrMerged ( SfxItemSet rFormatSet,
SwTextNode const &  rNode,
SwRootFrame const *  pLayout 
)

◆ GetCorrPosition()

static auto sw::GetCorrPosition ( SwPaM const &  rPam) -> SwPosition
static

◆ GetDBunoType()

DBConnURIType SW_DLLPUBLIC sw::GetDBunoType ( const INetURLObject rURL)

◆ GetDefaultTextContentValue()

bool sw::GetDefaultTextContentValue ( css::uno::Any &  rAny,
std::u16string_view  rPropertyName,
sal_uInt16  nWID = 0 
)

◆ GetExpandTextMerged()

OUString sw::GetExpandTextMerged ( SwRootFrame const *const  pLayout,
SwTextNode const &  rNode,
bool const  bWithNumber,
bool const  bWithSpacesForLevel,
ExpandMode const  i_mode 
)

◆ GetFirstAndLastNode()

std::pair< SwTextNode *, SwTextNode * > sw::GetFirstAndLastNode ( SwRootFrame const &  rLayout,
SwNode const &  rPos 
)

◆ GetFlysAnchoredAt()

std::optional< std::vector< SwFrameFormat * > > sw::GetFlysAnchoredAt ( SwDoc rDoc,
SwNodeOffset const  nSttNode 
)

◆ getGrammarContactFor()

GrammarContact * sw::getGrammarContactFor ( const SwTextNode )

getGrammarContact() delivers the grammar contact of the document (for a given textnode)

Returns
grammar contact

Definition at line 147 of file GrammarContact.cxx.

References SwNode::GetDoc(), SwDoc::getGrammarContact(), and SwDoc::IsInDtor().

Referenced by SwXTextMarkup::commitMultiTextMarkup(), SwXTextMarkup::commitStringMarkup(), finishGrammarCheckFor(), and lcl_SetWrong().

◆ GetParaPropsNode()

SwTextNode * sw::GetParaPropsNode ( SwRootFrame const &  rLayout,
SwNode const &  rNode 
)

◆ GetParaPropsPos()

SwPosition sw::GetParaPropsPos ( SwRootFrame const &  rLayout,
SwPosition const &  rPos 
)

◆ GetRanges()

bool sw::GetRanges ( std::vector< std::shared_ptr< SwUnoCursor > > &  rRanges,
SwDoc rDoc,
SwPaM const &  rDelPam 
)

◆ GotoNextLayoutTextFrame()

void sw::GotoNextLayoutTextFrame ( SwNodeIndex rIndex,
SwRootFrame const *const  pLayout 
)

◆ GotoPrevLayoutTextFrame()

void sw::GotoPrevLayoutTextFrame ( SwNodeIndex rIndex,
SwRootFrame const *const  pLayout 
)

◆ HasNumberingWhichNeedsLayoutUpdate()

bool sw::HasNumberingWhichNeedsLayoutUpdate ( const SwTextNode rTextNode)

Decides if rTextNode has a numbering which has layout-level values (e.g.

Arabic, but not none or bullets).

Definition at line 969 of file ndtxt.cxx.

References SwTextNode::GetAttrListLevel(), SwTextNode::GetNum(), SvxNumberType::GetNumberingType(), SwNumRule::GetNumFormat(), SwNodeNum::GetNumRule(), SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, and SVX_NUM_NUMBER_NONE.

Referenced by SwNodes::ChgNode(), SwNodes::Delete(), and SwTextNode::JoinNext().

◆ HasPageBreakBefore()

bool sw::HasPageBreakBefore ( SwPageFrame const &  rPage)

◆ IMPL_LINK() [1/5]

sw::IMPL_LINK ( DocumentStatisticsManager  ,
DoIdleStatsUpdate  ,
Timer ,
pIdle  ,
void   
)

◆ IMPL_LINK() [2/5]

sw::IMPL_LINK ( DocumentTimerManager  ,
FireIdleJobsTimeout  ,
Timer ,
void   
)

Definition at line 104 of file DocumentTimerManager.cxx.

◆ IMPL_LINK() [3/5]

sw::IMPL_LINK ( DropDownFormFieldDialog  ,
ButtonPushedHdl  ,
weld::Button ,
rButton  ,
void   
)

Definition at line 65 of file DropDownFormFieldDialog.cxx.

◆ IMPL_LINK() [4/5]

sw::IMPL_LINK ( DropDownFormFieldDialog  ,
KeyPressedHdl  ,
const KeyEvent ,
rEvent  ,
bool   
)

Definition at line 53 of file DropDownFormFieldDialog.cxx.

References KEY_RETURN.

◆ IMPL_LINK() [5/5]

sw::IMPL_LINK ( GrammarContact  ,
TimerRepaint  ,
Timer ,
pTimer  ,
void   
)

Definition at line 46 of file GrammarContact.cxx.

References SwTextFrame::repaintTextFrames().

◆ IMPL_LINK_NOARG() [1/3]

sw::IMPL_LINK_NOARG ( DocumentTimerManager  ,
DoIdleJobs  ,
Timer ,
void   
)

◆ IMPL_LINK_NOARG() [2/3]

sw::IMPL_LINK_NOARG ( DropDownFormFieldDialog  ,
EntryChangedHdl  ,
weld::Entry ,
void   
)

Definition at line 63 of file DropDownFormFieldDialog.cxx.

◆ IMPL_LINK_NOARG() [3/3]

sw::IMPL_LINK_NOARG ( DropDownFormFieldDialog  ,
ListChangedHdl  ,
weld::TreeView ,
void   
)

Definition at line 51 of file DropDownFormFieldDialog.cxx.

◆ ImportStoredChapterNumberingRules()

void sw::ImportStoredChapterNumberingRules ( SwChapterNumRules rRules,
SvStream rStream,
OUString const &  rFileName 
)

Definition at line 434 of file StoredChapterNumbering.cxx.

References TOOLS_WARN_EXCEPTION.

Referenced by SwChapterNumRules::Init().

◆ InitPrintOptionsFromApplication()

void sw::InitPrintOptionsFromApplication ( SwPrintData o_rData,
bool const  bWeb 
)

Definition at line 1992 of file view.cxx.

References SW_MOD.

Referenced by SwRenderData::MakeSwPrtOptions().

◆ IsEmptyRange()

static bool sw::IsEmptyRange ( const SwPosition rStart,
const SwPosition rEnd,
SwCopyFlags const  flags 
)
static

Checks if rStart..rEnd mark a range that makes sense to copy.

IsMoveToFly means the copy is a move to create a fly and so existing flys at the edge must not be copied.

Definition at line 1988 of file DocumentContentOperationsManager.cxx.

References AllMask, IsDestroyFrameAnchoredAtChar(), IsMoveToFly, and WriterfilterHack.

Referenced by sw::DocumentContentOperationsManager::CopyImplImpl(), and sw::DocumentContentOperationsManager::CopyRange().

◆ IsFieldDeletedInModel()

bool sw::IsFieldDeletedInModel ( IDocumentRedlineAccess const &  rIDRA,
SwTextField const &  rTextField 
)

◆ IsFlyFrameFormatInHeader()

SW_DLLPUBLIC bool sw::IsFlyFrameFormatInHeader ( const SwFrameFormat rFormat)

◆ IsFootnoteDeleted()

bool sw::IsFootnoteDeleted ( IDocumentRedlineAccess const &  rIDRA,
SwTextFootnote const &  rTextFootnote 
)

◆ IsMarkHidden()

bool sw::IsMarkHidden ( SwRootFrame const &  rLayout,
::sw::mark::IMark const &  rMark 
)

◆ IsMarkHintHidden()

bool sw::IsMarkHintHidden ( SwRootFrame const &  rLayout,
SwTextNode const &  rNode,
SwTextAttrEnd const &  rHint 
)

◆ IsPageFrameEmpty()

bool sw::IsPageFrameEmpty ( SwPageFrame const &  rPage)

◆ IsParaPropsNode()

bool sw::IsParaPropsNode ( SwRootFrame const &  rLayout,
SwTextNode const &  rNode 
)

◆ IsRightPageByNumber()

bool sw::IsRightPageByNumber ( SwRootFrame const &  rLayout,
sal_uInt16  nPageNum 
)

◆ IsShrinkPageForPostIts()

bool sw::IsShrinkPageForPostIts ( SwViewShell const &  rShell,
SwPrintData const &  rPrintData 
)

◆ lcl_IsStartNodeInFormat()

static bool sw::lcl_IsStartNodeInFormat ( const bool  bHeader,
SwStartNode const *const  pSttNode,
SwFrameFormat const *const  pFrameFormat,
SwFrameFormat *&  rpFormat 
)
static

◆ lcl_PopNumruleState()

static void sw::lcl_PopNumruleState ( const std::shared_ptr< SwNumRuleItem > &  aNumRuleItemHolderIfSet,
const std::shared_ptr< SfxStringItem > &  aListIdItemHolderIfSet,
SwTextNode pDestTextNd,
const SwPaM rPam 
)
static

◆ lcl_PushNumruleState()

static void sw::lcl_PushNumruleState ( std::shared_ptr< SwNumRuleItem > &  aNumRuleItemHolderIfSet,
std::shared_ptr< SfxStringItem > &  aListIdItemHolderIfSet,
const SwTextNode pDestTextNd 
)
static

◆ MakeInsertText()

sw::InsertText sw::MakeInsertText ( SwTextNode rNode,
const sal_Int32  nPos,
const sal_Int32  nLen 
)

◆ MakeRegion()

void sw::MakeRegion ( SwMoveFnCollection const &  fnMove,
const SwPaM rOrigRg,
std::optional< SwPaM > &  rPam 
)

make a new region

Sets the first SwPaM onto the given SwPaM, or to the beginning or end of a document. SPoint stays at its position, GetMark will be changed respectively.

Parameters
fnMoveContains information if beginning or end of document.
pOrigRgThe given region.
rPamreturns newly created range, in Ring with parameter pOrigRg.

Definition at line 676 of file pam.cxx.

References SwMoveFnCollection::fnCmpOp.

Referenced by FindAttrImpl(), FindAttrsImpl(), FindFormatImpl(), and FindTextImpl().

◆ MakeTextFrame()

SwTextFrame * sw::MakeTextFrame ( SwTextNode rNode,
SwFrame pSibling,
sw::FrameMode  eMode 
)

Definition at line 885 of file txtfrm.cxx.

References eMode.

Referenced by InsertCnt_(), and SwTextNode::MakeFrame().

◆ MapModelToView()

TextFrameIndex sw::MapModelToView ( MergedPara const &  rMerged,
SwTextNode const *  pNode,
sal_Int32  nIndex 
)

◆ MapViewToModel()

std::pair< SwTextNode *, sal_Int32 > sw::MapViewToModel ( MergedPara const &  rMerged,
TextFrameIndex  nIndex 
)

◆ MoveDeletedPrevFrames()

void sw::MoveDeletedPrevFrames ( const SwTextNode rDeletedPrev,
SwTextNode rNode 
)

if first node is deleted & second survives, then the first node's frame will be deleted too; prevent this by moving the frame to the second node if necessary.

Definition at line 848 of file ndtxt.cxx.

References SwIterator< TElementType, TSource, eMode >::First(), and SwIterator< TElementType, TSource, eMode >::Next().

Referenced by SwTextNode::JoinPrev(), and sw_JoinText().

◆ MoveMergedFlysAndFootnotes()

void sw::MoveMergedFlysAndFootnotes ( std::vector< SwTextFrame * > const &  rFrames,
SwTextNode const &  rFirstNode,
SwTextNode rSecondNode,
bool  isSplitNode 
)

◆ NotifyTableCollapsedParagraph()

void sw::NotifyTableCollapsedParagraph ( const SwContentNode *const  pNode,
SwCursorShell *const  pShell 
)

An empty paragraph inside a table with a nested table preceding it should be hidden, unless the cursor is positioned in the paragraph.

If the cursor is now (or was previously) inside such a paragraph, send a size change notification on the row frame to force reformatting.

Definition at line 73 of file callnk.cxx.

References SwCursorShell::ExtendedSelectedAll(), SwFrame::FindRowFrame(), SwTableLine::GetFrameFormat(), SwFormat::GetFrameSize(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwRowFrame::GetTabLine(), SwFrame::IsCollapse(), SwCursorShell::IsTableMode(), SwCursorShell::None, SwRowFrame::OnFrameSize(), and SwCursorShell::StartsWith_().

Referenced by SwCallLink::ImplDestroy(), and SwUndoInsTable::UndoImpl().

◆ PortionTypeToString()

const char * sw::PortionTypeToString ( PortionType  nType)

◆ PrepareJumpToTOXMark()

SW_DLLPUBLIC auto sw::PrepareJumpToTOXMark ( SwDoc const &  rDoc,
std::u16string_view  aName 
) -> std::optional< std::pair< SwTOXMark, sal_Int32 > >

◆ RecreateStartTextFrames()

void sw::RecreateStartTextFrames ( SwTextNode rNode)

◆ RemoveFootnotesForNode()

void sw::RemoveFootnotesForNode ( SwRootFrame const &  rLayout,
SwTextNode const &  rTextNode,
std::vector< std::pair< sal_Int32, sal_Int32 > > const *const  pExtents 
)

◆ ReplaceBackReferences()

std::optional< OUString > sw::ReplaceBackReferences ( const i18nutil::SearchOptions2 rSearchOpt,
SwPaM *const  pPam,
SwRootFrame const *const  pLayout 
)

◆ ReplaceImpl()

bool sw::ReplaceImpl ( SwPaM rCursor,
OUString const &  rReplacement,
bool const  bRegExp,
SwDoc rDoc,
SwRootFrame const *const  pLayout 
)

◆ SwHyphIterCacheLastTextFrame()

SwTextFrame * sw::SwHyphIterCacheLastTextFrame ( SwTextNode const *  pNode,
const sw::Creator create 
)

Definition at line 584 of file edlingu.cxx.

References create(), and g_pHyphIter.

Referenced by SwTextNode::Hyphenate().

◆ UpdateFieldsForRedline()

static void sw::UpdateFieldsForRedline ( IDocumentFieldsAccess rIDFA)
static

◆ UpdateFramesForAddDeleteRedline()

void sw::UpdateFramesForAddDeleteRedline ( SwDoc rDoc,
SwPaM const &  rPam 
)

◆ UpdateFramesForRemoveDeleteRedline()

void sw::UpdateFramesForRemoveDeleteRedline ( SwDoc rDoc,
SwPaM const &  rPam 
)

◆ UpdateMergedParaForDelete()

TextFrameIndex sw::UpdateMergedParaForDelete ( MergedPara rMerged,
bool  isRealDelete,
SwTextNode const &  rNode,
sal_Int32  nIndex,
sal_Int32  nLen 
)

◆ UpdateMergedParaForInsert()

static TextFrameIndex sw::UpdateMergedParaForInsert ( MergedPara rMerged,
bool const  isRealInsert,
SwTextNode const &  rNode,
sal_Int32 const  nIndex,
sal_Int32 const  nLen 
)
static

◆ XTextRangeToSwPaM() [1/2]

SW_DLLPUBLIC bool sw::XTextRangeToSwPaM ( SwUnoInternalPaM rToFill,
const css::uno::Reference< css::text::XTextRange > &  xTextRange,
TextRangeMode  eMode = TextRangeMode::RequireTextNode 
)

◆ XTextRangeToSwPaM() [2/2]

bool sw::XTextRangeToSwPaM ( SwUnoInternalPaM rToFill,
const uno::Reference< text::XTextRange > &  xTextRange,
::sw::TextRangeMode const  eMode 
)

Variable Documentation

◆ WIDOW_MAGIC

const SwTwips sw::WIDOW_MAGIC = (SAL_MAX_INT32 - 1)/2

Definition at line 1056 of file txtfrm.hxx.

Referenced by SwTextFrame::CalcPreps(), and SwTextFrame::WouldFit().