LibreOffice Module sw (master) 1
|
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< ExternalData > | tExternalDataPointer |
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... | |
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) |
SwTextFrame * | SwHyphIterCacheLastTextFrame (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::MergedPara > | CheckParaRedlineMerge (SwTextFrame &rFrame, SwTextNode &rTextNode, FrameMode eMode) |
SwTextFrame * | MakeTextFrame (SwTextNode &rNode, SwFrame *, sw::FrameMode eMode) |
bool | FrameContainsNode (SwContentFrame const &rFrame, SwNodeOffset nNodeIndex) |
bool | IsParaPropsNode (SwRootFrame const &rLayout, SwTextNode const &rNode) |
SwTextNode * | GetParaPropsNode (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) |
Color * | GetActiveRetoucheColor () |
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::GrammarContact * | getGrammarContactFor (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 |
Dialog to specify the properties of date form field.
Dialog to specify the properties of drop-down form field.
typedef std::function<SwTextFrame*()> sw::Creator |
Definition at line 144 of file splargs.hxx.
Definition at line 237 of file frameformats.hxx.
typedef FrameFormats<::SwTableFormat*> sw::TableFrameFormats |
Definition at line 236 of file frameformats.hxx.
typedef std::shared_ptr<ExternalData> sw::tExternalDataPointer |
Definition at line 40 of file IDocumentExternalData.hxx.
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.
|
strong |
Enumerator | |
---|---|
Attr | |
Page | |
Table | |
Fly | |
Section | |
TableRow | |
TableCell |
Definition at line 260 of file wrthtml.hxx.
|
strong |
|
strong |
Enumerator | |
---|---|
Default | |
ForceExpandHints | |
ForceReplace |
Definition at line 61 of file unobaseclass.hxx.
|
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.
|
strong |
Enumerator | |
---|---|
ShowCommand | |
ShowResult | |
ShowBoth |
Definition at line 49 of file rootfrm.hxx.
|
strong |
Enumerator | |
---|---|
New | |
Existing |
Definition at line 110 of file txtfrm.hxx.
|
strong |
Enumerator | |
---|---|
Default | |
Expand | DEFAULT: (Start <= nIndex < End) |
Parent | EXPAND : (Start < nIndex <= End) |
Definition at line 163 of file swtypes.hxx.
|
strong |
Enumerator | |
---|---|
UNKNOWN | |
GRAPHIC | |
OLE | |
SHAPE | |
FORM | |
TABLE | |
TEXT | |
DOCUMENT_TITLE | |
FOOTENDNOTE | |
TEXTFRAME |
Definition at line 20 of file AccessibilityIssue.hxx.
|
strong |
Enumerator | |
---|---|
Exact | |
UnwrapMulti |
Definition at line 129 of file calbck.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
TOP | |
CENTER | |
BOTTOM |
Definition at line 48 of file ascharanchoredobjectposition.hxx.
|
strong |
Enumerator | |
---|---|
No | |
FirstLine | |
LeftMargin |
Definition at line 52 of file paratr.hxx.
|
strong |
Enumerator | |
---|---|
Shown | |
Hidden |
Definition at line 50 of file rootfrm.hxx.
|
strong |
Enumerator | |
---|---|
No | |
ThisNode | |
Predecessor |
Definition at line 135 of file txtfrm.hxx.
|
strong |
Enumerator | |
---|---|
Shown | |
Hidden |
Definition at line 44 of file rootfrm.hxx.
|
strong |
Enumerator | |
---|---|
FIB | |
STTBF_ASSOC |
Definition at line 27 of file IDocumentExternalData.hxx.
|
strong |
Enumerator | |
---|---|
RequireTextNode | |
AllowNonTextNode | |
AllowTableNode |
Definition at line 57 of file unotextrange.hxx.
|
strong |
|
strong |
Enumerator | |
---|---|
NO_CONV | |
CONV2PG | |
CONV2COL_OR_PARA | |
CONV2CHAR | |
CONV2LINE | |
RELTOTABLECELL |
Definition at line 340 of file frmfmt.hxx.
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().
void sw::CalcBreaks | ( | std::vector< std::pair< SwNodeOffset, sal_Int32 > > & | rBreaks, |
SwPaM const & | rPam, | ||
bool const | isOnlyFieldmarks | ||
) |
Definition at line 531 of file DocumentContentOperationsManager.cxx.
References CH_TXT_ATR_FIELDEND, CH_TXT_ATR_FIELDSEP, CH_TXT_ATR_FIELDSTART, CH_TXTATR_BREAKWORD, CH_TXTATR_INWORD, End, SwPaM::End(), SwTextAttr::End(), SwNode::EndOfSectionIndex(), SwPosition::GetContentIndex(), SwPaM::GetDoc(), IDocumentMarkAccess::getFieldmarkAt(), SwDoc::getIDocumentMarkAccess(), SwPosition::GetNodeIndex(), SwPosition::GetNodes(), SwPaM::GetPoint(), SwTextAttr::GetStart(), SwTextNode::GetText(), SwTextNode::GetTextAttrForCharAt(), SwTextNode::GetTextAttrForEndCharAt(), SwNode::GetTextNode(), SwTextAttr::HasDummyChar(), i, SwNode::IsEndNode(), SwNode::IsNoTextNode(), SwNode::IsStartNode(), SwNode::IsTextNode(), SwTextNode::Len(), n, pos, RES_TXTATR_CONTENTCONTROL(), and SwPaM::Start().
Referenced by sw::DocumentContentOperationsManager::CopyImpl(), sw::mark::IsFieldmarkOverlap(), sw::DocumentContentOperationsManager::ReplaceRange(), and SwpHints::TryInsertNesting().
void sw::CheckAnchoredFlyConsistency | ( | SwDoc const & | rDoc | ) |
Definition at line 3663 of file atrfrm.cxx.
References count, SwNodes::Count(), SwIterator< TElementType, TSource, eMode >::First(), SwNode::GetAnchoredFlys(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwDoc::GetNodes(), SwDoc::GetSpzFrameFormats(), i, SwNode::IsStartNode(), SwNode::IsTableNode(), and SwNode::IsTextNode().
Referenced by RestFlyInRange(), SaveFlyInRange(), and sw::DocumentRedlineManager::SetRedlineFlags().
std::unique_ptr< sw::MergedPara > sw::CheckParaRedlineMerge | ( | SwTextFrame & | rFrame, |
SwTextNode & | rTextNode, | ||
FrameMode | eMode | ||
) |
Definition at line 268 of file redlnitr.cxx.
References SwTextNode::AddToListRLHidden(), Count, eMode, end, SwClient::EndListeningAll(), SwNode::EndOfSectionIndex(), Existing, SwNode::First, SwPosition::GetContentIndex(), SwRootFrame::GetFieldmarkMode(), SwNode::GetIndex(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwNode::GetNodes(), SwTextNode::GetNum(), SwRootFrame::GetParagraphBreakMode(), SwNode::GetRedlineMergeFlag(), SwFrame::getRootFrame(), SwNode::GetSectionNode(), SwNode::GetTableNode(), SwTextNode::GetText(), SwNode::GetTextNode(), SwRootFrame::HasMergedParas(), hidden, SwNode::Hidden, SwNode::IsCreateFrameWhenHidingRedlines(), SwNode::IsEndNode(), SwRootFrame::IsHideRedlines(), SwTextNode::IsInList(), SwNode::IsSectionNode(), SwNode::IsStartNode(), SwNode::IsTableNode(), SwNode::IsTextNode(), SwTextNode::Len(), SwNode::None, SwNode::NonFirst, RemoveFootnotesForNode(), SwTextNode::RemoveFromListRLHidden(), and SwNode::SetRedlineMergeFlag().
Referenced by CheckResetRedlineMergeFlag(), RecreateStartTextFrames(), SwTextFrame::RegisterToNode(), SwTextFrame::SwTextFrame(), UnHideRedlines(), UpdateFramesForAddDeleteRedline(), and UpdateFramesForRemoveDeleteRedline().
void sw::CheckResetRedlineMergeFlag | ( | SwTextNode & | rNode, |
Recreate const | eRecreateMerged | ||
) |
if first node is First, its frames may need to be moved, never deleted.
if first node is NonFirst, second node's own frames (First/None) must be deleted
Definition at line 888 of file ndtxt.cxx.
References AddRemoveFlysAnchoredToFrameStartingAtNode(), CheckParaRedlineMerge(), eMode, Existing, SwIterator< TElementType, TSource, eMode >::First(), SwNode::GetIndex(), SwNode::GetNodes(), SwNode::GetRedlineMergeFlag(), SwNode::GetTextNode(), i, SwNode::IsEndNode(), SwNode::IsStartNode(), SwNode::IsTextNode(), New, SwIterator< TElementType, TSource, eMode >::Next(), No, SwNode::None, Predecessor, SwNode::SetRedlineMergeFlag(), SwNode::StartOfSectionIndex(), and ThisNode.
Referenced by SwTextNode::JoinNext(), SwTextNode::JoinPrev(), and sw_JoinText().
void sw::ClientNotifyAttrChg | ( | SwModify & | rModify, |
const SwAttrSet & | aSet, | ||
SwAttrSet & | aOld, | ||
SwAttrSet & | aNew | ||
) |
Definition at line 331 of file calbck.cxx.
References SwModify::SwClientNotify().
Referenced by SwFormat::DelDiffs(), SwFormat::operator=(), SwContentNode::ResetAllAttr(), SwFormat::ResetAllFormatAttr(), SwContentNode::ResetAttr(), SwFormat::ResetFormatAttr(), SwContentNode::SetAttr(), and SwFormat::SetFormatAttr().
void sw::CopyBookmarks | ( | const SwPaM & | rPam, |
const SwPosition & | rCpyPam, | ||
SwCopyFlags | flags | ||
) |
Definition at line 233 of file DocumentContentOperationsManager.cxx.
References IDocumentMarkAccess::ANNOTATIONMARK, IDocumentMarkAccess::CHECKBOX_FIELDMARK, sw::mark::CopyText, IDocumentMarkAccess::CROSSREF_HEADING_BOOKMARK, IDocumentMarkAccess::CROSSREF_NUMITEM_BOOKMARK, IDocumentMarkAccess::DATE_FIELDMARK, IDocumentMarkAccess::DROPDOWN_FIELDMARK, SwPaM::End(), IDocumentMarkAccess::getAllMarksBegin(), IDocumentMarkAccess::getAllMarksEnd(), SwPosition::GetContentIndex(), SwPosition::GetDoc(), SwPaM::GetDoc(), SwDoc::getIDocumentMarkAccess(), SwDoc::GetIDocumentUndoRedo(), SwPaM::GetMark(), SwPaM::GetPoint(), IDocumentMarkAccess::GetType(), sw::mark::IBookmark::Hide(), IsMoveToFly, IDocumentMarkAccess::makeMark(), IDocumentMarkAccess::renameMark(), sw::mark::IBookmark::SetHideCondition(), sw::mark::IBookmark::SetKeyCode(), SwPaM::SetMark(), sw::mark::IBookmark::SetShortName(), SwPaM::Start(), and IDocumentMarkAccess::TEXT_FIELDMARK.
Referenced by sw::DocumentContentOperationsManager::CopyImplImpl(), SwDoc::CopyMasterFooter(), SwDoc::CopyMasterHeader(), SwDoc::CopyPageDescHeaderFooterImpl(), and sw::DocumentContentOperationsManager::CopyWithFlyInFly().
css::uno::Reference< css::text::XText > sw::CreateParentXText | ( | SwDoc & | rDoc, |
const SwPosition & | rPos | ||
) |
Definition at line 1240 of file unoobj2.cxx.
References SwXCell::CreateXCell(), SwXFootnote::CreateXFootnote(), SwXHeadFootText::CreateXHeadFootText(), SwXTextFrame::CreateXTextFrame(), eType, SwNode::FindTableNode(), SwDoc::GetDocShell(), SwPageDesc::GetFirstLeft(), SwPageDesc::GetFirstMaster(), SwNode::GetFlyFormat(), SwTextAttr::GetFootnote(), SwDoc::GetFootnoteIdxs(), SwTable::GetFrameFormat(), SwPageDesc::GetLeft(), SwPageDesc::GetMaster(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwDoc::GetPageDesc(), SwDoc::GetPageDescCnt(), SwTextFootnote::GetStartNode(), SwStartNode::GetStartNodeType(), SwTableNode::GetTable(), SwNode::GetTableBox(), SwFormatFootnote::GetTextFootnote(), i, SwNode::IsSectionNode(), lcl_IsStartNodeInFormat(), n, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwNode::StartOfSectionNode(), SwFlyStartNode, SwFooterStartNode, SwFootnoteStartNode, SwHeaderStartNode, SwNormalStartNode, SwTableBoxStartNode, and xModel.
Referenced by SwXMeta::AttachImpl(), SwXContentControl::AttachImpl(), SwXParagraph::CreateXParagraph(), SwXTextRange::CreateXTextRange(), SwXTextDocument::findFirst(), SwXTextDocument::findNext(), SwXTextSection::getAnchor(), SwXCell::getPropertyValue(), SwXTextRange::getText(), and SwXTextViewCursor::getText().
Definition at line 80 of file unoobj2.cxx.
References SwPaM::GetNext(), sw::Ring< value_type >::MoveTo(), and rTarget.
Referenced by SwUnoCursorHelper::lcl_createPamCopy().
void sw::ExportStoredChapterNumberingRules | ( | SwChapterNumRules & | rRules, |
SvStream & | rStream, | ||
OUString const & | rFileName | ||
) |
Definition at line 386 of file StoredChapterNumbering.cxx.
References SwChapterNumRules::GetRules(), i, MAXLEVEL, SwChapterNumRules::nMaxRules, and TOOLS_WARN_EXCEPTION.
Referenced by SwChapterNumRules::Save().
auto sw::FilterControlChars | ( | std::u16string_view | aString | ) | -> OUString |
Definition at line 3436 of file ww8par.cxx.
References ch, i, linguistic::IsControlChar(), and SAL_INFO.
Referenced by SwWW8ImplReader::Read_SubF_Ruby(), and SwWW8ImplReader::simpleAddTextToParagraph().
bool sw::FindAttrImpl | ( | SwPaM & | rSearchPam, |
const SfxPoolItem & | rAttr, | ||
SwMoveFnCollection const & | fnMove, | ||
const SwPaM & | rRegion, | ||
bool | bInReadOnly, | ||
SwRootFrame const *const | pLayout | ||
) |
Definition at line 910 of file findattr.cxx.
References SwTextAttr::End(), SwPaM::Exchange(), fnMoveForward, SwMoveFnCollection::fnPos, SwContentNode::GetFormatColl(), SwNode::GetIndex(), SfxItemSet::GetItemState(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), GetNode(), SwPaM::GetPoint(), SwTextAttr::GetStart(), SwContentNode::GetSwAttrSet(), SwNode::GetTextNode(), SwTextNode::HasHints(), SwContentNode::HasSwAttrSet(), isCHRATR(), SwNode::IsTextNode(), isTXTATR(), lcl_SearchAttr(), lcl_SetAttrPam(), SwContentNode::Len(), MakeRegion(), sw::MergedAttrIter::NextAttr(), sw::MergedAttrIterReverse::PrevAttr(), SwPosition::SetContent(), SwPaM::SetMark(), SfxPoolItem::Which(), and SwTextAttr::Which().
Referenced by SwEditShell::UpdateOneField().
bool sw::FindFormatImpl | ( | SwPaM & | rSearchPam, |
const SwFormat & | rFormat, | ||
SwMoveFnCollection const & | fnMove, | ||
const SwPaM & | rRegion, | ||
bool | bInReadOnly, | ||
SwRootFrame const *const | pLayout | ||
) |
Definition at line 28 of file findfmt.cxx.
References SwPaM::Exchange(), fnMoveForward, SwMoveFnCollection::fnPos, SwNode::GetContentNode(), SwContentNode::GetFormatColl(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), GetNode(), SwPaM::GetPoint(), SwTextFrame::GetText(), SwTextFrame::GetTextNodeForParaProps(), SwNode::IsTextNode(), SwContentNode::Len(), MakeRegion(), SwTextFrame::MapViewToModelPos(), SwPosition::SetContent(), and SwPaM::SetMark().
Definition at line 145 of file node2lay.cxx.
References CheckNodesRange(), GoNextWithFrame(), GoPreviousWithFrame(), and idx.
Referenced by SwDocUpdateField::GetBodyNode(), SwDocUpdateField::GetBodyNodeGeneric(), and sw::DocumentFieldsManager::UpdateTableFields().
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 | ||
) |
Search.
Definition at line 369 of file findtxt.cxx.
References i18nutil::SearchOptions2::AlgorithmType2, SwPosition::Assign(), SwWrtShell::CallSetCursor(), DoSearch(), SwWrtShell::Edit(), FindFrameFormat(), SwPostItMgr::FinishSearchReplace(), fnMoveForward, FrameContainsNode(), SdrMarkView::GetAllMarkedRect(), SvxSearchItem::GetCommand(), SwPosition::GetContentIndex(), SwNode::GetDoc(), SwDoc::GetDocShell(), SwViewShell::GetDrawView(), SwNodes::GetEndOfContent(), SwDoc::getIDocumentDrawModelAccess(), SwNode::GetIndex(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwTextFrame::GetMergedPara(), SwPosition::GetNode(), GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwViewShell::GetPostItMgr(), SwView::GetSearchItem(), SwTextNode::GetText(), SwTextFrame::GetText(), SdrObjEditView::GetTextEditObject(), SdrObjEditView::GetTextEditOutlinerView(), SwNode::GetTextNode(), SwDocShell::GetWrtShell(), SwPostItMgr::HasActiveSidebarWin(), comphelper::LibreOfficeKit::isActive(), SwNode::IsTextNode(), o3tl::make_unsigned(), MakeRegion(), SwTextFrame::MapModelToView(), SwTextFrame::MapModelToViewPos(), SwTextFrame::MapViewToModelPos(), sw::MergedPara::pLastNode, pObject, RES_TXTATR_ANNOTATION(), SdrObjEditView::SdrEndTextEdit(), IDocumentDrawModelAccess::Search(), SwPostItMgr::SearchReplace(), i18nutil::SearchOptions2::searchString, SwPostItMgr::SetActiveSidebarWin(), SwPaM::SetMark(), OutlinerView::StartSearchAndReplace(), tools::Rectangle::TopLeft(), and SdrView::UnmarkAll().
void sw::finishGrammarCheckFor | ( | SwTextNode & | ) |
finishGrammarCheck() calls the same function of the grammar contact of the document (for a given textnode)
Definition at line 155 of file GrammarContact.cxx.
References sw::GrammarContact::finishGrammarCheck(), and getGrammarContactFor().
Referenced by SwXTextMarkup::commitMultiTextMarkup(), SwXTextMarkup::commitStringMarkup(), and SwXFlatParagraph::setChecked().
SW_DLLPUBLIC SwTwips sw::FootnoteSeparatorHeight | ( | SwPageFootnoteInfo const & | rInf | ) |
Definition at line 224 of file ftnfrm.cxx.
References SwPageFootnoteInfo::GetBottomDist(), SwPageFootnoteInfo::GetLineWidth(), and SwPageFootnoteInfo::GetTopDist().
Referenced by DocxAttributeOutput::FootnotesEndnotes(), and SwFootnoteContFrame::Format().
bool sw::FrameContainsNode | ( | SwContentFrame const & | rFrame, |
SwNodeOffset | nNodeIndex | ||
) |
Definition at line 290 of file txtfrm.cxx.
References SwNode::GetIndex(), SwTextFrame::GetMergedPara(), GetNode(), SwTextFrame::GetTextNodeFirst(), SwFrame::IsNoTextFrame(), and SwFrame::IsTextFrame().
Referenced by SwTextFrame::AutoSpell_(), SwAccessibleMap::BuildSelectedParas(), SwTextFrame::CollectAutoCmplWrds(), objectpositioning::SwAnchoredObjectPosition::DrawAsideFly(), FindTextImpl(), SwAccessibleParagraph::GetCaretPos(), SwEditShell::GetScalingOfSelectedText(), SwAccessibleParagraph::GetSelectionAtIndex(), SwCursorShell::GetSelText(), SwAccessibleParagraph::GetStates(), SwTextFly::GetTop(), SwAccessibleParagraph::grabFocus(), SwAutoFormat::HasObjects(), SwContentNotify::ImplDestroy(), SwCursorShell::IsSelOnePara(), lcl_UpDown(), ReplaceBackReferences(), SwFlyAtContentFrame::SetAbsPos(), SwTextFrame::SmartTagScan(), and SwFlyAtContentFrame::SwClientNotify().
SW_DLLPUBLIC Color * sw::GetActiveRetoucheColor | ( | ) |
Definition at line 257 of file paintfrm.cxx.
References aGlobalRetoucheColor.
std::vector< std::unique_ptr< SwRangeRedline > > sw::GetAllValidRanges | ( | std::unique_ptr< SwRangeRedline > | p | ) |
Definition at line 483 of file docredln.cxx.
References SwPosition::Adjust(), SwPosition::Assign(), CheckPosition(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwNode::FindTableNode(), SwNode::GetContentNode(), SwNode::GetDoc(), SwNodes::GetEndOfContent(), SwDoc::GetIDocumentUndoRedo(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwPosition::GetNodes(), SwNode::GetTableBox(), SwNode::GetTextNode(), SwTableBox::GetUpper(), GoEndSection(), SwNodes::GoNext(), GoPreviousPos(), SwTextNode::InsertDummy(), SwNode::IsContentNode(), SwTableLine::IsEmpty(), SwNode::IsStartNode(), SwContentNode::Len(), p, SwPosition::SetContent(), SwPosition::SetMark(), and SwNode::StartOfSectionNode().
Referenced by sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), and SwRedlineTable::InsertWithValidRanges().
bool sw::GetAtPageRelOrientation | ( | sal_Int16 & | rOrientation, |
bool const | isIgnorePrintArea | ||
) |
Definition at line 108 of file atrfrm.cxx.
Referenced by SwDoc::ChgAnchor(), SwDoc::SetFlyFrameAnchor(), and SwXShape::setPropertyValue().
SwTextNode const & sw::GetAttrMerged | ( | SfxItemSet & | rFormatSet, |
SwTextNode const & | rNode, | ||
SwRootFrame const * | pLayout | ||
) |
Definition at line 370 of file txtfrm.cxx.
References SfxItemSet::ClearItem(), SwContentNode::getLayoutFrame(), SfxItemSet::GetPool(), SwRootFrame::HasMergedParas(), i, SfxItemSet::Put(), RES_BREAK(), RES_FRMATR_END(), RES_PAGEDESC(), RES_PARATR_BEGIN(), XATTR_FILL_FIRST(), and XATTR_FILL_LAST().
Referenced by SwEditShell::GetPaMParAttr(), and SwTextNode::GetParaAttr().
|
static |
Definition at line 2084 of file DocumentContentOperationsManager.cxx.
References SwPaM::End(), SwPaM::GetMark(), SwPosition::GetNode(), SwPaM::GetPoint(), and SwNode::IsContentNode().
Referenced by sw::DocumentContentOperationsManager::DeleteRangeImpl(), and sw::DocumentContentOperationsManager::DeleteSection().
DBConnURIType SW_DLLPUBLIC sw::GetDBunoType | ( | const INetURLObject & | rURL | ) |
bool sw::GetDefaultTextContentValue | ( | css::uno::Any & | rAny, |
std::u16string_view | rPropertyName, | ||
sal_uInt16 | nWID = 0 |
||
) |
Referenced by SwXParagraph::getPropertyDefault(), SwXTextSection::getPropertyDefault(), SwXTextTable::getPropertyValue(), SwXBookmark::getPropertyValue(), SwXFootnote::getPropertyValue(), SwXDocumentIndexMark::getPropertyValue(), SwXLineBreak::getPropertyValue(), SwXReferenceMark::getPropertyValue(), SwXParagraph::Impl::GetPropertyValues_Impl(), SwXTextSection::Impl::GetPropertyValues_Impl(), and SwXParagraph::Impl::GetPropertyValuesTolerant_Impl().
OUString sw::GetExpandTextMerged | ( | SwRootFrame const *const | pLayout, |
SwTextNode const & | rNode, | ||
bool const | bWithNumber, | ||
bool const | bWithSpacesForLevel, | ||
ExpandMode const | i_mode | ||
) |
Definition at line 45 of file DocumentOutlineNodesManager.cxx.
References SwTextNode::GetExpandText(), SwNode::GetIndex(), SwContentNode::getLayoutFrame(), SwTextFrame::GetMergedPara(), SwNode::GetNodes(), SwNode::GetRedlineMergeFlag(), SwNode::GetTextNode(), SwRootFrame::HasMergedParas(), HideDeletions, i, mode, SwNode::NonFirst, and sw::MergedPara::pParaPropsNode.
Referenced by SwChapterField::ChangeExpansion(), SwCursorShell::GetContentAtPos(), SwGetRefField::GetExpandedTextOfReferencedTextNode(), sw::DocumentListItemsManager::getListItemText(), sw::DocumentOutlineNodesManager::getOutlineText(), SwTOXPara::GetText_Impl(), SwEditWin::RequestHelp(), and SwGetRefField::UpdateField().
std::pair< SwTextNode *, SwTextNode * > sw::GetFirstAndLastNode | ( | SwRootFrame const & | rLayout, |
SwNode const & | rPos | ||
) |
Definition at line 354 of file txtfrm.cxx.
References SwContentNode::getLayoutFrame(), SwNode::GetTextNode(), and SwRootFrame::HasMergedParas().
Referenced by GetNode(), SwDoc::MoveLeftMargin(), SwEditShell::MoveNumParas(), and SwDoc::MoveParagraph().
std::optional< std::vector< SwFrameFormat * > > sw::GetFlysAnchoredAt | ( | SwDoc & | rDoc, |
SwNodeOffset const | nSttNode | ||
) |
Definition at line 41 of file untblk.cxx.
References SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwNode::GetIndex(), SwDoc::GetSpzFrameFormats(), and n.
Referenced by sw::DocumentContentOperationsManager::CopyImplImpl(), SwUndoInserts::RedoImpl(), and SwUndoInserts::SwUndoInserts().
GrammarContact * sw::getGrammarContactFor | ( | const SwTextNode & | ) |
getGrammarContact() delivers the grammar contact of the document (for a given textnode)
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().
SwTextNode * sw::GetParaPropsNode | ( | SwRootFrame const & | rLayout, |
SwNode const & | rNode | ||
) |
Definition at line 330 of file txtfrm.cxx.
References SwContentNode::getLayoutFrame(), SwNode::GetTextNode(), and IsParaPropsNode().
Referenced by SwDoc::DelNumRules(), SwEditShell::FillByEx(), SwCursorShell::GetContentAtPos(), SwEditShell::GetCurrentParaOutlineLevel(), SwEditShell::GetNodeNumStart(), SwEditShell::GetNumLevel(), sw::ToxTextGenerator::GetNumStringOfFirstNode(), SwEditShell::GetPaMAttr(), SwEditShell::GetPaMTextFormatColl(), GetParaPropsPos(), SwWrtShell::GetSelectionType(), GotoNextLayoutTextFrame(), GotoPrevLayoutTextFrame(), SwEditShell::HasBullet(), SwEditShell::HasNumber(), SwDoc::IsFirstOfNumRuleAtPos(), SwEditShell::IsMoveLeftMargin(), SwEditShell::IsNoNum(), SwEditShell::IsNumRuleStart(), lcl_GotoNextPrevNum(), lcl_IsNoEndTextAttrAtPos(), lcl_SetTextFormatColl(), SwCursorShell::LeftRight(), SwCursorShell::LRMargin(), MakeRefNumStr(), SwDoc::MoveLeftMargin(), SwEditShell::MoveNumParas(), SwWrtShell::NumOrBulletOff(), SwWrtShell::NumOrBulletOn(), SwDoc::NumUpDown(), SwDoc::SearchNumRule(), SwEditShell::SelectionHasBullet(), SwEditShell::SelectionHasNumber(), SwCursorShell::SetCursor(), and SwCursorShell::UpdateMarkedListLevel().
SwPosition sw::GetParaPropsPos | ( | SwRootFrame const & | rLayout, |
SwPosition const & | rPos | ||
) |
Definition at line 344 of file txtfrm.cxx.
References GetParaPropsNode(), and pos.
Referenced by SwEditShell::NumOrNoNum(), SwEditShell::ReplaceNumRule(), SwEditShell::SetNodeNumStart(), and SwEditShell::SetNumRuleStart().
bool sw::GetRanges | ( | std::vector< std::shared_ptr< SwUnoCursor > > & | rRanges, |
SwDoc & | rDoc, | ||
SwPaM const & | rDelPam | ||
) |
Definition at line 1111 of file autofmt.cxx.
References SwDoc::CreateUnoCursor(), SwPaM::End(), SwDoc::getIDocumentRedlineAccess(), IDocumentRedlineAccess::GetRedline(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), SwRangeRedline::GetType(), SwPosition::SetMark(), ShowDelete, size, Start, and SwPaM::Start().
Referenced by SwAutoCorrDoc::ChgAutoCorrWord(), SwAutoCorrDoc::DeleteSel(), SwAutoFormat::DeleteSel(), ReplaceImpl(), SwContentNode::ResetAllAttr(), SwContentNode::ResetAttr(), and SwContentNode::SetAttr().
void sw::GotoNextLayoutTextFrame | ( | SwNodeIndex & | rIndex, |
SwRootFrame const *const | pLayout | ||
) |
Definition at line 1473 of file docnum.cxx.
References SwNode::EndOfSectionNode(), SwNodeIndex::GetIndex(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), GetParaPropsNode(), SwNode::GetRedlineMergeFlag(), SwNode::GetTextNode(), SwRootFrame::HasMergedParas(), SwNode::Hidden, SwNode::IsTableNode(), SwNode::IsTextNode(), and SwNode::None.
Referenced by SwAutoCorrDoc::ChgAutoCorrWord(), SwAutoFormat::GetNextNode(), SwAutoFormat::GoNextPara(), lcl_GotoNextPrevNum(), SwDoc::SearchNumRule(), and SwAutoFormat::SwAutoFormat().
void sw::GotoPrevLayoutTextFrame | ( | SwNodeIndex & | rIndex, |
SwRootFrame const *const | pLayout | ||
) |
Definition at line 1438 of file docnum.cxx.
References SwNodeIndex::GetIndex(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), GetParaPropsNode(), SwNode::GetRedlineMergeFlag(), SwNode::GetTextNode(), SwRootFrame::HasMergedParas(), SwNode::Hidden, SwNode::IsEndNode(), SwNode::IsTableNode(), SwNode::IsTextNode(), SwNode::None, and SwNode::StartOfSectionNode().
Referenced by SwEditShell::AutoFormatBySplitNode(), SwAutoCorrDoc::ChgAutoCorrWord(), SwAutoCorrDoc::GetPrevPara(), lcl_GotoNextPrevNum(), SwDoc::SearchNumRule(), and SwAutoFormat::SwAutoFormat().
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().
bool sw::HasPageBreakBefore | ( | SwPageFrame const & | rPage | ) |
Definition at line 922 of file flowfrm.cxx.
References SwPageFrame::FindFirstBodyContent(), SwFrame::FindTabFrame(), SvxFormatBreakItem::GetBreak(), SwFrame::GetBreakItem(), SwFormatPageDesc::GetPageDesc(), SwFrame::GetPageDescItem(), SwFrame::GetUpper(), and SwFrame::IsInTab().
Referenced by SwFrame::GetNextSctLeaf().
sw::IMPL_LINK | ( | DocumentStatisticsManager | , |
DoIdleStatsUpdate | , | ||
Timer * | , | ||
pIdle | , | ||
void | |||
) |
Definition at line 202 of file DocumentStatisticsManager.cxx.
References SwDoc::GetDocShell(), SwDocShell::GetView(), m_rDoc, and SwView::UpdateDocStats().
sw::IMPL_LINK | ( | DocumentTimerManager | , |
FireIdleJobsTimeout | , | ||
Timer * | , | ||
void | |||
) |
Definition at line 104 of file DocumentTimerManager.cxx.
sw::IMPL_LINK | ( | DropDownFormFieldDialog | , |
ButtonPushedHdl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 65 of file DropDownFormFieldDialog.cxx.
sw::IMPL_LINK | ( | DropDownFormFieldDialog | , |
KeyPressedHdl | , | ||
const KeyEvent & | , | ||
rEvent | , | ||
bool | |||
) |
Definition at line 53 of file DropDownFormFieldDialog.cxx.
References KEY_RETURN.
sw::IMPL_LINK | ( | GrammarContact | , |
TimerRepaint | , | ||
Timer * | , | ||
pTimer | , | ||
void | |||
) |
Definition at line 46 of file GrammarContact.cxx.
References SwTextFrame::repaintTextFrames().
sw::IMPL_LINK_NOARG | ( | DocumentTimerManager | , |
DoIdleJobs | , | ||
Timer * | , | ||
void | |||
) |
Definition at line 156 of file DocumentTimerManager.cxx.
References Chapter, SwRootFrame::EndAllAction(), SwDoc::GetAllLayouts(), IDocumentLayoutAccess::GetCurrentLayout(), IDocumentLayoutAccess::GetCurrentViewShell(), SwDoc::GetEditShell(), SwDoc::getIDocumentFieldsAccess(), SwDoc::getIDocumentLayoutAccess(), IDocumentFieldsAccess::GetSysFieldType(), IDocumentFieldsAccess::GetUpdateFields(), SwViewShell::IsViewLocked(), SwViewShell::LockView(), m_rDoc, SwDocUpdateField::SetFieldsDirty(), SwDocUpdateField::SetInUpdateFields(), SwRootFrame::StartAllAction(), SwDoc::StartGrammarChecking(), IDocumentFieldsAccess::UpdateExpFields(), IDocumentFieldsAccess::UpdateRefFields(), and IDocumentFieldsAccess::UpdateTableFields().
sw::IMPL_LINK_NOARG | ( | DropDownFormFieldDialog | , |
EntryChangedHdl | , | ||
weld::Entry & | , | ||
void | |||
) |
Definition at line 63 of file DropDownFormFieldDialog.cxx.
sw::IMPL_LINK_NOARG | ( | DropDownFormFieldDialog | , |
ListChangedHdl | , | ||
weld::TreeView & | , | ||
void | |||
) |
Definition at line 51 of file DropDownFormFieldDialog.cxx.
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().
void sw::InitPrintOptionsFromApplication | ( | SwPrintData & | o_rData, |
bool const | bWeb | ||
) |
Definition at line 1992 of file view.cxx.
References SW_MOD.
Referenced by SwRenderData::MakeSwPrtOptions().
|
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().
bool sw::IsFieldDeletedInModel | ( | IDocumentRedlineAccess const & | rIDRA, |
SwTextField const & | rTextField | ||
) |
Definition at line 67 of file DocumentFieldsManager.cxx.
References SwPaM::GetMark(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedline(), SwTextAttr::GetStart(), SwTextField::GetTextNode(), SwRangeRedline::GetType(), and pos.
Referenced by SwGetRefFieldType::FindAnchor(), SwSetExpFieldType::GetSeqFieldList(), SwAuthorityFieldType::GetSequencePos(), SwCursorShell::GotoFormatField(), SwRefPageGetFieldType::MakeSetList(), SwFormatField::SwClientNotify(), SwTOXBaseSection::UpdateAuthorities(), SwTOXBaseSection::UpdateSequence(), and SwAnnotationItem::UseElement().
SW_DLLPUBLIC bool sw::IsFlyFrameFormatInHeader | ( | const SwFrameFormat & | rFormat | ) |
Definition at line 3638 of file atrfrm.cxx.
References SwAnchoredObject::FindPageFrameOfAnchor(), SwAnchoredObject::GetAnchorFrame(), SwFlyFrameFormat::GetFrame(), SwFrame::GetType(), SwFrame::GetUpper(), Header, and SwLayoutFrame::Lower().
Referenced by SwBasicEscherEx::WriteFlyFrameAttr().
bool sw::IsFootnoteDeleted | ( | IDocumentRedlineAccess const & | rIDRA, |
SwTextFootnote const & | rTextFootnote | ||
) |
Definition at line 37 of file ftnidx.cxx.
References SwPaM::GetMark(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedline(), SwTextAttr::GetStart(), SwTextFootnote::GetTextNode(), SwRangeRedline::GetType(), and pos.
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwGetRefFieldType::FindAnchor(), SwUpdFootnoteEndNtAtEnd::GetNumber(), SwEditShell::GetSeqFootnoteList(), SwFootnoteIdxs::UpdateAllFootnote(), and SwFootnoteIdxs::UpdateFootnote().
bool sw::IsMarkHidden | ( | SwRootFrame const & | rLayout, |
::sw::mark::IMark const & | rMark | ||
) |
Definition at line 125 of file crbm.cxx.
References SwPosition::GetContentIndex(), SwContentNode::getLayoutFrame(), sw::mark::IMark::GetMarkPos(), SwPosition::GetNode(), sw::mark::IMark::GetOtherMarkPos(), SwNode::GetRedlineMergeFlag(), SwNode::GetTextNode(), SwRootFrame::HasMergedParas(), SwNode::Hidden, sw::mark::IMark::IsExpanded(), SwTextNode::Len(), SwTextFrame::MapModelToView(), and SwTextFrame::MapModelToViewPos().
Referenced by SwGetRefFieldType::FindAnchor(), SwCursorShell::GoNextBookmark(), SwCursorShell::GoPrevBookmark(), and SwCursorShell::GotoMark().
bool sw::IsMarkHintHidden | ( | SwRootFrame const & | rLayout, |
SwTextNode const & | rNode, | ||
SwTextAttrEnd const & | rHint | ||
) |
Definition at line 1140 of file reffld.cxx.
References SwTextAttrEnd::GetEnd(), SwContentNode::getLayoutFrame(), SwTextAttr::GetStart(), SwTextAttr::HasDummyChar(), SwRootFrame::HasMergedParas(), and SwTextFrame::MapModelToView().
Referenced by SwGetRefFieldType::FindAnchor(), SwDoc::GetTOIKeys(), and SwTOXMark::Notify().
bool sw::IsPageFrameEmpty | ( | SwPageFrame const & | rPage | ) |
check if there's content on the page that requires it to exist
Definition at line 1015 of file pagechg.cxx.
References SwLayoutFrame::ContainsContent(), SwLayoutFrame::ContainsDeleteForbiddenLayFrame(), SwFootnoteBossFrame::FindBodyCont(), SwFrame::FindFooterOrHeader(), SwFootnoteBossFrame::FindFootnoteCont(), SwAnchoredObject::GetAnchorFrame(), SwFormat::GetDoc(), SwAnchoredObject::GetDrawObj(), SwLayoutFrame::GetFormat(), SwDoc::getIDocumentDrawModelAccess(), SdrObject::GetLayer(), SwPageFrame::GetSortedObjs(), i, SwFrame::IsTabFrame(), IDocumentDrawModelAccess::IsVisibleLayerId(), SwLayoutFrame::Lower(), and SwSortedObjs::size().
Referenced by SwFrame::CheckPageDescs(), SwContentFrame::Cut(), and SwRootFrame::RemoveSuperfluous().
bool sw::IsParaPropsNode | ( | SwRootFrame const & | rLayout, |
SwTextNode const & | rNode | ||
) |
Definition at line 313 of file txtfrm.cxx.
References SwContentNode::getLayoutFrame(), SwRootFrame::HasMergedParas(), and sw::MergedPara::pParaPropsNode.
Referenced by SwTaggedPDFHelper::BeginBlockStructureElements(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwNode::FindOutlineNodeOfLevel(), SwDoc::GetNumRuleAtPos(), SwCursorShell::GetOutlinePos(), GetParaPropsNode(), SwCursorShell::GotoNextOutline(), SwDoc::GotoOutline(), SwCursorShell::GotoPrevOutline(), sw::DocumentListItemsManager::isNumberedInLayout(), sw::DocumentOutlineNodesManager::isOutlineInLayout(), SwEditShell::IsProtectedOutlinePara(), lcl_FindOutlineName(), lcl_IsOutlineMoveAndCopyable(), SwEditShell::MoveNumParas(), SwDoc::OutlineUpDown(), SwDoc::SetNumRule(), SwFootnoteIdxs::UpdateAllFootnote(), and SwFootnoteIdxs::UpdateFootnote().
bool sw::IsRightPageByNumber | ( | SwRootFrame const & | rLayout, |
sal_uInt16 | nPageNum | ||
) |
Definition at line 3125 of file frmtool.cxx.
References SwFrame::GetLower(), and SwFrame::GetVirtPageNum().
Referenced by SwLayHelper::CheckInsertPage(), SwFrame::InsertPage(), SwFrame::WannaRightPage(), and SwFrame::WrongPageDesc().
bool sw::IsShrinkPageForPostIts | ( | SwViewShell const & | rShell, |
SwPrintData const & | rPrintData | ||
) |
Definition at line 435 of file vprint.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentFieldsAccess(), SwPrintData::GetPrintPostIts(), InMargins, and sw_GetPostIts().
Referenced by SwViewShell::PrintOrPDFExport(), and SwEnhancedPDFExportHelper::SwRectToPDFRect().
|
static |
Definition at line 1185 of file unoobj2.cxx.
References SwNode::FindSttNodeByType(), SwFormat::GetAttrSet(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SfxItemSet::GetItemState(), SwNodeIndex::GetNode(), RES_FOOTER(), RES_HEADER(), rSet, SwFooterStartNode, and SwHeaderStartNode.
Referenced by CreateParentXText().
|
static |
Definition at line 4774 of file DocumentContentOperationsManager.cxx.
References RES_PARATR_LIST_ID(), RES_PARATR_NUMRULE(), SwTextNode::ResetAttr(), and SwTextNode::SetAttr().
|
static |
Definition at line 4752 of file DocumentContentOperationsManager.cxx.
References SfxPoolItem::Clone(), SfxItemSet::GetItemIfSet(), SwContentNode::GetpSwAttrSet(), RES_PARATR_LIST_ID(), and RES_PARATR_NUMRULE().
sw::InsertText sw::MakeInsertText | ( | SwTextNode & | rNode, |
const sal_Int32 | nPos, | ||
const sal_Int32 | nLen | ||
) |
Definition at line 2094 of file docbm.cxx.
References sw::mark::FindFieldSep(), SwNode::GetDoc(), SwDoc::getIDocumentMarkAccess(), IDocumentMarkAccess::getInnerFieldmarkFor(), sw::mark::IMark::GetMarkStart(), SwPaM::GetPoint(), SwCursor::Left(), and nPos.
Referenced by SwTextNode::InsertText(), SwTextNode::ReplaceText(), and SwTextNode::ReplaceTextOnly().
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.
fnMove | Contains information if beginning or end of document. |
pOrigRg | The given region. |
rPam | returns 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().
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().
TextFrameIndex sw::MapModelToView | ( | MergedPara const & | rMerged, |
SwTextNode const * | pNode, | ||
sal_Int32 | nIndex | ||
) |
Definition at line 1270 of file txtfrm.cxx.
References sw::MergedPara::extents, SwNode::GetIndex(), sw::MergedPara::mergedText, nIndex, sw::MergedPara::pFirstNode, and sw::MergedPara::pLastNode.
Referenced by SwTextFrame::CalcFootnoteFlag(), SwTextPainter::CheckSpecialUnderline(), SwAccessibleParagraph::getHyperLinkIndex(), SwAttrIter::GetNextAttr(), SwTextFrame::MapModelToView(), SwTextIter::TruncLines(), and SwTOXBaseSection::UpdatePageNum().
std::pair< SwTextNode *, sal_Int32 > sw::MapViewToModel | ( | MergedPara const & | rMerged, |
TextFrameIndex | nIndex | ||
) |
Definition at line 1251 of file txtfrm.cxx.
References sw::MergedPara::extents, SwTextNode::Len(), sw::Extent::nEnd, nIndex, sw::Extent::nStart, sw::MergedPara::pLastNode, and sw::Extent::pNode.
Referenced by SwTextPainter::DrawTextLine(), SwTextFormatter::FormatQuoVadis(), SwAttrIter::GetAttr(), SwFEShell::ImpEndCreate(), SwScriptInfo::InitScriptInfo(), SwTextFrame::MapViewToModel(), SwAttrIter::Seek(), and SwAttrIter::SeekAndChgAttrIter().
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().
void sw::MoveMergedFlysAndFootnotes | ( | std::vector< SwTextFrame * > const & | rFrames, |
SwTextNode const & | rFirstNode, | ||
SwTextNode & | rSecondNode, | ||
bool | isSplitNode | ||
) |
Definition at line 375 of file ndtxt.cxx.
References SwNode::EndOfSectionIndex(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorNode(), SwNode::GetIndex(), SwNode::GetNodes(), SwNode::GetRedlineMergeFlag(), SwNode::GetTextNode(), SwNode::IsCreateFrameWhenHidingRedlines(), SwNode::IsEndNode(), SwNode::IsStartNode(), SwNode::IsTextNode(), lcl_ChangeFootnoteRef(), nIndex, and SwNode::NonFirst.
Referenced by SwTextNode::SplitContentNode(), and UpdateFramesForRemoveDeleteRedline().
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().
const char * sw::PortionTypeToString | ( | PortionType | nType | ) |
Definition at line 34 of file xmldump.cxx.
References Arrow, Blank, Bookmark, Break, Bullet, Combined, ContentControl, ControlChar, Drop, ErgoSum, Expand, Field, FieldFormCheckbox, FieldMark, Fix, Fly, FlyCnt, Footnote, FootnoteNum, Glue, GrfNum, Hanging, Hidden, HiddenText, Hole, Hyphen, HyphenStr, InputField, IsoRef, IsoTox, Kern, Lay, Margin, Meta, Multi, NONE, nType, Number, Para, PostIts, QuoVadis, Ref, SoftHyphen, SoftHyphenComp, SoftHyphenStr, Tab, TabCenter, TabDecimal, TabLeft, TabRight, TempEnd, Text, and Tox.
Referenced by SwLinePortion::dumpAsXmlAttributes().
SW_DLLPUBLIC auto sw::PrepareJumpToTOXMark | ( | SwDoc const & | rDoc, |
std::u16string_view | aName | ||
) | -> std::optional< std::pair< SwTOXMark, sal_Int32 > > |
Definition at line 2454 of file view2.cxx.
References aName, first, i, SAL_WARN, SwTOXMark::SetAlternativeText(), o3tl::toInt32(), TOX_CONTENT, TOX_INDEX, TOX_USER, and toxMarkSeparator.
Referenced by MSWordExportBase::AddLinkTarget(), and JumpToTOXMark().
void sw::RecreateStartTextFrames | ( | SwTextNode & | rNode | ) |
Definition at line 1436 of file frmtool.cxx.
References CheckParaRedlineMerge(), eMode, Existing, SwIterator< TElementType, TSource, eMode >::First(), SwNode::GetIndex(), New, and SwIterator< TElementType, TSource, eMode >::Next().
Referenced by sw::DocumentContentOperationsManager::CopyWithFlyInFly(), and SwUndoDelete::UndoImpl().
void sw::RemoveFootnotesForNode | ( | SwRootFrame const & | rLayout, |
SwTextNode const & | rTextNode, | ||
std::vector< std::pair< sal_Int32, sal_Int32 > > const *const | pExtents | ||
) |
Definition at line 891 of file txtfrm.cxx.
References SwTextFootnote::DelFrames(), SwNode::GetDoc(), SwDoc::GetFootnoteIdxs(), SwNode::GetIndex(), SwTextAttr::GetStart(), SwTextFootnote::GetTextNode(), nIndex, nPos, SwFootnoteIdxs::SeekEntry(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by CheckParaRedlineMerge(), SwTextFrame::DestroyImpl(), and UnHideRedlines().
std::optional< OUString > sw::ReplaceBackReferences | ( | const i18nutil::SearchOptions2 & | rSearchOpt, |
SwPaM *const | pPam, | ||
SwRootFrame const *const | pLayout | ||
) |
Helperfunction to resolve backward references in regular expressions.
Definition at line 1108 of file findtxt.cxx.
References i18nutil::SearchOptions2::AlgorithmType2, aStr, SwPaM::End(), FrameContainsNode(), SwPosition::GetContentIndex(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwPaM::GetMarkContentNode(), SwPosition::GetNodeIndex(), SwPaM::GetPointContentNode(), SwNode::GetTextNode(), SwPaM::HasMark(), SwNode::IsTextNode(), lcl_CleanStr(), SwTextFrame::MapModelToViewPos(), utl::TextSearch::ReplaceBackReferences(), i18nutil::SearchOptions2::replaceString, utl::TextSearch::SearchForward(), i18nutil::SearchOptions2::searchString, SwPaM::Start(), and u.
Referenced by SwView::ExecSearch().
bool sw::ReplaceImpl | ( | SwPaM & | rCursor, |
OUString const & | rReplacement, | ||
bool const | bRegExp, | ||
SwDoc & | rDoc, | ||
SwRootFrame const *const | pLayout | ||
) |
Definition at line 1040 of file findtxt.cxx.
References IDocumentContentOperations::DeleteAndJoin(), SwPaM::End(), SwDoc::getIDocumentContentOperations(), SwDoc::getIDocumentRedlineAccess(), GetRanges(), IDocumentRedlineAccess::GetRedline(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), SwRangeRedline::GetType(), SwRootFrame::IsHideRedlines(), IDocumentRedlineAccess::IsRedlineOn(), IDocumentContentOperations::ReplaceRange(), ShowDelete, SwRedlineTable::size(), and SwPaM::Start().
Referenced by SwEditShell::Replace().
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().
|
static |
Definition at line 127 of file DocumentRedlineManager.cxx.
References Chapter, IDocumentFieldsAccess::GetFieldType(), IDocumentFieldsAccess::GetSysFieldType(), RefPageGet, TableOfAuthorities, IDocumentFieldsAccess::UpdateExpFields(), SwFieldType::UpdateFields(), and IDocumentFieldsAccess::UpdateRefFields().
Referenced by UpdateFramesForAddDeleteRedline(), and UpdateFramesForRemoveDeleteRedline().
Definition at line 141 of file DocumentRedlineManager.cxx.
References AddRemoveFlysAnchoredToFrameStartingAtNode(), SwPosition::Assign(), CheckParaRedlineMerge(), eMode, SwPaM::End(), SwNode::EndOfSectionIndex(), Existing, SwIterator< TElementType, TSource, eMode >::First(), SwDoc::GetAllLayouts(), SwDoc::GetDocShell(), SwDoc::GetFootnoteIdxs(), SwDoc::getIDocumentFieldsAccess(), SwNode::GetIndex(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwNode::GetNodes(), SwTextNode::GetNumRule(), SwNode::GetSectionNode(), SwNode::GetTableNode(), SwNode::GetTextNode(), SwNodes::GoNextSection(), SwNode::Hidden, SwDoc::IsClipBoard(), SwNode::IsTableNode(), SwTextNode::Len(), New, SwIterator< TElementType, TSource, eMode >::Next(), REMOVED, SwTextNode::RemoveFromListRLHidden(), SAL_WARN, SwPaM::Start(), UpdateFieldsForRedline(), and SwFootnoteIdxs::UpdateFootnote().
Referenced by sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), sw::mark::MarkManager::makeMark(), SwDoc::MoveParagraphImpl(), SwUndoRedlineDelete::RedoRedlineImpl(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), and SwUndoRedline::UndoImpl().
Definition at line 253 of file DocumentRedlineManager.cxx.
References SwTextNode::AddToListRLHidden(), AppendAllObjs(), SwPosition::Assign(), CheckParaRedlineMerge(), eMode, end, SwPaM::End(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), Existing, SwNode::FindFlyStartNode(), SwNode::FindTableBoxStartNode(), SwIterator< TElementType, TSource, eMode >::First(), SwDoc::GetAllLayouts(), IDocumentLayoutAccess::GetCurrentLayout(), SwDoc::GetDocShell(), SwDoc::GetFootnoteIdxs(), SwDoc::getIDocumentFieldsAccess(), SwDoc::getIDocumentLayoutAccess(), SwNode::GetIndex(), SwPaM::GetMark(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwNode::GetNodes(), SwTextNode::GetNumRule(), SwPaM::GetPoint(), SwNode::GetSectionNode(), SwDoc::GetSpzFrameFormats(), SwNode::GetTableNode(), SwNode::GetTextNode(), SwNodes::GoNextSection(), SwRootFrame::HasMergedParas(), INSERTED, SwDoc::IsClipBoard(), SwNode::IsTableNode(), SwTextNode::Len(), MakeFrames(), MoveMergedFlysAndFootnotes(), New, SwIterator< TElementType, TSource, eMode >::Next(), SwNode::None, start, SwPaM::Start(), UpdateFieldsForRedline(), and SwFootnoteIdxs::UpdateFootnote().
Referenced by sw::mark::TextFieldmark::ReleaseDoc(), sw::mark::DateFieldmark::ReleaseDoc(), and SwUndoRedline::UndoImpl().
TextFrameIndex sw::UpdateMergedParaForDelete | ( | MergedPara & | rMerged, |
bool | isRealDelete, | ||
SwTextNode const & | rNode, | ||
sal_Int32 | nIndex, | ||
sal_Int32 | nLen | ||
) |
Definition at line 1119 of file txtfrm.cxx.
References SwTextNode::AddToListRLHidden(), sw::MergedPara::extents, SwNode::GetIndex(), SwTextNode::Len(), sw::MergedPara::mergedText, nIndex, sw::MergedPara::pFirstNode, sw::MergedPara::pLastNode, sw::MergedPara::pParaPropsNode, SwTextNode::RemoveFromListRLHidden(), and text().
Referenced by SwContentNode::DelFrames(), and SwTextFrame::SwClientNotify().
|
static |
Definition at line 988 of file txtfrm.cxx.
References SwTextNode::AddToListRLHidden(), sw::MergedPara::extents, SwNode::GetIndex(), SwNode::GetRedlineMergeFlag(), SwTextNode::GetText(), SwNode::Hidden, SwTextNode::Len(), sw::MergedPara::mergedText, nIndex, SwNode::NonFirst, sw::MergedPara::pFirstNode, sw::MergedPara::pLastNode, sw::MergedPara::pParaPropsNode, SwTextNode::RemoveFromListRLHidden(), and text().
Referenced by SwTextFrame::SwClientNotify().
SW_DLLPUBLIC bool sw::XTextRangeToSwPaM | ( | SwUnoInternalPaM & | rToFill, |
const css::uno::Reference< css::text::XTextRange > & | xTextRange, | ||
TextRangeMode | eMode = TextRangeMode::RequireTextNode |
||
) |
bool sw::XTextRangeToSwPaM | ( | SwUnoInternalPaM & | rToFill, |
const uno::Reference< text::XTextRange > & | xTextRange, | ||
::sw::TextRangeMode const | eMode | ||
) |
Definition at line 1108 of file unoobj2.cxx.
References AllowTableNode, SwXHeadFootText::CreateTextCursor(), SwPaM::DeleteMark(), eMode, SwPaM::GetDoc(), SwXTextRange::GetDoc(), SwPaM::GetMark(), SwPaM::GetPoint(), SwXTextRange::GetPositions(), SwPaM::HasMark(), SwPaM::IsMultiSelection(), and SwPaM::SetMark().
Referenced by SwFmDrawPage::add(), SwXTextTable::attach(), SwXTextField::attach(), SwXFootnote::attach(), SwXDocumentIndex::attach(), SwXDocumentIndexMark::attach(), SwXLineBreak::attach(), SwXReferenceMark::attach(), SwXTextSection::attach(), SwXMeta::AttachImpl(), SwXContentControl::AttachImpl(), SwXBookmark::attachToRangeEx(), SwXTextMarkup::commitTextRangeMarkup(), SwXText::Impl::ComparePositions(), SwXText::Impl::ConvertCell(), SwXText::convertToTextFrame(), SwTextBoxHelper::create(), SwXTextFrame::createXTextCursorByRange(), SwXCell::createXTextCursorByRange(), SwXBodyText::createXTextCursorByRange(), SwXHeadFootText::createXTextCursorByRange(), SwXFootnote::createXTextCursorByRange(), SwXText::Impl::finishOrAppendParagraph(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwUnoCursorHelper::GetSelectableFromAny(), SwXTextView::getTransferableForTextRange(), SwXTextViewCursor::gotoRange(), SwXText::insertControlCharacter(), SwDocShell::InsertGeneratedStream(), SwXText::insertTextContent(), SwXText::insertTextContentWithProperties(), SwTextFormatter::NewFootnoteNumPortion(), SwXShape::setPropertyValue(), and SwTextBoxHelper::syncProperty().
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().