LibreOffice Module sw (master) 1
|
#include <doc.hxx>
Public Types | |
enum | DocumentType { DOCTYPE_NATIVE , DOCTYPE_MSWORD } |
enum class | RowColMode { DeleteRow = 0 , DeleteColumn = 1 , DeleteProtected = 2 } |
Public Member Functions | |
SwFormat * | MakeCharFormat_ (const OUString &, SwFormat *, bool, bool) |
SwFormat * | MakeFrameFormat_ (const OUString &, SwFormat *, bool, bool) |
DocumentType | GetDocumentType () const |
void | SetDocumentType (DocumentType eDocType) |
SwDoc () | |
~SwDoc () | |
Speciality: a member of the class SwDoc is located at position 0 in the array of the Format and GDI objects. More... | |
bool | IsInDtor () const |
SwNodes & | GetNodes () |
SwNodes const & | GetNodes () const |
sal_Int32 | getReferenceCount () const |
Returns the current reference count. More... | |
IDocumentSettingAccess const & | getIDocumentSettingAccess () const |
IDocumentSettingAccess & | getIDocumentSettingAccess () |
::sw::DocumentSettingManager & | GetDocumentSettingManager () |
::sw::DocumentSettingManager const & | GetDocumentSettingManager () const |
sal_uInt32 | getRsid () const |
void | setRsid (sal_uInt32 nVal) |
sal_uInt32 | getRsidRoot () const |
void | setRsidRoot (sal_uInt32 nVal) |
IDocumentDeviceAccess const & | getIDocumentDeviceAccess () const |
IDocumentDeviceAccess & | getIDocumentDeviceAccess () |
IDocumentMarkAccess * | getIDocumentMarkAccess () |
const IDocumentMarkAccess * | getIDocumentMarkAccess () const |
IDocumentRedlineAccess const & | getIDocumentRedlineAccess () const |
IDocumentRedlineAccess & | getIDocumentRedlineAccess () |
::sw::DocumentRedlineManager const & | GetDocumentRedlineManager () const |
::sw::DocumentRedlineManager & | GetDocumentRedlineManager () |
IDocumentUndoRedo & | GetIDocumentUndoRedo () |
IDocumentUndoRedo const & | GetIDocumentUndoRedo () const |
IDocumentLinksAdministration const & | getIDocumentLinksAdministration () const |
IDocumentLinksAdministration & | getIDocumentLinksAdministration () |
::sw::DocumentLinksAdministrationManager const & | GetDocumentLinksAdministrationManager () const |
::sw::DocumentLinksAdministrationManager & | GetDocumentLinksAdministrationManager () |
IDocumentFieldsAccess const & | getIDocumentFieldsAccess () const |
IDocumentFieldsAccess & | getIDocumentFieldsAccess () |
::sw::DocumentFieldsManager & | GetDocumentFieldsManager () |
int | FieldCanHideParaWeight (SwFieldIds eFieldId) const |
bool | FieldHidesPara (const SwField &rField) const |
IDocumentContentOperations const & | getIDocumentContentOperations () const |
IDocumentContentOperations & | getIDocumentContentOperations () |
::sw::DocumentContentOperationsManager const & | GetDocumentContentOperationsManager () const |
::sw::DocumentContentOperationsManager & | GetDocumentContentOperationsManager () |
bool | UpdateParRsid (SwTextNode *pTextNode, sal_uInt32 nVal=0) |
void | UpdateRsid (const SwPaM &rRg, sal_Int32 nLen) |
Set the rsid of the next nLen symbols of rRg to the current session number. More... | |
IDocumentStylePoolAccess const & | getIDocumentStylePoolAccess () const |
IDocumentStylePoolAccess & | getIDocumentStylePoolAccess () |
const SwLineNumberInfo & | GetLineNumberInfo () const |
void | SetLineNumberInfo (const SwLineNumberInfo &rInfo) |
IDocumentStatistics const & | getIDocumentStatistics () const |
IDocumentStatistics & | getIDocumentStatistics () |
::sw::DocumentStatisticsManager const & | GetDocumentStatisticsManager () const |
::sw::DocumentStatisticsManager & | GetDocumentStatisticsManager () |
IDocumentState const & | getIDocumentState () const |
IDocumentState & | getIDocumentState () |
void | AddDrawUndo (std::unique_ptr< SdrUndoAction >) |
IDocumentDrawModelAccess const & | getIDocumentDrawModelAccess () const |
IDocumentDrawModelAccess & | getIDocumentDrawModelAccess () |
::sw::DocumentDrawModelManager const & | GetDocumentDrawModelManager () const |
::sw::DocumentDrawModelManager & | GetDocumentDrawModelManager () |
IDocumentLayoutAccess const & | getIDocumentLayoutAccess () const |
IDocumentLayoutAccess & | getIDocumentLayoutAccess () |
::sw::DocumentLayoutManager const & | GetDocumentLayoutManager () const |
::sw::DocumentLayoutManager & | GetDocumentLayoutManager () |
IDocumentTimerAccess const & | getIDocumentTimerAccess () const |
IDocumentTimerAccess & | getIDocumentTimerAccess () |
IDocumentChartDataProviderAccess const & | getIDocumentChartDataProviderAccess () const |
IDocumentChartDataProviderAccess & | getIDocumentChartDataProviderAccess () |
IDocumentListItems const & | getIDocumentListItems () const |
IDocumentListItems & | getIDocumentListItems () |
IDocumentOutlineNodes const & | getIDocumentOutlineNodes () const |
IDocumentOutlineNodes & | getIDocumentOutlineNodes () |
IDocumentListsAccess const & | getIDocumentListsAccess () const |
IDocumentListsAccess & | getIDocumentListsAccess () |
IDocumentExternalData const & | getIDocumentExternalData () const |
IDocumentExternalData & | getIDocumentExternalData () |
void | setDocAccTitle (const OUString &rTitle) |
const OUString & | getDocAccTitle () const |
DECL_DLLPRIVATE_LINK (CalcFieldValueHdl, EditFieldInfo *, void) | |
bool | IsOLEPrtNotifyPending () const |
void | SetOLEPrtNotifyPending (bool bSet=true) |
void | PrtOLENotify (bool bAll) |
bool | IsPrepareSelAll () const |
void | SetPrepareSelAll () |
void | SetContainsAtPageObjWithContentAnchor (const bool bFlag) |
bool | DoesContainAtPageObjWithContentAnchor () |
SwPosFlyFrames | GetAllFlyFormats (const SwPaM *, bool bDrawAlso, bool bAsCharAlso=false) const |
Returns positions of all FlyFrames in the document. More... | |
SwFlyFrameFormat * | MakeFlyFrameFormat (const OUString &rFormatName, SwFrameFormat *pDerivedFrom) |
Create the formats. More... | |
SwDrawFrameFormat * | MakeDrawFrameFormat (const OUString &rFormatName, SwFrameFormat *pDerivedFrom) |
SwFlyFrameFormat * | MakeFlySection (RndStdIds eAnchorType, const SwPosition *pAnchorPos, const SfxItemSet *pSet=nullptr, SwFrameFormat *pParent=nullptr, bool bCalledFromShell=false) |
SwFlyFrameFormat * | MakeFlyAndMove (const SwPaM &rPam, const SfxItemSet &rSet, const SwSelBoxes *pSelBoxes, SwFrameFormat *pParent) |
void | CheckForUniqueItemForLineFillNameOrIndex (SfxItemSet &rSet) |
bool | SetFlyFrameAttr (SwFrameFormat &rFlyFormat, SfxItemSet &rSet) |
bool | SetFrameFormatToFly (SwFrameFormat &rFlyFormat, SwFrameFormat &rNewFormat, SfxItemSet *pSet=nullptr, bool bKeepOrient=false) |
void | SetFlyFrameTitle (SwFlyFrameFormat &rFlyFrameFormat, const OUString &sNewTitle) |
void | SetFlyFrameDescription (SwFlyFrameFormat &rFlyFrameFormat, const OUString &sNewDescription) |
void | SetFlyFrameDecorative (SwFlyFrameFormat &rFlyFrameFormat, bool isDecorative) |
const SwFootnoteInfo & | GetFootnoteInfo () const |
void | SetFootnoteInfo (const SwFootnoteInfo &rInfo) |
const SwEndNoteInfo & | GetEndNoteInfo () const |
void | SetEndNoteInfo (const SwEndNoteInfo &rInfo) |
SwFootnoteIdxs & | GetFootnoteIdxs () |
const SwFootnoteIdxs & | GetFootnoteIdxs () const |
bool | SetCurFootnote (const SwPaM &rPam, const OUString &rNumStr, bool bIsEndNote) |
change footnotes in range More... | |
css::uno::Any | Spell (SwPaM &, css::uno::Reference< css::linguistic2::XSpellChecker1 > const &, sal_uInt16 *pPageCnt, sal_uInt16 *pPageSt, bool bGrammarCheck, SwRootFrame const *pLayout, SwConversionArgs *pConvArgs=nullptr) const |
Operations on the content of the document e.g. More... | |
css::uno::Reference< css::linguistic2::XHyphenatedWord > | Hyphenate (SwPaM *pPam, const Point &rCursorPos, sal_uInt16 *pPageCnt, sal_uInt16 *pPageSt) |
bool | IsInsOnlyTextGlossary () const |
void | Summary (SwDoc &rExtDoc, sal_uInt8 nLevel, sal_uInt8 nPara, bool bImpress) |
void | ChangeAuthorityData (const SwAuthEntry *pNewData) |
bool | IsInHeaderFooter (const SwNode &) const |
SvxFrameDirection | GetTextDirection (const SwPosition &rPos, const Point *pPt=nullptr) const |
bool | IsInVerticalText (const SwPosition &rPos) const |
void | SetDBManager (SwDBManager *pNewMgr) |
SwDBManager * | GetDBManager () const |
void | ChangeDBFields (const std::vector< OUString > &rOldNames, const OUString &rNewName) |
void | SetInitDBFields (bool b) |
void | GetAllUsedDB (std::vector< OUString > &rDBNameList, const std::vector< OUString > *pAllDBNames=nullptr) |
void | ChgDBData (const SwDBData &rNewData) |
SwDBData const & | GetDBData () |
OUString | GetUniqueGrfName (std::u16string_view rPrefix=std::u16string_view()) const |
OUString | GetUniqueOLEName () const |
OUString | GetUniqueFrameName () const |
OUString | GetUniqueShapeName () const |
OUString | GetUniqueDrawObjectName () const |
o3tl::sorted_vector< SwRootFrame * > | GetAllLayouts () |
void | SetFlyName (SwFlyFrameFormat &rFormat, const OUString &rName) |
const SwFlyFrameFormat * | FindFlyByName (const OUString &rName, SwNodeType nNdTyp=SwNodeType::NONE) const |
void | SetAllUniqueFlyNames () |
void | ResetAttrs (const SwPaM &rRg, bool bTextAttr=true, const o3tl::sorted_vector< sal_uInt16 > &rAttrs=o3tl::sorted_vector< sal_uInt16 >(), const bool bSendDataChangedEvents=true, SwRootFrame const *pLayout=nullptr) |
Reset attributes. More... | |
void | RstTextAttrs (const SwPaM &rRg, bool bInclRefToxMark=false, bool bExactRange=false, SwRootFrame const *pLayout=nullptr) |
void | SetAttr (const SfxPoolItem &, SwFormat &) |
Set attribute in given format.1y If Undo is enabled, the old values is added to the Undo history. More... | |
void | SetAttr (const SfxItemSet &, SwFormat &) |
Set attribute in given format.1y If Undo is enabled, the old values is added to the Undo history. More... | |
void | ResetAttrAtFormat (const std::vector< sal_uInt16 > &rIds, SwFormat &rChangedFormat) |
void | SetDefault (const SfxPoolItem &) |
Set attribute as new default attribute in current document. More... | |
void | SetDefault (const SfxItemSet &) |
const SfxPoolItem & | GetDefault (sal_uInt16 nFormatHint) const |
Get the default attribute in this document. More... | |
template<class T > | |
const T & | GetDefault (TypedWhichId< T > nWhich) const |
bool | DontExpandFormat (const SwPosition &rPos, bool bFlag=true) |
const sw::FrameFormats< SwFrameFormat * > * | GetFrameFormats () const |
sw::FrameFormats< SwFrameFormat * > * | GetFrameFormats () |
const SwCharFormats * | GetCharFormats () const |
SwCharFormats * | GetCharFormats () |
const sw::FrameFormats< sw::SpzFrameFormat * > * | GetSpzFrameFormats () const |
sw::FrameFormats< sw::SpzFrameFormat * > * | GetSpzFrameFormats () |
const SwFrameFormat * | GetDfltFrameFormat () const |
SwFrameFormat * | GetDfltFrameFormat () |
const SwFrameFormat * | GetEmptyPageFormat () const |
SwFrameFormat * | GetEmptyPageFormat () |
const SwFrameFormat * | GetColumnContFormat () const |
SwFrameFormat * | GetColumnContFormat () |
const SwCharFormat * | GetDfltCharFormat () const |
SwCharFormat * | GetDfltCharFormat () |
IStyleAccess & | GetIStyleAccess () |
void | RemoveAllFormatLanguageDependencies () |
SwFrameFormat * | MakeFrameFormat (const OUString &rFormatName, SwFrameFormat *pDerivedFrom, bool bBroadcast=false, bool bAuto=true) |
void | DelFrameFormat (SwFrameFormat *pFormat, bool bBroadcast=false) |
SwFrameFormat * | FindFrameFormatByName (const OUString &rName) const |
SwCharFormat * | MakeCharFormat (const OUString &rFormatName, SwCharFormat *pDerivedFrom, bool bBroadcast=false) |
void | DelCharFormat (size_t nFormat, bool bBroadcast=false) |
Delete the formats. More... | |
void | DelCharFormat (SwCharFormat const *pFormat, bool bBroadcast=false) |
SwCharFormat * | FindCharFormatByName (const OUString &rName) const |
const SwTextFormatColl * | GetDfltTextFormatColl () const |
SwTextFormatColl * | GetDfltTextFormatColl () |
const SwTextFormatColls * | GetTextFormatColls () const |
SwTextFormatColls * | GetTextFormatColls () |
SwTextFormatColl * | MakeTextFormatColl (const OUString &rFormatName, SwTextFormatColl *pDerivedFrom, bool bBroadcast=false) |
Create the FormatCollections. More... | |
SwConditionTextFormatColl * | MakeCondTextFormatColl (const OUString &rFormatName, SwTextFormatColl *pDerivedFrom, bool bBroadcast=false) |
void | DelTextFormatColl (size_t nFormat, bool bBroadcast=false) |
void | DelTextFormatColl (SwTextFormatColl const *pColl, bool bBroadcast=false) |
bool | SetTextFormatColl (const SwPaM &rRg, SwTextFormatColl *pFormat, const bool bReset=true, const bool bResetListAttrs=false, SwRootFrame const *pLayout=nullptr) |
Add 4th optional parameter <bResetListAttrs>. More... | |
SwTextFormatColl * | FindTextFormatCollByName (const OUString &rName) const |
void | ChkCondColls () |
const SwGrfFormatColl * | GetDfltGrfFormatColl () const |
SwGrfFormatColl * | GetDfltGrfFormatColl () |
const SwGrfFormatColls * | GetGrfFormatColls () const |
SwGrfFormatColl * | MakeGrfFormatColl (const OUString &rFormatName, SwGrfFormatColl *pDerivedFrom) |
const sw::TableFrameFormats * | GetTableFrameFormats () const |
sw::TableFrameFormats * | GetTableFrameFormats () |
size_t | GetTableFrameFormatCount (bool bUsed) const |
SwTableFormat & | GetTableFrameFormat (size_t nFormat, bool bUsed) const |
SwTableFormat * | MakeTableFrameFormat (const OUString &rFormatName, SwFrameFormat *pDerivedFrom) |
void | DelTableFrameFormat (SwTableFormat *pFormat) |
SwTableFormat * | FindTableFormatByName (const OUString &rName, bool bAll=false) const |
size_t | GetFlyCount (FlyCntType eType, bool bIgnoreTextBoxes=false) const |
Access to frames. More... | |
SwFrameFormat * | GetFlyNum (size_t nIdx, FlyCntType eType, bool bIgnoreTextBoxes=false) |
std::vector< SwFrameFormat const * > | GetFlyFrameFormats (FlyCntType eType, bool bIgnoreTextBoxes) |
SwFrameFormat * | CopyFrameFormat (const SwFrameFormat &) |
copy the frame format More... | |
SwCharFormat * | CopyCharFormat (const SwCharFormat &) |
copy the char format More... | |
SwTextFormatColl * | CopyTextColl (const SwTextFormatColl &rColl) |
copy TextNodes More... | |
SwGrfFormatColl * | CopyGrfColl (const SwGrfFormatColl &rColl) |
copy the graphic nodes More... | |
void | ReplaceStyles (const SwDoc &rSource, bool bIncludePageStyles=true) |
void | ReplaceDefaults (const SwDoc &rSource) |
void | ReplaceCompatibilityOptions (const SwDoc &rSource) |
void | ReplaceUserDefinedDocumentProperties (const css::uno::Reference< css::document::XDocumentProperties > &xSourceDocProps) |
Replace all user defined document properties with xSourceDocProps. More... | |
void | ReplaceDocumentProperties (const SwDoc &rSource, bool mailMerge=false) |
Replace document properties with those from rSource. More... | |
bool | IsUsed (const sw::BroadcastingModify &) const |
bool | IsUsed (const SwTableAutoFormat &) const |
Query if table style is used. More... | |
bool | IsUsed (const SwNumRule &) const |
size_t | SetDocPattern (const OUString &rPatternName) |
const OUString * | GetDocPattern (size_t nPos) const |
bool | InsertGlossary (SwTextBlocks &rBlock, const OUString &rEntry, SwPaM &rPaM, SwCursorShell *pShell=nullptr) |
inserts an AutoText block More... | |
size_t | GetPageDescCnt () const |
const SwPageDesc & | GetPageDesc (const size_t i) const |
SwPageDesc & | GetPageDesc (size_t const i) |
SwPageDesc * | FindPageDesc (const OUString &rName, size_t *pPos=nullptr) const |
bool | ContainsPageDesc (const SwPageDesc *pDesc, size_t *pPos) const |
void | CopyPageDesc (const SwPageDesc &rSrcDesc, SwPageDesc &rDstDesc, bool bCopyPoolIds=true) |
Copy the complete PageDesc - beyond document and "deep"! Optionally copying of PoolFormatId, -HlpId can be prevented. More... | |
void | CopyHeader (const SwFrameFormat &rSrcFormat, SwFrameFormat &rDestFormat) |
Copy header (with contents) from SrcFormat to DestFormat (can also be copied into other document). More... | |
void | CopyFooter (const SwFrameFormat &rSrcFormat, SwFrameFormat &rDestFormat) |
Copy footer (with contents) from SrcFormat to DestFormat. More... | |
void | ChgPageDesc (const OUString &rName, const SwPageDesc &) |
void | ChgPageDesc (size_t i, const SwPageDesc &) |
void | DelPageDesc (const OUString &rName, bool bBroadcast=false) |
void | DelPageDesc (size_t i, bool bBroadcast=false) |
void | PreDelPageDesc (SwPageDesc const *pDel) |
All descriptors whose Follow point to the to-be-deleted have to be adapted. More... | |
SwPageDesc * | MakePageDesc (const OUString &rName, const SwPageDesc *pCpy=nullptr, bool bRegardLanguage=true, bool bBroadcast=false) |
void | BroadcastStyleOperation (const OUString &rName, SfxStyleFamily eFamily, SfxHintId nOp) |
void | CheckDefaultPageFormat () |
The html import sometimes overwrites the page sizes set in the page descriptions. More... | |
void | DeleteTOXMark (const SwTOXMark *pTOXMark) |
Delete table of contents Mark. More... | |
const SwTOXMark & | GotoTOXMark (const SwTOXMark &rCurTOXMark, SwTOXSearch eDir, bool bInReadOnly) |
SwTOXBaseSection * | InsertTableOf (const SwPosition &rPos, const SwTOXBase &rTOX, const SfxItemSet *pSet=nullptr, bool bExpand=false, SwRootFrame const *pLayout=nullptr) |
SwTOXBaseSection * | InsertTableOf (const SwPaM &aPam, const SwTOXBase &rTOX, const SfxItemSet *pSet=nullptr, bool bExpand=false, SwRootFrame const *pLayout=nullptr) |
void | InsertTableOf (SwNodeOffset nSttNd, SwNodeOffset nEndNd, const SwTOXBase &rTOX, const SfxItemSet *pSet) |
bool | DeleteTOX (const SwTOXBase &rTOXBase, bool bDelNodes) |
Delete table of contents. More... | |
OUString | GetUniqueTOXBaseName (const SwTOXType &rType, const OUString &sChkStr) const |
bool | SetTOXBaseName (const SwTOXBase &rTOXBase, const OUString &rName) |
void | SetUpdateTOX (bool bFlag) |
bool | IsUpdateTOX () const |
const OUString & | GetTOIAutoMarkURL () const |
void | SetTOIAutoMarkURL (const OUString &rSet) |
bool | IsInReading () const |
void | SetInReading (bool bNew) |
bool | IsInWriting () const |
void | SetInWriting (bool bNew) |
bool | IsInMailMerge () const |
void | SetInMailMerge (bool bNew) |
bool | IsClipBoard () const |
void | SetClipBoard (bool bNew) |
bool | IsColumnSelection () const |
void | SetColumnSelection (bool bNew) |
bool | IsInXMLImport () const |
void | SetInXMLImport (bool bNew) |
bool | IsInWriterfilterImport () const |
void | SetInWriterfilterImport (bool const b) |
sal_uInt16 | GetTOXTypeCount (TOXTypes eTyp) const |
Manage table of content types. More... | |
const SwTOXType * | GetTOXType (TOXTypes eTyp, sal_uInt16 nId) const |
const SwTOXType * | InsertTOXType (const SwTOXType &rTyp) |
const SwTOXTypes & | GetTOXTypes () const |
const SwTOXBase * | GetDefaultTOXBase (TOXTypes eTyp, bool bCreate) |
void | SetDefaultTOXBase (const SwTOXBase &rBase) |
void | GetTOIKeys (SwTOIKeyType eTyp, std::vector< OUString > &rArr, SwRootFrame const &rLayout) const |
bool | SortTable (const SwSelBoxes &rBoxes, const SwSortOptions &) |
Sort Table in the Document. More... | |
bool | SortText (const SwPaM &, const SwSortOptions &) |
Sort Text in the Document. More... | |
void | CorrAbs (const SwNode &rOldNode, const SwPosition &rNewPos, const sal_Int32 nOffset=0, bool bMoveCursor=false) |
void | CorrRel (const SwNode &rOldNode, const SwPosition &rNewPos, const sal_Int32 nOffset=0, bool bMoveCursor=false) |
SwNumRule * | GetOutlineNumRule () const |
void | SetOutlineNumRule (const SwNumRule &rRule) |
void | PropagateOutlineRule () |
bool | OutlineUpDown (const SwPaM &rPam, short nOffset, SwRootFrame const *pLayout=nullptr) |
bool | MoveOutlinePara (const SwPaM &rPam, SwOutlineNodes::difference_type nOffset) |
Outline - move up / move down. More... | |
bool | GotoOutline (SwPosition &rPos, const OUString &rName, SwRootFrame const *=nullptr) const |
OUString | SetNumRule (const SwPaM &, const SwNumRule &, bool bCreateNewList, SwRootFrame const *pLayout=nullptr, const OUString &sContinuedListId=OUString(), bool bSetItem=true, const bool bResetIndentAttrs=false) |
Accept changes of outline styles for OutlineRule. More... | |
void | SetCounted (const SwPaM &, bool bCounted, SwRootFrame const *pLayout) |
void | MakeUniqueNumRules (const SwPaM &rPaM) |
void | SetNumRuleStart (const SwPosition &rPos, bool bFlag=true) |
void | SetNodeNumStart (const SwPosition &rPos, sal_uInt16 nStt) |
const SwNumRuleTable & | GetNumRuleTable () const |
void | AddNumRule (SwNumRule *pRule) |
Add numbering rule to document. More... | |
sal_uInt16 | MakeNumRule (const OUString &rName, const SwNumRule *pCpy=nullptr, bool bBroadcast=false, const SvxNumberFormat::SvxNumPositionAndSpaceMode eDefaultNumberFormatPositionAndSpaceMode=SvxNumberFormat::LABEL_WIDTH_AND_POSITION) |
sal_uInt16 | FindNumRule (std::u16string_view rName) const |
SwNumRule * | FindNumRulePtr (const OUString &rName) const |
bool | RenameNumRule (const OUString &aOldName, const OUString &aNewName, bool bBroadcast=false) |
bool | DelNumRule (const OUString &rName, bool bBroadCast=false) |
OUString | GetUniqueNumRuleName (const OUString *pChkStr=nullptr, bool bAutoNum=true) const |
void | UpdateNumRule () |
void | ChgNumRuleFormats (const SwNumRule &rRule) |
void | ReplaceNumRule (const SwPosition &rPos, const OUString &rOldRule, const OUString &rNewRule) |
const SwNumRule * | SearchNumRule (const SwPosition &rPos, const bool bForward, const bool bNum, const bool bOutline, int nNonEmptyAllowed, OUString &sListId, SwRootFrame const *pLayout, const bool bInvestigateStartNode=false) |
Searches for a text node with a numbering rule. More... | |
bool | NoNum (const SwPaM &) |
void | DelNumRules (const SwPaM &, SwRootFrame const *pLayout=nullptr) |
void | InvalidateNumRules () |
bool | NumUpDown (const SwPaM &, bool bDown, SwRootFrame const *pLayout=nullptr) |
bool | MoveParagraph (SwPaM &, SwNodeOffset nOffset, bool bIsOutlMv=false) |
Move selected paragraphs (not only numberings) according to offsets. More... | |
bool | MoveParagraphImpl (SwPaM &, SwNodeOffset nOffset, bool bIsOutlMv, SwRootFrame const *) |
bool | NumOrNoNum (SwNode &rIdx, bool bDel=false) |
void | StopNumRuleAnimations (const OutputDevice *) |
const SwTable * | InsertTable (const SwInsertTableOptions &rInsTableOpts, const SwPosition &rPos, sal_uInt16 nRows, sal_uInt16 nCols, sal_Int16 eAdjust, const SwTableAutoFormat *pTAFormat=nullptr, const std::vector< sal_uInt16 > *pColArr=nullptr, bool bCalledFromShell=false, bool bNewModel=true, const OUString &rTableName={}) |
Insert new table at position. More... | |
const SwTable * | TextToTable (const SwInsertTableOptions &rInsTableOpts, const SwPaM &rRange, sal_Unicode cCh, sal_Int16 eAdjust, const SwTableAutoFormat *) |
Text to Table. More... | |
const SwTable * | TextToTable (const std::vector< std::vector< SwNodeRange > > &rTableNodes) |
bool | TableToText (const SwTableNode *pTableNd, sal_Unicode cCh) |
Table to Text. More... | |
void | InsertCol (const SwCursor &rCursor, sal_uInt16 nCnt=1, bool bBehind=true) |
Inserting Columns/Rows. More... | |
bool | InsertCol (const SwSelBoxes &rBoxes, sal_uInt16 nCnt=1, bool bBehind=true) |
void | InsertRow (const SwCursor &rCursor, sal_uInt16 nCnt=1, bool bBehind=true) |
bool | InsertRow (const SwSelBoxes &rBoxes, sal_uInt16 nCnt=1, bool bBehind=true) |
void | DelTable (SwTableNode *pTable) |
bool | DeleteRowCol (const SwSelBoxes &rBoxes, RowColMode eMode=RowColMode::DeleteRow) |
void | DeleteRow (const SwCursor &rCursor) |
Deleting Columns/Rows. More... | |
void | DeleteCol (const SwCursor &rCursor) |
bool | SplitTable (const SwSelBoxes &rBoxes, bool bVert, sal_uInt16 nCnt, bool bSameHeight=false) |
Split up/merge Boxes in the Table. More... | |
TableMergeErr | MergeTable (SwPaM &rPam) |
OUString | GetUniqueTableName () const |
bool | IsInsTableFormatNum () const |
bool | IsInsTableChangeNumFormat () const |
bool | IsInsTableAlignNum () const |
bool | IsSplitVerticalByDefault () const |
void | SetSplitVerticalByDefault (bool value) |
void | SetTabCols (const SwTabCols &rNew, bool bCurRowOnly, const SwCellFrame *pBoxFrame) |
void | SetTabRows (const SwTabCols &rNew, bool bCurColOnly, const SwCellFrame *pBoxFrame) |
void | SetTabCols (SwTable &rTab, const SwTabCols &rNew, const SwTabCols &rOld, const SwTableBox *pStart, bool bCurRowOnly) |
Direct access for UNO. More... | |
void | SetRowsToRepeat (SwTable &rTable, sal_uInt16 nSet) |
bool | SetTableAutoFormat (const SwSelBoxes &rBoxes, const SwTableAutoFormat &rNew, bool bResetDirect=false, bool isSetStyleName=false) |
AutoFormat for table/table selection. More... | |
bool | GetTableAutoFormat (const SwSelBoxes &rBoxes, SwTableAutoFormat &rGet) |
Find out who has the Attributes. More... | |
SwTableAutoFormatTable & | GetTableStyles () |
Return the available table styles. More... | |
const SwTableAutoFormatTable & | GetTableStyles () const |
bool | HasTableStyles () const |
Counts table styles without triggering lazy-load of them. More... | |
SwTableAutoFormat * | MakeTableStyle (const OUString &rName, bool bBroadcast=false) |
std::unique_ptr< SwTableAutoFormat > | DelTableStyle (const OUString &rName, bool bBroadcast=false) |
void | ChgTableStyle (const OUString &rName, const SwTableAutoFormat &rNewFormat) |
const SwCellStyleTable & | GetCellStyles () const |
SwCellStyleTable & | GetCellStyles () |
void | AppendUndoForInsertFromDB (const SwPaM &rPam, bool bIsTable) |
Set up the InsertDB as Undo table. More... | |
void | SetColRowWidthHeight (SwTableBox &rCurrentBox, TableChgWidthHeightType eType, SwTwips nAbsDiff, SwTwips nRelDiff) |
SwTableBoxFormat * | MakeTableBoxFormat () |
SwTableLineFormat * | MakeTableLineFormat () |
bool | IsNumberFormat (const OUString &aString, sal_uInt32 &F_Index, double &fOutNumber) |
void | ChkBoxNumFormat (SwTableBox &rCurrentBox, bool bCallUpdate) |
void | SetTableBoxFormulaAttrs (SwTableBox &rBox, const SfxItemSet &rSet) |
void | ClearBoxNumAttrs (SwNode &rNode) |
void | ClearLineNumAttrs (SwPosition const &rPos) |
bool | InsCopyOfTable (SwPosition &rInsPos, const SwSelBoxes &rBoxes, const SwTable *pCpyTable, bool bCpyName=false, bool bCorrPos=false, const OUString &rStyleName="") |
Copies a Table from the same or another Doc into itself We create a new Table or an existing one is filled with the Content. More... | |
void | UnProtectCells (const OUString &rTableName) |
bool | UnProtectCells (const SwSelBoxes &rBoxes) |
void | UnProtectTables (const SwPaM &rPam) |
bool | HasTableAnyProtection (const SwPosition *pPos, const OUString *pTableName, bool *pFullTableProtection) |
void | SplitTable (const SwPosition &rPos, SplitTable_HeadlineOption eMode, bool bCalcNewSize) |
Splits a Table in the top-level Line which contains the Index. More... | |
bool | MergeTable (const SwPosition &rPos, bool bWithPrev) |
And vice versa: rPos must be in the table that remains. More... | |
void | UpdateCharts (const OUString &rName) const |
void | UpdateAllCharts () |
void | SetTableName (SwFrameFormat &rTableFormat, const OUString &rNewName) |
const SwFormatRefMark * | GetRefMark (std::u16string_view rName) const |
const SwFormatRefMark * | GetRefMark (sal_uInt16 nIndex) const |
sal_uInt16 | GetRefMarks (std::vector< OUString > *=nullptr) const |
void | DeleteFormatRefMark (const SwFormatRefMark *pFormatRefMark) |
SwFlyFrameFormat * | InsertLabel (const SwLabelType eType, const OUString &rText, const OUString &rSeparator, const OUString &rNumberingSeparator, const bool bBefore, const sal_uInt16 nId, const SwNodeOffset nIdx, const OUString &rCharacterStyle, const bool bCpyBrd) |
SwFlyFrameFormat * | InsertDrawLabel (const OUString &rText, const OUString &rSeparator, const OUString &rNumberSeparator, const sal_uInt16 nId, const OUString &rCharacterStyle, SdrObject &rObj) |
const SwAttrPool & | GetAttrPool () const |
SwAttrPool & | GetAttrPool () |
SwEditShell const * | GetEditShell () const |
SwEditShell * | GetEditShell () |
::sw::IShellCursorSupplier * | GetIShellCursorSupplier () |
void | SetOle2Link (const Link< bool, void > &rLink) |
const Link< bool, void > & | GetOle2Link () const |
SwSection * | InsertSwSection (SwPaM const &rRange, SwSectionData &, std::tuple< SwTOXBase const *, sw::RedlineMode, sw::FieldmarkMode, sw::ParagraphBreakMode > const *pTOXBase, SfxItemSet const *const pAttr, bool const bUpdate=true) |
SwSectionFormats & | GetSections () |
const SwSectionFormats & | GetSections () const |
SwSectionFormat * | MakeSectionFormat () |
void | DelSectionFormat (SwSectionFormat *pFormat, bool bDelNodes=false) |
void | UpdateSection (size_t const nSect, SwSectionData &, SfxItemSet const *const =nullptr, bool const bPreventLinkUpdate=false) |
OUString | GetUniqueSectionName (const OUString *pChkStr=nullptr) const |
SwDocShell * | GetDocShell () |
const SwDocShell * | GetDocShell () const |
void | SetDocShell (SwDocShell *pDSh) |
void | SetTmpDocShell (SfxObjectShellLock rLock) |
in case during copying of embedded object a new shell is created, it should be set here and cleaned later More... | |
const SfxObjectShellLock & | GetTmpDocShell () const |
SfxObjectShell * | GetPersist () const |
css::uno::Reference< css::embed::XStorage > | GetDocStorage () |
bool | IsInLoadAsynchron () const |
void | SetInLoadAsynchron (bool bFlag) |
bool | IsCopyIsMove () const |
void | SetCopyIsMove (bool bFlag) |
SwDrawContact * | GroupSelection (SdrView &) |
void | UnGroupSelection (SdrView &) |
bool | DeleteSelection (SwDrawView &) |
void | SpellItAgainSam (bool bInvalid, bool bOnlyWrong, bool bSmartTags) |
Re-trigger spelling in the idle handler. More... | |
void | InvalidateAutoCompleteFlag () |
void | SetCalcFieldValueHdl (Outliner *pOutliner) |
In the Outliner, set a link to the method for field display in edit objects. More... | |
bool | IsVisitedURL (std::u16string_view rURL) |
void | SetAutoCorrExceptWord (std::unique_ptr< SwAutoCorrExceptWord > pNew) |
SwAutoCorrExceptWord * | GetAutoCorrExceptWord () |
void | DeleteAutoCorrExceptWord () |
const SwFormatINetFormat * | FindINetAttr (std::u16string_view rName) const |
void | ExecMacro (const SvxMacro &rMacro, OUString *pRet, SbxArray *pArgs) |
sal_uInt16 | CallEvent (SvMacroItemId nEvent, const SwCallMouseEvent &rCallEvent, bool bChkPtr=false) |
void | MoveLeftMargin (const SwPaM &rPam, bool bRight, bool bModulus, SwRootFrame const *pLayout=nullptr) |
Adjust left margin via object bar (similar to adjustment of numerations). More... | |
SvNumberFormatter * | GetNumberFormatter (bool bCreate=true) |
const SvNumberFormatter * | GetNumberFormatter (bool bCreate=true) const |
bool | HasInvisibleContent () const |
bool | RemoveInvisibleContent () |
Remove the invisible content from the document e.g. hidden areas, hidden paragraphs. More... | |
bool | RestoreInvisibleContent () |
bool | ConvertFieldsToText (SwRootFrame const &rLayout) |
bool | GenerateGlobalDoc (const OUString &rPath, const SwTextFormatColl *pSplitColl) |
bool | GenerateGlobalDoc (const OUString &rPath, int nOutlineLevel) |
bool | GenerateHTMLDoc (const OUString &rPath, const SwTextFormatColl *pSplitColl) |
bool | GenerateHTMLDoc (const OUString &rPath, int nOutlineLevel) |
tools::Long | CompareDoc (const SwDoc &rDoc) |
tools::Long | MergeDoc (const SwDoc &rDoc) |
Merge two documents. More... | |
bool | IsAutoFormatRedline () const |
void | SetAutoFormatRedline (bool bFlag) |
void | SetTextFormatCollByAutoFormat (const SwPosition &rPos, sal_uInt16 nPoolId, const SfxItemSet *pSet) |
void | SetFormatItemByAutoFormat (const SwPaM &rPam, const SfxItemSet &) |
void | ClearDoc () |
const SwPagePreviewPrtData * | GetPreviewPrtData () const |
void | SetPreviewPrtData (const SwPagePreviewPrtData *pData) |
void | SetOLEObjModified () |
update all modified OLE-Objects. More... | |
std::shared_ptr< SwUnoCursor > | CreateUnoCursor (const SwPosition &rPos, bool bTableCursor=false) |
bool | ChgAnchor (const SdrMarkList &_rMrkList, RndStdIds _eAnchorType, const bool _bSameOnly, const bool _bPosCorr) |
void | SetRowHeight (const SwCursor &rCursor, const SwFormatFrameSize &rNew) |
void | SetRowSplit (const SwCursor &rCursor, const SwFormatRowSplit &rNew) |
bool | BalanceRowHeight (const SwCursor &rCursor, bool bTstOnly, const bool bOptimize) |
Adjustment of Rowheights. More... | |
void | SetRowBackground (const SwCursor &rCursor, const SvxBrushItem &rNew) |
void | SetRowNotTracked (const SwCursor &rCursor, const SvxPrintItem &rNotTracked, bool bAll=false, bool bIns=false) |
rNotTracked = false means that the row was deleted or inserted with its tracked cell content bAll: delete all table rows without selection bIns: insert table row More... | |
void | SetTabBorders (const SwCursor &rCursor, const SfxItemSet &rSet) |
void | SetTabLineStyle (const SwCursor &rCursor, const Color *pColor, bool bSetLine, const editeng::SvxBorderLine *pBorderLine) |
void | SetBoxAttr (const SwCursor &rCursor, const SfxPoolItem &rNew) |
void | SetBoxAlign (const SwCursor &rCursor, sal_uInt16 nAlign) |
void | AdjustCellWidth (const SwCursor &rCursor, const bool bBalance, const bool bNoShrink) |
Adjusts selected cell widths in such a way, that their content does not need to be wrapped (if possible). More... | |
SwChainRet | Chainable (const SwFrameFormat &rSource, const SwFrameFormat &rDest) |
SwChainRet | Chain (SwFrameFormat &rSource, const SwFrameFormat &rDest) |
void | Unchain (SwFrameFormat &rFormat) |
rtl::Reference< SdrObject > | CloneSdrObj (const SdrObject &, bool bMoveWithinDoc=false, bool bInsInPage=true) |
SwExtTextInput * | CreateExtTextInput (const SwPaM &rPam) |
void | DeleteExtTextInput (SwExtTextInput *pDel) |
SwExtTextInput * | GetExtTextInput (const SwNode &rNd, sal_Int32 nContentPos=-1) const |
SwExtTextInput * | GetExtTextInput () const |
bool | ContainsMSVBasic () const |
void | SetContainsMSVBasic (bool bFlag) |
void | SetRubyList (const SwPaM &rPam, const SwRubyList &rList) |
void | ReadLayoutCache (SvStream &rStream) |
SwDoc: Reading and writing of the layout cache. More... | |
void | WriteLayoutCache (SvStream &rStream) |
SwLayoutCache * | GetLayoutCache () const |
bool | ContainsHiddenChars () const |
Checks if any of the text node contains hidden characters. More... | |
std::unique_ptr< sw::GrammarContact > const & | getGrammarContact () const |
std::unique_ptr< sw::OnlineAccessibilityCheck > const & | getOnlineAccessibilityCheck () const |
void | MarkListLevel (const OUString &sListId, const int nListLevel, const bool bValue) |
Marks/Unmarks a list level of a certain list. More... | |
void | ChgFormat (SwFormat &rFormat, const SfxItemSet &rSet) |
void | RenameFormat (SwFormat &rFormat, const OUString &sNewName, bool bBroadcast=false) |
void | ChangeTOX (SwTOXBase &rTOX, const SwTOXBase &rNew) |
const css::uno::Reference< css::container::XNameContainer > & | getXForms () const |
css::uno::Reference< css::linguistic2::XProofreadingIterator > const & | GetGCIterator () const |
bool | isXForms () const |
void | initXForms (bool bCreateDefaultModel) |
void | disposeXForms () |
void | SetDefaultPageMode (bool bSquaredPageMode) |
bool | IsSquaredPageMode () const |
const css::uno::Reference< ooo::vba::word::XFind > & | getVbaFind () const |
void | setVbaFind (const css::uno::Reference< ooo::vba::word::XFind > &xFind) |
css::uno::Reference< css::script::vba::XVBAEventProcessor > const & | GetVbaEventProcessor () |
void | SetVbaEventProcessor () |
void | SetVBATemplateToProjectCache (css::uno::Reference< css::container::XNameContainer > const &xCache) |
const css::uno::Reference< css::container::XNameContainer > & | GetVBATemplateToProjectCache () const |
::sfx2::IXmlIdRegistry & | GetXmlIdRegistry () |
::sw::MetaFieldManager & | GetMetaFieldManager () |
::SwContentControlManager & | GetContentControlManager () |
::sw::UndoManager & | GetUndoManager () |
::sw::UndoManager const & | GetUndoManager () const |
SfxObjectShell * | CreateCopy (bool bCallInitNew, bool bEmpty) const |
SwNodeIndex | AppendDoc (const SwDoc &rSource, sal_uInt16 nStartPageNumber, bool bDeletePrevious, int physicalPageOffset, const sal_uLong nDocNo) |
void | dumpAsXml (xmlTextWriterPtr=nullptr) const |
Dumps the entire nodes structure to the given destination (file nodes.xml in the current directory by default) More... | |
std::set< Color > | GetDocColors () |
void | cleanupUnoCursorTable () const |
bool | StartGrammarChecking (bool bSkipStart=false) |
void | SetMissingDictionaries (bool bIsMissing) |
Use to notify if the dictionary can be found for a single content portion (has to be called for all portions) More... | |
bool | IsDictionaryMissing () const |
Returns true if no dictionary can be found for any content. More... | |
void | SetLanguage (const LanguageType eLang, const sal_uInt16 nId) |
Static Public Member Functions | |
static void | CountWords (const SwPaM &rPaM, SwDocStat &rStat) |
static void | GetGrfNms (const SwFlyFrameFormat &rFormat, OUString *pGrfName, OUString *pFltName) |
static void | CalculatePagesForPrinting (const SwRootFrame &rLayout, SwRenderData &rData, const SwPrintUIOptions &rOptions, bool bIsPDFExport, sal_Int32 nDocPageCount) |
get the set of printable pages for the XRenderable API by evaluating the respective settings (see implementation) More... | |
static void | UpdatePagesForPrintingWithPostItData (SwRenderData &rData, const SwPrintUIOptions &rOptions, sal_Int32 nDocPageCount) |
static void | CalculatePagePairsForProspectPrinting (const SwRootFrame &rLayout, SwRenderData &rData, const SwPrintUIOptions &rOptions, sal_Int32 nDocPageCount) |
static void | CalculateNonBlankPages (const SwRootFrame &rLayout, sal_uInt16 &nDocPageCount, sal_uInt16 &nActualPage) |
static sal_uInt16 | GetCurTOXMark (const SwPosition &rPos, SwTOXMarks &) |
Get current table of contents Mark. More... | |
static SwTOXBase * | GetCurTOX (const SwPosition &rPos) |
Get current table of contents. More... | |
static const SwAttrSet & | GetTOXBaseAttrSet (const SwTOXBase &rTOX) |
static void | CorrAbs (const SwNodeIndex &rStartNode, const SwNodeIndex &rEndNode, const SwPosition &rNewPos, bool bMoveCursor=false) |
static void | CorrAbs (const SwPaM &rRange, const SwPosition &rNewPos, bool bMoveCursor=false) |
static SwNumRule * | GetNumRuleAtPos (SwPosition &rPos, SwRootFrame const *pLayout=nullptr) |
static bool | GotoNextNum (SwPosition &, SwRootFrame const *pLayout, bool bOverUpper=true, sal_uInt8 *pUpper=nullptr, sal_uInt8 *pLower=nullptr) |
static bool | GotoPrevNum (SwPosition &, SwRootFrame const *pLayout, bool bOverUpper=true) |
static SwTableNode * | IsIdxInTable (const SwNodeIndex &rIdx) |
static SwTableNode * | IsInTable (const SwNode &) |
static void | GetTabCols (SwTabCols &rFill, const SwCellFrame *pBoxFrame) |
static void | GetTabRows (SwTabCols &rFill, const SwCellFrame *pBoxFrame) |
static sal_uInt16 | IsInsRegionAvailable (const SwPaM &rRange, const SwNode **ppSttNd=nullptr) |
static SwSection * | GetCurrSection (const SwPosition &rPos) |
static std::unique_ptr< SwFormatFrameSize > | GetRowHeight (const SwCursor &rCursor) |
static std::unique_ptr< SwFormatRowSplit > | GetRowSplit (const SwCursor &rCursor) |
static bool | GetRowBackground (const SwCursor &rCursor, std::unique_ptr< SvxBrushItem > &rToFill) |
static bool | HasRowNotTracked (const SwCursor &rCursor) |
don't call SetRowNotTracked() for rows with tracked row change More... | |
static void | GetTabBorders (const SwCursor &rCursor, SfxItemSet &rSet) |
static bool | GetBoxAttr (const SwCursor &rCursor, std::unique_ptr< SfxPoolItem > &rToFill) |
Retrieves a box attribute from the given cursor. More... | |
static sal_uInt16 | GetBoxAlign (const SwCursor &rCursor) |
static SwAutoCompleteWord & | GetAutoCompleteWords () |
static sal_uInt16 | FillRubyList (const SwPaM &rPam, SwRubyList &rList) |
static OUString | GetPaMDescr (const SwPaM &rPaM) |
Returns a textual description of a PaM. More... | |
static bool | IsFirstOfNumRuleAtPos (const SwPosition &rPos, SwRootFrame const &rLayout) |
static bool | HasParagraphDirectFormatting (const SwPosition &rPos) |
Public Attributes | |
DocumentType | meDocType |
std::vector< std::weak_ptr< SwUnoCursor > > | mvUnoCursorTable |
Private Types | |
enum | MissingDictionary { False = -1 , Undefined = 0 , True = 1 } |
typedef SwFormat *(SwDoc::* | FNCopyFormat) (const OUString &, SwFormat *, bool, bool) |
Private Member Functions | |
SwFlyFrameFormat * | MakeFlySection_ (const SwPosition &rAnchPos, const SwContentNode &rNode, RndStdIds eRequestId, const SfxItemSet *pFlyAttrSet, SwFrameFormat *) |
sal_Int8 | SetFlyFrameAnchor (SwFrameFormat &rFlyFormat, SfxItemSet &rSet, bool bNewFrames) |
SwFormat * | CopyFormat (const SwFormat &rFormat, const SwFormatsBase &rFormatArr, FNCopyFormat fnCopyFormat, const SwFormat &rDfltFormat) |
Copy the formats to itself. More... | |
void | CopyFormatArr (const SwFormatsBase &rSourceArr, SwFormatsBase const &rDestArr, FNCopyFormat fnCopyFormat, SwFormat &rDfltFormat) |
void | CopyPageDescHeaderFooterImpl (bool bCpyHeader, const SwFrameFormat &rSrcFormat, SwFrameFormat &rDestFormat) |
SwDoc (const SwDoc &)=delete | |
void | AddUsedDBToList (std::vector< OUString > &rDBNameList, const std::vector< OUString > &rUsedDBNames) |
void | AddUsedDBToList (std::vector< OUString > &rDBNameList, const OUString &rDBName) |
void | GetAllDBNames (std::vector< OUString > &rAllDBNames) |
void | EnsureNumberFormatter () |
bool | UnProtectTableCells (SwTable &rTable) |
bool | SplitDoc (sal_uInt16 eDocType, const OUString &rPath, bool bOutline, const SwTextFormatColl *pSplitColl, int nOutlineLevel=0) |
Create sub-documents according to the given collection. More... | |
void | UpdateCharts_ (const SwTable &rTable, SwViewShell const &rVSh) const |
void | DoUpdateAllCharts () |
DECL_DLLPRIVATE_LINK (DoUpdateModifiedOLE, Timer *, void) | |
SwFormat * | MakeTextFormatColl_ (const OUString &, SwFormat *, bool, bool) |
void | InitTOXTypes () |
sal_Int32 | acquire () |
Acquire a reference to an instance. More... | |
sal_Int32 | release () |
Releases a reference to an instance. More... | |
void | CopyMasterHeader (const SwPageDesc &rChged, const SwFormatHeader &rHead, SwPageDesc &pDesc, bool bLeft, bool bFirst) |
void | CopyMasterFooter (const SwPageDesc &rChged, const SwFormatFooter &rFoot, SwPageDesc &pDesc, bool bLeft, bool bFirst) |
Static Private Member Functions | |
static bool | IsNameInArray (const std::vector< OUString > &rOldNames, const OUString &rName) |
static OUString | ReplaceUsedDBs (const std::vector< OUString > &rUsedDBNames, const OUString &rNewName, const OUString &rFormula) |
static std::vector< OUString > & | FindUsedDBs (const std::vector< OUString > &rAllDBNames, const OUString &rFormula, std::vector< OUString > &rUsedDBNames) |
static bool | SelectNextRubyChars (SwPaM &rPam, SwRubyListEntry &rRubyEntry) |
Static Private Attributes | |
static SwAutoCompleteWord * | s_pAutoCompleteWords = nullptr |
static SwDoc * | s_pLast = nullptr |
The last, still alive SwDoc instance, for debugging. More... | |
Friends | |
class | ::sw::DocumentContentOperationsManager |
class | ::rtl::Reference< SwDoc > |
void | InitCore () |
void | FinitCore () |
enum SwDoc::DocumentType |
|
private |
|
strong |
|
privatedelete |
SwDoc::SwDoc | ( | ) |
Definition at line 203 of file docnew.cxx.
References AddNumRule(), ATT_LEFT_TO_RIGHT, createStyleManager(), SwPageDescs::empty(), Fixed, sw::proofreadingiterator::get(), GetAttrPool(), numfunc::GetDefaultPositionAndSpaceMode(), GetDocumentFieldsManager(), GetDocumentSettingManager(), getIDocumentState(), getIDocumentStylePoolAccess(), GetNodes(), SvtLinguConfig::GetOptions(), SwNumRule::GetOutlineRuleName(), IDocumentStylePoolAccess::GetPageDescFromPool(), GetUndoManager(), sw::DocumentFieldsManager::InitFieldTypes(), InitTOXTypes(), utl::ConfigManager::IsFuzzing(), LINK, m_PageDescs, m_pDBManager, m_pOwnDBManager, maOLEModifiedIdle, mnRsid, mnRsidRoot, mpCharFormatTable, mpColumnContFormat, mpDfltCharFormat, mpDfltFrameFormat, mpDfltGrfFormatColl, mpDfltTextFormatColl, mpEmptyPageFormat, mpFrameFormatTable, mpGrfFormatCollTable, mpOutlineRule, mpStyleAccess, mpTextFormatCollTable, SvtLinguOptions::nDefaultLanguage, SvtLinguOptions::nDefaultLanguage_CJK, SvtLinguOptions::nDefaultLanguage_CTL, OLD_NUMBERING, OUTLINE_RULE, RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_LANGUAGE(), RES_LR_SPACE(), RES_PARATR_LIST_BEGIN(), RES_PARATR_LIST_END(), RES_POOLCOLL_STANDARD, RES_POOLPAGE_STANDARD, RES_UL_SPACE(), IDocumentState::ResetModified(), MsLangId::resolveSystemLanguageByScriptType(), s_pLast, SwNumRule::SetCountPhantoms(), Timer::SetInvokeHandler(), SetLanguage(), Task::SetPriority(), Undefined, and comphelper::rng::uniform_uint_distribution().
Referenced by InsCopyOfTable().
SwDoc::~SwDoc | ( | ) |
Speciality: a member of the class SwDoc is located at position 0 in the array of the Format and GDI objects.
This MUST not be destroyed using 'delete' in any case!
Definition at line 401 of file docnew.cxx.
References cleanupUnoCursorTable(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::clear(), SwPageDescs::clear(), ClrContourCache(), SwNodes::Count(), SwRedlineTable::DeleteAndDestroyAll(), SwExtraRedlineTable::DeleteAndDestroyAll(), SwNodes::DelNodes(), disposeXForms(), sw::DocumentDrawModelManager::DrawNotifyUndoHdl(), GetDocumentDrawModelManager(), IDocumentRedlineAccess::GetExtraRedlineTable(), getIDocumentLinksAdministration(), getIDocumentRedlineAccess(), getIDocumentTimerAccess(), GetIDocumentUndoRedo(), IDocumentLinksAdministration::GetLinkManager(), SwPaM::GetNext(), IDocumentRedlineAccess::GetRedlineTable(), GetUndoManager(), lcl_DelFormatIndices(), lock(), SwNodes::m_aOutlineNodes, m_PageDescs, m_pDeviceAccess, m_pNodes, m_pOwnDBManager, m_pPgPViewPrtData, m_pUndoManager, maDBData, mbDtor, mNumberFormatterMutex, mpACEWord, mpAttrPool, mpCharFormatTable, mpColumnContFormat, mpDefTOXBases, mpDfltCharFormat, mpDfltFrameFormat, mpDfltGrfFormatColl, mpDfltTextFormatColl, mpDocShell, mpEmptyPageFormat, mpEndNoteInfo, mpExtInputRing, mpFootnoteIdxs, mpFootnoteInfo, mpFrameFormatTable, mpGrammarContact, mpGrfFormatCollTable, mpLayoutCache, mpLineNumberInfo, mpMarkManager, mpNumberFormatter, mpNumRuleTable, mpOnlineAccessibilityCheck, mpSectionFormatTable, mpSpzFrameFormatTable, mpStyleAccess, mpTableFrameFormatTable, mpTextFormatCollTable, mpTOXTypes, mpURLStateChgd, mvUnoCursorTable, mxVbaFind, sw::DocumentDrawModelManager::ReleaseDrawModel(), sfx2::LinkManager::Remove(), SwDBManager::RevokeDataSource(), s_pLast, SwDBData::sDataSource, SfxShell::SetUndoManager(), size, and IDocumentTimerAccess::StopIdling().
|
private |
Acquire a reference to an instance.
A caller shall release the instance by calling 'release' when it is no longer needed. 'acquire' and 'release' calls need to be balanced.
Definition at line 116 of file doc.cxx.
References mReferenceCount.
void SwDoc::AddDrawUndo | ( | std::unique_ptr< SdrUndoAction > | pUndo | ) |
Definition at line 55 of file undraw.cxx.
References IDocumentLayoutAccess::GetCurrentViewShell(), SwViewShell::GetDrawView(), getIDocumentLayoutAccess(), GetIDocumentUndoRedo(), SdrMarkView::GetMarkedObjectList(), and SwViewShell::HasDrawView().
Referenced by sw::DocumentDrawModelManager::InitDrawModel().
void SwDoc::AddNumRule | ( | SwNumRule * | pRule | ) |
Add numbering rule to document.
pRule | rule to add |
Definition at line 2474 of file docnum.cxx.
References IDocumentListsAccess::createListForListStyle(), getIDocumentListsAccess(), SwNumRule::GetName(), maNumRuleMap, mpNumRuleTable, SAL_MAX_UINT16, and SwNumRule::SetNumRuleMap().
Referenced by ClearDoc(), MakeNumRule(), SetOutlineNumRule(), and SwDoc().
|
private |
Definition at line 578 of file docfld.cxx.
References SL::aData, SwDBManager::CreateDSData(), DB_DELIM, GetAppCmpStrIgnore(), GetDBManager(), o3tl::getToken(), and sName.
|
private |
Definition at line 571 of file docfld.cxx.
References AddUsedDBToList(), and sName.
Referenced by AddUsedDBToList(), and GetAllUsedDB().
void SwDoc::AdjustCellWidth | ( | const SwCursor & | rCursor, |
const bool | bBalance, | ||
const bool | bNoShrink | ||
) |
Adjusts selected cell widths in such a way, that their content does not need to be wrapped (if possible).
bBalance evenly re-distributes the available space regardless of content or wrapping. bNoShrink keeps table size the same by distributing excess space proportionately.
Definition at line 1606 of file ndtbl1.cxx.
References SwTabCols::Count(), SwTabFrame::FindLastContentOrTable(), SwNode::FindTableNode(), SwLayoutFrame::FirstCell(), SwNode::GetContentNode(), SwTable::GetFrameFormat(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), getIDocumentState(), SwTabCols::GetLeft(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTabCols::GetRight(), SwTabCols::GetRightMax(), GetTabCols(), SwTableNode::GetTable(), SwFrame::GetUpper(), i, SwFrame::ImplFindTabFrame(), SwFrame::IsCellFrame(), lcl_CalcColValues(), lcl_GetStartEndCell(), min(), round, SwFormat::SetFormatAttr(), SwFormatHoriOrient::SetHoriOrient(), IDocumentState::SetModified(), and SetTabCols().
Referenced by SwFEShell::AdjustCellWidth().
SwNodeIndex SwDoc::AppendDoc | ( | const SwDoc & | rSource, |
sal_uInt16 | nStartPageNumber, | ||
bool | bDeletePrevious, | ||
int | physicalPageOffset, | ||
const sal_uLong | nDocNo | ||
) |
Definition at line 1023 of file docnew.cxx.
References IDocumentContentOperations::AppendTextNode(), CheckPosInFly, SfxPoolItem::Clone(), CNTNT_DOC, CNTNT_IDX, CopyAll, IDocumentLayoutAccess::CopyLayoutFormat(), CopyPageDesc(), IDocumentContentOperations::CopyRange(), DEFAULT, SwNodes::Delete(), End, SwPaM::End(), SwEditShell::EndAllAction(), SwFEShell::FindPageDescByName(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwTextNode::GetAttr(), SwFEShell::GetCurPageDesc(), SwCursorShell::GetCursor(), SwPaM::GetDoc(), GetDocShell(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), SwFormat::GetFormatAttr(), SwTable::GetFrameFormat(), getIDocumentContentOperations(), getIDocumentFieldsAccess(), getIDocumentLayoutAccess(), getIDocumentMarkAccess(), GetIDocumentUndoRedo(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwPaM::GetMarkNode(), SwPageDesc::GetName(), SwContentIndex::GetNext(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), GetNodes(), SwNode::GetNodeType(), SwFormatPageDesc::GetPageDesc(), SwFEShell::GetPageDesc(), SwFormatAnchor::GetPageNum(), SwPaM::GetPoint(), SwPaM::GetPointNode(), GetSpzFrameFormats(), SwContentNode::GetSwAttrSet(), SwTableNode::GetTable(), SwNode::GetTableNode(), SwNode::GetTextNode(), SwDocShell::GetWrtShell(), SfxItemSet::HasItem(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), IDocumentContentOperations::InsertPoolItem(), INSGLOSSARY, SwNode::IsTableNode(), SwNode::IsTextNode(), lcl_CopyFollowPageDesc(), lcl_FindUniqueName(), lcl_PageDescOrFollowContainsHeaderFooter(), IDocumentFieldsAccess::LockExpFields(), MakePageDesc(), MakeUniqueNumRules(), SwFormatPageDesc::RegisterToPageDesc(), IDocumentMarkAccess::repositionMark(), RES_PAGEDESC(), SAL_INFO, SwTextNode::SetAttr(), SwFormat::SetFormatAttr(), SwFormatPageDesc::SetNumOffset(), SwFormatAnchor::SetPageNum(), SwPaM::Start(), SwEditShell::StartAllAction(), SwCursorShell::SttEndDoc(), IDocumentFieldsAccess::UnlockExpFields(), IDocumentFieldsAccess::UpdateFields(), and UpdateParRsid().
void SwDoc::AppendUndoForInsertFromDB | ( | const SwPaM & | rPam, |
bool | bIsTable | ||
) |
Set up the InsertDB as Undo table.
Definition at line 1736 of file doc.cxx.
References SwNode::FindTableNode(), GetIDocumentUndoRedo(), SwNode::GetIndex(), SwPosition::GetNode(), SwPaM::GetPoint(), and SwPaM::HasMark().
Referenced by SwEditShell::AppendUndoForInsertFromDB().
bool SwDoc::BalanceRowHeight | ( | const SwCursor & | rCursor, |
bool | bTstOnly, | ||
const bool | bOptimize | ||
) |
Adjustment of Rowheights.
Determine via bTstOnly if more than one row is selected. bOptimize: distribute current table height, instead of using the largest row. Call again without bOptimize to ensure equal height in case some row's content didn't fit.
Definition at line 436 of file ndtbl1.cxx.
References SwNode::FindTableNode(), SwIterator< TElementType, TSource, eMode >::First(), SwFrameAreaDefinition::getFrameArea(), getIDocumentState(), GetIDocumentUndoRedo(), SwPosition::GetNode(), SwPaM::GetPoint(), SwRect::Height(), lcl_CollectLines(), lcl_ProcessRowSize(), Minimum, SwIterator< TElementType, TSource, eMode >::Next(), and IDocumentState::SetModified().
Referenced by SwFEShell::BalanceRowHeight().
void SwDoc::BroadcastStyleOperation | ( | const OUString & | rName, |
SfxStyleFamily | eFamily, | ||
SfxHintId | nOp | ||
) |
Definition at line 723 of file docdesc.cxx.
References SfxBroadcaster::Broadcast(), SfxStyleSheetBasePool::Find(), SwDocShell::GetStyleSheetPool(), and mpDocShell.
Referenced by SwUndoFormatResetAttr::BroadcastStyleChange(), DelCharFormat(), DelFrameFormat(), DelNumRule(), DelPageDesc(), DelTableStyle(), DelTextFormatColl(), MakeCharFormat(), MakeCondTextFormatColl(), MakeFrameFormat(), MakeNumRule(), MakePageDesc(), MakeTableStyle(), MakeTextFormatColl(), RenameFormat(), RenameNumRule(), and SwUndoFormatAttr::UndoImpl().
|
static |
Definition at line 656 of file doc.cxx.
References SwFrameAreaDefinition::getFrameArea(), SwFrame::GetNext(), SwRect::Height(), and SwLayoutFrame::Lower().
Referenced by SwView::GetPageStr().
|
static |
Definition at line 912 of file doc.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::clear(), vcl::PrinterOptionsHelper::getIntValue(), SwFrame::GetNext(), SwRenderData::GetPagePairsForProspectPrinting(), SwPageFrame::GetPhyPageNum(), SwRenderData::GetPrinterPaperTrays(), StringRangeEnumerator::getRangesFromString(), vcl::PrinterOptionsHelper::getStringValue(), SwRenderData::GetValidPagesSet(), i, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwPrintUIOptions::IsPrintLeftPages(), SwPrintUIOptions::IsPrintRightPages(), lcl_GetPaperBin(), SwLayoutFrame::Lower(), and StringRangeEnumerator::size().
Referenced by SwXTextDocument::getRendererCount().
|
static |
get the set of printable pages for the XRenderable API by evaluating the respective settings (see implementation)
Definition at line 678 of file doc.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::clear(), SwFrameAreaDefinition::getFrameArea(), vcl::PrinterOptionsHelper::getIntValue(), SwFrame::GetNext(), SwRenderData::GetPagesToPrint(), SwRenderData::GetPrinterPaperTrays(), StringRangeEnumerator::getRangesFromString(), vcl::PrinterOptionsHelper::getStringValue(), SwRenderData::GetValidPagesSet(), SwRect::Height(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwPrintUIOptions::IsPrintEmptyPages(), SwPrintUIOptions::IsPrintLeftPages(), SwPrintUIOptions::IsPrintRightPages(), lcl_GetPaperBin(), SwLayoutFrame::Lower(), SwFrame::OnRightPage(), and SwRenderData::SetPageRange().
Referenced by SwXTextDocument::getRendererCount().
sal_uInt16 SwDoc::CallEvent | ( | SvMacroItemId | nEvent, |
const SwCallMouseEvent & | rCallEvent, | ||
bool | bChkPtr = false |
||
) |
Definition at line 130 of file docbasic.cxx.
References Any, SfxObjectShell::CallBasic(), SfxObjectShell::CallXScript(), ERRCODE_NONE, SwCallMouseEvent::eType, EVENT_OBJECT_IMAGE, EVENT_OBJECT_IMAGEMAP, EVENT_OBJECT_INETATTR, EVENT_OBJECT_URLITEM, EXTENDED_STYPE, SvxMacroTableDtor::Get(), GetAttrPool(), ImageMap::GetIMapObject(), ImageMap::GetIMapObjectCount(), SvxMacro::GetLibName(), SvxMacro::GetMacName(), IMapObject::GetMacroTable(), SwFormatINetFormat::GetMacroTable(), SvxMacro::GetScriptType(), GetSpzFrameFormats(), SwCallMouseEvent::IMAP, SvxMacroTableDtor::IsKeyValid(), mpDocShell, nPos, SwCallMouseEvent::pFormat, SwCallMouseEvent::pIMapObj, SwCallMouseEvent::pINetAttr, SwCallMouseEvent::PTR, RES_TXTATR_INETFMT(), SAL_INFO, and STARBASIC.
Referenced by SwWrtShell::CallEvent(), SwWrtShell::ClickToINetAttr(), SwWrtShell::ClickToINetGrf(), and SwBaseLink::DataChanged().
SwChainRet SwDoc::Chain | ( | SwFrameFormat & | rSource, |
const SwFrameFormat & | rDest | ||
) |
Definition at line 1106 of file docfly.cxx.
References Chainable(), CHAINE, SwIterator< TElementType, TSource, eMode >::First(), Fixed, GetAttrPool(), SwFormat::GetChain(), SwFrameAreaDefinition::getFrameArea(), SwFormat::GetFrameSize(), SwFormatFrameSize::GetHeightSizeType(), GetIDocumentUndoRedo(), SwRect::Height(), OK, RES_CHAIN(), RES_FRM_SIZE(), SetAttr(), SvxSizeItem::SetHeight(), SwFormatFrameSize::SetHeightSizeType(), SwFormatChain::SetNext(), and SwFormatChain::SetPrev().
Referenced by SwFEShell::Chain().
SwChainRet SwDoc::Chainable | ( | const SwFrameFormat & | rSource, |
const SwFrameFormat & | rDest | ||
) |
Definition at line 997 of file docfly.cxx.
References SwNode::EndOfSectionIndex(), SwNode::FindFlyStartNode(), SwNode::FindFooterStartNode(), SwNode::FindHeaderStartNode(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFormat::GetChain(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwNodes::GetEndOfExtras(), SwFormat::GetFlySplit(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwFormatChain::GetNext(), SwNodeIndex::GetNode(), GetNodes(), SwFormatChain::GetPrev(), GetSpzFrameFormats(), SwTextNode::GetText(), SwNode::GetTextNode(), SfxBoolItem::GetValue(), IS_IN_CHAIN, SwFrameFormat::IsLowerOf(), NOT_EMPTY, NOT_FOUND, OK, SELF, SOURCE_CHAINED, and WRONG_AREA.
Referenced by Chain(), and SwFEShell::Chainable().
void SwDoc::ChangeAuthorityData | ( | const SwAuthEntry * | pNewData | ) |
Definition at line 769 of file docfld.cxx.
References SwAuthorityFieldType::ChangeEntryContent(), sw::proofreadingiterator::get(), IDocumentFieldsAccess::GetFieldTypes(), getIDocumentFieldsAccess(), i, INIT_FLDTYPES, TableOfAuthorities, and SwFieldType::Which().
Referenced by SwEditShell::ChangeAuthorityData().
void SwDoc::ChangeDBFields | ( | const std::vector< OUString > & | rOldNames, |
const OUString & | rNewName | ||
) |
Definition at line 608 of file docfld.cxx.
References SwField::ChgTyp(), Database, DatabaseName, DB_DELIM, DbNextSet, DbNumSet, DbSetNumber, SwTextField::ExpandTextField(), GetAttrPool(), SwDBFieldType::GetColumnName(), SwSection::GetCondition(), GetDBData(), GetExp, SwFormatField::GetField(), SwField::GetFormula(), getIDocumentFieldsAccess(), getIDocumentState(), SwNode::GetNodes(), SwField::GetPar1(), SwDBNameInfField::GetRealDBData(), GetSections(), SwFormatField::GetTextField(), SwTextField::GetTextNode(), o3tl::getToken(), SwField::GetTyp(), HiddenPara, HiddenText, IDocumentFieldsAccess::InsertFieldType(), SwNodes::IsDocNodes(), IsNameInArray(), n, SwDBData::nCommandType, SwFormatField::RegisterToFieldType(), ReplaceUsedDBs(), RES_TXTATR_FIELD(), RES_TXTATR_INPUTFIELD(), SwDBData::sCommand, SwDBData::sDataSource, SwSection::SetCondition(), SetExp, IDocumentState::SetModified(), SwField::SetPar1(), SwField::SetPar2(), SwVectorModifyBase< Value >::size(), Table, o3tl::toInt32(), and SwFieldType::Which().
Referenced by SwEditShell::ChangeDBFields().
Definition at line 1756 of file doc.cxx.
References GetIDocumentUndoRedo().
Referenced by SwUndoTOXChange::RepeatImpl(), and SwTOXMgr::UpdateOrInsertTOX().
void SwDoc::CheckDefaultPageFormat | ( | ) |
The html import sometimes overwrites the page sizes set in the page descriptions.
This function is used to correct this.
Definition at line 991 of file docdesc.cxx.
References SwPageDesc::GetFirstLeft(), SwPageDesc::GetFirstMaster(), SwFormat::GetFrameSize(), SvxSizeItem::GetHeight(), SwPageDesc::GetLeft(), SwPageDesc::GetMaster(), GetPageDesc(), GetPageDescCnt(), SwPageDesc::GetPoolFormatId(), SvxSizeItem::GetWidth(), i, INVALID_TWIPS, and lcl_DefaultPageFormat().
Referenced by SwDocShell::ToggleLayoutMode().
void SwDoc::CheckForUniqueItemForLineFillNameOrIndex | ( | SfxItemSet & | rSet | ) |
Definition at line 480 of file docfly.cxx.
References SfxItemIter::GetCurItem(), getIDocumentDrawModelAccess(), IDocumentDrawModelAccess::GetOrCreateDrawModel(), IsInvalidItem(), SfxItemIter::NextItem(), SfxItemSet::Put(), rSet, XATTR_FILLBITMAP(), XATTR_FILLFLOATTRANSPARENCE(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), XATTR_LINEDASH(), XATTR_LINEEND(), and XATTR_LINESTART().
Referenced by PropValuesToAutoStyleItemSet(), SwFormat::SetFormatAttr(), and SwDocStyleSheet::SetItemSet().
bool SwDoc::ChgAnchor | ( | const SdrMarkList & | _rMrkList, |
RndStdIds | _eAnchorType, | ||
const bool | _bSameOnly, | ||
const bool | _bPosCorr | ||
) |
Definition at line 716 of file docfly.cxx.
References SwRect::Bottom(), SwTextBoxHelper::changeAnchor(), SwDrawContact::ConnectToLayout(), SwRect::Contains(), SwTextNode::DeleteAttributes(), END, FindAnchor(), SwFrame::FindFlyFrame(), SwDrawContact::GetAnchoredObj(), SwContact::GetAnchorFormat(), SwDrawContact::GetAnchorFrame(), SwContact::GetAnchorId(), SwFormatAnchor::GetAnchorId(), sw::GetAtPageRelOrientation(), SwFormat::GetContent(), SwFormatAnchor::GetContentAnchor(), SwFormatContent::GetContentIdx(), SwPosition::GetContentIndex(), GetContentNode(), IDocumentLayoutAccess::GetCurrentLayout(), SwTextAttr::GetFlyCnt(), SwContact::GetFormat(), GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFormat::GetHoriOrient(), getIDocumentLayoutAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwContentNode::getLayoutFrame(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMark::GetMarkedSdrObj(), SwRootFrame::GetModelPositionForViewPoint(), SwFrame::GetNext(), SwPosition::GetNode(), SwNoTextFrame::GetNode(), GetNodes(), SwAnchoredObject::GetObjRect(), SwFrameFormat::GetOtherTextBoxFormats(), SdrObject::getParentSdrObjectFromSdrObject(), SwFormatHoriOrient::GetRelationOrient(), SwTextFrame::GetText(), SwTextNode::GetTextAttrForCharAt(), SwNode::GetTextNode(), SwTextFrame::GetTextNodeForParaProps(), GetUserCall(), Point::getX(), i, INSATTR, SwTextNode::InsertItem(), SwDrawVirtObj::IsConnected(), SwFrame::IsProtected(), SwFrame::IsRightToLeft(), SwFrame::IsTextFrame(), SwFrame::IsVertical(), SwLayoutFrame::Lower(), SwTextFrame::MapViewToModelPos(), SwTextFrame::Prepare(), RES_TXTATR_FLYCNT(), SAL_INFO, SwFormatAnchor::SetAnchor(), SetAttr(), IDocumentState::SetModified(), SetOnlyText, SwFormatAnchor::SetPageNum(), SwFormatHoriOrient::SetRelationOrient(), SwFormatAnchor::SetType(), Point::setX(), SwRect::SVRect(), SwTextBoxHelper::synchronizeGroupTextBoxProperty(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), SwAnchoredObject::UpdateObjInSortedList(), and Point::Y().
Referenced by SwFmDrawPage::group(), SwXShape::setPropertyValue(), and SwFmDrawPage::ungroup().
void SwDoc::ChgDBData | ( | const SwDBData & | rNewData | ) |
Definition at line 467 of file doc.cxx.
References SwDBManager::CommitLastRegistrations(), DatabaseName, getIDocumentFieldsAccess(), getIDocumentState(), IDocumentFieldsAccess::GetSysFieldType(), m_pDBManager, maDBData, IDocumentState::SetModified(), and SwFieldType::UpdateFields().
Referenced by SwXDocumentSettings::_setSingleValue(), SwEditShell::ChgDBData(), and sw::DocumentFieldsManager::UpdateField().
void SwDoc::ChgFormat | ( | SwFormat & | rFormat, |
const SfxItemSet & | rSet | ||
) |
Definition at line 1890 of file docfmt.cxx.
References SfxItemSet::Differentiate(), SwFormat::GetAttrSet(), SfxItemIter::GetCurItem(), GetIDocumentUndoRedo(), SfxItemSet::InvalidateItem(), SfxItemIter::NextItem(), SfxItemSet::Put(), rSet, and SwFormat::SetFormatAttr().
Referenced by sw::ThemeColorChanger::apply(), SwEditShell::FillByEx(), SwUndoFormatCreate::RedoImpl(), SwDocStyleSheet::SetItemSet(), SwUndoFormatDelete::UndoImpl(), and SwTOXBaseSection::Update().
void SwDoc::ChgNumRuleFormats | ( | const SwNumRule & | rRule | ) |
Definition at line 1095 of file docnum.cxx.
References FindNumRulePtr(), SwUndoInsNum::GetHistory(), getIDocumentState(), GetIDocumentUndoRedo(), SwNumRule::GetName(), lcl_ChgNumRule(), SwUndoInsNum::SetLRSpaceEndPos(), and IDocumentState::SetModified().
Referenced by SwEditShell::ChgNumRuleFormats(), SwUndoInsNum::RedoImpl(), SwUndoInsNum::RepeatImpl(), SwDocStyleSheet::SetItemSet(), SwDocStyleSheet::SetNumRule(), and SwUndoInsNum::UndoImpl().
void SwDoc::ChgPageDesc | ( | const OUString & | rName, |
const SwPageDesc & | rDesc | ||
) |
Definition at line 978 of file docdesc.cxx.
References ChgPageDesc(), and FindPageDesc().
Referenced by sw::ThemeColorChanger::apply(), SwViewShell::ChgAllPageOrientation(), SwViewShell::ChgAllPageSize(), ChgPageDesc(), SwCSS1Parser::ChgPageDesc(), SwFEShell::ChgPageDesc(), lcl_CopyFollowPageDesc(), SwUndoPageDesc::RedoImpl(), SwDocStyleSheet::SetFollow(), SwDocStyleSheet::SetItemSet(), SwDocStyleSheet::SetName(), SwUndoPageDesc::UndoImpl(), UpdatePageDescs(), and SwWriter::Write().
void SwDoc::ChgPageDesc | ( | size_t | i, |
const SwPageDesc & | rChged | ||
) |
Definition at line 394 of file docdesc.cxx.
References SwPageDesc::ChgFirstShare(), SwPageDesc::ChgFooterShare(), SwPageDesc::ChgHeaderShare(), CopyMasterFooter(), CopyMasterHeader(), IDocumentContentOperations::DeleteSection(), EMPTY, SwNode::EndOfSectionIndex(), SwIterator< TElementType, TSource, eMode >::First(), GetAllLayouts(), SfxDispatcher::GetBindings(), SwFormatContent::GetContentIdx(), IDocumentLayoutAccess::GetCurrentLayout(), SfxShell::GetDispatcher(), GetDocShell(), SwPageDesc::GetFirstLeft(), SwPageDesc::GetFirstMaster(), SwPageDesc::GetFollow(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwTextAttr::GetFootnote(), GetFootnoteIdxs(), SwPageDesc::GetFootnoteInfo(), SwFormat::GetFormatAttr(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), getIDocumentContentOperations(), getIDocumentFieldsAccess(), getIDocumentLayoutAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwPageDesc::GetLandscape(), SwPageDesc::GetLeft(), SwPageDesc::GetMaster(), SwPageDesc::GetName(), SwNodeIndex::GetNode(), SwFormatFootnote::GetNumber(), SvxNumberType::GetNumberingType(), SwFormatFootnote::GetNumberRLHidden(), SwFormatFootnote::GetNumStr(), SwPageDesc::GetNumType(), SwClient::GetRegisteredIn(), SwPageDesc::GetRegisterFormatColl(), SwPageDesc::GetStashedFrameFormat(), IDocumentFieldsAccess::GetSysFieldType(), SwPageDesc::GetUseOn(), SwPageDesc::HasStashedFormat(), HEADER_FOOTER, i, SfxBindings::Invalidate(), SwNode::IsContentNode(), SwPageDesc::IsFirstShared(), SwPageDesc::IsFooterShared(), SwPageDesc::IsHeaderShared(), lcl_DescSetAttr(), m_PageDescs, SwPageDesc::m_pFollow, Mirror, nPos, PageNumber, SwCursorShell::ParkCursor(), RefPageGet, SwPageDesc::RemoveStashedFormat(), RES_FOOTER(), RES_HEADER(), SwFormat::ResetFormatAttr(), SwPageDesc::SetFollow(), SwPageDesc::SetFootnoteInfo(), SwFormat::SetFormatAttr(), SwPageDesc::SetLandscape(), IDocumentState::SetModified(), SwPageDesc::SetName(), SwFormatContent::SetNewContentIdx(), SwTextFootnote::SetNumber(), SwPageDesc::SetNumType(), SwPageDesc::SetRegisterFormatColl(), SwPageDesc::SetUseOn(), SID_ATTR_PAGE_COLUMN, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwPageDescs::size(), SwPageDesc::StashFrameFormat(), and SwFieldType::UpdateFields().
void SwDoc::ChgTableStyle | ( | const OUString & | rName, |
const SwTableAutoFormat & | rNewFormat | ||
) |
Definition at line 4624 of file ndtbl.cxx.
References SwTableAutoFormatTable::FindAutoFormat(), SwTable::FindTable(), GetDocShell(), getIDocumentState(), GetIDocumentUndoRedo(), GetTableFrameFormat(), GetTableFrameFormatCount(), SwTable::GetTableNode(), SwTable::GetTableStyleName(), GetTableStyles(), i, IDocumentState::SetModified(), and SwTableAutoFormat::SetName().
Referenced by SwUndoTableStyleUpdate::RedoImpl(), SwUndoTableStyleUpdate::UndoImpl(), and SwDocShell::UpdateStyle().
void SwDoc::ChkBoxNumFormat | ( | SwTableBox & | rCurrentBox, |
bool | bCallUpdate | ||
) |
Definition at line 4035 of file ndtbl.cxx.
References AUTOUPD_FIELD_AND_CHARTS, SwTableBox::ClaimFrameFormat(), END, SwNode::FindTableNode(), GetAttrPool(), GetDfltAttr(), GetDocumentSettingManager(), SwTableBox::GetFrameFormat(), getIDocumentFieldsAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwFormat::GetItemIfSet(), SwFormat::GetItemState(), GetNumberFormatter(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), SvNumberFormatter::GetType(), CntUInt32Item::GetValue(), SwTableBox::HasNumContent(), IsInsTableChangeNumFormat(), IsInsTableFormatNum(), SwTableBox::IsNumberChanged(), SfxItemSet::Put(), RES_BOXATR_FORMAT(), RES_BOXATR_FORMULA(), RES_BOXATR_VALUE(), SwFormat::ResetFormatAttr(), SwFormat::SetFormatAttr(), IDocumentState::SetModified(), TABLE_AUTOFMT, SwTable::UpdateCharts(), and IDocumentFieldsAccess::UpdateTableFields().
Referenced by SwCursorShell::CheckTableBoxContent(), TextToTable(), and SwUndoTableToText::UndoImpl().
void SwDoc::ChkCondColls | ( | ) |
Definition at line 1822 of file doc.cxx.
References mpTextFormatCollTable, n, RES_CONDTXTFMTCOLL(), and SwFormat::Which().
Referenced by NumUpDown(), and OutlineUpDown().
|
inline |
Definition at line 1673 of file doc.hxx.
References x.
Referenced by PaMCorrAbs(), PaMCorrRel(), ~SwDoc(), and SwXTextPortionEnumeration::~SwXTextPortionEnumeration().
void SwDoc::ClearBoxNumAttrs | ( | SwNode & | rNode | ) |
Definition at line 4237 of file ndtbl.cxx.
References SwTableBox::ClaimFrameFormat(), SwNode::EndOfSectionIndex(), SwNode::FindSttNodeByType(), SwNode::FindTableNode(), SwFormat::GetAttrSet(), GetDfltAttr(), SwTableBox::GetFrameFormat(), getIDocumentState(), GetIDocumentUndoRedo(), SwNode::GetIndex(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), GetNumberFormatter(), SwTableNode::GetTable(), CntUInt32Item::GetValue(), RES_BOXATR_FORMAT(), RES_BOXATR_FORMULA(), RES_BOXATR_VALUE(), SwFormat::ResetFormatAttr(), rSet, SwFormat::SetFormatAttr(), IDocumentState::SetModified(), and SwTableBoxStartNode.
Referenced by SwEditShell::AppendTextNode(), InsertGlossary(), SwFEShell::Paste(), and SwEditShell::SplitNode().
void SwDoc::ClearDoc | ( | ) |
Definition at line 658 of file docnew.cxx.
References AddNumRule(), SwTextNode::ChgFormatColl(), SwPageDescs::clear(), sw::DocumentFieldsManager::ClearFieldTypes(), ClrContourCache(), SwNodes::Delete(), SwRedlineTable::DeleteAndDestroyAll(), SwExtraRedlineTable::DeleteAndDestroyAll(), IDocumentListsAccess::deleteListForListStyle(), IDocumentLayoutAccess::DelLayoutFormat(), DelPageDesc(), sw::DocumentDrawModelManager::DrawNotifyUndoHdl(), SwPageDescs::erase(), FindPageDesc(), sw::proofreadingiterator::get(), numfunc::GetDefaultPositionAndSpaceMode(), GetDocumentDrawModelManager(), GetDocumentFieldsManager(), GetDocumentSettingManager(), IDocumentRedlineAccess::GetExtraRedlineTable(), GetFormat(), getIDocumentLayoutAccess(), getIDocumentListsAccess(), getIDocumentRedlineAccess(), getIDocumentStylePoolAccess(), GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwPageDesc::GetName(), SwNodeIndex::GetNode(), GetNodes(), SwNumRule::GetOutlineRuleName(), IDocumentStylePoolAccess::GetPageDescFromPool(), IDocumentRedlineAccess::GetRedlineTable(), InitTOXTypes(), lock(), m_PageDescs, MakePageDesc(), SwNodes::MakeTextNode(), maNumRuleMap, mNumberFormatterMutex, mpACEWord, mpCharFormatTable, mpDfltTextFormatColl, mpEndNoteInfo, mpFootnoteInfo, mpFrameFormatTable, mpGrfFormatCollTable, mpMarkManager, mpNumberFormatter, mpNumRuleTable, mpOutlineRule, mpSpzFrameFormatTable, mpTextFormatCollTable, OLD_NUMBERING, OUTLINE_RULE, PaMCorrAbs(), SwPageDescs::push_back(), RES_POOLCOLL_STANDARD, RES_POOLPAGE_STANDARD, SwTextNode::ResetAllAttr(), SwTextNode::SetAttr(), SwNumRule::SetCountPhantoms(), and SwPageDescs::size().
Referenced by SwOneExampleFrame::ClearDocument().
void SwDoc::ClearLineNumAttrs | ( | SwPosition const & | rPos | ) |
Definition at line 4196 of file ndtbl.cxx.
References SwUndoDelNum::AddNode(), SfxStringItem::Clone(), fnMoveBackward, GetAttrPool(), SwNode::GetDoc(), SwUndoDelNum::GetHistory(), GetIDocumentUndoRedo(), SfxItemSet::GetItemIfSet(), SwPaM::GetPointContentNode(), SwTextNode::GetText(), SwNode::GetTextNode(), SwTextNode::IsNumbered(), SwNode::IsTextNode(), SwPaM::Move(), SfxItemSet::Put(), SwRegHistory::RegisterInModify(), RES_PARATR_BEGIN(), RES_PARATR_END(), RES_PARATR_NUMRULE(), rSet, and SwTextNode::SetAttr().
Referenced by SwWrtShell::InsertPageBreak().
rtl::Reference< SdrObject > SwDoc::CloneSdrObj | ( | const SdrObject & | rObj, |
bool | bMoveWithinDoc = false , |
||
bool | bInsInPage = true |
||
) |
Definition at line 108 of file doclay.cxx.
References SwDrawModel::AllocPage(), SdrObject::CloneSdrObject(), IDocumentDrawModelAccess::GetDrawModel(), getIDocumentDrawModelAccess(), IDocumentDrawModelAccess::GetInvisibleLayerIdByVisibleOne(), SdrObject::GetLayer(), IDocumentDrawModelAccess::GetOrCreateDrawModel(), SdrModel::GetPage(), SdrObjList::InsertObjectThenMakeNameUnique(), FmFormModel::InsertPage(), sName, u, and xModel.
Referenced by SwFEShell::Copy(), and SwFEShell::CopyDrawSel().
tools::Long SwDoc::CompareDoc | ( | const SwDoc & | rDoc | ) |
Definition at line 1832 of file doccomp.cxx.
References a, Auto, ByChar, ByWord, CmpOptions, EMPTY, getIDocumentRedlineAccess(), getIDocumentState(), GetIDocumentUndoRedo(), IDocumentRedlineAccess::GetRedlineFlags(), getRsidRoot(), IDocumentState::IsModified(), On, IDocumentState::ResetModified(), IDocumentState::SetModified(), IDocumentRedlineAccess::SetRedlineFlags(), ShowDelete, ShowInsert, and SW_MOD.
Referenced by SwEditShell::CompareDoc().
bool SwDoc::ContainsHiddenChars | ( | ) | const |
Checks if any of the text node contains hidden characters.
Used for optimization. Changing the view option 'view hidden text' has to trigger a reformatting only if some of the text is hidden.
Definition at line 1798 of file doc.cxx.
References Count, GetNodes(), SwNode::GetTextNode(), SwTextNode::HasHiddenCharAttribute(), SwNode::IsTextNode(), and n.
Referenced by SwViewOptionAdjust_Impl::AdjustViewOptions(), and SwViewShell::ImplApplyViewOptions().
|
inline |
Definition at line 1560 of file doc.hxx.
Referenced by WW8Export::WriteFkpPlcUsw().
bool SwDoc::ContainsPageDesc | ( | const SwPageDesc * | pDesc, |
size_t * | pPos | ||
) | const |
Definition at line 952 of file docdesc.cxx.
References SwPageDescs::contains(), SwPageDesc::GetName(), lcl_FindPageDesc(), m_PageDescs, and SAL_WARN_IF.
Referenced by SwCSS1Parser::ChgPageDesc(), SwFEShell::GetMousePageDesc(), and SwCursorShell::SetCursorInHdFt().
bool SwDoc::ConvertFieldsToText | ( | SwRootFrame const & | rLayout | ) |
Definition at line 1611 of file doc.cxx.
References Chapter, Database, IDocumentContentOperations::DeleteAndJoin(), SwPaM::DeleteMark(), SwPaM::End(), SwCursorShell::EndOfInputFieldAtPos(), SwField::ExpandField(), fnMoveBackward, SwFieldType::GatherFields(), GetExp, SwFormatField::GetField(), IDocumentFieldsAccess::GetFieldTypes(), SwTextAttr::GetFormatField(), getIDocumentContentOperations(), getIDocumentFieldsAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwPaM::GetMark(), SwNode::GetNodes(), SwPaM::GetPoint(), SwTextField::GetpTextNode(), SwTextAttr::GetStart(), sw::DocumentFieldsManager::GetTextFieldAtPos(), SwField::GetTyp(), Input, IDocumentContentOperations::InsertString(), SwNodes::IsDocNodes(), IsInHeaderFooter(), SwDBField::IsInitialized(), IDocumentFieldsAccess::LockExpFields(), SwPaM::Move(), nCount, nType, PageNumber, Postit, RefPageGet, RefPageSet, RES_TXTATR_INPUTFIELD(), SwPosition::SetContent(), SetExp, SwPaM::SetMark(), IDocumentState::SetModified(), UI_REPLACE, IDocumentFieldsAccess::UnlockExpFields(), SwFieldType::Which(), and SwTextAttr::Which().
Referenced by SwEditShell::ConvertFieldsToText().
SwCharFormat * SwDoc::CopyCharFormat | ( | const SwCharFormat & | rFormat | ) |
copy the char format
Definition at line 1184 of file docfmt.cxx.
References CopyFormat(), GetCharFormats(), GetDfltCharFormat(), and MakeCharFormat_().
Referenced by SwNumRule::CheckCharFormats(), SwNumRule::CopyNumRule(), SwAttrSet::CopyToModify(), lcl_CopyHint(), and SwAttrSet::SetModifyAtAttr().
|
inline |
Copy footer (with contents) from SrcFormat to DestFormat.
(can also be copied into other document).
Definition at line 914 of file doc.hxx.
Referenced by CopyPageDesc(), and SwWW8ImplReader::CopyPageDescHdFt().
|
private |
Copy the formats to itself.
Definition at line 1141 of file docfmt.cxx.
References SwFormat::CopyAttrs(), CopyFormat(), SwFormat::DerivedFrom(), SwFormatsBase::GetFormat(), SwFormatsBase::GetFormatCount(), SwFormat::GetName(), SwFormat::GetPoolFormatId(), SwFormat::GetPoolHelpId(), SwFormat::IsAuto(), n, SwFormat::SetAuto(), SwFormat::SetPoolFormatId(), SwFormat::SetPoolHelpId(), and SwFormat::SetPoolHlpFileId().
Referenced by CopyCharFormat(), CopyFormat(), and CopyFrameFormat().
|
private |
Definition at line 1284 of file docfmt.cxx.
References SwFormat::DelDiffs(), SwFormat::DerivedFrom(), SwFormatsBase::FindFormatByName(), FindPageDesc(), SwTextFormatColl::GetAssignedOutlineStyleLevel(), GetAttrPool(), SwFormat::GetAttrSet(), SwConditionTextFormatColl::GetCondColls(), SwFormatsBase::GetFormat(), SwFormatsBase::GetFormatCount(), SfxItemSet::GetItemIfSet(), SwFormat::GetName(), SwPageDesc::GetName(), SwTextFormatColl::GetNextTextFormatColl(), SwFormatPageDesc::GetPageDesc(), SwAttrSet::GetPool(), SwFormat::GetPoolFormatId(), SwFormat::GetPoolHelpId(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SwFormat::IsAuto(), SwFormat::IsDefault(), MakeCondTextFormatColl(), MakePageDesc(), SfxItemSet::Put(), SwFormatPageDesc::RegisterToPageDesc(), RES_CONDTXTFMTCOLL(), RES_PAGEDESC(), RES_TXTFMTCOLL(), SwFormat::SetAuto(), SwFormat::SetDerivedFrom(), SwFormat::SetFormatAttr(), SwTextFormatColl::SetNextTextFormatColl(), SwFormat::SetPoolFormatId(), SwFormat::SetPoolHelpId(), SwFormat::SetPoolHlpFileId(), and SwFormat::Which().
Referenced by ReplaceStyles().
SwFrameFormat * SwDoc::CopyFrameFormat | ( | const SwFrameFormat & | rFormat | ) |
copy the frame format
Definition at line 1177 of file docfmt.cxx.
References CopyFormat(), GetDfltFrameFormat(), GetFrameFormats(), and MakeFrameFormat_().
Referenced by sw::DocumentLayoutManager::CopyLayoutFormat().
SwGrfFormatColl * SwDoc::CopyGrfColl | ( | const SwGrfFormatColl & | rColl | ) |
copy the graphic nodes
Definition at line 1258 of file docfmt.cxx.
References SwFormat::CopyAttrs(), CopyGrfColl(), SwFormat::DerivedFrom(), SwFormat::GetName(), SwFormat::GetPoolFormatId(), SwFormat::GetPoolHelpId(), MakeGrfFormatColl(), mpDfltGrfFormatColl, mpGrfFormatCollTable, SwFormat::SetPoolFormatId(), SwFormat::SetPoolHelpId(), and SwFormat::SetPoolHlpFileId().
Referenced by CopyGrfColl(), and SwGrfNode::MakeCopy().
|
inline |
Copy header (with contents) from SrcFormat to DestFormat (can also be copied into other document).
Definition at line 909 of file doc.hxx.
Referenced by CopyPageDesc(), and SwWW8ImplReader::CopyPageDescHdFt().
|
private |
Definition at line 317 of file docdesc.cxx.
References SwNodeRange::aEnd, SwNodeRange::aStart, SwNodes::Copy_(), sw::CopyBookmarks(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), SwNode::EndOfSectionNode(), GetAttrPool(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), GetDfltFrameFormat(), GetDocumentContentOperationsManager(), SwPageDesc::GetFirstMaster(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), getIDocumentLayoutAccess(), SwPageDesc::GetLeft(), SwPageDesc::GetMaster(), SwNodeIndex::GetNode(), GetNodes(), SwFormatFooter::IsActive(), SwPageDesc::IsFirstShared(), SwPageDesc::IsFooterShared(), lcl_DescSetAttr(), SwNodes::MakeEmptySection(), SwFormat::SetFormatAttr(), and SwFooterStartNode.
Referenced by ChgPageDesc().
|
private |
Definition at line 239 of file docdesc.cxx.
References SwNodeRange::aEnd, SwNodeRange::aStart, SwNodes::Copy_(), sw::CopyBookmarks(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), SwNode::EndOfSectionNode(), GetAttrPool(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), GetDfltFrameFormat(), GetDocumentContentOperationsManager(), SwPageDesc::GetFirstMaster(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), getIDocumentLayoutAccess(), SwPageDesc::GetLeft(), SwPageDesc::GetMaster(), SwNodeIndex::GetNode(), GetNodes(), SwFormatHeader::IsActive(), SwPageDesc::IsFirstShared(), SwPageDesc::IsHeaderShared(), lcl_DescSetAttr(), SwNodes::MakeEmptySection(), SwFormat::SetFormatAttr(), and SwHeaderStartNode.
Referenced by ChgPageDesc().
void SwDoc::CopyPageDesc | ( | const SwPageDesc & | rSrcDesc, |
SwPageDesc & | rDstDesc, | ||
bool | bCopyPoolIds = true |
||
) |
Copy the complete PageDesc - beyond document and "deep"! Optionally copying of PoolFormatId, -HlpId can be prevented.
Definition at line 1436 of file docfmt.cxx.
References SfxItemSet::ClearItem(), CopyFooter(), CopyHeader(), CopyPageDesc(), SwFormat::DelDiffs(), FindPageDesc(), GetAllLayouts(), SwFormat::GetAttrSet(), IDocumentLayoutAccess::GetCurrentLayout(), SwPageDesc::GetFirstLeft(), SwPageDesc::GetFirstMaster(), SwPageDesc::GetFollow(), SwFormat::GetFooter(), SwPageDesc::GetFootnoteInfo(), SwFormat::GetHeader(), getIDocumentLayoutAccess(), SwPageDesc::GetLandscape(), SwPageDesc::GetLeft(), SwPageDesc::GetMaster(), SwPageDesc::GetName(), SwPageDesc::GetNumType(), SwPageDesc::GetPoolFormatId(), SwPageDesc::GetPoolHelpId(), SwPageDesc::GetStashedFrameFormat(), SwPageDesc::IsFirstShared(), SwPageDesc::IsFooterShared(), SwPageDesc::IsHeaderShared(), MakePageDesc(), SfxItemSet::Put(), SwPageDesc::ReadUseOn(), RES_FOOTER(), RES_HEADER(), SwPageDesc::SetFollow(), SwPageDesc::SetFootnoteInfo(), SwFormat::SetFormatAttr(), SwPageDesc::SetLandscape(), SwPageDesc::SetNumType(), SwPageDesc::SetPoolFormatId(), SwPageDesc::SetPoolHelpId(), SwPageDesc::SetPoolHlpFileId(), SwPageDesc::StashFrameFormat(), and SwPageDesc::WriteUseOn().
Referenced by AppendDoc(), SwViewShell::ChgAllPageOrientation(), SwViewShell::ChgAllPageSize(), SwFEShell::ChgPageDesc(), CopyPageDesc(), SwAttrSet::CopyToModify(), SwCSS1Parser::GetPageDesc(), lcl_CopyFollowPageDesc(), SwDocShell::MakeByExample(), ReplaceStyles(), and SwDocStyleSheet::SetItemSet().
|
private |
Definition at line 1380 of file docfmt.cxx.
References SwNodeRange::aEnd, SwNodeRange::aStart, SfxPoolItem::Clone(), SwNodes::Copy_(), SwFormat::CopyAttrs(), sw::CopyBookmarks(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), SwNode::EndOfSectionNode(), GetAttrPool(), SwFormat::GetAttrSet(), GetDfltFrameFormat(), SwFormat::GetDoc(), GetDocumentContentOperationsManager(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), GetNodes(), SwNodes::MakeEmptySection(), RES_CNTNT(), RES_FOOTER(), RES_HEADER(), SwFormat::ResetFormatAttr(), SwFormat::SetFormatAttr(), SwFooterStartNode, and SwHeaderStartNode.
SwTextFormatColl * SwDoc::CopyTextColl | ( | const SwTextFormatColl & | rColl | ) |
copy TextNodes
Definition at line 1192 of file docfmt.cxx.
References SwTextFormatColl::AssignToListLevelOfOutlineStyle(), SwFormat::CopyAttrs(), CopyTextColl(), SwFormat::DerivedFrom(), FindNumRulePtr(), FindTextFormatCollByName(), SwTextFormatColl::GetAssignedOutlineStyleLevel(), GetAttrPool(), SwConditionTextFormatColl::GetCondColls(), SwFormat::GetDoc(), getIDocumentState(), SwFormat::GetItemIfSet(), SwFormat::GetName(), SwTextFormatColl::GetNextTextFormatColl(), SwFormat::GetPoolFormatId(), SwFormat::GetPoolHelpId(), CntUnencodedStringItem::GetValue(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SwNumRule::IsAutoRule(), MakeNumRule(), MakeTextFormatColl(), mpDfltTextFormatColl, mpTextFormatCollTable, RES_CONDTXTFMTCOLL(), RES_PARATR_NUMRULE(), SwFormat::SetAuto(), SwNumRule::SetInvalidRule(), IDocumentState::SetModified(), SwTextFormatColl::SetNextTextFormatColl(), SwFormat::SetPoolFormatId(), SwFormat::SetPoolHelpId(), SwFormat::SetPoolHlpFileId(), and SwFormat::Which().
Referenced by SwTextNode::CopyCollFormat(), CopyTextColl(), SwTable::MakeCopy(), SwTextNode::MakeCopy(), and SwConditionTextFormatColl::SetConditions().
void SwDoc::CorrAbs | ( | const SwNode & | rOldNode, |
const SwPosition & | rNewPos, | ||
const sal_Int32 | nOffset = 0 , |
||
bool | bMoveCursor = false |
||
) |
Definition at line 171 of file doccorr.cxx.
References SwPosition::AdjustContent(), IDocumentMarkAccess::correctMarksAbsolute(), SwRedlineTable::DeleteAndDestroy(), SwPaM::End(), SwRangeRedline::GetContentIdx(), SwNode::GetContentNode(), getIDocumentMarkAccess(), getIDocumentRedlineAccess(), SwPaM::GetMark(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineTable(), SwContentNode::Len(), n, PaMCorrAbs(), SwRedlineTable::size(), and SwPaM::Start().
Referenced by sw::DocumentContentOperationsManager::DelFullPara(), SwTextNode::JoinNext(), SwTextNode::JoinPrev(), lcl_CpyBox(), SwUndoUpdateIndex::RedoImpl(), SwUndo::RemoveIdxFromRange(), SwUndo::RemoveIdxFromSection(), SwUndoSaveSection::SaveSection(), SplitDoc(), SwUndoUpdateIndex::UndoImpl(), SwUndoTableMerge::UndoImpl(), and SwTOXBaseSection::Update().
|
static |
Definition at line 227 of file doccorr.cxx.
References DelBookmarks(), SwNode::GetContentNode(), SwNodeIndex::GetNode(), SwContentNode::Len(), and PaMCorrAbs().
|
static |
Definition at line 213 of file doccorr.cxx.
References DelBookmarks(), SwPaM::End(), SwPosition::GetContentIndex(), SwPosition::GetNode(), PaMCorrAbs(), and SwPaM::Start().
void SwDoc::CorrRel | ( | const SwNode & | rOldNode, |
const SwPosition & | rNewPos, | ||
const sal_Int32 | nOffset = 0 , |
||
bool | bMoveCursor = false |
||
) |
Definition at line 307 of file doccorr.cxx.
References IDocumentMarkAccess::correctMarksRelative(), SwPosition::GetContentIndex(), getIDocumentMarkAccess(), getIDocumentRedlineAccess(), IDocumentRedlineAccess::GetRedlineTable(), p, and PaMCorrRel().
Referenced by sw::DocumentContentOperationsManager::MoveAndJoin(), MoveParagraphImpl(), and sw_JoinText().
Definition at line 826 of file docedt.cxx.
References SwTextNode::CountWords(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwTextNode::GetText(), SwNode::GetTextNode(), and SwPaM::StartEnd().
Referenced by SwEditShell::CountWords(), and IMPL_LINK().
SfxObjectShell * SwDoc::CreateCopy | ( | bool | bCallInitNew, |
bool | bEmpty | ||
) | const |
Definition at line 893 of file docnew.cxx.
References CNTNT_DOC, SfxObjectShell::DoInitNew(), SfxObjectShell::GetBaseModel(), GetDocShell(), and SAL_INFO.
Referenced by SwXTextDocument::createClone(), and lcl_CreateWorkingDocument().
SwExtTextInput * SwDoc::CreateExtTextInput | ( | const SwPaM & | rPam | ) |
Definition at line 254 of file extinput.cxx.
References mpExtInputRing, and SwPaM::SetMark().
Referenced by SwEditShell::CreateExtTextInput().
std::shared_ptr< SwUnoCursor > SwDoc::CreateUnoCursor | ( | const SwPosition & | rPos, |
bool | bTableCursor = false |
||
) |
Definition at line 1810 of file doc.cxx.
References mvUnoCursorTable.
Referenced by sw::DocumentRedlineManager::AcceptRedline(), SwNavigationMgr::addEntry(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwXTextCursor::createEnumeration(), WW8TabDesc::CreateSwTable(), SwAccessibleParagraph::CreateUnoPortion(), SwXTextRange::CreateXTextRange(), sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), SwWW8ImplReader::End_Footnote(), DocxExportFilter::exportDocument(), RtfExportFilter::filter(), WW8TabDesc::FinishSwTable(), SwXCellRange::getCellRangeByPosition(), GetFormatAndCreateCursorFromRangeRep(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwXTextTable::getPropertyValue(), sw::GetRanges(), SwXTextPortion::init(), SwXTableRows::insertByIndex(), SwXTableColumns::insertByIndex(), lcl_SelectParaAndReset(), Writer::NewUnoCursor(), SwXTableRows::removeByIndex(), SwXTableColumns::removeByIndex(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), WW8ReaderSave::Restore(), SwXParagraph::setPropertyToDefault(), SwXTextTable::setPropertyValue(), SwWW8ImplReader::StartApo(), SwWW8ImplReader::SwWW8ImplReader(), SwXTextPortionEnumeration::SwXTextPortionEnumeration(), SwXTextTableCursor::SwXTextTableCursor(), StgWriter::Write(), Writer::Write(), and SwWriter::Write().
SwDoc::DECL_DLLPRIVATE_LINK | ( | CalcFieldValueHdl | , |
EditFieldInfo * | , | ||
void | |||
) |
|
private |
void SwDoc::DelCharFormat | ( | size_t | nFormat, |
bool | bBroadcast = false |
||
) |
Delete the formats.
Definition at line 678 of file docfmt.cxx.
References BroadcastStyleOperation(), getIDocumentState(), GetIDocumentUndoRedo(), SwFormat::GetName(), mpCharFormatTable, and IDocumentState::SetModified().
Referenced by DelCharFormat(), SwUndoCharFormatCreate::Delete(), SwUndoCharFormatDelete::Delete(), lcl_DeleteInfoStyles(), and SwDocStyleSheetPool::Remove().
void SwDoc::DelCharFormat | ( | SwCharFormat const * | pFormat, |
bool | bBroadcast = false |
||
) |
Definition at line 698 of file docfmt.cxx.
References DelCharFormat(), and mpCharFormatTable.
void SwDoc::DeleteAutoCorrExceptWord | ( | ) |
Definition at line 821 of file docedt.cxx.
References mpACEWord.
Referenced by sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentContentOperationsManager::InsertString(), sw::DocumentContentOperationsManager::Overwrite(), and sw::DocumentStateManager::SetModified().
void SwDoc::DeleteCol | ( | const SwCursor & | rCursor | ) |
Definition at line 1904 of file ndtbl.cxx.
References Col, COL_DELETE, DeleteColumn, DeleteRowCol(), SwNode::FindTableBoxStartNode(), GetEditShell(), GetIDocumentUndoRedo(), SwPaM::GetPointNode(), GetTableSel(), and HasProtectedCells().
Referenced by SwXTableColumns::removeByIndex().
void SwDoc::DeleteExtTextInput | ( | SwExtTextInput * | pDel | ) |
Definition at line 263 of file extinput.cxx.
References SwExtTextInput::GetNext(), and mpExtInputRing.
Referenced by SwEditShell::DeleteExtTextInput().
void SwDoc::DeleteFormatRefMark | ( | const SwFormatRefMark * | pFormatRefMark | ) |
Definition at line 1127 of file doc.cxx.
References SwTextNode::DeleteAttribute(), SwpHints::DeRegister(), SwUndoResetAttr::GetHistory(), getIDocumentState(), GetIDocumentUndoRedo(), SwTextNode::GetpSwpHints(), SwTextAttr::GetStart(), SwTextRefMark::GetTextNode(), SwFormatRefMark::GetTextRefMark(), SwpHints::Register(), RES_TXTATR_REFMARK(), and IDocumentState::SetModified().
Referenced by SwContentTree::EditEntry(), and SwUndoResetAttr::RedoImpl().
void SwDoc::DeleteRow | ( | const SwCursor & | rCursor | ) |
Deleting Columns/Rows.
Definition at line 1806 of file ndtbl.cxx.
References SwPosition::Assign(), SwPaM::DeleteMark(), DeleteRowCol(), SwNode::EndOfSectionIndex(), SwTableBox::FindNextBox(), SwTableLine::FindNextBox(), SwTableBox::FindPreviousBox(), SwTableLine::FindPreviousBox(), SwNode::FindTableNode(), ForEach_FndLineCopyCol(), FndBox_::GetBox(), SwNode::GetContentNode(), GetEditShell(), SwTableBox::GetFrameFormat(), GetIDocumentUndoRedo(), FndBox_::GetLines(), SwNodeIndex::GetNode(), GetNodes(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwFormat::GetProtect(), SwTableBox::GetSttIdx(), SwTableBox::GetSttNd(), SwTableLine::GetTabBoxes(), SwTableNode::GetTable(), GetTableSel(), SwTable::GetTabLines(), SwTableBox::GetTabLines(), SwNodes::GoNext(), HasProtectedCells(), SvxProtectItem::IsContentProtected(), Row, ROW_DELETE, SwPaM::SetMark(), and SwTableLines::size().
Referenced by SwXTableRows::removeByIndex().
bool SwDoc::DeleteRowCol | ( | const SwSelBoxes & | rBoxes, |
RowColMode | eMode = RowColMode::DeleteRow |
||
) |
Definition at line 2093 of file ndtbl.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::back(), ClearFEShellTabCols(), DeleteColumn, DeleteProtected, SwTable::DeleteSel(), DelTable(), eMode, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwNode::EndOfSectionIndex(), SwTable::ExpandColumnSelection(), SwTable::FindSuperfluousRows(), GetDocShell(), getIDocumentFieldsAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwNode::GetIndex(), SwTableNode::GetTable(), SwTable::GetTabSortBoxes(), HasProtectedCells(), SwTable::IsNewModel(), SwTable::PrepareDeleteCol(), IDocumentFieldsAccess::SetFieldsDirty(), IDocumentState::SetModified(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwTable::SwitchFormulasToInternalRepresentation(), and TABLE_DELBOX.
Referenced by SwFEShell::DeleteCol(), DeleteCol(), SwFEShell::DeleteRow(), DeleteRow(), DeleteTable(), SwFEShell::DeleteTableSel(), and SwXTextTable::dispose().
bool SwDoc::DeleteSelection | ( | SwDrawView & | rDrawView | ) |
Definition at line 438 of file docdraw.cxx.
References SwDrawContact::Changed(), DelFrameFormat(), IDocumentLayoutAccess::DelLayoutFormat(), EMPTY, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwContact::GetFormat(), getIDocumentLayoutAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SdrObject::GetLastBoundRect(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwViewShellImp::GetPageView(), SdrObject::getParentSdrObjectFromSdrObject(), SdrObject::GetUserCall(), GetUserCall(), i, SwDrawView::Imp(), SdrMarkView::MarkObj(), IDocumentState::SetModified(), and SdrObject::SetUserCall().
Referenced by SwDrawView::DeleteMarked().
bool SwDoc::DeleteTOX | ( | const SwTOXBase & | rTOXBase, |
bool | bDelNodes | ||
) |
Delete table of contents.
Definition at line 525 of file doctxm.cxx.
References sw::sidebar::aArr, IDocumentContentOperations::AppendTextNode(), CLEARTOXRANGE, DelSectionFormat(), SwNode::EndOfSectionNode(), fnMoveBackward, SwSectionFormat::GetChildSections(), SwSection::GetFormat(), getIDocumentContentOperations(), GetIDocumentUndoRedo(), SwPaM::GetPoint(), SwSectionFormat::GetSectionNode(), SwPaM::Move(), Not, PaMCorrAbs(), SwNode::StartOfSectionNode(), and ToxHeader.
Referenced by SwEditShell::DeleteGlobalDocContent(), SwEditShell::DeleteTOX(), and SwXDocumentIndex::dispose().
void SwDoc::DeleteTOXMark | ( | const SwTOXMark * | pTOXMark | ) |
Delete table of contents Mark.
Definition at line 155 of file doctxm.cxx.
References CH_TXTATR_INWORD, SwTextNode::DeleteAttribute(), IDocumentContentOperations::DeleteRange(), SwpHints::DeRegister(), SwUndoResetAttr::GetHistory(), getIDocumentContentOperations(), getIDocumentState(), GetIDocumentUndoRedo(), SwTextNode::GetpSwpHints(), SwTextAttr::GetStart(), SwTextNode::GetText(), SwTextTOXMark::GetTextNode(), SwTOXMark::GetTextTOXMark(), SwTextAttr::HasDummyChar(), SwpHints::Register(), RES_TXTATR_TOXMARK(), and IDocumentState::SetModified().
Referenced by SwXDocumentIndexMark::Impl::DeleteTOXMark(), and SwUndoResetAttr::RedoImpl().
void SwDoc::DelFrameFormat | ( | SwFrameFormat * | pFormat, |
bool | bBroadcast = false |
||
) |
Definition at line 705 of file docfmt.cxx.
References BroadcastStyleOperation(), GetIDocumentUndoRedo(), SwFormat::GetName(), GetSpzFrameFormats(), mpFrameFormatTable, and SAL_WARN.
Referenced by SwUndoFrameFormatCreate::Delete(), SwUndoFrameFormatDelete::Delete(), DeleteSelection(), sw::DocumentLayoutManager::DelLayoutFormat(), SwColumnFrame::DestroyImpl(), SwRootFrame::DestroyImpl(), GroupSelection(), lcl_DeleteInfoStyles(), SwWW8ImplReader::MungeTextIntoDrawBox(), SwWW8ImplReader::ReadChar(), and SwDocStyleSheetPool::Remove().
bool SwDoc::DelNumRule | ( | const OUString & | rName, |
bool | bBroadCast = false |
||
) |
Definition at line 1055 of file docnum.cxx.
References BroadcastStyleOperation(), IDocumentListsAccess::deleteListForListStyle(), IDocumentListsAccess::deleteListsByDefaultListStyle(), FindNumRule(), getIDocumentListsAccess(), getIDocumentState(), GetIDocumentUndoRedo(), GetOutlineNumRule(), IsUsed(), maNumRuleMap, mpNumRuleTable, nPos, and IDocumentState::SetModified().
Referenced by WW8ListManager::ImplDestroy(), lcl_DeleteInfoStyles(), SwUndoNumruleDelete::RedoImpl(), SwDocStyleSheetPool::Remove(), SwFltControlStack::SetAttrInDoc(), SwUndoNumruleCreate::UndoImpl(), and SwXNumberingRules::~SwXNumberingRules().
void SwDoc::DelNumRules | ( | const SwPaM & | rPam, |
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 1316 of file docnum.cxx.
References SwUndoDelNum::AddNode(), SwContentNode::ChkCondColl(), SwPaM::End(), SwContentNode::GetFormatColl(), SwUndoDelNum::GetHistory(), GetIDocumentUndoRedo(), SfxItemSet::GetItemState(), SwPosition::GetNodeIndex(), GetNodes(), SwTextNode::GetNumRule(), sw::GetParaPropsNode(), SwContentNode::GetpSwAttrSet(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SwRegHistory::RegisterInModify(), RES_CONDTXTFMTCOLL(), RES_PARATR_LIST_ID(), RES_PARATR_LIST_ISCOUNTED(), RES_PARATR_LIST_ISRESTART(), RES_PARATR_LIST_LEVEL(), RES_PARATR_LIST_RESTARTVALUE(), RES_PARATR_NUMRULE(), SwTextNode::ResetAttr(), SwTextNode::SetAttr(), SwPaM::Start(), UpdateNumRule(), SwNodes::UpdateOutlineIdx(), and SwFormat::Which().
Referenced by SwEditShell::DelNumRules(), SwTable::InsertRow(), NumOrNoNum(), SwUndoDelNum::RedoImpl(), SwUndoDelNum::RepeatImpl(), SwUnoCursorHelper::setNumberingProperty(), and SwUndoTableToText::UndoImpl().
void SwDoc::DelPageDesc | ( | const OUString & | rName, |
bool | bBroadcast = false |
||
) |
Definition at line 970 of file docdesc.cxx.
References DelPageDesc(), and FindPageDesc().
Referenced by ClearDoc(), DelPageDesc(), SwUndoPageDescDelete::DoImpl(), lcl_DeleteInfoStyles(), SwDocStyleSheetPool::Remove(), and SwUndoPageDescCreate::UndoImpl().
void SwDoc::DelPageDesc | ( | size_t | i, |
bool | bBroadcast = false |
||
) |
Definition at line 740 of file docdesc.cxx.
References SwPageDescs::begin(), BroadcastStyleOperation(), SwPageDescs::erase(), getIDocumentState(), GetIDocumentUndoRedo(), SwPageDesc::GetName(), i, m_PageDescs, PreDelPageDesc(), IDocumentState::SetModified(), and SwPageDescs::size().
void SwDoc::DelSectionFormat | ( | SwSectionFormat * | pFormat, |
bool | bDelNodes = false |
||
) |
Definition at line 507 of file ndsect.cxx.
References SwContentNode::ChkCondColl(), Default, IDocumentContentOperations::DeleteSection(), DELSECTION, SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), GetContentNode(), GetFootnoteIdxs(), SwContentNode::GetFormatColl(), getIDocumentContentOperations(), getIDocumentState(), GetIDocumentUndoRedo(), SwNode::GetIndex(), SwFormat::GetItemIfSet(), SwNodeIndex::GetNode(), GetNodes(), SwNodeIndex::GetNodes(), SwNode::GetSectionNode(), MakeUndoDelSection(), mpSectionFormatTable, SwFormat::RemoveAllUnos(), RES_CONDTXTFMTCOLL(), RES_END_AT_TXTEND(), RES_FTN_AT_TXTEND(), IDocumentState::SetModified(), SwFootnoteIdxs::UpdateFootnote(), and SwFormat::Which().
Referenced by SwEditShell::DeleteGlobalDocContent(), DeleteTOX(), SwEditShell::DelSectionFormat(), SwXTextSection::dispose(), InsertTableOf(), SwUndoDelSection::RedoImpl(), SplitDoc(), SwUndoUpdateIndex::SwUndoUpdateIndex(), SwUndoInsSection::UndoImpl(), and SwSection::~SwSection().
void SwDoc::DelTable | ( | SwTableNode * | pTable | ) |
Definition at line 1927 of file ndtbl.cxx.
References Default, IDocumentContentOperations::DeleteSection(), SwTableNode::DelFrames(), IDocumentLayoutAccess::DelLayoutFormat(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwNode::FindTableNode(), fnMoveBackward, fnMoveForward, GetDocShell(), SwNode::GetFlyFormat(), SwTable::GetFrameFormat(), getIDocumentContentOperations(), getIDocumentFieldsAccess(), getIDocumentLayoutAccess(), getIDocumentState(), getIDocumentStylePoolAccess(), GetIDocumentUndoRedo(), SwFormat::GetItemState(), SwFormat::GetName(), SwNodeIndex::GetNode(), SwPosition::GetNode(), GetNodes(), SwPaM::GetPoint(), SwNode::GetStartNode(), SwStartNode::GetStartNodeType(), SwTableNode::GetTable(), GoInNode(), SwNodes::MakeTextNode(), SwPaM::Move(), PaMCorrAbs(), RES_BREAK(), RES_PAGEDESC(), RES_POOLCOLL_STANDARD, SwContentNode::SetAttr(), IDocumentFieldsAccess::SetFieldsDirty(), IDocumentState::SetModified(), SwNode::StartOfSectionIndex(), SwNode::StartOfSectionNode(), and SwFlyStartNode.
Referenced by DeleteRowCol(), and SwEditShell::DeleteSel().
void SwDoc::DelTableFrameFormat | ( | SwTableFormat * | pFormat | ) |
Definition at line 746 of file docfmt.cxx.
References mpTableFrameFormatTable.
Referenced by SwTable::~SwTable().
std::unique_ptr< SwTableAutoFormat > SwDoc::DelTableStyle | ( | const OUString & | rName, |
bool | bBroadcast = false |
||
) |
Definition at line 4590 of file ndtbl.cxx.
References BroadcastStyleOperation(), SwTable::FindTable(), getIDocumentState(), GetIDocumentUndoRedo(), GetTableFrameFormat(), GetTableFrameFormatCount(), SwTable::GetTableStyleName(), GetTableStyles(), i, SwTableAutoFormatTable::ReleaseAutoFormat(), IDocumentState::SetModified(), and SwTable::SetTableStyleName().
Referenced by SwUndoTableStyleDelete::RedoImpl(), SwDocStyleSheetPool::Remove(), and SwUndoTableStyleMake::UndoImpl().
void SwDoc::DelTextFormatColl | ( | size_t | nFormat, |
bool | bBroadcast = false |
||
) |
Definition at line 966 of file docfmt.cxx.
References BroadcastStyleOperation(), getIDocumentState(), GetIDocumentUndoRedo(), SwFormat::GetName(), mpDfltTextFormatColl, mpTextFormatCollTable, RES_CONDTXTFMTCOLL(), IDocumentState::SetModified(), SetTextFormatCollNext(), and SwFormat::Which().
Referenced by SwUndoTextFormatCollCreate::Delete(), SwUndoTextFormatCollDelete::Delete(), DelTextFormatColl(), lcl_DeleteInfoStyles(), SwDocStyleSheetPool::Remove(), and SwDocStyleSheet::SetItemSet().
void SwDoc::DelTextFormatColl | ( | SwTextFormatColl const * | pColl, |
bool | bBroadcast = false |
||
) |
Definition at line 1003 of file docfmt.cxx.
References DelTextFormatColl(), and mpTextFormatCollTable.
void SwDoc::disposeXForms | ( | ) |
|
inline |
Definition at line 586 of file doc.hxx.
Referenced by SwContentNotify::ImplDestroy().
bool SwDoc::DontExpandFormat | ( | const SwPosition & | rPos, |
bool | bFlag = true |
||
) |
Definition at line 1722 of file docfmt.cxx.
References SwTextNode::DontExpandFormat(), SwPosition::GetContentIndex(), GetIDocumentUndoRedo(), SwPosition::GetNode(), and SwNode::GetTextNode().
Referenced by SwAutoCorrDoc::ChgAutoCorrWord(), SwXText::insertTextContentWithProperties(), SwUndoDontExpandFormat::RedoImpl(), SwUndoDontExpandFormat::RepeatImpl(), and SwUndoDontExpandFormat::UndoImpl().
|
private |
Definition at line 78 of file docchart.cxx.
References SwTable::FindTable(), IDocumentLayoutAccess::GetCurrentViewShell(), getIDocumentLayoutAccess(), GetTableFrameFormats(), SwNode::GetTableNode(), and UpdateCharts_().
void SwDoc::dumpAsXml | ( | xmlTextWriterPtr | pWriter = nullptr | ) | const |
Dumps the entire nodes structure to the given destination (file nodes.xml in the current directory by default)
Definition at line 1966 of file docfmt.cxx.
References SwFieldTypes::dumpAsXml(), SwRedlineTable::dumpAsXml(), SwExtraRedlineTable::dumpAsXml(), SwPageDescs::dumpAsXml(), SwDBData::dumpAsXml(), IDocumentRedlineAccess::GetExtraRedlineTable(), IDocumentFieldsAccess::GetFieldTypes(), getIDocumentDrawModelAccess(), getIDocumentFieldsAccess(), getIDocumentRedlineAccess(), getIDocumentState(), IDocumentRedlineAccess::GetRedlineTable(), m_PageDescs, m_pContentControlManager, m_pDocumentSettingManager, m_pNodes, m_pUndoManager, maDBData, mpCharFormatTable, mpFrameFormatTable, mpMarkManager, mpNumRuleTable, mpSectionFormatTable, mpSpzFrameFormatTable, mpTableFrameFormatTable, and mpTextFormatCollTable.
Referenced by SwEditWin::KeyInput(), and sw::sidebarwindows::SidebarTextControl::KeyInput().
|
private |
Definition at line 1753 of file docfmt.cxx.
References sw::proofreadingiterator::get(), comphelper::getProcessComponentContext(), utl::ConfigManager::IsFuzzing(), LANGUAGE_SYSTEM, mpNumberFormatter, NF_EVALDATEFORMAT_FORMAT_INTL, SvNumberFormatter::SetEvalDateFormat(), and SvNumberFormatter::SetYear2000().
Definition at line 76 of file docbasic.cxx.
References Any, SfxObjectShell::CallBasic(), SfxObjectShell::CallXScript(), EXTENDED_STYPE, SvxMacro::GetLibName(), SvxMacro::GetMacName(), SbxValue::GetOUString(), SvxMacro::GetScriptType(), SbxValue::GetType(), JAVASCRIPT, lcl_docbasic_convertArgs(), mpDocShell, SAL_INFO, SbxVOID, and STARBASIC.
Referenced by SwWrtShell::ExecMacro().
int SwDoc::FieldCanHideParaWeight | ( | SwFieldIds | eFieldId | ) | const |
Definition at line 1370 of file doc.cxx.
References Database, eFieldId, EMPTY_DB_FIELD_HIDES_PARA, sw::DocumentSettingManager::get(), GetDocumentSettingManager(), and HiddenPara.
Referenced by SwpHints::CalcHiddenParaField(), SwpHints::DeleteAtPos(), FieldHidesPara(), SwTextNode::InsertHint(), SwTextFrame::IsHiddenNow(), and RemoveInvisibleContent().
bool SwDoc::FieldHidesPara | ( | const SwField & | rField | ) | const |
Definition at line 1385 of file doc.cxx.
References Database, SwField::ExpandField(), FieldCanHideParaWeight(), SwField::GetTyp(), HiddenPara, IsHidden(), and SwFieldType::Which().
Referenced by SwpHints::CalcHiddenParaField(), and SwTextFrame::IsHiddenNow().
|
static |
Definition at line 48 of file docruby.cxx.
References SwPaM::DeleteMark(), fnMoveForward, SwPaM::GetMark(), SwPaM::GetNext(), SwPaM::GetPoint(), GoInNode(), SwPaM::Move(), SelectNextRubyChars(), SwPaM::SetMark(), and SwPaM::StartEnd().
Referenced by SwXTextView::getRubyList().
|
inline |
Definition at line 786 of file doc.hxx.
Referenced by SwStyleSheetIterator::AppendStyleList(), SwCSS1Parser::FillDropCap(), SwUndoCharFormatCreate::Find(), SwUndoCharFormatDelete::Find(), SwUndoRenameCharFormat::Find(), sw::ToxTextGenerator::GenerateText(), SwTextRuby::GetCharFormat(), SwTextINetFormat::GetCharFormat(), sw::util::GetCharStyle(), SwCSS1Parser::GetChrFormat(), SwUndoFormatAttr::GetFormat(), SwDocStyleSheet::GetGrabBagItem(), SwEditShell::GetPaMAttr(), SwDocStyleSheet::GetParent(), sw::util::GetSwCharFormat(), SwDocStyleSheet::IsHidden(), lcl_FindCharFormat(), lcl_getCharFormat(), lcl_InsertDrawLabel(), lcl_InsertLabel(), SwUndoAttr::redoAttribute(), SwDocStyleSheet::SetGrabBagItem(), SwDocStyleSheet::SetHidden(), SwHistoryChangeCharFormat::SetInDoc(), SwXNumberingRules::SetPropertiesToNumFormat(), SwCSS1Parser::StyleParsed(), SwNumFormat::SwNumFormat(), DocxAttributeOutput::TextINetFormat(), and SwTOXBaseSection::UpdatePageNum_().
const SwFlyFrameFormat * SwDoc::FindFlyByName | ( | const OUString & | rName, |
SwNodeType | nNdTyp = SwNodeType::NONE |
||
) | const |
Definition at line 1420 of file doclay.cxx.
References SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwNodeIndex::GetIndex(), SwFormat::GetName(), SwNodeIndex::GetNode(), GetNodes(), SwNode::GetNodes(), SwNode::GetNodeType(), GetSpzFrameFormats(), SwNodes::IsDocNodes(), SwNode::IsNoTextNode(), NONE, RES_FLYFRMFMT(), Text, and SwFormat::Which().
Referenced by MSWordExportBase::AddLinkTarget(), SwContentTree::BringEntryToAttention(), sw::DocumentLayoutManager::CopyLayoutFormat(), SwXFrames::getByName(), SwXFrames::hasByName(), SwWW8ImplReader::ImportGraf(), lcl_GetUniqueFlyName(), sw::AccessibilityIssue::quickFixIssue(), sw::DocumentLinksAdministrationManager::SelectServerObj(), and SetFlyName().
SwFrameFormat * SwDoc::FindFrameFormatByName | ( | const OUString & | rName | ) | const |
Definition at line 754 of file docfmt.cxx.
References mpFrameFormatTable.
Referenced by SwStyleSheetIterator::AppendStyleList(), SwDocShell::Edit(), SwUndoFrameFormatCreate::Find(), SwUndoFrameFormatDelete::Find(), SwUndoRenameFrameFormat::Find(), SwDocStyleSheet::GetParent(), SwView::InsertGraphicDlg(), SwDocStyleSheet::IsHidden(), lcl_FindFrameFormat(), SwUndoSetFlyFormat::RedoImpl(), SwDocStyleSheet::SetHidden(), and SwUndoSetFlyFormat::UndoImpl().
const SwFormatINetFormat * SwDoc::FindINetAttr | ( | std::u16string_view | rName | ) | const |
Definition at line 1236 of file doc.cxx.
References GetAttrPool(), GetNodes(), SwNode::GetNodes(), SwTextINetFormat::GetpTextNode(), and RES_TXTATR_INETFMT().
sal_uInt16 SwDoc::FindNumRule | ( | std::u16string_view | rName | ) | const |
Definition at line 2445 of file docnum.cxx.
References GetName(), mpNumRuleTable, and n.
Referenced by DelNumRule().
SwNumRule * SwDoc::FindNumRulePtr | ( | const OUString & | rName | ) | const |
Definition at line 2454 of file docnum.cxx.
References GetName(), maNumRuleMap, mpNumRuleTable, and n.
Referenced by SwStyleSheetIterator::AppendStyleList(), SwNodes::ChgNode(), ChgNumRuleFormats(), CopyTextColl(), SwAttrSet::CopyToModify(), sw::DocumentListsManager::createList(), sw::DocumentListsManager::createListForListStyle(), SwXNumberingRules::getByIndex(), SwDocStyleSheet::GetGrabBagItem(), SwWW8FltControlStack::GetNumFormatFromStack(), SwTextNode::GetNumRule(), ANLDRuleMap::GetNumRule(), TextFormatCollFunc::GetNumRule(), SwXNumberingRules::getPropertyValue(), SwDocStyleSheet::IsHidden(), lcl_ChgNumRule(), lcl_FindNumRule(), SwUnoCursorHelper::makeRedline(), SwDocStyleSheet::MergeIndentAttrsOfListStyle(), SwXMLImport::MergeListsAtDocumentInsertPosition(), AttributeOutputBase::ParaNumRule(), RenameNumRule(), SwXNumberingRules::replaceByIndex(), ReplaceNumRule(), ReplaceStyles(), SwFltControlStack::SetAttrInDoc(), SwDocStyleSheet::SetGrabBagItem(), SwDocStyleSheet::SetHidden(), SwDocStyleSheet::SetItemSet(), SwDocStyleSheet::SetName(), SwUnoCursorHelper::setNumberingProperty(), SetNumRule(), SwXNumberingRules::setPropertyValue(), and SwWW8ImplReader::StartAnl().
SwPageDesc * SwDoc::FindPageDesc | ( | const OUString & | rName, |
size_t * | pPos = nullptr |
||
) | const |
Definition at line 947 of file docdesc.cxx.
References lcl_FindPageDesc(), and m_PageDescs.
Referenced by SwStyleSheetIterator::AppendStyleList(), ChgPageDesc(), ClearDoc(), CopyFormatArr(), CopyPageDesc(), SwAttrSet::CopyToModify(), DelPageDesc(), RtfExport::ExportDocument_Impl(), SwViewShell::FillPrtDoc(), SwFEShell::FindPageDescByName(), SwDocStyleSheet::IsHidden(), lcl_CopyFollowPageDesc(), lcl_FindPageDesc(), lcl_GetFormatForStyle(), lcl_GetPageDesc(), ReplaceStyles(), SwDocStyleSheet::SetFollow(), SwDocStyleSheet::SetHidden(), and SwDocStyleSheet::SetItemSet().
SwTableFormat * SwDoc::FindTableFormatByName | ( | const OUString & | rName, |
bool | bAll = false |
||
) | const |
Definition at line 3959 of file ndtbl.cxx.
References SwFormat::GetName(), SwFormat::IsDefault(), IsUsed(), and mpTableFrameFormatTable.
Referenced by MSWordExportBase::AddLinkTarget(), SwXTextTable::attach(), HasTableAnyProtection(), InsertTable(), UnProtectCells(), and UpdateCharts().
|
inline |
Definition at line 814 of file doc.hxx.
Referenced by SwForm::AdjustTabStops(), SwStyleSheetIterator::AppendStyleList(), CopyTextColl(), SwUndoFormatColl::DoSetFormatColl(), SwUndoTextFormatCollCreate::Find(), SwUndoTextFormatCollDelete::Find(), SwUndoRenameFormatColl::Find(), SwUndoFormatAttr::GetFormat(), SwDocStyleSheet::GetGrabBagItem(), sw::util::GetParaStyle(), SwDocStyleSheet::GetParent(), SwTOXBaseSection::GetTextFormatColl(), SwCSS1Parser::GetTextFormatColl(), SwDocStyleSheet::IsHidden(), ItemSetToPageDesc(), lcl_FindParaFormat(), lcl_GetParaStyle(), DocxAttributeOutput::Redline(), SwRedlineExtraData_FormatColl::Reject(), SwDocStyleSheet::SetGrabBagItem(), SwDocStyleSheet::SetHidden(), AttributeOutputBase::StartTOX(), SwCSS1Parser::StyleParsed(), and SwTOXBaseSection::UpdateTemplate().
|
staticprivate |
Definition at line 541 of file docfld.cxx.
References DB_DELIM, GetAppCharClass(), CharClass::isLetterNumeric(), nPos, sFormula, and CharClass::uppercase().
Referenced by GetAllUsedDB().
bool SwDoc::GenerateGlobalDoc | ( | const OUString & | rPath, |
const SwTextFormatColl * | pSplitColl | ||
) |
Definition at line 66 of file docglbl.cxx.
References SplitDoc().
bool SwDoc::GenerateGlobalDoc | ( | const OUString & | rPath, |
int | nOutlineLevel | ||
) |
Definition at line 72 of file docglbl.cxx.
References SplitDoc().
bool SwDoc::GenerateHTMLDoc | ( | const OUString & | rPath, |
const SwTextFormatColl * | pSplitColl | ||
) |
Definition at line 82 of file docglbl.cxx.
References SplitDoc().
bool SwDoc::GenerateHTMLDoc | ( | const OUString & | rPath, |
int | nOutlineLevel | ||
) |
Definition at line 77 of file docglbl.cxx.
References SplitDoc().
|
private |
Definition at line 526 of file docfld.cxx.
References DB_DELIM, GetDBManager(), and SwDBManager::GetDSParamArray().
Referenced by GetAllUsedDB().
SwPosFlyFrames SwDoc::GetAllFlyFormats | ( | const SwPaM * | pCmpRange, |
bool | bDrawAlso, | ||
bool | bAsCharAlso = false |
||
) | const |
Returns positions of all FlyFrames in the document.
If a Pam-Pointer is passed the FlyFrames attached to paragraphs have to be surrounded completely by css::awt::Selection. ( Start < Pos < End ) !!! (Required for Writers.)
Definition at line 498 of file doclay.cxx.
References SwPageFrame::FindFirstBodyContent(), SwNode::FindFlyStartNode(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFormatContent::GetContentIdx(), IDocumentLayoutAccess::GetCurrentLayout(), getIDocumentLayoutAccess(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwFrame::GetLower(), SwPaM::GetMark(), SwFrame::GetNext(), SwPosition::GetNode(), SwNoTextFrame::GetNode(), SwPaM::GetPoint(), SwFrame::GetPrev(), SwPageFrame::GetSortedObjs(), GetSpzFrameFormats(), SwTextFrame::GetTextNodeFirst(), SwNode::IsGrfNode(), SwNode::IsOLENode(), SwFrame::IsTextFrame(), lcl_TstFlyRange(), RES_DRAWFRMFMT(), and RES_FLYFRMFMT().
Referenced by SwHTMLWriter::CollectFlyFrames(), sw::util::GetFrames(), and sw::DocumentDrawModelManager::Search().
o3tl::sorted_vector< SwRootFrame * > SwDoc::GetAllLayouts | ( | ) |
Definition at line 1699 of file doclay.cxx.
References IDocumentLayoutAccess::GetCurrentViewShell(), getIDocumentLayoutAccess(), sw::Ring< value_type >::GetRingContainer(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert().
Referenced by ChgPageDesc(), CopyPageDesc(), sw::DocumentFieldsManager::FieldsToCalc(), sw::DocumentTimerManager::GetNextIdleJob(), sw::IMPL_LINK_NOARG(), InvalidateAutoCompleteFlag(), SwDBManager::MergeMailFiles(), MoveParagraph(), PreDelPageDesc(), sw::DocumentDeviceManager::PrtDataChanged(), SwUndoInsSection::RedoImpl(), sw::DocumentSettingManager::setCharacterCompressionType(), SetCurFootnote(), SetEndNoteInfo(), SetFootnoteInfo(), sw::DocumentSettingManager::setForbiddenCharacters(), SetLineNumberInfo(), sw::DocumentRedlineManager::SetRedlineFlags(), SpellItAgainSam(), StartGrammarChecking(), SwRefPageGetFieldType::SwClientNotify(), SwLineNumberInfo::SwClientNotify(), SwTOXBaseSection::Update(), SwFootnoteIdxs::UpdateAllFootnote(), sw::DocumentFieldsManager::UpdateExpFields(), SwGetRefField::UpdateField(), SwFootnoteIdxs::UpdateFootnote(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), and sw::DocumentFieldsManager::UpdateTableFields().
void SwDoc::GetAllUsedDB | ( | std::vector< OUString > & | rDBNameList, |
const std::vector< OUString > * | pAllDBNames = nullptr |
||
) |
Definition at line 447 of file docfld.cxx.
References AddUsedDBToList(), Database, DatabaseName, DbNextSet, DbNumSet, DbSetNumber, FindUsedDBs(), GetAllDBNames(), GetAttrPool(), SwSection::GetCondition(), GetDBData(), GetExp, SwFormatField::GetField(), SwField::GetFormula(), SwNode::GetNodes(), SwField::GetPar1(), GetSections(), SwFormatField::GetTextField(), SwTextField::GetTextNode(), SwField::GetTyp(), HiddenPara, HiddenText, SwNodes::IsDocNodes(), n, RES_TXTATR_FIELD(), RES_TXTATR_INPUTFIELD(), SetExp, SwVectorModifyBase< Value >::size(), Table, and SwFieldType::Which().
Referenced by SwEditShell::GetAllUsedDB(), and SwModule::Notify().
|
inline |
|
inline |
Definition at line 1337 of file doc.hxx.
Referenced by SwAccessibleParagraph::_getDefaultAttributesImpl(), SwAccessibleParagraph::_getSupplementalAttributesImpl(), SwXDocumentSettings::_setSingleValue(), SwFmDrawPage::add(), SwUndoTableCpyTable::AddBoxBefore(), SwWW8ImplReader::AppendTextNode(), SwXTextSection::attach(), SwAutoFormat::BuildEnum(), CallEvent(), SwTable::CanConvertSubtables(), Chain(), SwDrawContact::Changed_(), ChangeDBFields(), SwPageNumberFieldType::ChangeExpansion(), SwSpellPopup::checkRedline(), SwFlyFrame::ChgRelPos(), ChkBoxNumFormat(), ClearLineNumAttrs(), SwHTMLWriter::CollectLinkTargets(), MSWordExportBase::CollectOutlineBookmarks(), SwFEShell::Copy(), SwTextNode::CopyCollFormat(), SwFEShell::CopyDrawSel(), CopyFormatArr(), sw::DocumentContentOperationsManager::CopyImplImpl(), CopyMasterFooter(), CopyMasterHeader(), CopyPageDescHeaderFooterImpl(), SwTextNode::CopyText(), CopyTextColl(), SwAttrSet::CopyToModify(), SwXMLTextImportHelper::createAndInsertApplet(), SwXMLTextImportHelper::createAndInsertFloatingFrame(), SwXMLTextImportHelper::createAndInsertOLEObject(), SwXMLTextImportHelper::createAndInsertOOoLink(), SwXMLTextImportHelper::createAndInsertPlugin(), sw::DocumentDeviceManager::CreatePrinter_(), SwTextNode::CutImpl(), SwTextNode::DestroyAttr(), SwAutoFormat::DoUnderline(), SwContentTree::EditEntry(), SwWW8ImplReader::End_Footnote(), SwXMLExport::exportDoc(), RtfExport::ExportDocument_Impl(), FlatFndBox::FillFlat(), SwViewShell::FillPrtDoc(), SwXTextDocument::FindAny(), FindAttrsImpl(), FindINetAttr(), SwNode::FindPageDesc(), DocxAttributeOutput::FormatTextLeftMargin(), SwTextNode::FormatToTextAttr(), sw::ToxTextGenerator::GenerateText(), GetAllUsedDB(), SwViewShell::GetAttrPool(), SwCursorShell::GetContentAtPos(), WW8Export::GetCurrentPageBgBrush(), GetDefault(), GetDocColors(), SwWW8FltControlStack::GetFormatAttr(), SwWW8ImplReader::GetFormatAttr(), sw::DocumentStylePoolManager::GetFormatFromPool(), HTMLAttrContext::GetFrameItemSet(), SwSvxUnoDrawPool::getModelPool(), sw::DocumentStylePoolManager::GetPageDescFromPool(), SwXShape::getPropertyDefault(), SwXParagraph::getPropertyDefault(), SwXTextDefaults::getPropertyDefault(), SwXTextSection::getPropertyDefault(), SwUnoCursorHelper::GetPropertyDefault(), SwXTextCursor::getPropertyDefaults(), SwXTextTableCursor::getPropertyValue(), SwXTextTable::getPropertyValue(), SwXCellRange::getPropertyValue(), SwXTextPortion::GetPropertyValue(), SwUnoCursorHelper::GetPropertyValue(), SwXAutoStyle::GetPropertyValues_Impl(), SwGetExpField::GetReferenceTextPos(), GetRefMark(), GetRefMarks(), sw::hack::GetSetWhichFromSwDocWhich(), sw::DocumentStylePoolManager::GetTextCollFromPool(), GetTextDirection(), GetTOIKeys(), SwTableBox::GetValue(), SwFrame::GetVirtPageNum(), SwCursorShell::GotoNxtPrvTableFormula(), SwCursorShell::GotoNxtPrvTOXMark(), MSWord_SdrAttrIter::HasTextItem(), IMPL_LINK_NOARG(), SwWW8ImplReader::ImportDop(), SwWW8ImplReader::ImportGraf(), SwWW8ImplReader::ImportGraf1(), SwWW8ImplReader::ImportOle(), SwWW8ImplReader::ImportReplaceableDrawables(), sw::DocumentDrawModelManager::InitDrawModel(), wwFontHelper::InitFontTable(), SwWW8ImplReader::InsertAttrsAsDrawingAttrs(), sw::DocumentContentOperationsManager::InsertPoolItem(), wwSectionManager::InsertSection(), SwXAutoStyleFamily::insertStyle(), InsertTable(), SwWW8ImplReader::InsertTxbxStyAttrs(), SwWW8ImplReader::InsertTxbxText(), lcl_CpyBox(), lcl_FindInputField(), lcl_RstAttr(), lcl_SetAFormatBox(), lcl_setCharFormatSequence(), lcl_SetFlyFrameAttr(), lcl_setRedlineAttr(), lcl_TCFlags(), lcl_textBoxSizeNotify(), lcl_TranslateMetric(), MakeCharFormat(), MakeCondTextFormatColl(), MakeDrawFrameFormat(), SwDocUpdateField::MakeFieldList_(), MakeFlyFrameFormat(), MakeFrameFormat(), MakeGrfFormatColl(), sw::DocumentLayoutManager::MakeLayoutFormat(), SwUnoCursorHelper::makeRedline(), MakeRedlineTextAttr(), MakeTableBoxFormat(), MakeTableFrameFormat(), MakeTableLineFormat(), MakeTextAttr(), MakeTextFormatColl(), SwpHints::MergePortions(), SwVirtFlyDrawObj::NbcMove(), SwTextFormatter::NewFootnoteNumPortion(), SwURLStateChanged::Notify(), MSWordExportBase::NumberingLevel(), MSWord_SdrAttrIter::OutAttr(), RtfExport::OutColorTable(), OutCSS1DropCapRule(), OutHTML_DrawFrameFormatAsControl(), OutHTML_SwField(), MSWord_SdrAttrIter::OutParaAttr(), MSWordExportBase::OutputFormat(), MSWordExportBase::OutputTextNode(), SwXTextDocument::printPages(), PropValuesToAutoStyleItemSet(), Writer::PutEditEngFontsInAttrPool(), Writer::PutNumFormatFontsInAttrPool(), SwWW8ImplReader::Read_F_IncludePicture(), SwWW8ImplReader::Read_F_Tox(), SwWW8ImplReader::Read_GrafLayer(), SwWW8ImplReader::Read_HdFtTextAsHackedFrame(), SwWW8ImplReader::Read_LR(), SwWW8ImplReader::Read_Tab(), WW8ListManager::ReadLVL(), SwUndoResetAttr::RedoImpl(), SwUndoSetFlyFormat::RedoImpl(), SwUndoTableNumFormat::RedoImpl(), SwUndoTableCpyTable::RedoImpl(), SwWW8ImplReader::RegisterNumFormatOnTextNode(), RemoveAllFormatLanguageDependencies(), Writer_Impl::RemoveFontList(), SwXTextDocument::replaceAll(), ReplaceDefaults(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), ResetAttrs(), SwTableAutoFormat::RestoreTableProperties(), SwDontExpandItem::SaveDontExpandItems(), SwContentNode::SetAttr(), SetAttr(), SwAutoCorrDoc::SetAttr(), SwFltControlStack::SetAttrInDoc(), SwAutoFormat::SetColl(), SetDefault(), SetFormatItemByAutoFormat(), SwXCell::setFormula(), SwHistorySetFootnote::SetInDoc(), SwAutoCorrDoc::SetINetAttr(), MSWord_SdrAttrIter::SetItemsThatDifferFromStandard(), sw::DocumentDeviceManager::setJobsetup(), SwXShape::setPropertyToDefault(), SwXTextDefaults::setPropertyToDefault(), SwXShape::setPropertyValue(), SwXTextTableCursor::setPropertyValue(), SwXTextTable::setPropertyValue(), SwXCellRange::setPropertyValue(), SwXTextDocument::setPropertyValue(), SwXTextDefaults::setPropertyValue(), SwXTextCursor::setPropertyValue(), wwSectionManager::SetSegmentToPageDesc(), SplitDoc(), SwWW8ImplReader::StartApo(), SwWW8ImplReader::StartTable(), sw_BoxSetSplitBoxFormats(), sw_JoinText(), SwAutoStylesEnumImpl::SwAutoStylesEnumImpl(), SwDoc(), SwDrawModel::SwDrawModel(), SwUndoInsSection::SwUndoInsSection(), SwUndoTableNumFormat::SwUndoTableNumFormat(), SwTextBoxHelper::syncFlyFrameAttr(), TextAttrDelete(), TextToTable(), SwpHints::TryInsertHint(), SwUndoTableCpyTable::UndoImpl(), SwTOXBaseSection::Update(), UpdateRsid(), sw::DocumentFieldsManager::UpdateTableFields(), WriteDop(), WW8Export::WriteFootnoteBegin(), DocxExport::WriteOutliner(), DocxAttributeOutput::WriteOutliner(), and WW8Ruby::WW8Ruby().
|
inlinestatic |
Definition at line 1558 of file doc.hxx.
Referenced by SwTextFrame::AutoSpell_(), SwTextFrame::CollectAutoCmplWrds(), SwDocShell::Execute(), SwEditShell::GetAutoCompleteWords(), and SwLayIdle::isJobEnabled().
|
inline |
Definition at line 1410 of file doc.hxx.
Referenced by sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentContentOperationsManager::InsertString(), sw::DocumentContentOperationsManager::Overwrite(), sw::DocumentStateManager::SetModified(), SwUndoReplace::Impl::UndoImpl(), and SwUndoOverwrite::UndoImpl().
|
static |
Definition at line 1395 of file ndtbl1.cxx.
References SwNode::FindTableNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwFormatVertOrient::GetVertOrient(), i, lcl_GetBoxSel(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwFEShell::GetBoxAlign().
|
static |
Retrieves a box attribute from the given cursor.
Definition at line 1321 of file ndtbl1.cxx.
References SvxFrameDirectionItem::Clone(), SwFormatVertOrient::Clone(), SwNode::FindTableNode(), SwPosition::GetNode(), SwPaM::GetPoint(), i, lcl_GetBoxSel(), RES_BACKGROUND(), RES_FRAMEDIR(), RES_VERT_ORIENT(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwFEShell::GetBoxBackground(), SwFEShell::GetBoxDirection(), SwXTextTableCursor::getPropertyValue(), SwXCellRange::getPropertyValue(), SwXTextTableCursor::setPropertyValue(), and SwXCellRange::setPropertyValue().
|
inline |
|
inline |
Definition at line 1268 of file doc.hxx.
Referenced by SwStyleSheetIterator::First(), SwXTextCellStyle::GetBoxAutoFormat(), SwXTextCellStyle::getName(), lcl_FindCellStyle(), SwXTextTableStyle::replaceByName(), and SwXTextCellStyle::setName().
|
inline |
|
inline |
Definition at line 755 of file doc.hxx.
Referenced by MSWordStyles::BuildStylesTable(), CopyCharFormat(), SwNumRule::CopyNumRule(), SwXMLExport::exportDoc(), MSWordExportBase::ExportDocument(), FillCharStyleListBox(), SwStyleSheetIterator::First(), SwEditShell::GetCharFormat(), SwEditShell::GetCharFormatCount(), SwCSS1Parser::GetCharFormatFromPool(), SwXTextDocument::getDocumentLanguages(), sw::DocumentStylePoolManager::GetFormatFromPool(), SwEditShell::GetINetAttrs(), sw::DocumentStylePoolManager::IsPoolFormatUsed(), lcl_CopyHint(), lcl_DeleteInfoStyles(), lcl_SaveStyles(), SwHTMLWriter::OutStyleSheet(), SwXNumberingRules::replaceByIndex(), SwCursorShell::SelectNxtPrvHyperlink(), SwCSS1Parser::SetDfltEncoding(), SwHistorySetText::SetInDoc(), and SwUnoCursorHelper::setNumberingProperty().
|
inline |
|
inline |
Definition at line 766 of file doc.hxx.
Referenced by SwLayoutFrame::ChgColumns().
SwContentControlManager & SwDoc::GetContentControlManager | ( | ) |
Definition at line 142 of file doc.cxx.
References m_pContentControlManager.
Referenced by SwTextContentControl::ChgTextNode(), SwTextContentControl::CreateTextContentControl(), SwXContentControls::getByIndex(), SwXContentControls::getCount(), SwCursorShell::GotoFormControl(), SwXContentControls::hasElements(), and lcl_getContentControl().
|
static |
Definition at line 492 of file ndsect.cxx.
References SwNode::FindSectionNode(), SwPosition::GetNode(), and SwSectionNode::GetSection().
Referenced by SwEditShell::GetCurrSection(), and SwUnoCursorHelper::getCursorPropertyValue().
|
static |
Get current table of contents.
Definition at line 449 of file doctxm.cxx.
References SwNode::FindSectionNode(), SwPosition::GetNode(), SwSectionNode::GetSection(), SwSection::GetType(), SwNode::StartOfSectionNode(), and ToxContent.
Referenced by SwXDocumentIndex::attach(), SwXTextSection::attach(), DocxAttributeOutput::EndRedline(), SwUnoCursorHelper::getCursorPropertyValue(), SwEditShell::GetCurTOX(), SwWW8ImplReader::Read_F_Tox(), SwUndoTOXChange::RepeatImpl(), DocxAttributeOutput::RunText(), and DocxAttributeOutput::StartRedline().
|
static |
Get current table of contents Mark.
Definition at line 117 of file doctxm.cxx.
References SwpHints::Count(), SwTextAttr::End(), SwpHints::Get(), SwPosition::GetContentIndex(), SwPosition::GetNode(), SwTextNode::GetpSwpHints(), SwTextAttr::GetStart(), SwNode::GetTextNode(), SwTextAttr::GetTOXMark(), n, RES_TXTATR_TOXMARK(), and SwTextAttr::Which().
Referenced by SwEditShell::GetCurTOXMarks(), SwCursorShell::GotoTOXMarkBase(), and SwUndoResetAttr::RedoImpl().
SwDBData const & SwDoc::GetDBData | ( | ) |
Definition at line 386 of file docfld.cxx.
References Database, DbNextSet, DbNumSet, DbSetNumber, SwDBManager::GetAddressDBName(), GetDBData(), getIDocumentFieldsAccess(), IsUsed(), maDBData, and SwDBData::sDataSource.
Referenced by SwXDocumentSettings::_getSingleValue(), SwXDocumentSettings::_setSingleValue(), ChangeDBFields(), SwDBNameFieldType::Expand(), GetAllUsedDB(), GetDBData(), SwEditShell::GetDBData(), SwDBNameInfField::GetDBData(), SwCalc::GetDBName(), SwHiddenTextField::GetDBName(), SwDBManager::setEmbeddedName(), AttributeOutputBase::TextField(), and DocxExport::WriteSettings().
|
inline |
Definition at line 685 of file doc.hxx.
Referenced by SwXDocumentSettings::_getSingleValue(), SwXDocumentSettings::_setSingleValue(), AddUsedDBToList(), SwDBField::Evaluate(), SwDBNextSetField::Evaluate(), SwDBNumSetField::Evaluate(), SwDBSetNumberField::Evaluate(), SwHiddenTextField::Evaluate(), sw::DocumentFieldsManager::FieldsToCalc(), GetAllDBNames(), SwEditShell::GetDBManager(), lcl_CreateWorkingDocument(), SwDocUpdateField::MakeFieldList_(), SetInitDBFields(), sw::DocumentFieldsManager::UpdateDBNumFields(), SwEditShell::UpdateExpFields(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), sw::DocumentFieldsManager::UpdateFields(), and SwCalc::VarLook().
const SfxPoolItem & SwDoc::GetDefault | ( | sal_uInt16 | nFormatHint | ) | const |
Get the default attribute in this document.
Definition at line 672 of file docfmt.cxx.
References GetAttrPool(), and SfxItemPool::GetDefaultItem().
Referenced by SwView::BeginTextEdit(), DocxAttributeOutput::DocDefaults(), SwEditShell::GetDefault(), SwCalc::GetDocAppScriptLang(), SwAnnotationShell::GetLinguState(), SwXTextDefaults::getPropertyState(), SwXTextDocument::getPropertyValue(), SwXTextDefaults::getPropertyValue(), SwDrawTextShell::GetState(), sw::DocumentStylePoolManager::GetTextCollFromPool(), SwEditShell::IsMoveLeftMargin(), IsSquaredPageMode(), MoveLeftMargin(), SetDefaultPageMode(), SwCSS1Parser::SetDfltEncoding(), SwXTextDocument::setPropertyValue(), SwXTextDefaults::setPropertyValue(), SwEnhancedPDFExportHelper::SwEnhancedPDFExportHelper(), SwUndoDefaultAttr::UndoImpl(), and SwHTMLWriter::WriteStream().
|
inline |
TODO
Definition at line 478 of file doctxm.cxx.
References GetTOXType(), SwTOXType::GetTypeName(), mpDefTOXBases, NONE, TOX_AUTHORITIES, TOX_BIBLIOGRAPHY, TOX_CITATION, TOX_CONTENT, TOX_ILLUSTRATIONS, TOX_INDEX, TOX_OBJECTS, TOX_TABLES, and TOX_USER.
Referenced by SwEditShell::GetDefaultTOXBase().
|
inline |
|
inline |
Definition at line 768 of file doc.hxx.
Referenced by WW8ListManager::AdjustLVL(), CopyCharFormat(), SwDocStyleSheet::Create(), SwCSS1Parser::FillDropCap(), SwDocStyleSheet::FillStyleSheet(), SwStyleSheetIterator::First(), SwCSS1Parser::GetChrFormat(), sw::DocumentStylePoolManager::GetFormatFromPool(), lcl_FindCharFormat(), lcl_setDropcapCharStyle(), SwEditShell::MakeCharFormat(), MakeTextAttr(), SwWW8ImplReader::Read_SubF_Ruby(), SwWW8ImplReader::ReadText(), and SwXTextDefaults::setPropertyValue().
|
inline |
|
inline |
Definition at line 762 of file doc.hxx.
Referenced by SwFootnoteContFrame::AddChained(), SwFootnoteBossFrame::AppendFootnote(), SwLayoutFrame::ChgColumns(), SwTextFrame::ConnectFootnote(), CopyFrameFormat(), sw::DocumentLayoutManager::CopyLayoutFormat(), CopyMasterFooter(), CopyMasterHeader(), CopyPageDescHeaderFooterImpl(), SwDocStyleSheet::Create(), SwColumnFrame::DestroyImpl(), sw::DocumentStylePoolManager::GetFormatFromPool(), SwDocStyleSheet::GetItemSet(), SwView::GetState(), GroupSelection(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwView::InsertGraphicDlg(), InsertTable(), lcl_AddColumns(), SwTableNode::MakeCopy(), sw::DocumentLayoutManager::MakeLayoutFormat(), MakePageDesc(), SwSectionNode::NodesArrChgd(), PageDescToItemSet(), SwWW8ImplReader::ReadChar(), SwNodes::SplitTable(), SwColumnFrame::SwColumnFrame(), SwPageFrame::SwPageFrame(), TextToTable(), SwUndoTableToText::UndoImpl(), UnGroupSelection(), and SwSection::~SwSection().
|
inline |
|
inline |
Definition at line 819 of file doc.hxx.
Referenced by SwXMLTextImportHelper::createAndInsertOLEObject(), sw::DocumentContentOperationsManager::InsertEmbObject(), sw::DocumentContentOperationsManager::InsertGraphic(), sw::DocumentContentOperationsManager::InsertOLE(), SwOLENode::MakeCopy(), and PrtOLENotify().
|
inline |
|
inline |
Definition at line 791 of file doc.hxx.
Referenced by SwUndoTableCpyTable::AddBoxBefore(), SwTable::ConvertSubtableBox(), SwFEShell::Copy(), SwEditShell::GetDfltTextFormatColl(), sw::DocumentStylePoolManager::GetTextCollFromPool(), WW8RStyle::Import(), InsTableBox(), ItemSetToPageDesc(), lcl_CpyBox(), lcl_InsTableBox(), MakeFlyAndMove(), MoveCell(), PropValuesToAutoStyleItemSet(), SwUndoTableCpyTable::RedoImpl(), MSWordStyles::SetStyleDefaults(), SwUndoDefaultAttr::UndoImpl(), SwUndoDelete::UndoImpl(), and SwUndoTableCpyTable::UndoImpl().
|
inline |
Definition at line 569 of file doc.hxx.
Referenced by SwAccessibleDocumentBase::getAccessibleName().
Definition at line 2023 of file docfmt.cxx.
References COL_AUTO(), GetAttrPool(), SfxItemPool::GetItemSurrogates(), RES_BACKGROUND(), RES_CHRATR_COLOR(), and RES_CHRATR_HIGHLIGHT().
const OUString * SwDoc::GetDocPattern | ( | size_t | nPos | ) | const |
Definition at line 123 of file poolfmt.cxx.
References m_PatternNames, and nPos.
Referenced by SwDocStyleSheet::FillStyleSheet(), and SwDocStyleSheet::GetHelpId().
|
inline |
Definition at line 1370 of file doc.hxx.
Referenced by SwRDFHelper::addTextNodeStatement(), SwTextNode::AddToList(), AppendDoc(), SwEditShell::ApplyAdvancedClassification(), SwEditShell::ApplyParagraphClassification(), SwXShape::attach(), SwWrtShell::CalcAndSetScale(), SwRootFrame::CheckViewLayout(), SwLayAction::CheckWaitCursor(), SwNodes::ChgNode(), ChgPageDesc(), ChgTableStyle(), SwEditShell::ClassifyDocPerHighestParagraphClass(), SwEditShell::CollectAdvancedClassification(), SwEditShell::CollectParagraphClassification(), SwDBManager::CommitLastRegistrations(), sw::MetaFieldManager::copyDocumentProperties(), SwWW8ImplReader::CoreLoad(), SwTextBoxHelper::create(), SwXMLTextImportHelper::createAndInsertOOoLink(), CreateCopy(), sw::CreateParentXText(), SwXStyleFamilies::CreateStyle(), SwDrawModel::createUnoModel(), SwDPage::createUnoPage(), SwUndo::CreateViewShellId(), SwEditShell::CursorsLocked(), SwTextNode::CutImpl(), SwFEShell::DeleteRow(), DeleteRowCol(), DelTable(), SwTextNode::DestroyAttr(), SwUndoFieldFromDoc::DoImpl(), SwTextAPIEditSource::EnsureOutliner(), SwBaseShell::ExecDlg(), SwTextShell::ExecMoveMisc(), SwContentTree::ExecuteContextMenuAction(), SwFileNameFieldType::Expand(), SwTemplNameFieldType::Expand(), SwDocInfoField::ExpandImpl(), DocxAttributeOutput::ExportAsActiveXControl(), DocxExportFilter::exportDocument(), MSWordExportBase::ExportDocument(), SwTOXAuthority::FillText(), RtfExportFilter::filter(), SwFrameFormat::FindRealSdrObject(), sw::FindTextImpl(), SwFEShell::FinishOLEObj(), SwAuthorityField::GetAbsoluteURL(), SwAccessibleDocumentBase::getAccessibleName(), getBookmarkColor(), SwXLinkNameAccessWrapper::getByName(), SwXTextEmbeddedObject::getExtendedControlOverEmbeddedObject(), SwViewShell::GetFirstLastVisPageNumbers(), SwCSS1Parser::GetFontList(), GetFrameWeld(), SwVisibleCursor::getLOKPayload(), SwXParagraph::GetModel(), SwXDocumentIndex::GetModel(), SwXMeta::GetModel(), SwXTextSection::GetModel(), sw::DocumentTimerManager::GetNextIdleJob(), SwViewShell::GetPostItMgr(), sw::MetaField::GetPrefixAndSuffix(), sw::DocumentDeviceManager::getPrintData(), SwAuthorityField::GetRelativeURI(), SwXTextDocument::GetRenderDoc(), SwXTextDocument::getRendererCount(), SwBaseShell::GetState(), SwRDFHelper::getTextNodeStatements(), SwXMLExport::GetViewSettings(), SwEditShell::GetWatermark(), DocxExport::getWordCompatibilityModeFromGrabBag(), SwAutoFormat::GoNextPara(), sw::AccessibilityIssue::gotoIssue(), SwContentFrame::GrowFrame(), SwCursorShell::HasHiddenSections(), SwCursorShell::HasReadonlySel(), sw::IMPL_LINK(), IMPL_LINK_NOARG(), SwWW8ImplReader::ImportOleBase(), sw::DocumentStatisticsManager::IncrementalDocStatCalculate(), SwRedlineAcceptDlg::InitAuthors(), SwXMLImport::initXForms(), initXForms(), SwUndoParagraphSigning::Insert(), SwTOXBaseSection::InsertAlphaDelimiter(), SwTable::InsertCol(), SwUnoCursorHelper::InsertFile(), InsertGlossary(), SwTextShell::InsertMediaDlg(), SwTable::InsertRow_(), SwEditShell::InsertTableOf(), SwAutoCompleteWord::InsertWord(), SwLayAction::InternalAction(), SwTextContentControl::Invalidate(), SwCursor::IsAtValidPos(), SwTextFormatInfo::IsHyphenate(), SwLayIdle::isJobEnabled(), SwCursor::IsSelOvr(), SwTOXBase::IsTOXBaseInReadonly(), DocxAttributeOutput::LatentStyles(), lcl_CreateOutlineString(), lcl_FindSelection(), lcl_GetFrameFormat(), lcl_GetHighestClassificationParagraphClass(), lcl_HyphenateNode(), lcl_InitStyleFamily(), lcl_setCharStyle(), lcl_setDropcapCharStyle(), lcl_UpdateLinksInSect(), MakeAllOutlineContentTemporarilyVisible::MakeAllOutlineContentTemporarilyVisible(), sw::DocumentDrawModelManager::MakeDrawModel_(), SwHTMLWriter::MakeHeader(), SwXServiceProvider::MakeInstance(), SwNodes::MakeOLENode(), SwWrtShell::MakeOutlineLevelsVisible(), sw::GraphicSizeCheckGUIEntry::markObject(), MergeTable(), SwNodes::MoveRange(), SwVirtFlyDrawObj::NbcMove(), SwURLStateChanged::Notify(), SwWW8ImplReader::NotifyMacroEventRead(), SwHTMLWriter::Out_SwDoc(), SwHTMLWriter::OutBasic(), SwHTMLWriter::OutBasicBodyEvents(), SwHTMLWriter::OutHiddenForms(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_SwFormatField(), SwOneExampleFrame::Paint(), SwFlyFrame::PaintSwFrame(), SwRootFrame::PaintSwFrame(), SwFrame::PaintSwFrameBackground(), SwTransferable::PasteOLE(), SwTransferable::PrepareForCopy(), WW8Export::PrepareStorage(), sw::DocumentDeviceManager::PrtDataChanged(), PrtOLENotify(), sw::AccessibilityIssue::quickFixIssue(), SwDOCXReader::Read(), XMLReader::Read(), SwRedlineSaveData::RedlineToDoc(), SwDBManager::RegisterConnection(), SwRDFHelper::removeTextNodeStatement(), SwXTextDocument::render(), ReplaceDocumentProperties(), ReplaceUserDefinedDocumentProperties(), SwDPage::RequestHelp(), WW8Export::RestoreMacroCmds(), SwEditShell::RestoreMetadataFieldsAndValidateParagraphSignatures(), SwDBManager::RevokeLastRegistrations(), sw::GraphicSizeCheckGUIEntry::runProperties(), sw::DocumentDrawModelManager::Search(), SwCursorShell::SelNextRedline(), SwCursorShell::SelPrevRedline(), SwEditShell::SetClassification(), SwCursorShell::SetCursor(), SwLangHelper::SetLanguage(), SwLangHelper::SetLanguage_None(), SwUnoCursorHelper::setNumberingProperty(), SwXNumberingRules::SetPropertiesToNumFormat(), SwXTextTable::setPropertyValue(), SwXTextDefaults::setPropertyValue(), SwXTextSection::Impl::SetPropertyValues_Impl(), SwXMLImport::SetViewSettings(), SwEditShell::SetWatermark(), SwContentFrame::ShrinkFrame(), SwEditShell::SignParagraph(), SwTextFrame::SmartTagScan(), Spell(), SplitTable(), StartGrammarChecking(), Summary(), SwAutoFormat::SwAutoFormat(), SwDrawModel::SwDrawModel(), SwLayIdle::SwLayIdle(), SwTextAPIEditSource::SwTextAPIEditSource(), SwTransferable::SwTransferable(), SwUndoParagraphSigning::SwUndoParagraphSigning(), SwpHints::TryInsertHint(), SwUndoTableNdsChg::UndoImpl(), UnHide(), SwDocStatPage::Update(), SwTOXBaseSection::Update(), SwTextNode::Update(), SwTOXBaseSection::UpdateAuthorities(), SwTOXBaseSection::UpdateContent(), SwCursorShell::UpdateCursor(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), sw::DocumentLinksAdministrationManager::UpdateLinks(), SwTOXBaseSection::UpdateMarks(), sw::SwDocIdle::UpdateMinPeriod(), SwTOXBaseSection::UpdateOutline(), SwTOXBaseSection::UpdatePageNum(), SwTOXBaseSection::UpdateSequence(), sw::OnlineAccessibilityCheck::updateStatusbar(), SwTOXBaseSection::UpdateTable(), SwEditShell::UpdateTableOf(), SwTOXBaseSection::UpdateTemplate(), SwRDFHelper::updateTextNodeStatement(), SwShellCursor::UpDown(), SwEditShell::ValidateAllParagraphSignatures(), SwEditShell::ValidateCurrentParagraphSignatures(), SwTextFormatter::WhichTextPor(), SwXMLWriter::Write_(), DocxExport::WriteActiveXObject(), DocxExport::WriteCustomXml(), RtfExport::WriteDocVars(), DocxExport::WriteDocVars(), WriteDop(), DocxExport::WriteEmbeddings(), DocxExport::WriteGlossary(), RtfExport::WriteInfo(), DocxAttributeOutput::WriteOLE(), DocxExport::WriteProperties(), DocxExport::WriteSettings(), SwWW8Writer::WriteStorageImpl(), SwASCWriter::WriteStream(), SwHTMLWriter::WriteStream(), RtfExport::WriteUserProps(), and DocxExport::WriteVBA().
|
inline |
uno::Reference< embed::XStorage > SwDoc::GetDocStorage | ( | ) |
Definition at line 644 of file docnew.cxx.
References getIDocumentLinksAdministration(), IDocumentLinksAdministration::GetLinkManager(), sfx2::LinkManager::GetPersist(), GetPersist(), SfxObjectShell::GetStorage(), and mpDocShell.
Referenced by SwWW8ImplReader::End_Field(), SwDrawModel::GetDocumentStorage(), WW8Export::OutputLinkedOLE(), WW8Export::TestOleNeedsGraphic(), and SwWW8WrGrf::WriteGraphicNode().
sw::DocumentContentOperationsManager & SwDoc::GetDocumentContentOperationsManager | ( | ) |
Definition at line 343 of file doc.cxx.
References m_pDocumentContentOperationsManager.
sw::DocumentContentOperationsManager const & SwDoc::GetDocumentContentOperationsManager | ( | ) | const |
Definition at line 339 of file doc.cxx.
References m_pDocumentContentOperationsManager.
Referenced by SwTextFootnote::CopyFootnote(), sw::DocumentLayoutManager::CopyLayoutFormat(), CopyMasterFooter(), CopyMasterHeader(), CopyPageDescHeaderFooterImpl(), SwRangeRedline::CopyToSection(), sw::mark::TextFieldmark::InitDoc(), sw::mark::DateFieldmark::InitDoc(), lcl_CopyBoxToDoc(), lcl_CpyBox(), and SplitDoc().
sw::DocumentDrawModelManager & SwDoc::GetDocumentDrawModelManager | ( | ) |
Definition at line 184 of file doc.cxx.
References m_pDocumentDrawModelManager.
sw::DocumentDrawModelManager const & SwDoc::GetDocumentDrawModelManager | ( | ) | const |
Definition at line 179 of file doc.cxx.
References m_pDocumentDrawModelManager.
Referenced by ClearDoc(), getIDocumentDrawModelAccess(), SetDocShell(), and ~SwDoc().
sw::DocumentFieldsManager & SwDoc::GetDocumentFieldsManager | ( | ) |
Definition at line 381 of file doc.cxx.
References m_pDocumentFieldsManager.
Referenced by ClearDoc(), SwFEShell::Copy(), and SwDoc().
sw::DocumentLayoutManager & SwDoc::GetDocumentLayoutManager | ( | ) |
Definition at line 434 of file doc.cxx.
References m_pDocumentLayoutManager.
sw::DocumentLayoutManager const & SwDoc::GetDocumentLayoutManager | ( | ) | const |
Definition at line 429 of file doc.cxx.
References m_pDocumentLayoutManager.
Referenced by SwRootFrame::DestroyImpl(), and sw::DocumentStateManager::SetModified().
sw::DocumentLinksAdministrationManager & SwDoc::GetDocumentLinksAdministrationManager | ( | ) |
Definition at line 289 of file doc.cxx.
References m_pDocumentLinksAdministrationManager.
sw::DocumentLinksAdministrationManager const & SwDoc::GetDocumentLinksAdministrationManager | ( | ) | const |
Definition at line 284 of file doc.cxx.
References m_pDocumentLinksAdministrationManager.
sw::DocumentRedlineManager & SwDoc::GetDocumentRedlineManager | ( | ) |
Definition at line 364 of file doc.cxx.
References m_pDocumentRedlineManager.
sw::DocumentRedlineManager const & SwDoc::GetDocumentRedlineManager | ( | ) | const |
Definition at line 359 of file doc.cxx.
References m_pDocumentRedlineManager.
Referenced by SwAutoFormat::BuildHeadLine(), SwAutoFormat::ClearRedlineText(), SwWW8ImplReader::CoreLoad(), SwView::Execute(), SwViewShell::ImplApplyViewOptions(), XMLReader::Read(), SwXTextDocument::setPropertyValue(), SwAutoFormat::SetRedlineText_(), and XMLRedlineImportHelper::~XMLRedlineImportHelper().
sw::DocumentSettingManager & SwDoc::GetDocumentSettingManager | ( | ) |
Definition at line 200 of file doc.cxx.
References m_pDocumentSettingManager.
Referenced by SwBorderAttrs::CalcLeft(), SwBorderAttrs::CalcRight(), SwDrawView::CheckPossibilities(), ChkBoxNumFormat(), ClearDoc(), sw::DocumentDeviceManager::CreateVirtualDevice_(), FieldCanHideParaWeight(), sw::DocumentStylePoolManager::GetFormatFromPool(), getIDocumentSettingAccess(), SwFormat::getIDocumentSettingAccess(), SwNode::getIDocumentSettingAccess(), sw::DocumentTimerManager::GetNextIdleJob(), sw::DocumentDeviceManager::getReferenceDevice(), sw::DocumentStylePoolManager::GetTextCollFromPool(), SwPaM::HasReadonlySel(), SwFrameNotify::ImplDestroy(), IsInsTableAlignNum(), IsInsTableChangeNumFormat(), IsInsTableFormatNum(), SwFrame::IsProtected(), IsSplitVerticalByDefault(), lcl_MaskRedlinesAndHiddenText(), SwTabFrame::MakeAll(), MakeFlySection(), SwRootFrame::PaintSwFrame(), sw::DocumentDeviceManager::PrtDataChanged(), ReplaceCompatibilityOptions(), sw::DocumentDeviceManager::setJobsetup(), SwEditShell::SetLabelDoc(), sw::DocumentDeviceManager::setPrinter(), sw::DocumentDeviceManager::setReferenceDeviceType(), SetSplitVerticalByDefault(), sw::DocumentDeviceManager::setVirtualDevice(), SplitDoc(), SwDoc(), SwDrawModel::SwDrawModel(), SwTOXBaseSection::Update(), and sw::DocumentLinksAdministrationManager::UpdateLinks().
sw::DocumentSettingManager const & SwDoc::GetDocumentSettingManager | ( | ) | const |
Definition at line 205 of file doc.cxx.
References m_pDocumentSettingManager.
sw::DocumentStatisticsManager & SwDoc::GetDocumentStatisticsManager | ( | ) |
Definition at line 402 of file doc.cxx.
References m_pDocumentStatisticsManager.
sw::DocumentStatisticsManager const & SwDoc::GetDocumentStatisticsManager | ( | ) | const |
Definition at line 397 of file doc.cxx.
References m_pDocumentStatisticsManager.
Referenced by sw::DocumentStateManager::ResetModified(), and sw::DocumentStateManager::SetModified().
|
inline |
Definition at line 410 of file doc.hxx.
Referenced by WW8AttributeOutput::RTLAndCJKState().
SwEditShell * SwDoc::GetEditShell | ( | ) |
Definition at line 348 of file doccorr.cxx.
References GetEditShell().
SwEditShell const * SwDoc::GetEditShell | ( | ) | const |
Definition at line 330 of file doccorr.cxx.
References IDocumentLayoutAccess::GetCurrentViewShell(), getIDocumentLayoutAccess(), and sw::Ring< value_type >::GetRingContainer().
Referenced by SwXDocumentSettings::_setSingleValue(), SwOneExampleFrame::ClearDocument(), SwFEShell::DeleteCol(), DeleteCol(), SwFEShell::DeleteRow(), DeleteRow(), SwUndoPageDesc::ExitHeaderFooterEdit(), GetEditShell(), GetIShellCursorSupplier(), SwXTextField::getPropertyValue(), SwPaM::HasReadonlySel(), sw::UndoManager::impl_DoUndoRedo(), IMPL_LINK(), sw::sidebar::IMPL_LINK(), sw::IMPL_LINK_NOARG(), SwUndoParagraphSigning::Insert(), IsExtraData(), lcl_CalcLayout(), SwCursor::LeftRight(), MergeTable(), SwURLStateChanged::Notify(), PaMCorrAbs(), PaMCorrRel(), SwUndoResetAttr::RedoImpl(), SwUndoInsSection::RedoImpl(), SwUndoInsTable::RedoImpl(), SwUndoParagraphSigning::Remove(), SwTableAutoFormat::RestoreTableProperties(), SwDocStyleSheet::SetGrabBagItem(), SetGrfFlySize(), SwDocStyleSheet::SetHidden(), SwTextNode::SetLanguageAndFont(), SwDocStyleSheet::SetName(), SwXMLImport::startDocument(), SwTableAutoFormat::StoreTableProperties(), TableToText(), SwUndoResetAttr::UndoImpl(), SwWriter::Write(), and sw::sidebar::WriterInspectorTextPanel::WriterInspectorTextPanel().
|
inline |
|
inline |
Definition at line 764 of file doc.hxx.
Referenced by SwFrame::CheckPageDescs(), InsertNewPage(), SwFrame::InsertPage(), and SwPageFrame::SwPageFrame().
|
inline |
Definition at line 647 of file doc.hxx.
Referenced by SwFootnoteBossFrame::AppendFootnote(), SwTextNode::CopyExpandText(), SwWW8ImplReader::CoreLoad(), RtfExport::ExportDocument_Impl(), SwPageFrame::FindPageDesc(), DocxAttributeOutput::FootnoteEndnoteRefTag(), SwEditShell::GetEndNoteInfo(), SwHTMLWriter::GetFootEndNoteSym(), SwXEndnoteProperties::getPropertyValue(), SwFormatFootnote::GetViewNumStr(), SwTextFootnote::MakeNewTextSection(), MSWordStyles::MSWordStyles(), SwTextFormatter::NewFootnoteNumPortion(), SwTextFormatter::NewPortion(), SwHTMLWriter::OutFootEndNoteInfo(), SwHTMLWriter::OutFootEndNoteSym(), SwHTMLWriter::OutStyleSheet(), SwUndoEndNoteInfo::RedoImpl(), DocxAttributeOutput::SectFootnoteEndnotePr(), RtfAttributeOutput::SectFootnoteEndnotePr(), WW8AttributeOutput::SectFootnoteEndnotePr(), SetEndNoteInfo(), SwXEndnoteProperties::setPropertyValue(), DocxAttributeOutput::TextFootnote_Impl(), SwUndoEndNoteInfo::UndoImpl(), SwFootnoteIdxs::UpdateAllFootnote(), SwFootnoteIdxs::UpdateFootnote(), WW8Export::WriteFootnoteBegin(), WW8_WrPlcSepx::WriteFootnoteEndText(), and DocxExport::WriteSettings().
SwExtTextInput * SwDoc::GetExtTextInput | ( | ) | const |
Definition at line 302 of file extinput.cxx.
References SwPaM::IsMultiSelection(), and mpExtInputRing.
SwExtTextInput * SwDoc::GetExtTextInput | ( | const SwNode & | rNd, |
sal_Int32 | nContentPos = -1 |
||
) | const |
Definition at line 275 of file extinput.cxx.
References SwPaM::End(), SwPosition::GetContentIndex(), SwNode::GetIndex(), SwExtTextInput::GetNext(), SwPosition::GetNodeIndex(), mpExtInputRing, and SwPaM::Start().
Referenced by SwEditWin::Command(), SwAttrIter::CtorInitAttrIter(), SwEditShell::DeleteExtTextInput(), and SwEditShell::SetExtTextInputData().
size_t SwDoc::GetFlyCount | ( | FlyCntType | eType, |
bool | bIgnoreTextBoxes = false |
||
) | const |
Access to frames.
Iterate over Flys - for Basic-Collections.
Definition at line 69 of file docfly.cxx.
References eType, FLYCNTTYPE_FRM, FLYCNTTYPE_GRF, FLYCNTTYPE_OLE, SwNodeIndex::GetIndex(), GetNodes(), SwNodeIndex::GetNodes(), GetSpzFrameFormats(), SwNodes::IsDocNodes(), SwNode::IsGrfNode(), SwNode::IsNoTextNode(), SwNode::IsOLENode(), SwTextBoxHelper::isTextBox(), nCount, and RES_FLYFRMFMT().
Referenced by SwXFrames::getCount(), SwFEShell::GetFlyCount(), and SwXFrames::hasElements().
std::vector< SwFrameFormat const * > SwDoc::GetFlyFrameFormats | ( | FlyCntType | eType, |
bool | bIgnoreTextBoxes | ||
) |
Definition at line 152 of file docfly.cxx.
References eType, FLYCNTTYPE_FRM, FLYCNTTYPE_GRF, FLYCNTTYPE_OLE, SwNodeIndex::GetIndex(), GetNodes(), SwNodeIndex::GetNodes(), GetSpzFrameFormats(), SwNodes::IsDocNodes(), SwNode::IsGrfNode(), SwNode::IsNoTextNode(), SwNode::IsOLENode(), SwTextBoxHelper::isTextBox(), RES_FLYFRMFMT(), and size.
Referenced by SwFEShell::GetFlyFrameFormats().
SwFrameFormat * SwDoc::GetFlyNum | ( | size_t | nIdx, |
FlyCntType | eType, | ||
bool | bIgnoreTextBoxes = false |
||
) |
Definition at line 112 of file docfly.cxx.
References eType, FLYCNTTYPE_FRM, FLYCNTTYPE_GRF, FLYCNTTYPE_OLE, SwNodeIndex::GetIndex(), GetNodes(), SwNodeIndex::GetNodes(), GetSpzFrameFormats(), SwNodes::IsDocNodes(), SwNode::IsGrfNode(), SwNode::IsNoTextNode(), SwNode::IsOLENode(), SwTextBoxHelper::isTextBox(), nCount, and RES_FLYFRMFMT().
Referenced by SwXFrames::getByIndex(), and SwFEShell::GetFlyNum().
|
inline |
Definition at line 649 of file doc.hxx.
Referenced by SwRootFrame::AssertFlyPages(), SwXFootnote::attach(), SwLayAction::CheckFirstVisPage(), SwFrame::CheckPageDescs(), ChgPageDesc(), SwTextNode::ChgTextCollUpdateNum(), SwTable::ConvertSubtables(), sw::CreateParentXText(), SwUndoSaveContent::DelContentIndex(), DelSectionFormat(), SwWW8ImplReader::End_Footnote(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwContentType::FillMemberList(), SwGetRefFieldType::FindAnchor(), SwNode::FindPageDesc(), SwXFootnotes::getByIndex(), SwXFootnotes::getCount(), SwCursor::GotoFootnoteAnchor(), SwCursor::GotoNextFootnoteAnchor(), SwCursor::GotoPrevFootnoteAnchor(), SwXFootnotes::hasElements(), SwTextNode::InsertHint(), InsertSwSection(), SwContentNode::IsAnyCondition(), lcl_FindFootnotePos(), lcl_MoveFootnotes(), SwTabFrame::MakeAll(), SwLayoutFrame::MoveLowerFootnotes(), sw::DocumentContentOperationsManager::MoveNodeRange(), sw::DocumentContentOperationsManager::MoveRange(), MSWordStyles::MSWordStyles(), SwSection::Notify(), SwHTMLWriter::OutStyleSheet(), sw::RemoveFootnotesForNode(), SwRootFrame::RemovePage(), SetAllUniqueFlyNames(), SetCurFootnote(), SetEndNoteInfo(), SetFootnoteInfo(), SetOutlineNumRule(), SwTextFootnote::SetStartNode(), sw_DeleteFootnote(), SwUndoChangeFootNote::UndoImpl(), SwUndoInsSection::UndoImpl(), SwUndoDelSection::UndoImpl(), UnHide(), SwGetRefField::UpdateField(), SwEndNoteInfo::UpdateFormatOrAttr(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), and SwDocShell::UpdateLinks().
|
inline |
|
inline |
Definition at line 645 of file doc.hxx.
Referenced by SwFootnoteBossFrame::AppendFootnote(), SwTextNode::ChgTextCollUpdateNum(), SwTextFrame::ConnectFootnote(), SwTextNode::CopyExpandText(), SwWW8ImplReader::CoreLoad(), RtfExport::ExportDocument_Impl(), SwPageFrame::FindPageDesc(), DocxAttributeOutput::FootnoteEndnoteRefTag(), SwTextFormatter::FormatQuoVadis(), SwHTMLWriter::GetFootEndNoteSym(), SwEditShell::GetFootnoteInfo(), SwXFootnoteProperties::getPropertyValue(), SwFormatFootnote::GetViewNumStr(), lcl_ErgoVadis(), SwTextFootnote::MakeNewTextSection(), SwLayoutFrame::MoveLowerFootnotes(), MSWordStyles::MSWordStyles(), SwTextFormatter::NewErgoSumPortion(), SwTextFormatter::NewFootnoteNumPortion(), SwTextFormatter::NewFootnotePortion(), SwTextFormatter::NewPortion(), SwHTMLWriter::OutFootEndNoteInfo(), SwHTMLWriter::OutFootEndNoteSym(), SwHTMLWriter::OutStyleSheet(), SwTextFrame::Prepare(), SwUndoFootNoteInfo::RedoImpl(), SwTextFrame::RemoveFootnote(), DocxAttributeOutput::SectFootnoteEndnotePr(), RtfAttributeOutput::SectFootnoteEndnotePr(), WW8AttributeOutput::SectFootnoteEndnotePr(), SetAllUniqueFlyNames(), SetCurFootnote(), SetFootnoteInfo(), SetOutlineNumRule(), SwXFootnoteProperties::setPropertyValue(), DocxAttributeOutput::TextFootnote_Impl(), WW8AttributeOutput::TextFootnote_Impl(), RtfAttributeOutput::TextFootnote_Impl(), SwUndoFootNoteInfo::UndoImpl(), UnHide(), SwFootnoteIdxs::UpdateAllFootnote(), SwFootnoteIdxs::UpdateFootnote(), WW8Export::WriteFootnoteBegin(), WW8_WrPlcSepx::WriteFootnoteEndText(), and DocxExport::WriteSettings().
|
inline |
|
inline |
Definition at line 753 of file doc.hxx.
Referenced by CopyFrameFormat(), SwXMLExport::exportDoc(), SwStyleSheetIterator::First(), SwUndoFormatAttr::GetFormat(), sw::DocumentStylePoolManager::GetFormatFromPool(), SwView::InsertGraphicDlg(), sw::DocumentStylePoolManager::IsPoolFormatUsed(), lcl_DeleteInfoStyles(), and lcl_SaveStyles().
uno::Reference< linguistic2::XProofreadingIterator > const & SwDoc::GetGCIterator | ( | ) | const |
Definition at line 123 of file docnew.cxx.
References sw::proofreadingiterator::get(), comphelper::getProcessComponentContext(), and m_xGCIterator.
Referenced by SwView::Execute(), Spell(), and StartGrammarChecking().
|
inline |
Definition at line 1577 of file doc.hxx.
Referenced by sw::getGrammarContactFor().
|
inline |
Definition at line 821 of file doc.hxx.
Referenced by SwUndoFormatAttr::GetFormat(), and SwHistoryChangeFormatColl::SetInDoc().
|
static |
Definition at line 707 of file docfly.cxx.
References SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwGrfNode::GetFileFilterNms(), SwNode::GetGrfNode(), SwNodeIndex::GetNode(), and SwGrfNode::IsLinkedFile().
Referenced by SwEditShell::GetGrfNms().
IDocumentChartDataProviderAccess & SwDoc::getIDocumentChartDataProviderAccess | ( | ) |
Definition at line 246 of file doc.cxx.
References m_pDocumentChartDataProviderManager.
IDocumentChartDataProviderAccess const & SwDoc::getIDocumentChartDataProviderAccess | ( | ) | const |
Definition at line 241 of file doc.cxx.
References m_pDocumentChartDataProviderManager.
Referenced by SaveTable::CreateNew(), SwChartDataProvider::DeleteBox(), SwTable::DeleteSel(), SwChartDataProvider::DisposeAllDataSequences(), SwFormat::getIDocumentChartDataProviderAccess(), SwTable::InsertCol(), SwTable::InsertRow_(), SwChartDataProvider::InvalidateTable(), SwXServiceProvider::MakeInstance(), SwNodes::MergeTable(), SwTable::OldMerge(), SwTable::OldSplitRow(), SetTableName(), SwTable::SplitCol(), SwEditShell::TableToText(), SwUndoTableNdsChg::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoMergeTable::UndoImpl(), and UpdateCharts_().
IDocumentContentOperations & SwDoc::getIDocumentContentOperations | ( | ) |
Definition at line 334 of file doc.cxx.
References m_pDocumentContentOperationsManager.
IDocumentContentOperations const & SwDoc::getIDocumentContentOperations | ( | ) | const |
Definition at line 329 of file doc.cxx.
References m_pDocumentContentOperationsManager.
Referenced by SwFmDrawPage::add(), AppendDoc(), sw::DocumentRedlineManager::AppendRedline(), SwEditShell::AppendTextNode(), SwWW8ImplReader::AppendTextNode(), SwXTextTable::attach(), SwXTextField::attach(), SwXFootnote::attach(), SwXLineBreak::attach(), SwXMeta::AttachImpl(), SwXContentControl::AttachImpl(), SwAutoFormat::AutoCorrect(), SwAutoFormat::BuildEnum(), SwAutoFormat::BuildIndent(), SwAutoFormat::BuildNegIndent(), SwAutoFormat::BuildText(), SwAutoFormat::BuildTextIndent(), SwAutoCorrDoc::ChgAutoCorrWord(), SwFEShell::ChgCurPageDesc(), ChgPageDesc(), ConvertFieldsToText(), SwTable::ConvertSubtableBox(), SwXText::convertToTextFrame(), SwFEShell::Copy(), SwFEShell::CopyDrawSel(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwEditShell::CopySelToDoc(), SwRangeRedline::CopyToSection(), SwWW8ImplReader::CoreLoad(), SwXMLTextImportHelper::createAndInsertApplet(), SwXMLTextImportHelper::createAndInsertFloatingFrame(), SwXMLTextImportHelper::createAndInsertOLEObject(), SwXMLTextImportHelper::createAndInsertOOoLink(), SwXMLTextImportHelper::createAndInsertPlugin(), SwRangeRedline::DelCopyOfSection(), SwAutoFormat::DelEmptyLine(), SwTextContentControl::Delete(), wwExtraneousParas::delete_all_from_doc(), SwXTextCursor::DeleteAndInsert(), DeleteBox_(), SwFEShell::DeleteCol(), IDocumentMarkAccess::DeleteFieldmarkCommand(), SwEditShell::DeleteGlobalDocContent(), SwEditShell::DeleteSel(), SwAutoCorrDoc::DeleteSelImpl(), SwTextField::DeleteTextField(), DeleteTOX(), DeleteTOXMark(), SwEditShell::DelFullPara(), sw::DocumentLayoutManager::DelLayoutFormat(), SwAutoFormat::DelMoreLinesBlanks(), DelSectionFormat(), DelTable(), SwXParagraph::dispose(), SwXContentControl::dispose(), SwXFootnote::dispose(), SwXMeta::dispose(), SwUnoCursorHelper::DocInsertStringSplitCR(), SwEditShell::DoSpecialInsert(), SwUndoTransliterate::DoTransliterate(), SwAutoFormat::DoUnderline(), SwWW8ImplReader::End_Field(), SwWW8ImplReader::End_Footnote(), SwTextShell::ExecField(), SwTextShell::Execute(), SwBreakDashedLine::execute(), SwNode::getIDocumentContentOperations(), GetMergeSel(), GiveNodePageDesc(), SwWW8ImplReader::ImportGraf(), SwWW8ImplReader::ImportOle(), SwWW8ImplReader::ImportReplaceableDrawables(), SwFEShell::Insert(), SwAutoCorrDoc::Insert(), SwEditShell::Insert(), SwEditShell::Insert2(), SwEditShell::InsertDDETable(), SwFEShell::InsertDrawObj(), SwEditShell::InsertField(), SwFieldMgr::InsertField(), SwUnoCursorHelper::InsertFile(), SwEditShell::InsertGlobalDocContent(), InsertGlossary(), XMLRedlineImportHelper::InsertIntoDocument(), SwFEShell::InsertObject(), SwWW8ImplReader::InsertOle(), SwXReferenceMark::Impl::InsertRefMark(), SwBaseShell::InsertRegionDialog(), SwTable::InsertRow_(), wwSectionManager::InsertSegments(), InsertSwSection(), SwEditShell::InsertTable(), SwWW8ImplReader::InsertTagField(), SwXText::insertTextContentAfter(), SwXText::insertTextContentBefore(), SwXDocumentIndexMark::Impl::InsertTOXMark(), lcl_CopySelToDoc(), lcl_DelHFFormat(), lcl_ImportTox(), lcl_SetAPageOffset(), SwDOCXReader::MakeEntries(), WW8Glossary::MakeEntries(), MakeFlyAndMove(), SwWW8ImplReader::MakeGrafInContent(), SwWW8ImplReader::MakeGrafNotInContent(), SwXMLTableContext::MakeTable(), SwUnoCursorHelper::makeTableCellRedline(), SwUnoCursorHelper::makeTableRowRedline(), UnfloatTableButton::MouseButtonDown(), SwUndoTableMerge::MoveBoxContent(), MoveCell(), SwRangeRedline::MoveFromSection(), SwEditShell::MoveGlobalDocContent(), MoveParagraphImpl(), SwNodes::MoveRange(), SwRangeRedline::MoveToSection(), SwTable::NewInsertCol(), NoNum(), SwWrtShell::NumOrBulletOn(), SwFEShell::Paste(), SwFEShell::PastePages(), SwTransferable::PrepareForCopyTextRange(), SwTable::PrepareMerge(), SwDOCXReader::Read(), HTMLReader::Read(), SwWW8ImplReader::Read_And(), SwWW8ImplReader::Read_F_ANumber(), SwWW8ImplReader::Read_F_Author(), SwWW8ImplReader::Read_F_CurPage(), SwWW8ImplReader::Read_F_DateTime(), SwWW8ImplReader::Read_F_DBField(), SwWW8ImplReader::Read_F_DBNext(), SwWW8ImplReader::Read_F_DBNum(), SwWW8ImplReader::Read_F_DocInfo(), SwWW8ImplReader::Read_F_Equation(), SwWW8ImplReader::Read_F_FileName(), SwWW8ImplReader::Read_F_FormListBox(), SwWW8ImplReader::Read_F_FormTextBox(), SwWW8ImplReader::Read_F_IncludePicture(), SwWW8ImplReader::Read_F_Input(), SwWW8ImplReader::Read_F_InputVar(), SwWW8ImplReader::Read_F_Macro(), SwWW8ImplReader::Read_F_Num(), SwWW8ImplReader::Read_F_PgRef(), SwWW8ImplReader::Read_F_Ref(), SwWW8ImplReader::Read_F_Seq(), SwWW8ImplReader::Read_F_Set(), SwWW8ImplReader::Read_F_Styleref(), SwWW8ImplReader::Read_F_Symbol(), SwWW8ImplReader::Read_F_TemplName(), SwWW8ImplReader::Read_GrafLayer(), SwWW8ImplReader::Read_LineBreakClear(), SwWW8ImplReader::Read_SubF_Ruby(), SwWW8ImplReader::ReadChar(), SwWW8ImplReader::ReadChars(), SwWW8ImplReader::ReadGrafLayer1(), SwWW8ImplReader::ReadText(), SwUndoAttr::redoAttribute(), SwUndoReplace::Impl::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoInsert::RedoImpl(), SwUndoSort::RedoImpl(), SwUndoSplitNode::RedoImpl(), SwUndoMove::RedoImpl(), SwRedlineExtraData_FormatColl::Reject(), SwRedlineExtraData_Format::Reject(), RemoveInvisibleContent(), SwXText::removeTextContentAfter(), SwXText::removeTextContentBefore(), SwUndoInserts::RepeatImpl(), SwUndoAttr::RepeatImpl(), SwUndoDelete::RepeatImpl(), SwUndoInsert::RepeatImpl(), SwUndoOverwrite::RepeatImpl(), SwUndoSplitNode::RepeatImpl(), sw::ReplaceImpl(), SwAutoCorrDoc::ReplaceRange(), SwFEShell::ReplaceSdrObj(), SwEditShell::SaveGlossaryDoc(), SwFltControlStack::SetAttrInDoc(), SwWW8FltControlStack::SetAttrInDoc(), SwWW8FltRefStack::SetAttrInDoc(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SetCounted(), SwUnoCursorHelper::SetCursorAttr(), SetFormatItemByAutoFormat(), SwTextNode::SetLanguageAndFont(), SetNumRule(), SetRowNotTracked(), SetRubyList(), SwCursorShell::SetShadowCursorPos(), SwTextFootnote::SetStartNode(), SwXText::setString(), SwUnoCursorHelper::SetString(), SetTextFormatCollByAutoFormat(), SwWW8ImplReader::simpleAddTextToParagraph(), SortText(), SwEditShell::SplitNode(), SwXMLImport::startDocument(), SwFormatField::SwClientNotify(), SwUndoDelete::SwUndoDelete(), TextToTable(), SwAutoCorrDoc::TransliterateRTLWord(), SwEditShell::TransliterateText(), SwTextNode::TransliterateText(), SwXTextField::TransmuteLeadToInputField(), SwUndoReplace::Impl::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoSort::UndoImpl(), SwUndoMove::UndoImpl(), SwUndoTableNdsChg::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoRedlineSort::UndoRedlineImpl(), SwTextRefMark::UpdateFieldContent(), UpdatePagesForPrintingWithPostItData(), SwExtTextInput::~SwExtTextInput(), and SwRangeRedline::~SwRangeRedline().
IDocumentDeviceAccess & SwDoc::getIDocumentDeviceAccess | ( | ) |
Definition at line 257 of file doc.cxx.
References m_pDeviceAccess.
IDocumentDeviceAccess const & SwDoc::getIDocumentDeviceAccess | ( | ) | const |
Definition at line 252 of file doc.cxx.
References m_pDeviceAccess.
Referenced by SwXDocumentSettings::_getSingleValue(), SwXDocumentSettings::_postSetValues(), SwXPrintSettings::_preGetValues(), SwXPrintSettings::_preSetValues(), SwXDocumentSettings::_setSingleValue(), SwTextFrame::CalcHeightOfLastLine(), SwTextSizeInfo::CtorInitTextSizeInfo(), SwDocShell::Execute(), SwTextFrame::FillCursorPos(), SwViewShell::FillPrtDoc(), SwTextFrame::FillRegister(), SwSpellDialogChildWindow::FindNextDrawTextError_Impl(), SwNode::getIDocumentDeviceAccess(), SwSrcView::GetPrinter(), SwViewShell::GetRefDev(), SwXTextDocument::getRenderer(), IMPL_LINK_NOARG(), sw::DocumentDrawModelManager::InitDrawModel(), lcl_CreateWorkingDocument(), lcl_GetPrintUIOptions(), lcl_SavePrintUIOptionsToDocumentPrintData(), SwDocShell::OnDocumentPrinterChanged(), SdrHHCWrapper::SdrHHCWrapper(), SwXMLImport::SetConfigurationSettings(), SwSrcView::SetPrinter(), SwAsciiFilterDlg::SwAsciiFilterDlg(), and SwWriter::Write().
IDocumentDrawModelAccess & SwDoc::getIDocumentDrawModelAccess | ( | ) |
Definition at line 174 of file doc.cxx.
References GetDocumentDrawModelManager().
IDocumentDrawModelAccess const & SwDoc::getIDocumentDrawModelAccess | ( | ) | const |
Definition at line 169 of file doc.cxx.
References GetDocumentDrawModelManager().
Referenced by SwFmDrawPage::add(), SwXGroupShape::add(), docfunc::AllDrawObjsOnPage(), sw::ThemeColorChanger::apply(), CheckForUniqueItemForLineFillNameOrIndex(), CloneSdrObj(), SwXMLTextImportHelper::createAndInsertApplet(), SwXMLTextImportHelper::createAndInsertFloatingFrame(), SwXMLTextImportHelper::createAndInsertOLEObject(), SwXMLTextImportHelper::createAndInsertOOoLink(), SwXMLTextImportHelper::createAndInsertPlugin(), SwTextShell::CreateInsertFrameItemSet(), SwTextBoxHelper::DoTextBoxZOrderCorrection(), dumpAsXml(), SwEnvFormatPage::Edit(), SwDocShell::Edit(), SwXMLImport::endDocument(), SwTextAPIEditSource::EnsureOutliner(), SwFrameShell::Execute(), SwTextShell::Execute(), SwGrfShell::Execute(), SwHeaderFooterWin::ExecuteCommand(), docfunc::ExistsDrawObjs(), SwXMLExport::exportDoc(), MSWordExportBase::ExportDocument(), SwSpellDialogChildWindow::FindNextDrawTextError_Impl(), sw::search::SearchResultLocator::findOne(), sw::FindTextImpl(), SwFmDrawPage::getByIndex(), SwXLinkNameAccessWrapper::getByName(), SwFmDrawPage::getCount(), SwTransferable::GetData(), SwContentTree::GetDrawingObjectsByContent(), SwXTextDocument::getDrawPage(), SwXDocumentPropertyHelper::GetDrawTable(), SwXLinkNameAccessWrapper::getElementNames(), SwFormat::getIDocumentDrawModelAccess(), SwNode::getIDocumentDrawModelAccess(), SwBasicEscherEx::GetInvisibleHellId(), SwDocStyleSheet::GetItemSet(), SwSvxUnoDrawPool::getModelPool(), SwXShape::getPropertyValue(), SwXTextDocument::getPropertyValue(), SwXTextDocument::getSdrModelFromUnoModel(), WW8Export::GetSdrOrdNum(), SwWW8ImplReader::GraphicCtor(), SwXLinkNameAccessWrapper::hasByName(), SwFmDrawPage::hasElements(), IMPL_LINK(), SwBasicEscherEx::Init(), SwTextFly::InitAnchoredObjList(), SwTextShell::InsertMediaDlg(), SwAnchoredObject::IsFormatPossible(), sw::IsPageFrameEmpty(), lcl_ConvertSdrOle2ObjsToSdrGrafObjs(), lcl_InsertDrawLabel(), lcl_RefreshLine(), lcl_SubtractFlys(), lcl_urlOverBackground(), SwView::Notify(), SwHTMLWriter::OutHiddenForms(), OutHTML_DrawFrameFormatAsMarquee(), SwRootFrame::PaintSwFrame(), SwXTextDocument::paintTile(), SwXTextDocument::postMouseEvent(), sw::DocumentDeviceManager::PrtDataChanged(), SwView::ReadUserDataSequence(), SwUndoInsertLabel::RedoImpl(), sw::UndoThemeChange::RedoImpl(), SwLayoutFrame::RefreshLaySubsidiary(), sw::DocumentSettingManager::setCharacterCompressionType(), sw::DocumentSettingManager::setForbiddenCharacters(), sw::DocumentDeviceManager::setPrinter(), SwXShape::setPropertyValue(), SwXTextDocument::setPropertyValue(), sw::DocumentDeviceManager::setReferenceDeviceType(), sw::DocumentDeviceManager::setVirtualDevice(), DocxSdrExport::startDMLAnchorInline(), SwXMLImport::startDocument(), SwDrawContact::SwClientNotify(), WW8Export::TestOleNeedsGraphic(), sw::ModelTraverser::traverse(), sw::UndoThemeChange::UndoImpl(), SwEditWin::UpdatePointer(), SwXMLWriter::Write_(), SwEscherEx::WriteOCXControl(), PlcDrawObj::WritePlc(), DocxExport::WriteTheme(), and SwView::WriteUserDataSequence().
IDocumentExternalData & SwDoc::getIDocumentExternalData | ( | ) |
Definition at line 456 of file doc.cxx.
References m_pDocumentExternalDataManager.
IDocumentExternalData const & SwDoc::getIDocumentExternalData | ( | ) | const |
Definition at line 451 of file doc.cxx.
References m_pDocumentExternalDataManager.
Referenced by SwWW8ImplReader::CoreLoad(), and WW8Export::WriteFkpPlcUsw().
IDocumentFieldsAccess & SwDoc::getIDocumentFieldsAccess | ( | ) |
Definition at line 376 of file doc.cxx.
References m_pDocumentFieldsManager.
IDocumentFieldsAccess const & SwDoc::getIDocumentFieldsAccess | ( | ) | const |
Definition at line 371 of file doc.cxx.
References m_pDocumentFieldsManager.
Referenced by SwPostItMgr::AddPostIts(), SwViewOptionAdjust_Impl::AdjustViewOptions(), AppendDoc(), SwXTextField::attach(), SwInputFieldList::BuildSortLst(), SwViewShell::CalcLayout(), SwEditShell::Calculate(), SwTable::CanConvertSubtables(), ChangeAuthorityData(), SwDDETable::ChangeContent(), ChangeDBFields(), SwGetExpField::ChangeExpansion(), SwFrame::CheckPageDescs(), ChgDBData(), SwNodes::ChgNode(), ChgPageDesc(), ChkBoxNumFormat(), SwAuthorityField::ConditionalExpandAuthIdentifier(), ConvertFieldsToText(), SwGetRefField::ConvertProgrammaticToUIName(), SwFEShell::Copy(), SwTransferable::CopyGlossary(), SwEditShell::CopySelToDoc(), SwRenderData::CreatePostItData(), DeleteRowCol(), DelTable(), SwTextNode::DestroyAttr(), sw::DocumentStatisticsManager::DocInfoChgd(), SwUndoFieldFromDoc::DoImpl(), dumpAsXml(), SwWW8ImplReader::End_Field(), SwTextShell::ExecField(), SwTextShell::ExecIdx(), SwAuthorityField::ExpandCitation(), SwContentType::FillMemberList(), SwViewShell::FillPrtDoc(), SwGetRefFieldType::FindAnchor(), MSWordExportBase::GatherChapterFields(), AttributeOutputBase::GenerateBookmarksForSequenceField(), sw::mark::AnnotationMark::GetAnnotationFormatField(), SwXTextFieldMasters::getByName(), SwTransferable::GetData(), GetDBData(), SwXTextFieldMasters::getElementNames(), SwEditShell::GetFieldType(), SwEditShell::GetFieldTypeCount(), SwFormat::getIDocumentFieldsAccess(), SwNode::getIDocumentFieldsAccess(), sw::DocumentTimerManager::GetNextIdleJob(), SwXFieldMaster::GetProgrammaticName(), SwXTextFieldMasters::hasByName(), HasInvisibleContent(), MSWordExportBase::HasRefToAttr(), MSWordExportBase::HasRefToFootOrEndnote(), sw::IMPL_LINK_NOARG(), IMPL_LINK_NOARG(), sw::DocumentStatisticsManager::IncrementalDocStatCalculate(), InsCopyOfTable(), InsertCol(), SwEditShell::InsertFieldType(), InsertGlossary(), SwFrame::InsertPage(), SwWrtShell::InsertPostIt(), InsertRow(), InsertSwSection(), SwWW8ImplReader::InsertTagField(), SwEditShell::IsAnyDatabaseFieldInDoc(), SwEditShell::IsExpFieldsLocked(), SwEditShell::IsFieldDataSourceAvailable(), sw::IsShrinkPageForPostIts(), lcl_CopySelToDoc(), lcl_GenerateFieldTypeName(), lcl_GetDDEFieldType(), lcl_GetPrintUIOptions(), lcl_InsertDrawLabel(), lcl_InsertLabel(), SwEditShell::LockExpFields(), SwTableNode::MakeCopy(), SwTable::MakeCopy(), SwXServiceProvider::MakeInstance(), SwRefPageGetFieldType::MakeSetList(), SwDBManager::MergeMailFiles(), MergeTable(), SwGetRefFieldType::MergeWithOtherDoc(), SwModule::Notify(), SwFEShell::Paste(), SwFEShell::PastePages(), SwTransferable::PrepareForCopy(), SwTransferable::PrepareForCopyTextRange(), SwWW8ImplReader::Read_And(), SwWW8ImplReader::Read_F_ANumber(), SwWW8ImplReader::Read_F_Author(), SwWW8ImplReader::Read_F_CurPage(), SwWW8ImplReader::Read_F_DateTime(), SwWW8ImplReader::Read_F_DBField(), SwWW8ImplReader::Read_F_DBNext(), SwWW8ImplReader::Read_F_DBNum(), SwWW8ImplReader::Read_F_DocInfo(), SwWW8ImplReader::Read_F_Equation(), SwWW8ImplReader::Read_F_FileName(), SwWW8ImplReader::Read_F_FormListBox(), SwWW8ImplReader::Read_F_FormTextBox(), SwWW8ImplReader::Read_F_Input(), SwWW8ImplReader::Read_F_InputVar(), SwWW8ImplReader::Read_F_Macro(), SwWW8ImplReader::Read_F_NoteReference(), SwWW8ImplReader::Read_F_Num(), SwWW8ImplReader::Read_F_PgRef(), SwWW8ImplReader::Read_F_Ref(), SwWW8ImplReader::Read_F_Seq(), SwWW8ImplReader::Read_F_Set(), SwWW8ImplReader::Read_F_Styleref(), SwWW8ImplReader::Read_F_TemplName(), SwWW8ImplReader::ReadChar(), SwUndoInsTable::RedoImpl(), SwUndoTableNumFormat::RedoImpl(), SwXTextFieldTypes::refresh(), SwWW8FltRefStack::RefToVar(), SwDBFieldType::ReleaseRef(), SwEditShell::RemoveFieldType(), RemoveInvisibleContent(), SwRootFrame::RemoveSuperfluous(), SwFltControlStack::SetAttrInDoc(), SetEndNoteInfo(), SetFootnoteInfo(), SwXCell::setFormula(), SwHistorySetTextField::SetInDoc(), SetOutlineNumRule(), SwXTextDocument::setPropertyValue(), SwXTextField::setPropertyValue(), SetTableAutoFormat(), Reader::SetTemplate(), SplitTable(), SwTableBoxFormat::SwClientNotify(), SwUserFieldType::SwClientNotify(), SwTextFrame::SwClientNotify(), SwHistorySetTextField::SwHistorySetTextField(), SwInputFieldList::SwInputFieldList(), SwTableNumFormatMerge::SwTableNumFormatMerge(), TextToTable(), SwpHints::TryInsertHint(), SwUndoFieldFromDoc::UndoImpl(), SwUndoTableToText::UndoImpl(), SwUndoDelSection::UndoImpl(), UnHide(), SwEditShell::UnlockExpFields(), SwContentFrame::UpdateAttr_(), SwTabFrame::UpdateAttr_(), SwTOXBaseSection::UpdateAuthorities(), SwEditShell::UpdateExpFields(), SwTextInputField::UpdateFieldContent(), SwViewShell::UpdateFields(), SwTable::UpdateFields(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), SwEditShell::UpdateOneField(), SwNodes::UpdateOutlineNode(), UpdateSection(), SwTOXBaseSection::UpdateSequence(), SwEditShell::UpdateTable(), and SwCalc::VarLook().
IDocumentLayoutAccess & SwDoc::getIDocumentLayoutAccess | ( | ) |
Definition at line 424 of file doc.cxx.
References m_pDocumentLayoutManager.
IDocumentLayoutAccess const & SwDoc::getIDocumentLayoutAccess | ( | ) | const |
Definition at line 419 of file doc.cxx.
References m_pDocumentLayoutManager.
Referenced by SwFmDrawPage::add(), AddDrawUndo(), AppendDoc(), SwDrawContact::Changed(), CheckMergeSel(), SwModule::CheckSpellChanges(), CheckSplitCells(), ChgAnchor(), SwLayoutFrame::ChgColumns(), SwNodes::ChgNode(), ChgPageDesc(), ChkChartSel(), SwTextBoxNode::ClearAll(), ClearDoc(), ClearFEShellTabCols(), SwLayouter::ClearMoveBwdLayoutInfo(), SwLayouter::ClearMovedFwdFrames(), SwLayouter::ClearObjsTmpConsiderWrapInfluence(), SwTextBoxNode::Clone_Impl(), SwLayouter::CollectEndnotes(), CollectFrameAtNode(), SwLayouter::Collecting(), SwLayoutCache::CompareLayout(), SwModule::ConfigurationChanged(), SwTextFrame::ConnectFootnote(), SwFEShell::Copy(), SwFEShell::CopyDrawSel(), SwTextFlyCnt::CopyFlyFormat(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), CopyMasterFooter(), CopyMasterHeader(), CopyPageDesc(), SwWW8ImplReader::CoreLoad(), sw::DocumentChartDataProviderManager::CreateChartInternalDataProviders(), SwDrawView::DeleteMarked(), SwFEShell::DeleteRow(), DeleteSelection(), DelFlyInRange(), sw::DocumentContentOperationsManager::DelFullPara(), sw::DocumentLayoutManager::DelLayoutFormat(), DelTable(), SwTextNode::DestroyAttr(), SwXShape::dispose(), SwLayouter::DoesRowContainMovedFwdFrame(), DoUpdateAllCharts(), SwDocShell::Execute(), SwDocStatFieldType::Expand(), SwTextField::ExpandTextField(), SwXMLExport::exportDoc(), DocxExportFilter::exportDocument(), MSWordExportBase::ExportDocument(), RtfExport::ExportDocument_Impl(), WW8Export::ExportDocument_Impl(), RtfExportFilter::filter(), sw::search::SearchResultLocator::findOne(), SwNode::FindOutlineNodeOfLevel(), SwNode::FindPageDesc(), SwLayouter::FrameMovedFwdByObjPos(), sw::ToxTextGenerator::GenerateText(), GetAllFlyFormats(), GetAllLayouts(), SwDocUpdateField::GetBodyNode(), SwDocUpdateField::GetBodyNodeGeneric(), SwHTMLTableLayout::GetBrowseWidth(), SwHTMLTableLayout::GetBrowseWidthByVisArea(), GetControlSize(), SwUnoCursorHelper::GetCurPageStyle(), GetEditShell(), SwFormat::getIDocumentLayoutAccess(), SwNode::getIDocumentLayoutAccess(), GetMergeSel(), SwTextNode::GetMinMaxSize(), sw::DocumentTimerManager::GetNextIdleJob(), SwXFlatParagraphIterator::getNextPara(), GetNode(), ooo::vba::word::getPageCount(), SwPaM::GetPageNum(), SwXFlatParagraphIterator::getParaAfter(), SwXFlatParagraphIterator::getParaBefore(), SwXTextField::getPropertyValue(), SwAuthorityFieldType::GetSequencePos(), GetTableSel(), GetTableSelCrs(), SwXTextTableCursor::goDown(), SwView::GotFocus(), GotoTOXMark(), SwXTextTableCursor::goUp(), SwVbaInformationHelper::handleWdVerticalPositionRelativeToPage(), SwPaM::HasReadonlySel(), sw::IMPL_LINK_NOARG(), sw::DocumentStatisticsManager::IncrementalDocStatCalculate(), SwViewShell::Init(), sw::DocumentDrawModelManager::InitDrawModel(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwLayouter::InsertMovedFwdFrame(), SwLayouter::InsertObjForTmpConsiderWrapInfluence(), SwNodes::InsertTextSection(), InvalidateAutoCompleteFlag(), SwCursor::IsAtValidPos(), IsFrameBehind(), IsHeadingContained(), SwContentAtPos::IsInProtectSect(), SwNode::IsInVisibleArea(), lcl_CalcLayout(), lcl_ChangeFootnoteRef(), lcl_CpyBox(), lcl_FindAnchorLayPos(), lcl_FindAnchorPos(), lcl_FindNextCell(), lcl_FindPrevCell(), lcl_GetBoxFrame(), lcl_getLayoutRect(), lcl_GetRowNumber(), lcl_GetStartEndCell(), lcl_HyphenateNode(), lcl_IsInHeaderFooter(), lcl_MakeFieldLst(), lcl_RemoveImpl(), lcl_SetNewFlyPos(), SwRedlineTable::LOKRedlineNotification(), LOOPING_LOUIE_LIGHT(), SwUnoTableCursor::MakeBoxSels(), SwSectionNode::MakeCopy(), sw::DocumentDrawModelManager::MakeDrawModel_(), MakeFlySection_(), SwFlyFrameFormat::MakeFrames(), MakeFrames(), FndBox_::MakeFrames(), SwSectionNode::MakeFramesForAdjacentContentNode(), SwWW8ImplReader::MakeGrafNotInContent(), SwXMLTableContext::MakeTable(), UnfloatTableButton::MouseButtonDown(), SwLayouter::MoveBwdSuppressed(), SwTable::NewSplitRow(), SwDDETable::NoDDETable(), SwSectionNode::NodesArrChgd(), SwURLStateChanged::Notify(), SwNoTextFrame::OnGraphicArrived(), SwHTMLWriter::OutCSS1_FrameFormatBackground(), OutHTML_SwTableNode(), SwFEShell::PastePages(), PreDelPageDesc(), sw::DocumentDeviceManager::PrtDataChanged(), SwViewShell::PrtOle2(), PrtOLENotify(), SwUndoMoveLeftMargin::RedoImpl(), SwDDEFieldType::RefCntChgd(), SwPageDesc::RegisterChange(), SwRedlineTable::Remove(), RemoveInvisibleContent(), SwLayouter::RemoveMovedFwdFrame(), SwLayouter::RemoveObjForTmpConsiderWrapInfluence(), SwUndoInsLayFormat::RepeatImpl(), SwUndoMoveLeftMargin::RepeatImpl(), SwUndoInsertLabel::RepeatImpl(), SwUndoInsSection::RepeatImpl(), SwHTMLTableLayout::Resize(), SwHTMLTableLayout::Resize_(), RestFlyInRange(), SaveTable::RestoreAttr(), SwUndoFormatAttr::RestoreFlyAnchor(), SwTextFlyCnt::SetAnchor(), SwFltControlStack::SetAttrInDoc(), SwXMLExport::SetBodyAttributes(), SetBoxAttr(), sw::DocumentSettingManager::setCharacterCompressionType(), SetCurFootnote(), SetEndNoteInfo(), SetFootnoteInfo(), sw::DocumentSettingManager::setForbiddenCharacters(), SetGrfFlySize(), SwHistoryChangeFlyAnchor::SetInDoc(), SetLineNumberInfo(), SetOLEObjModified(), SwXShape::setPropertyValue(), SetTabBorders(), SetTabLineStyle(), SwRangeRedline::Show(), Spell(), SpellItAgainSam(), SplitDoc(), SwLayouter::StartLoopControl(), SwFrameFormat::SwClientNotify(), SwLineNumberInfo::SwClientNotify(), SwNoTextFrame::SwClientNotify(), SwPosFlyFrame::SwPosFlyFrame(), SwTOXSortTabBase::SwTOXSortTabBase(), SwView::SwView(), SwNodes::TextToTable(), UnoActionContext::UnoActionContext(), SwFootnoteIdxs::UpdateAllFootnote(), UpdateCharts(), sw::UpdateFramesForRemoveDeleteRedline(), SwTOXBaseSection::UpdatePageNum(), SwLayoutCache::Write(), SwXMLWriter::Write_(), WriteDop(), DocxExport::WriteSettings(), SwWW8Writer::WriteStorageImpl(), SwDataChanged::~SwDataChanged(), UnoActionContext::~UnoActionContext(), and UnoActionRemoveContext::~UnoActionRemoveContext().
IDocumentLinksAdministration & SwDoc::getIDocumentLinksAdministration | ( | ) |
Definition at line 279 of file doc.cxx.
References m_pDocumentLinksAdministrationManager.
IDocumentLinksAdministration const & SwDoc::getIDocumentLinksAdministration | ( | ) | const |
Definition at line 274 of file doc.cxx.
References m_pDocumentLinksAdministrationManager.
Referenced by SwSection::BreakLink(), SwOLENode::CheckFileLink_Impl(), SwSection::CreateLink(), SwBaseLink::DataChanged(), sw::mark::DdeBookmark::DeregisterFromDoc(), SwOLENode::DisconnectFileLink_Impl(), SwFEShell::FinishOLEObj(), GetDocStorage(), SwNode::getIDocumentLinksAdministration(), GetPersist(), sw::DocumentDrawModelManager::InitDrawModel(), SwServerObject::IsLinkInServer(), lcl_BreakSectionLinksInSect(), lcl_CreateWorkingDocument(), lcl_UpdateLinksInSect(), SwSection::MakeChildLinksVisible(), SwSectionNode::MakeCopy(), SwSectionNode::NodesArrChgd(), SwDDEFieldType::RefCntChgd(), SwGrfNode::ReRead(), SwGrfNode::SavePersistentData(), SwDDEFieldType::SetDoc(), SetDocShell(), SwDocShell::UpdateLinks(), SwXTextDocument::updateLinks(), UpdateSection(), SwWriter::Write(), SwDataChanged::~SwDataChanged(), SwDDEFieldType::~SwDDEFieldType(), ~SwDoc(), SwGrfNode::~SwGrfNode(), SwSection::~SwSection(), and SwTable::~SwTable().
IDocumentListItems & SwDoc::getIDocumentListItems | ( | ) |
Definition at line 301 of file doc.cxx.
References m_pDocumentListItemsManager.
IDocumentListItems const & SwDoc::getIDocumentListItems | ( | ) | const |
Definition at line 295 of file doc.cxx.
References m_pDocumentListItemsManager.
Referenced by SwNode::getIDocumentListItems().
IDocumentListsAccess & SwDoc::getIDocumentListsAccess | ( | ) |
Definition at line 312 of file doc.cxx.
References m_pDocumentListsManager.
IDocumentListsAccess const & SwDoc::getIDocumentListsAccess | ( | ) | const |
Definition at line 307 of file doc.cxx.
References m_pDocumentListsManager.
Referenced by AddNumRule(), ClearDoc(), SwAttrSet::CopyToModify(), SwDocStyleSheet::Create(), DelNumRule(), FindList(), SwTextNode::HasMarkedLabel(), IsUsed(), SwDocShell::MakeByExample(), MakeNumRule(), MakeUniqueNumRules(), MarkListLevel(), SwXMLImport::MergeListsAtDocumentInsertPosition(), AttributeOutputBase::ParaNumRule(), RenameNumRule(), SwDocStyleSheet::SetName(), SetNumRule(), SetOutlineNumRule(), and SwDocShell::UpdateStyle().
IDocumentMarkAccess * SwDoc::getIDocumentMarkAccess | ( | ) |
Definition at line 1890 of file docbm.cxx.
Referenced by AppendDoc(), SwXTextField::attach(), sw::CalcBreaks(), sw::util::RedlineStack::close(), SwTable::ConvertSubtables(), sw::CopyBookmarks(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentContentOperationsManager::CopyWithFlyInFly(), SwWW8ImplReader::CoreLoad(), CorrAbs(), CorrRel(), Writer::CreateBookmarkTable(), sw::DocumentLinksAdministrationManager::CreateLinkSource(), DelBookmarks(), SwUndoSaveContent::DelContentIndex(), sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), DeleteDDEMarks(), sw::DocumentContentOperationsManager::DelFullPara(), SwTextPaintInfo::DrawBackBrush(), SwWW8ImplReader::End_Field(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwTextShell::ExecField(), SwBaseShell::Execute(), SwGetRefFieldType::FindAnchor(), Writer::FindPos_Bkmk(), SwFieldFormCheckboxPortion::Format(), SwTextAnnotationField::GetAnnotationMark(), MSWordExportBase::GetAnnotationMarks(), MSWordExportBase::GetBookmarks(), SwXBookmarks::getByIndex(), SwXBookmarks::getByName(), SwCursorShell::GetContentAtPos(), SwXBookmarks::getCount(), sw::DocumentLinksAdministrationManager::GetData(), SwXBookmarks::getElementNames(), SwNode::getIDocumentMarkAccess(), SwPostItHelper::getLayoutInfos(), SwTOXPara::GetURL(), SwCursorShell::GotoFormControl(), SwXBookmarks::hasByName(), SwXBookmarks::hasElements(), SwPaM::HasReadonlySel(), SwWrtShell::InsertField2(), SwXTextRange::Impl::Invalidate(), IsCursorInFieldmarkHidden(), SwWW8FltRefStack::IsFootnoteEdnBkmField(), lcl_ExportFieldMark(), lcl_getFieldmark(), lcl_storeAnnotationMarks(), SwDocUpdateField::MakeFieldList_(), sw::MakeInsertText(), ModelToViewHelper::ModelToViewHelper(), MSWordExportBase::NeedTextNodeSplit(), SwVbaFormField::Next(), SwHTMLWriter::OutBookmarks(), SwHTMLWriter::OutPointFieldmarks(), MSWordExportBase::OutputTextNode(), SwFieldFormCheckboxPortion::Paint(), SwVbaFormField::Previous(), XMLReader::Read(), SwWW8ImplReader::Read_F_FormCheckBox(), SwWW8ImplReader::Read_F_FormListBox(), SwTextFrame::RegisterToNode(), SwUndoRenameBookmark::Rename(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwUndoBookmark::ResetInDoc(), SwHistoryNoTextFieldmark::ResetInDoc(), SwHistoryTextFieldmark::ResetInDoc(), sw::DocumentLinksAdministrationManager::SelectServerObj(), SwCursor::SelectWordWT(), SwFltControlStack::SetAttrInDoc(), SwWW8FltRefStack::SetAttrInDoc(), sw::DocumentLinksAdministrationManager::SetData(), SwHistoryBookmark::SetInDoc(), SwHistoryNoTextFieldmark::SetInDoc(), SwHistoryTextFieldmark::SetInDoc(), sw::mark::SaveBookmark::SetInDoc(), SwTOXPara::SwTOXPara(), SwXFieldEnumeration::SwXFieldEnumeration(), SwTextFormatter::WhichTextPor(), and SwXMLWriter::Write_().
const IDocumentMarkAccess * SwDoc::getIDocumentMarkAccess | ( | ) | const |
IDocumentOutlineNodes & SwDoc::getIDocumentOutlineNodes | ( | ) |
Definition at line 323 of file doc.cxx.
References m_pDocumentOutlineNodesManager.
IDocumentOutlineNodes const & SwDoc::getIDocumentOutlineNodes | ( | ) | const |
Definition at line 318 of file doc.cxx.
References m_pDocumentOutlineNodesManager.
Referenced by SwXLinkNameAccessWrapper::getByName(), and lcl_CreateOutlineString().
IDocumentRedlineAccess & SwDoc::getIDocumentRedlineAccess | ( | ) |
Definition at line 354 of file doc.cxx.
References m_pDocumentRedlineManager.
IDocumentRedlineAccess const & SwDoc::getIDocumentRedlineAccess | ( | ) | const |
Definition at line 349 of file doc.cxx.
References m_pDocumentRedlineManager.
Referenced by SwXDocumentSettings::_getSingleValue(), SwXDocumentSettings::_setSingleValue(), SwVbaRevision::Accept(), SwEditShell::AcceptRedline(), SwEditShell::AcceptRedlinesInSelection(), SwUndoTableCpyTable::AddBoxAfter(), SwUndoTableCpyTable::AddBoxBefore(), SwTextNode::AddToList(), sw::DocumentContentOperationsManager::AppendTextNode(), SwAutoFormat::AutoCorrect(), SwLineLayout::CalcLine(), SwRangeRedline::CallDisplayFunc(), SwUndoInsert::CanGrouping(), SwUndoDelete::CanGrouping(), SwUndoOverwrite::CanGrouping(), SwRedlineItr::CheckLine(), SwAutoCorrDoc::ChgAutoCorrWord(), ChgTextToNum(), ClearDoc(), CompareDoc(), XMLRedlineImportHelper::ConvertRedline(), SwTable::ConvertSubtables(), SwFEShell::Copy(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentContentOperationsManager::CopyRange(), SwRangeRedline::CopyToSection(), sw::DocumentContentOperationsManager::CopyWithFlyInFly(), SwWW8ImplReader::CoreLoad(), CorrAbs(), CorrRel(), DelBookmarks(), SwRangeRedline::DelCopyOfSection(), sw::DocumentContentOperationsManager::DeleteAndJoin(), sw::DocumentContentOperationsManager::DeleteAndJoinImpl(), sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), DeleteBox_(), SwFEShell::DeleteCol(), sw::DocumentContentOperationsManager::DeleteDummyChar(), sw::DocumentContentOperationsManager::DeleteRange(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentContentOperationsManager::DeleteSection(), sw::DocumentContentOperationsManager::DelFullPara(), dumpAsXml(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwTextShell::ExecField(), SwDocShell::Execute(), SwView::Execute(), SwXMLExport::exportDoc(), MSWordExportBase::ExportDocument(), sw::DocumentFieldsManager::FieldsToExpand(), SwUndo::FillSaveData(), SwUndo::FillSaveDataForFormat(), SwGetRefFieldType::FindAnchor(), SwEditShell::FindRedlineOfData(), SwXRedlines::getByIndex(), SwCursorShell::GetContentAtPos(), SwXRedlines::getCount(), SwEditShell::GetCurrRedline(), SwNode::getIDocumentRedlineAccess(), SwRedlineItr::GetNextRedln(), SwWW8AttrIter::GetParagraphLevelRedline(), AttributeOutputBase::GetParagraphMarkerRedline(), SwXTextDocument::getPropertyValue(), SwXText::getPropertyValue(), SwXTextSection::Impl::GetPropertyValues_Impl(), sw::GetRanges(), SwTableBox::GetRedline(), SwEditShell::GetRedline(), SwAccessibleParagraph::GetRedlineAtIndex(), SwEditShell::GetRedlineCount(), SwEditShell::GetRedlineFlags(), SwTextNode::GetRedlineText(), SwTableLine::GetRedlineType(), SwTableBox::GetRedlineType(), SwWW8AttrIter::GetRunLevelRedline(), SwAuthorityFieldType::GetSequencePos(), SwView::GetState(), SwTableLine::GetTableRedline(), SwXTextDocument::getTrackedChanges(), SwCursorShell::GotoRedline(), SwCursorShell::GotoRedline_(), SwTable::HasDeletedRowOrCell(), SwXRedlines::hasElements(), SwXRedlineEnumeration::hasMoreElements(), HasRowNotTracked(), SwRangeRedline::Hide(), SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), SwUndoInsert::Init(), InsCopyOfTable(), SwFEShell::Insert(), InsertCnt_(), XMLRedlineImportHelper::InsertIntoDocument(), SwXAutoTextGroup::insertNewByName(), SwTable::InsertRow_(), sw::DocumentContentOperationsManager::InsertString(), InsertSwSection(), InsertTable(), SwNodes::InsertTextSection(), SwTable::IsDeleted(), IsExtraData(), SwNode::IsInRedlines(), SwEditShell::IsRedlineOn(), SwTableLine::IsTracked(), lcl_CollectDeletedRedlines(), lcl_CpyBox(), lcl_FillRedlineArray(), lcl_getFormatCollection(), lcl_GetRedlineAtNodeInsertionOrDeletion(), lcl_GetSpecialProperty(), lcl_MaskDeletedRedlines(), lcl_MaskRedlines(), lcl_MaskRedlinesAndHiddenText(), MakeFlyAndMove(), SwEditShell::MakeGlossary(), SwUnoCursorHelper::makeRedline(), SwRefPageGetFieldType::MakeSetList(), SwUnoCursorHelper::makeTableCellRedline(), SwUnoCursorHelper::makeTableRowRedline(), MaybeNotifyRedlineModification(), MergeDoc(), MergeTable(), SwRangeRedline::MoveFromSection(), sw::DocumentContentOperationsManager::MoveNodeRange(), MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), SwRangeRedline::MoveToSection(), SwTextFormatter::NewFootnoteNumPortion(), SwTable::NewInsertCol(), SwTextFormatter::NewNumberPortion(), SwXRedlineEnumeration::nextElement(), sw::util::SetInDocAndDelete::operator()(), sw::DocumentContentOperationsManager::Overwrite(), SwTextFrame::PaintExtraData(), SwTransferable::Paste(), SwTransferable::PrepareForCopyTextRange(), SwUndoTableCpyTable::PrepareRedline(), XMLReader::Read(), SwWW8ImplReader::ReadRevMarkAuthorStrTabl(), SwRedlineSaveData::RedlineToDoc(), SwEditShell::Redo(), SwUndoAttr::redoAttribute(), SwUndoInserts::RedoImpl(), SwUndoInsert::RedoImpl(), SwUndoOverwrite::RedoImpl(), SwUndoRedline::RedoImpl(), SwUndoCompDoc::RedoImpl(), SwUndoInsSection::RedoImpl(), SwUndoSplitNode::RedoImpl(), SwUndoInsTable::RedoImpl(), SwUndoRedline::RedoRedlineImpl(), SwUndoRedlineDelete::RedoRedlineImpl(), SwUndoAcceptRedline::RedoRedlineImpl(), SwUndoRejectRedline::RedoRedlineImpl(), SwTextFrame::RegisterToNode(), SwVbaRevision::Reject(), SwRedlineExtraData_FormatColl::Reject(), SwRedlineExtraData_Format::Reject(), SwEditShell::RejectRedline(), SwEditShell::RejectRedlinesInSelection(), SwTableNode::RemoveRedlines(), SwUndoAcceptRedline::RepeatImpl(), SwUndoRejectRedline::RepeatImpl(), sw::ReplaceImpl(), SwAutoCorrDoc::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwEditWin::RequestHelp(), SaveRedlEndPosForRestore::SaveRedlEndPosForRestore(), SwUndoAttr::SaveRedlineData(), SwWW8AttrIter::SearchNext(), SwRedlineItr::Seek(), SwCursorShell::SelNextRedline(), SwCursorShell::SelPrevRedline(), SwFltControlStack::SetAttrInDoc(), SetFormatItemByAutoFormat(), SwXTextDocument::setPropertyValue(), SwEditShell::SetRedlineComment(), SwEditShell::SetRedlineFlags(), SetRowNotTracked(), SwUndo::SetSaveData(), SetTextFormatCollByAutoFormat(), SwRangeRedline::Show(), SwRangeRedline::ShowOriginal(), SortTable(), SortText(), SplitDoc(), sw::DocumentContentOperationsManager::SplitNode(), sw_DebugRedline(), SwAutoFormat::SwAutoFormat(), SwRedlineSaveData::SwRedlineSaveData(), SwRowFrame::SwRowFrame(), SwTabFrame::SwTabFrame(), SwUndoCompDoc::SwUndoCompDoc(), SwUndoDelete::SwUndoDelete(), SwUndoInserts::SwUndoInserts(), SwUndoInsSection::SwUndoInsSection(), SwUndoInsTable::SwUndoInsTable(), SwUndoOverwrite::SwUndoOverwrite(), SwUndoRedline::SwUndoRedline(), SwUndoSplitNode::SwUndoSplitNode(), SwWW8AttrIter::SwWW8AttrIter(), DocxAttributeOutput::TableCellRedline(), DocxAttributeOutput::TableRowRedline(), TextToTable(), sw::DocumentContentOperationsManager::TransliterateText(), SwEditShell::Undo(), SwUndoInserts::UndoImpl(), SwUndoAttr::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoRedline::UndoImpl(), SwUndoCompDoc::UndoImpl(), SwUndoInsSection::UndoImpl(), SwUndoSplitNode::UndoImpl(), SwUndoInsTable::UndoImpl(), SwUndoTableNumFormat::UndoImpl(), SwUndoTableCpyTable::UndoImpl(), SwUndoRedlineDelete::UndoRedlineImpl(), SwUndoRedlineSort::UndoRedlineImpl(), UnHide(), UnHideRedlines(), SwTOXBaseSection::Update(), SwTextNode::Update(), SwFootnoteIdxs::UpdateAllFootnote(), SwTOXBaseSection::UpdateAuthorities(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), SwFootnoteIdxs::UpdateFootnote(), SwEditShell::UpdateRedlineAttr(), SwTOXBaseSection::UpdateSequence(), SwTableLine::UpdateTextChangesOnly(), SwXRedlinePortion::Validate(), SwXMLWriter::Write_(), RtfExport::WriteRevTab(), and ~SwDoc().
IDocumentSettingAccess & SwDoc::getIDocumentSettingAccess | ( | ) |
Definition at line 195 of file doc.cxx.
References GetDocumentSettingManager().
IDocumentSettingAccess const & SwDoc::getIDocumentSettingAccess | ( | ) | const |
Definition at line 190 of file doc.cxx.
References GetDocumentSettingManager().
Referenced by SwXDocumentSettings::_getSingleValue(), SwXDocumentSettings::_setSingleValue(), SwModule::ApplyItemSet(), SwTextAdjuster::CalcFlyAdjust(), SwTextFormatter::CalcFlyWidth(), SwDropCapCache::CalcFontSize(), SwTextFrame::CalcHeightOfLastLine(), SwLineLayout::CalcLine(), SwTextAdjuster::CalcNewBlock(), SwTextFormatter::CalcRealHeight(), SwBorderAttrs::CalcTop_(), sw::GraphicSizeCheck::check(), SwFootnoteBossFrame::CollectFootnotes_(), SwTextFrame::ConnectFootnote(), SwDocShell::ConvertTo(), SwWW8ImplReader::CoreLoad(), SwTextSizeInfo::CtorInitTextSizeInfo(), SwTextPainter::DrawTextLine(), SwDocShell::Edit(), DocxAttributeOutput::EmbedFont(), SwBaseShell::Execute(), SwFrameShell::Execute(), SwXMLExport::exportDoc(), RtfExport::ExportDocument_Impl(), WW8Export::ExportDopTypography(), SwCompatibilityOptPage::FillItemSet(), SwShdwCursorOptionsTabPage::FillItemSet(), SwDocStyleSheetPool::Find(), SwStyleSheetIterator::First(), SwNumberPortion::Format(), SwTextPortion::Format_(), AttributeOutputBase::FormatBreak(), SwOleClient::FormatChanged(), SwBlankPortion::GetExpText(), SwTextFly::GetFrameArea(), Writer::getIDocumentSettingAccess(), SwTextFormatInfo::GetLineWidth(), SwTextFrame::GetLowerMarginForFlyIntersect(), MSWordExportBase::GetParaTabStopOffset(), SwFrame::GetPrevFootnoteLeaf(), SwDocShell::GetState(), SwBaseShell::GetState(), SwTextFly::GetSurroundForTextWrap(), HTMLReader::GetTemplateName(), SwTextFly::GetTop(), SwXMLExport::GetViewSettings(), SwView::GotFocus(), SwTextGuess::Guess(), SwPaM::HasReadonlySel(), impl_borders(), IMPL_LINK_NOARG(), SwWW8ImplReader::ImportDop(), SwWW8ImplReader::ImportDopTypography(), SwTextFly::InitAnchoredObjList(), sw::DocumentDrawModelManager::InitDrawModel(), SwDocShell::InitNew(), SwTextFormatter::MakeRestPortion(), SwTextFormatter::NewDropPortion(), SwTextFormatter::NewFieldPortion(), SwTextFormatter::NewFootnoteNumPortion(), SwTextFormatter::NewTabPortion(), SwXMLImport::NotifyContainsEmbeddedFont(), SwHTMLWriter::OutCSS1_FrameFormatBackground(), MSWordExportBase::OutputTextNode(), SwFrameDlg::PageCreated(), SwBlankPortion::Paint(), SwFrame::PaintBorderLine(), SwFrame::PaintSwFrameBackground(), SwFrame::PaintSwFrameShadowAndBorder(), AttributeOutputBase::ParaLineSpacing(), SwTabPortion::PostFormat(), SwTabPortion::PreFormat(), sw::DocumentDeviceManager::PrtDataChanged(), HTMLReader::Read(), XMLReader::Read(), SwShdwCursorOptionsTabPage::Reset(), SwTextFormatInfo::ScanPortionEnd(), DocxAttributeOutput::SectionPageBorders(), SwWW8ImplReader::SetDocumentGrid(), SwXMLImport::SetViewSettings(), SwContentNotify::SwContentNotify(), SwView::SwView(), SwDocShell::ToggleLayoutMode(), WidowsAndOrphans::WidowsAndOrphans(), WriteDop(), DocxExport::WriteSettings(), and SwHTMLWriter::WriteStream().
IDocumentState & SwDoc::getIDocumentState | ( | ) |
Definition at line 413 of file doc.cxx.
References m_pDocumentStateManager.
IDocumentState const & SwDoc::getIDocumentState | ( | ) | const |
Definition at line 408 of file doc.cxx.
References m_pDocumentStateManager.
Referenced by sw::DocumentRedlineManager::AcceptRedline(), AdjustCellWidth(), sw::DocumentContentOperationsManager::AppendTextNode(), BalanceRowHeight(), SwDrawContact::Changed_(), ChangeDBFields(), SwFEShell::ChangeOpaque(), ChgAnchor(), ChgDBData(), ChgNumRuleFormats(), ChgPageDesc(), ChgTableStyle(), ChkBoxNumFormat(), SwEditShell::ClearAutomaticContour(), ClearBoxNumAttrs(), CompareDoc(), ConvertFieldsToText(), sw::DocumentContentOperationsManager::CopyImplImpl(), CopyTextColl(), SwTextBoxHelper::create(), DelCharFormat(), SwExtraRedlineTable::DeleteAllTableRedlines(), sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), DeleteFormatRefMark(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentRedlineManager::DeleteRedline(), DeleteRowCol(), DeleteSelection(), SwExtraRedlineTable::DeleteTableCellRedline(), SwExtraRedlineTable::DeleteTableRowRedline(), DeleteTOXMark(), sw::DocumentContentOperationsManager::DelFullPara(), sw::DocumentLayoutManager::DelLayoutFormat(), DelNumRule(), SwEditShell::DelNumRules(), DelPageDesc(), DelSectionFormat(), DelTable(), DelTableStyle(), DelTextFormatColl(), sw::mark::Bookmark::DeregisterFromDoc(), sw::DocumentStatisticsManager::DocInfoChgd(), dumpAsXml(), sw::DocumentLinksAdministrationManager::EmbedAllLinks(), SwFEShell::EndDrag(), SwDocShell::Execute(), SwSrcView::Execute(), SwDocStyleSheet::FillStyleSheet(), SwCursor::Find_Text(), SwCursor::FindAttrs(), SwCursor::FindFormat(), SwTextRuby::GetCharFormat(), SwTextINetFormat::GetCharFormat(), sw::DocumentStylePoolManager::GetFormatFromPool(), SwDocStyleSheet::GetItemSetForPreview(), sw::DocumentStylePoolManager::GetNumRuleFromPool(), SwAnchoredDrawObject::GetObjBoundRect(), sw::DocumentStylePoolManager::GetPageDescFromPool(), SwFEShell::ImpEndCreate(), IMPL_LINK_NOARG(), SwContentNotify::ImplDestroy(), sw::DocumentStatisticsManager::IncrementalDocStatCalculate(), sw::mark::AnnotationMark::InitDoc(), sw::mark::Bookmark::InitDoc(), InsCopyOfTable(), InsertCol(), sw::DocumentContentOperationsManager::InsertDrawObj(), sw::DocumentFieldsManager::InsertFieldType(), sw::DocumentContentOperationsManager::InsertItemSet(), sw::DocumentContentOperationsManager::InsertPoolItem(), InsertRow(), sw::DocumentContentOperationsManager::InsertString(), InsertSwSection(), InsertTable(), SwEditShell::IsModified(), lcl_AddColumns(), lcl_CreateWorkingDocument(), lcl_Execute(), lcl_GetState(), lcl_InsertLabel(), lcl_InvalidateAllContent(), lcl_InvalidateAllObjPos(), MakeCharFormat(), MakeCondTextFormatColl(), MakeDrawFrameFormat(), MakeFlyAndMove(), MakeFlyFrameFormat(), MakeFlySection_(), MakeFrameFormat(), MakeGrfFormatColl(), sw::DocumentLayoutManager::MakeLayoutFormat(), sw::mark::MarkManager::makeNoTextFieldBookmark(), MakePageDesc(), MakeTableBoxFormat(), MakeTableFrameFormat(), MakeTableLineFormat(), MakeTableStyle(), MakeTextFormatColl(), MergeDoc(), MergeTable(), UnfloatTableButton::MouseButtonDown(), MoveLeftMargin(), sw::DocumentContentOperationsManager::MoveNodeRange(), SwEditShell::MoveNumParas(), SwEditShell::MoveParagraph(), MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), NoNum(), NumOrNoNum(), SwEditShell::NumUpDown(), NumUpDown(), SwXDocumentPropertyHelper::onChange(), OutlineUpDown(), SwEditShell::OutlineUpDown(), sw::DocumentContentOperationsManager::Overwrite(), sw::DocumentRedlineManager::RejectRedline(), sw::DocumentFieldsManager::RemoveFieldType(), RemoveInvisibleContent(), sw::mark::MarkManager::renameMark(), ReplaceNumRule(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), ReplaceStyles(), sw::DocumentContentOperationsManager::ReRead(), ResetAttrAtFormat(), ResetAttrs(), SwFEShell::ResetFlyFrameAttr(), SwEditShell::ResetModified(), RstTextAttrs(), SwFEShell::SelectionToBottom(), SwFEShell::SelectionToTop(), SetAttr(), SetBoxAttr(), sw::DocumentSettingManager::setCharacterCompressionType(), sw::mark::CheckboxFieldmark::SetChecked(), SetColRowWidthHeight(), SwUserFieldType::SetContent(), SetCurFootnote(), SetDefault(), SetDocPattern(), SwViewShell::SetEmptyDbFieldHidesPara(), SetEndNoteInfo(), sw::DocumentFieldsManager::SetFixFields(), SetFlyFrameDecorative(), SetFlyFrameDescription(), SetFlyFrameTitle(), SetFlyName(), SetFootnoteInfo(), sw::DocumentSettingManager::setForbiddenCharacters(), SetFrameFormatToFly(), SwEditShell::SetGlblDocSaveLinks(), SwEditShell::SetGraphicPolygon(), SetLineNumberInfo(), SwEditShell::SetModified(), SwXTextTable::setName(), SwDocStyleSheet::SetName(), SwEditShell::SetNewDoc(), SetNodeNumStart(), SetNumRule(), SetNumRuleStart(), SwFEShell::SetObjAttr(), SetOutlineNumRule(), SetPreviewPrtData(), SwXTextField::setPropertyValue(), sw::DocumentRedlineManager::SetRedlineComment(), sw::DocumentRedlineManager::SetRedlineFlags(), sw::DocumentRedlineManager::SetRedlinePassword(), sw::DocumentDeviceManager::setReferenceDeviceType(), SetRowBackground(), SetRowHeight(), SetRowNotTracked(), SetRowSplit(), SetRowsToRepeat(), SwFEShell::SetTabBackground(), SetTabBorders(), SetTabCols(), SwFEShell::SetTableAttr(), SetTableAutoFormat(), SetTableBoxFormulaAttrs(), SwEditShell::SetTableChgMode(), SetTableName(), SetTabLineStyle(), SetTextFormatColl(), SetTOXBaseName(), SwEditShell::SetUndoNoResetModified(), SortTable(), sw::DocumentContentOperationsManager::SplitNode(), SplitTable(), SwDoc(), TableToText(), TextToTable(), sw::DocumentContentOperationsManager::TransliterateText(), UnProtectCells(), UnProtectTables(), SwTOXBaseSection::Update(), SwDDEFieldType::UpdateDDE(), SwWW8ImplReader::UpdateFields(), sw::DocumentFieldsManager::UpdateFields(), SwNumFormat::UpdateNumNodes(), SwEditShell::UpdateOneField(), UpdateSection(), sw::DocumentFieldsManager::UpdateUsrFields(), SwWriter::Write(), and SwDocModifyAndUndoGuard::~SwDocModifyAndUndoGuard().
IDocumentStatistics & SwDoc::getIDocumentStatistics | ( | ) |
Definition at line 392 of file doc.cxx.
References m_pDocumentStatisticsManager.
IDocumentStatistics const & SwDoc::getIDocumentStatistics | ( | ) | const |
Definition at line 387 of file doc.cxx.
References m_pDocumentStatisticsManager.
Referenced by SwLayHelper::CalcPageCount(), SwDocStatFieldType::Expand(), SwXMLExport::exportDoc(), SwXTextDocument::getPropertyValue(), SwEditShell::GetUpdatedDocStat(), SwXTextFieldTypes::refresh(), SwXMLImport::SetStatistics(), SwView::StateStatusLine(), SwCalc::SwCalc(), SwDocStatPage::Update(), SwEditShell::UpdateDocStat(), SwXMLWriter::Write_(), and WriteDop().
IDocumentStylePoolAccess & SwDoc::getIDocumentStylePoolAccess | ( | ) |
Definition at line 445 of file doc.cxx.
References m_pDocumentStylePoolManager.
IDocumentStylePoolAccess const & SwDoc::getIDocumentStylePoolAccess | ( | ) | const |
Definition at line 440 of file doc.cxx.
References m_pDocumentStylePoolManager.
Referenced by SwStyleSheetIterator::AppendStyleList(), sw::DocumentContentOperationsManager::AppendTextNode(), SwAutoFormat::BuildEnum(), ClearDoc(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwRangeRedline::CopyToSection(), SwWW8ImplReader::CoreLoad(), XMLRedlineImportHelper::CreateRedlineTextSection(), DelTable(), WW8Export::ExportDocument_Impl(), SwStyleSheetIterator::First(), sw::ToxTextGenerator::GenerateText(), SwEndNoteInfo::GetAnchorCharFormat(), SwPageDesc::GetByName(), SwJumpEditFieldType::GetCharFormat(), SwTextINetFormat::GetCharFormat(), SwEndNoteInfo::GetCharFormat(), SwCSS1Parser::GetCharFormatFromPool(), sw::util::GetCharStyle(), SwEditShell::GetFormatFromPool(), Writer::getIDocumentStylePoolAccess(), SwNode::getIDocumentStylePoolAccess(), SwCSS1Parser::GetMasterPageDesc(), SwXRedlines::GetObject(), SwCSS1Parser::GetPageDesc(), SwEndNoteInfo::GetPageDesc(), SwEditShell::GetPageDescFromPool(), sw::util::GetParaStyle(), SwXLineNumberingProperties::getPropertyValue(), sw::util::GetSwCharFormat(), SwEditShell::GetTextCollFromPool(), SwCSS1Parser::GetTextCollFromPool(), SwTOXBaseSection::GetTextFormatColl(), SwXFieldEnumeration::Impl::Impl(), WW8RStyle::Import(), SwTextINetFormat::InitINetFormat(), SwTextRuby::InitRuby(), sw::DocumentContentOperationsManager::InsertEmbObject(), sw::DocumentContentOperationsManager::InsertGraphic(), sw::DocumentContentOperationsManager::InsertOLE(), wwSectionManager::InsertSegments(), InsertTable(), InsertTableOf(), SwXMLTableContext::InsertTableSection(), ItemSetToPageDesc(), lcl_CpyBox(), lcl_FindCharFormat(), lcl_FindFrameFormat(), lcl_FindNumRule(), lcl_FindPageDesc(), lcl_FindParaFormat(), lcl_getCharFormat(), lcl_GetPageDesc(), lcl_GetParaStyle(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_PaintReplacement(), SwTable::MakeCopy(), SwDOCXReader::MakeEntries(), WW8Glossary::MakeEntries(), MakeFlySection(), MakeFlySection_(), SwHTMLWriter::MakeHeader(), sw::DocumentLayoutManager::MakeLayoutFormat(), SwTextFootnote::MakeNewTextSection(), SwCSS1Parser::makePageDescBackground(), SwRangeRedline::MoveToSection(), OutCSS1_SwFormat(), OutCSS1_SwPageDesc(), OutHTML_INetFormat(), OutHTML_SwTextNode(), OutlineUpDown(), SwHTMLWriter::OutStyleSheet(), SwCSS1Parser::ParseStyleSheet(), SwDOCXReader::Read(), HTMLReader::Read(), SwUndoDelete::RedoImpl(), SwUndoUpdateIndex::RedoImpl(), SwRedlineExtraData_FormatColl::Reject(), RemoveAllFormatLanguageDependencies(), Reader::ResetFrameFormats(), SetHTMLTemplate(), SwDocStyleSheet::SetItemSet(), MSWord_SdrAttrIter::SetItemsThatDifferFromStandard(), wwSectionManager::SetSwFormatPageDesc(), SetTextFormatCollByAutoFormat(), sw::DocumentContentOperationsManager::SplitNode(), SplitTable(), SwXMLImport::startDocument(), Summary(), SwAutoCompleteClient::SwAutoCompleteClient(), SwDoc(), SwHTMLFormatInfo::SwHTMLFormatInfo(), SwNumFormat::SwNumFormat(), SwXAutoStyleFamily::SwXAutoStyleFamily(), SwXAutoStylesEnumerator::SwXAutoStylesEnumerator(), SwXFlatParagraphIterator::SwXFlatParagraphIterator(), SwXRedline::SwXRedline(), SwXRedlineEnumeration::SwXRedlineEnumeration(), TextToTable(), SwUndoUpdateIndex::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwTOXBaseSection::Update(), SwTOXBaseSection::UpdatePageNum_(), and DocxExport::WriteSettings().
IDocumentTimerAccess & SwDoc::getIDocumentTimerAccess | ( | ) |
Definition at line 268 of file doc.cxx.
References m_pDocumentTimerManager.
IDocumentTimerAccess const & SwDoc::getIDocumentTimerAccess | ( | ) | const |
Definition at line 263 of file doc.cxx.
References m_pDocumentTimerManager.
Referenced by SwFormat::getIDocumentTimerAccess(), SwXTextDocument::getRendererCount(), InsertCnt_(), SwXTextDocument::render(), SwDocUpdateField::SetFieldsDirty(), SwRootFrame::SetIdleFlags(), SwRootFrame::SetNeedGrammarCheck(), sw::SwDocIdle::UpdateMinPeriod(), and ~SwDoc().
IDocumentUndoRedo & SwDoc::GetIDocumentUndoRedo | ( | ) |
Definition at line 158 of file doc.cxx.
References m_pUndoManager.
Referenced by sw::DocumentRedlineManager::AcceptAllRedline(), sw::DocumentRedlineManager::AcceptRedline(), AddDrawUndo(), AppendDoc(), sw::DocumentRedlineManager::AppendRedline(), SwEditShell::AppendTextNode(), sw::DocumentContentOperationsManager::AppendTextNode(), AppendUndoForInsertFromDB(), sw::ThemeColorChanger::apply(), SwXTextTable::attach(), SwXTextSection::attach(), BalanceRowHeight(), Chain(), SwTextBoxHelper::changeAnchor(), SwDrawContact::Changed_(), ChangeTOX(), ChgAnchor(), ChgFormat(), SwNodes::ChgNode(), ChgNumRuleFormats(), ChgPageDesc(), ChgTableStyle(), ChkBoxNumFormat(), ClearBoxNumAttrs(), ClearDoc(), ClearLineNumAttrs(), SwEditWin::Command(), CompareDoc(), ConvertFieldsToText(), SwFEShell::Copy(), sw::CopyBookmarks(), SwTextNode::CopyCollFormat(), SwTextFlyCnt::CopyFlyFormat(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentLayoutManager::CopyLayoutFormat(), SwNodes::CopyNodes(), SwTextNode::CopyText(), sw::DocumentContentOperationsManager::CopyWithFlyInFly(), SwFEShell::CreateDefaultShape(), SwVirtFlyDrawObj::Crop(), SwTextNode::CutImpl(), SwEditShell::DelAllUndoObj(), DelCharFormat(), SwUndoSaveContent::DelContentIndex(), SwEditShell::Delete(), SwExtraRedlineTable::DeleteAllTableRedlines(), SwXTextCursor::DeleteAndInsert(), sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), DeleteCol(), DeleteFormatRefMark(), SwDrawView::DeleteMarked(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentRedlineManager::DeleteRedline(), DeleteRow(), DeleteRowCol(), SwEditShell::DeleteSel(), DeleteSelection(), SwExtraRedlineTable::DeleteTableCellRedline(), SwExtraRedlineTable::DeleteTableRowRedline(), DeleteTOX(), DeleteTOXMark(), DelFrameFormat(), sw::DocumentContentOperationsManager::DelFullPara(), sw::DocumentLayoutManager::DelLayoutFormat(), DelNumRule(), SwEditShell::DelNumRules(), DelNumRules(), DelPageDesc(), DelSectionFormat(), DelTable(), DelTableStyle(), DelTextFormatColl(), sw::mark::Bookmark::DeregisterFromDoc(), SwColumnFrame::DestroyImpl(), SwUnoCursorHelper::DocInsertStringSplitCR(), SwEditShell::DoesGroupUndo(), SwEditShell::DoesUndo(), SwEditShell::DoGroupUndo(), DontExpandFormat(), SwTextBoxHelper::doTextBoxPositioning(), SwEditShell::DoUndo(), sw::DocumentLinksAdministrationManager::EmbedAllLinks(), SwFEShell::EndCreate(), SwFEShell::EndDrag(), SwEditShell::EndUndo(), SwTextShell::ExecField(), SwBreakDashedLine::execute(), SwDocStyleSheet::FillStyleSheet(), SwCursor::Find_Text(), SwCursor::FindAttrs(), SwCursor::FindFormat(), sw::GetAllValidRanges(), SwEditShell::GetFirstRedoInfo(), sw::DocumentStylePoolManager::GetFormatFromPool(), SwEditShell::GetLastUndoInfo(), GetMergeSel(), sw::DocumentStylePoolManager::GetPageDescFromPool(), SwEditShell::GetRepeatInfo(), SwFmDrawPage::group(), GroupSelection(), SwRangeRedline::Hide(), SwFEShell::ImpEndCreate(), IMPL_LINK_NOARG(), sw::annotation::SwAnnotationWin::InitAnswer(), sw::mark::AnnotationMark::InitDoc(), sw::mark::Bookmark::InitDoc(), sw::DocumentDrawModelManager::InitDrawModel(), InsCopyOfTable(), SwUndoParagraphSigning::Insert(), InsertCol(), InsertDrawLabel(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwEditShell::InsertGlobalDocContent(), InsertGlossary(), SwTextNode::InsertHint(), sw::DocumentContentOperationsManager::InsertItemSet(), InsertLabel(), SwView::InsertMedium(), sw::DocumentContentOperationsManager::InsertPoolItem(), SwBaseShell::InsertRegionDialog(), InsertRow(), SwEditShell::InsertSection(), sw::DocumentContentOperationsManager::InsertString(), InsertSwSection(), InsertTable(), InsertTableOf(), SwEditShell::InsertURL(), SwTextNode::IsInUndo(), lcl_AddColumns(), lcl_CpyBox(), lcl_CreateWorkingDocument(), lcl_DelHFFormat(), lcl_FindSelection(), lcl_FoldedOutlineNodeEndOfParaSplit(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_setCharFormatSequence(), lcl_SetFlyFrameAttr(), lcl_SetNodeNumStart(), lcl_setRowNotTracked(), SwDocShell::MakeByExample(), MakeCharFormat(), MakeCondTextFormatColl(), SwSectionNode::MakeCopy(), sw::mark::MarkManager::makeFieldBookmark(), MakeFlyAndMove(), MakeFlySection_(), MakeFrameFormat(), sw::DocumentLayoutManager::MakeLayoutFormat(), sw::mark::MarkManager::makeNoTextFieldBookmark(), MakeNumRule(), MakePageDesc(), MakeTableStyle(), MakeTextFormatColl(), MergeDoc(), SwEditShell::MergeTable(), MergeTable(), UnfloatTableButton::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwVirtFlyDrawObj::Move(), SwUndoTableMerge::MoveBoxContent(), SwUndoSaveContent::MoveFromUndoNds(), MoveLeftMargin(), sw::DocumentContentOperationsManager::MoveNodeRange(), SwNodes::MoveNodes(), MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), SwNodes::MoveRange(), SwUndoSaveContent::MoveToUndoNds(), SwFEShell::NewFlyFrame(), SwEditShell::NoNum(), NumOrNoNum(), SwEditShell::NumUpDown(), NumUpDown(), OutlineUpDown(), SwEditShell::OutlineUpDown(), sw::DocumentContentOperationsManager::Overwrite(), SwFEShell::Paste(), SwTransferable::PrepareForCopyTextRange(), SwTable::PrepareMerge(), sw::DocumentFieldsManager::PutValueToField(), SwEditShell::Redo(), sw::DocumentRedlineManager::RejectRedline(), sw::mark::TextFieldmark::ReleaseDoc(), sw::mark::NonTextFieldmark::ReleaseDoc(), sw::mark::DateFieldmark::ReleaseDoc(), SwUndoParagraphSigning::Remove(), RemoveInvisibleContent(), RenameFormat(), sw::mark::MarkManager::renameMark(), RenameNumRule(), SwEditShell::Repeat(), SwUndoFieldFromDoc::RepeatImpl(), SwUndoPageDescCreate::RepeatImpl(), SwUndoPageDescDelete::RepeatImpl(), SwUndoDelete::RepeatImpl(), SwUndoInsert::RepeatImpl(), SwUndoOverwrite::RepeatImpl(), SwEditShell::Replace(), ReplaceNumRule(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), ReplaceStyles(), sw::DocumentContentOperationsManager::ReRead(), SwEditShell::ResetAttr(), ResetAttrAtFormat(), ResetAttrs(), SwUnoCursorHelper::resetCursorPropertyValue(), SwHistoryNoTextFieldmark::ResetInDoc(), SwHistoryTextFieldmark::ResetInDoc(), sw::DocumentStateManager::ResetModified(), SwVirtFlyDrawObj::Resize(), sw::mark::MarkManager::restoreAnnotationMarks(), RestoreInvisibleContent(), RstTextAttrs(), SwFlyAtContentFrame::SetAbsPos(), SwTextFlyCnt::SetAnchor(), SwEditWin::SetApplyTemplate(), SetAttr(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SetBoxAttr(), SetColRowWidthHeight(), SwUserFieldType::SetContent(), SetCurFootnote(), SwEditShell::SetCurNumRule(), SwUnoCursorHelper::SetCursorAttr(), SetDefault(), SetEndNoteInfo(), SetFlyFrameDecorative(), SetFlyFrameDescription(), SetFlyFrameTitle(), SetFootnoteInfo(), SetFrameFormatToFly(), SwEditShell::SetGlblDocSaveLinks(), SwHistorySetAttrSet::SetInDoc(), SwHistoryChangeFlyAnchor::SetInDoc(), SwHistoryBookmark::SetInDoc(), SwHistoryNoTextFieldmark::SetInDoc(), SwHistoryTextFieldmark::SetInDoc(), SwDocStyleSheet::SetItemSet(), SwDocStyleSheet::SetName(), SetNodeNumStart(), SwEditShell::SetNodeNumStart(), SwUnoCursorHelper::setNumberingProperty(), SetNumRule(), SwEditShell::SetNumRuleStart(), SetNumRuleStart(), SetOutlineNumRule(), SwXTextTable::setPropertyValue(), SetRowBackground(), SetRowHeight(), SetRowNotTracked(), SetRowSplit(), SetRowsToRepeat(), SetRubyList(), SwCursorShell::SetShadowCursorPos(), SwXText::setString(), SwUnoCursorHelper::SetString(), SetTabBorders(), SetTabCols(), SetTableAutoFormat(), SwEditShell::SetTableBoxFormulaAttrs(), SetTableBoxFormulaAttrs(), SwEditShell::SetTableChgMode(), SetTabLineStyle(), SetTabRows(), SetTextFormatColl(), SwEditShell::SetTextFormatColl(), SwEditShell::SetUndoNoResetModified(), SwRangeRedline::Show(), SwRangeRedline::ShowOriginal(), SwEditShell::SignParagraph(), SortTable(), SortText(), SplitDoc(), SwEditShell::SplitNode(), sw::DocumentContentOperationsManager::SplitNode(), SplitTable(), SwEditShell::SplitTable(), SwEditShell::StartUndo(), sw_JoinText(), SwAutoFormat::SwAutoFormat(), SwEditShell::SwEditShell(), SwUndoDelete::SwUndoDelete(), TableToText(), TextToTable(), sw::DocumentContentOperationsManager::TransliterateText(), SwEditShell::TransliterateText(), Unchain(), SwEditShell::Undo(), SwFmDrawPage::ungroup(), UnGroupSelection(), UnProtectCells(), UnProtectTableCells(), UnProtectTables(), SwTOXBaseSection::Update(), sw::annotation::SwAnnotationWin::UpdateData(), sw::DocumentFieldsManager::UpdateField(), SwTOXMgr::UpdateOrInsertTOX(), UpdateRsid(), UpdateSection(), SwEditShell::UpdateTableOf(), ~SwDoc(), SwDocModifyAndUndoGuard::~SwDocModifyAndUndoGuard(), SwExtTextInput::~SwExtTextInput(), and SwSection::~SwSection().
IDocumentUndoRedo const & SwDoc::GetIDocumentUndoRedo | ( | ) | const |
Definition at line 163 of file doc.cxx.
References m_pUndoManager.
sw::IShellCursorSupplier * SwDoc::GetIShellCursorSupplier | ( | ) |
Definition at line 353 of file doccorr.cxx.
References GetEditShell().
Referenced by SwHistoryTextFlyCnt::SetInDoc().
|
inline |
Definition at line 772 of file doc.hxx.
Referenced by SwXTextDocument::getDocumentLanguages(), SwNode::getIDocumentStyleAccess(), AttrSetHandleHelper::GetNewAutoStyle(), MakeTextAttr(), SwNoTextNode::NewAttrSet(), SwTextNode::NewAttrSet(), PropValuesToAutoStyleItemSet(), XMLReader::Read(), and SwAutoStylesEnumImpl::SwAutoStylesEnumImpl().
|
inline |
Definition at line 1569 of file doc.hxx.
Referenced by SwLayHelper::CalcPageCount(), InsertCnt_(), SwLayHelper::SwLayHelper(), and SwLayHelper::~SwLayHelper().
const SwLineNumberInfo & SwDoc::GetLineNumberInfo | ( | ) | const |
Definition at line 49 of file lineinfo.cxx.
References mpLineNumberInfo.
Referenced by SwTextFrame::ChgThisLines(), RtfExport::ExportDocument_Impl(), SwEditShell::GetLineNumberInfo(), SwXLineNumberingProperties::getPropertyValue(), SwWW8ImplReader::HandleLineNumbering(), IsExtraData(), SwTextFrame::PaintExtraData(), SwTextFrame::RecalcAllLines(), SwLayoutFrame::RefreshExtraData(), SwPageFrame::RefreshExtraData(), MSWordExportBase::SectionProperties(), and SwXLineNumberingProperties::setPropertyValue().
sw::MetaFieldManager & SwDoc::GetMetaFieldManager | ( | ) |
Definition at line 137 of file doc.cxx.
References m_pMetaFieldManager.
Referenced by SwXMeta::AttachImpl(), MakeTextAttr(), SwTransferable::PrepareForCopyTextRange(), and RtfExport::WriteUserProps().
|
inline |
Definition at line 422 of file doc.hxx.
Referenced by SwFmDrawPage::add(), SwUndoTableCpyTable::AddBoxAfter(), SwUndoTableCpyTable::AddBoxBefore(), AppendDoc(), AppendObjsOfNode(), sw::DocumentContentOperationsManager::AppendTextNode(), SwXAutoTextEntry::applyTo(), SwHTMLTableLayout::AutoLayoutPass1(), SwLayHelper::CalcPageCount(), SwTable::CanConvertSubtables(), SwEditShell::CanMergeTable(), Chainable(), SwChapterField::ChangeExpansion(), SwGetExpField::ChangeExpansion(), SwRefPageGetField::ChangeExpansion(), SwPageNumberFieldType::ChangeExpansion(), sw::AccessibilityCheck::check(), sw::CheckAnchoredFlyConsistency(), SwRedlineItr::CheckLine(), CheckTable(), SwCursorShell::CheckTableBoxContent(), ChgAnchor(), SwAutoCorrDoc::ChgAutoCorrWord(), SwNodes::ChgNode(), ChgNumToText(), SwTextNode::ChgTextCollUpdateNum(), ChgTextToNum(), sw::OnlineAccessibilityCheck::clearAccessibilityIssuesFromAllNodes(), ClearDoc(), SwCursorShell::ClearUpCursors(), SwLayoutCache::CompareLayout(), SwDrawContact::ConnectToLayout(), SwShellTableCursor::Contains(), ContainsHiddenChars(), SwHHCWrapper::Convert(), SwTable::ConvertSubtableBox(), SwFEShell::Copy(), SwTextFlyCnt::CopyFlyFormat(), SwTextFootnote::CopyFootnote(), SwTransferable::CopyGlossary(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentLayoutManager::CopyLayoutFormat(), CopyMasterFooter(), CopyMasterHeader(), SwNodes::CopyNodes(), CopyPageDescHeaderFooterImpl(), sw::DocumentContentOperationsManager::CopyRange(), SwEditShell::CopySelToDoc(), SwRangeRedline::CopyToSection(), sw::DocumentContentOperationsManager::CopyWithFlyInFly(), SwWW8ImplReader::CoreLoad(), sw::DocumentChartDataProviderManager::CreateChartInternalDataProviders(), sw::DocumentListsManager::createList(), SwXBodyText::createParagraphEnumeration(), XMLRedlineImportHelper::CreateRedlineTextSection(), SwFmDrawPage::CreateShape(), SwXBodyText::CreateTextCursor(), SwXHeadFootText::CreateTextCursor(), SwXTextFrame::createXTextCursor(), SwXRedlineText::createXTextCursor(), SwXRedline::createXTextCursor(), SwXText::createXTextCursor(), SwXBodyText::createXTextCursorByRange(), DelBookmarks(), SwUndoSaveContent::DelContentIndex(), SwChartDataSequence::DeleteBox(), SwEditShell::DeleteGlobalDocContent(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), SwFEShell::DeleteRow(), DeleteRow(), sw::DocumentContentOperationsManager::DeleteSection(), SwUndoMove::DelFootnote(), SwSectionFormat::DelFrames(), sw::DocumentContentOperationsManager::DelFullPara(), sw::DocumentLayoutManager::DelLayoutFormat(), DelNumRules(), DelSectionFormat(), DelTable(), SwChartHelper::DoUpdateAllCharts(), SwWW8ImplReader::End_Footnote(), SwXMLImport::endDocument(), SwContentTree::ExecuteContextMenuAction(), DocxExportFilter::exportDocument(), MSWordExportBase::ExportDocument(), RtfExport::ExportDocument_Impl(), SwCursorShell::ExtendedSelectAll(), SwCursorShell::ExtendedSelectedAll(), SwCursor::FillFindPos(), SwHTMLWriter::FillNextNumInfo(), SwViewShell::FillPrtDoc(), SwShellTableCursor::FillRects(), RtfExportFilter::filter(), SwCursor::FindAll(), SwGetRefFieldType::FindAnchor(), FindFirstAndNextNode(), FindFlyByName(), FindINetAttr(), sw::search::SearchResultLocator::findOne(), sw::FindTextImpl(), SwTable::GatherFormulas(), SwUndoSetFlyFormat::GetAnchor(), SwXTextEmbeddedObject::getAspect(), SwDocUpdateField::GetBodyNode(), SwDocUpdateField::GetBodyNodeGeneric(), SwXLinkNameAccessWrapper::getByName(), SwCursorShell::GetContentAtPos(), GetContentNode(), SwUnoCursorHelper::GetCursorAttr(), SwUnoCursorHelper::getCursorPropertyValue(), SwUnoCursorHelper::GetCurTextFormatColl(), SwXLinkNameAccessWrapper::getElementNames(), SwXTextEmbeddedObject::getExtendedControlOverEmbeddedObject(), GetFirstTextNode(), GetFlyCount(), GetFlyFrameFormats(), GetFlyNum(), SwUndoFormatAttr::GetFormat(), SwEditShell::GetGlobalDocContent(), SwTable::GetInfo(), SwEditShell::GetItemWithPaM(), SwSortBoxElement::GetKey(), GetMergeSel(), SwXFlatParagraphIterator::getNextPara(), sw::DocumentOutlineNodesManager::getOutlineLevel(), sw::DocumentOutlineNodesManager::getOutlineNode(), sw::DocumentOutlineNodesManager::getOutlineNodes(), sw::DocumentOutlineNodesManager::getOutlineNodesCount(), SwCursorShell::GetOutlinePos(), sw::DocumentOutlineNodesManager::getOutlineText(), SwEditShell::GetPaMAttr(), SwEditShell::GetPaMParAttr(), SwEditShell::GetPaMTextFormatColl(), SwXFlatParagraphIterator::getParaAfter(), SwXFlatParagraphIterator::getParaBefore(), SwUndoField::GetPosition(), SwXFlatParagraph::getPropertyValue(), GetRefMark(), GetRefMarks(), SwXTextEmbeddedObject::getReplacementGraphic(), SwXText::GetStartNode(), SwDocShell::GetState(), GetTableAutoFormat(), SwTable::GetTableBox(), SwEditShell::GetTableBoxText(), GetTableFrameFormat(), GetTableFrameFormatCount(), SwUndoInsert::GetTextFromDoc(), GetTOX(), SwTableBox::GetValue(), SwCursor::GoPrevNextCell(), SwContentTree::GotoContent(), SwCursor::GotoFootnoteText(), SwEditShell::GotoGlobalDocContent(), SwCursorShell::GotoNextOutline(), GotoNextTable(), SwCursorShell::GotoNextTOXBase(), SwCursorShell::GotoNxtPrvTableFormula(), SwCursorShell::GotoOutline(), GotoOutline(), SwCursorShell::GotoPrevOutline(), GotoPrevRegion(), GotoPrevTable(), SwCursorShell::GotoPrevTOXBase(), SwXTextViewCursor::gotoRange(), SwCursorShell::GotoRedline_(), SwXTextCursor::gotoStart(), SwHTMLWriter::GuessFrameType(), SwTextNode::HandleNonLegacyHint(), SwXLinkNameAccessWrapper::hasByName(), HasInvisibleContent(), SwEditShell::HasOtherCnt(), HTMLSaveData::HTMLSaveData(), Hyphenate(), SwChartDataProvider::Impl_createDataSource(), SwCallLink::ImplDestroy(), sw::DocumentStatisticsManager::IncrementalDocStatCalculate(), SwRootFrame::Init(), sw::OnlineAccessibilityCheck::initialCheck(), InsCopyOfTable(), WW8TabDesc::InsertCells(), InsertCnt_(), sw::DocumentContentOperationsManager::InsertEmbObject(), SwEditShell::InsertGlobalDocContent(), InsertGlossary(), sw::DocumentContentOperationsManager::InsertGraphic(), SwTextNode::InsertHint(), XMLRedlineImportHelper::InsertIntoDocument(), sw::DocumentContentOperationsManager::InsertOLE(), wwSectionManager::InsertSegments(), InsertSwSection(), InsertTable(), InsertTableOf(), SwXMLTableContext::InsertTableSection(), SwUndoFlyBase::InsFly(), InsTableBox(), InvalidateAutoCompleteFlag(), SwTextFootnote::InvalidateNumberInLayout(), SwRangeRedline::InvalidateRange(), SwFEShell::IsAdjustCellWidthAllowed(), SwTextFormatColl::IsAtDocNodeSet(), SwTransferable::isComplex(), SwNodes::IsDocNodes(), SwSectionFormat::IsInNodesArr(), sw::DocumentRedlineManager::IsInRedlines(), SwXTextTableStyle::isInUse(), SwEditShell::IsMoveLeftMargin(), SwCursor::IsNoContent(), SwWrtShell::IsOutlineContentVisible(), sw::DocumentOutlineNodesManager::isOutlineInLayout(), sw::DocumentStylePoolManager::IsPoolFormatUsed(), sw::DocumentStylePoolManager::IsPoolPageDescUsed(), sw::DocumentStylePoolManager::IsPoolTextCollUsed(), SwEditShell::IsProtectedOutlinePara(), SwCursor::IsSelOvr(), SwUnoCursor::IsSelOvr(), SwUnoTableCursor::IsSelOvr(), SwTableCursor::IsSelOvrCheck(), SwCursorShell::IsStartOfDoc(), SwEditShell::IsTableBoxTextFormat(), IsUsed(), SwUndoInsSection::Join(), lcl_CopySelToDoc(), lcl_CpyBox(), lcl_CreateOutlineString(), lcl_EnsureValidPam(), lcl_FindAnchorPos(), lcl_FoldedOutlineNodeEndOfParaSplit(), lcl_html_IsMultiColEnd(), lcl_html_IsMultiColStart(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_InsTableBox(), lcl_IsOutlineMoveAndCopyable(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), lcl_MinMaxNode(), lcl_RestoreAnchor(), lcl_SaveAnchor(), lcl_SetAFormatBox(), SwCursor::LeftRight(), WW8Glossary::Load(), SwChartLockController_Helper::LockUnlockAllCharts(), SwTableCursor::MakeBoxSels(), SwTableNode::MakeCopy(), SwOLENode::MakeCopy(), SwTextNode::MakeCopy(), SwDOCXReader::MakeEntries(), WW8Glossary::MakeEntries(), SwDocUpdateField::MakeFieldList(), SwDocUpdateField::MakeFieldList_(), MakeFlyAndMove(), MakeFlySection(), MakeFlySection_(), SwFlyFrameFormat::MakeFrames(), MakeFrames(), SwHTMLWriter::MakeHeader(), sw::DocumentLayoutManager::MakeLayoutFormat(), SwCursorShell::MakeOutlineSel(), SwRefPageGetFieldType::MakeSetList(), MakeUniqueNumRules(), MergeDoc(), SwXMLImport::MergeListsAtDocumentInsertPosition(), MergeTable(), SwEditWin::MouseMove(), SwFltControlStack::MoveAttrs(), MoveCell(), SwUndoSaveContent::MoveFromUndoNds(), SwEditShell::MoveGlobalDocContent(), sw::DocumentContentOperationsManager::MoveNodeRange(), SwEditShell::MoveNumParas(), MoveOutlinePara(), MoveParagraph(), MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), SwCursorShell::MoveStartText(), SwRangeRedline::MoveToSection(), SwUndoSaveContent::MoveToUndoNds(), Writer::NewUnoCursor(), NumUpDown(), SwTable::OldSplitRow(), sw::util::SetInDocAndDelete::operator()(), SwHTMLWriter::Out_SwDoc(), SwHTMLWriter::OutForm(), SwHTMLWriter::OutHeaderAttrs(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatGrfNode(), OutHTML_FrameFormatOLENode(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_FrameFormatTableNode(), OutHTML_HeaderFooter(), OutHTML_NumberBulletListStart(), OutHTML_SwFormat(), OutHTML_SwTextNode(), OutlineUpDown(), WW8AttributeOutput::OutputFlyFrame_Impl(), MSWordExportBase::OutputSectionBreaks(), SwFEShell::Paste(), SwFEShell::PastePages(), SwTransferable::PrepareForCopyTextRange(), SwWW8ImplReader::Read_Footnote(), SwRedlineSaveData::RedlineToDoc(), SwUndoAttr::RedoImpl(), SwUndoResetAttr::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoInsertLabel::RedoImpl(), SwUndoNumOrNoNum::RedoImpl(), SwUndoNumRuleStart::RedoImpl(), SwUndoRedline::RedoImpl(), SwUndoInsSection::RedoImpl(), SwUndoUpdateIndex::RedoImpl(), SwUndoSort::RedoImpl(), SwUndoMove::RedoImpl(), SwUndoInsTable::RedoImpl(), SwUndoTableToText::RedoImpl(), SwUndoTableNdsChg::RedoImpl(), SwUndoTableNumFormat::RedoImpl(), SwUndoTableCpyTable::RedoImpl(), SwUndoTableHeadline::RedoImpl(), SwUndoDelSection::RedoImpl(), SwUndoAttr::RemoveIdx(), SwUndo::RemoveIdxFromRange(), SwUndo::RemoveIdxFromSection(), RemoveInvisibleContent(), SwUndoInserts::RepeatImpl(), SwUndoInsert::RepeatImpl(), sw::DocumentContentOperationsManager::ReplaceRange(), ResetAttrs(), SwHistoryNoTextFieldmark::ResetInDoc(), SwHistoryTextFieldmark::ResetInDoc(), ResolveFlyAnchor(), SwUndoFormatAttr::RestoreFlyAnchor(), SwUndoSaveSection::RestoreSection(), RstTextAttrs(), SwEditShell::SaveGlossaryDoc(), SearchNumRule(), DocxAttributeOutput::SectionBreak(), SwCursorShell::SelectNxtPrvHyperlink(), sw::DocumentLinksAdministrationManager::SelectServerObj(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SetAllUniqueFlyNames(), SwUndoReRead::SetAndSave(), SwXTextEmbeddedObject::setAspect(), SwWW8ImplReader::SetAttributesAtGrfNode(), SwWW8FltControlStack::SetAttrInDoc(), UndoTransliterate_Data::SetChangeAtNode(), MSWordExportBase::SetCurPam(), SwUnoCursorHelper::SetCursorAttr(), SwCursorShell::SetCursorInHdFt(), SetFlyName(), SetHTMLTemplate(), SwHistorySetFormat::SetInDoc(), SwHistoryResetFormat::SetInDoc(), SwHistorySetText::SetInDoc(), SwHistorySetTextField::SetInDoc(), SwHistorySetRefMark::SetInDoc(), SwHistorySetTOXMark::SetInDoc(), SwHistoryResetText::SetInDoc(), SwHistorySetFootnote::SetInDoc(), SwHistoryChangeFormatColl::SetInDoc(), SwHistorySetAttrSet::SetInDoc(), SwHistoryChangeFlyAnchor::SetInDoc(), SwHistoryBookmark::SetInDoc(), SwHistoryNoTextFieldmark::SetInDoc(), SwHistoryTextFieldmark::SetInDoc(), SwXTextTable::setName(), SwEditShell::SetNumberingRestart(), sw::annotation::SwAnnotationWin::SetPosAndSize(), SwTOXBaseSection::SetPosAtStartEnd(), SwXShape::setPropertyValue(), SwUndo::SetSaveData(), SetTableName(), SetTextFormatColl(), SortTable(), SortText(), Spell(), SpellItAgainSam(), SplitDoc(), sw::DocumentContentOperationsManager::SplitNode(), SplitTable(), SwXMLImport::startDocument(), Summary(), sw_JoinText(), SwAutoFormat::SwAutoFormat(), SwFlyLayFrame::SwClientNotify(), SwCursorShell::SwCursorShell(), SwDoc(), SwHistorySetFootnote::SwHistorySetFootnote(), SwLayHelper::SwLayHelper(), SwTableToTextSave::SwTableToTextSave(), SwUndoDelete::SwUndoDelete(), SwUndoMove::SwUndoMove(), SwUndoRedline::SwUndoRedline(), SwUndoTableNumFormat::SwUndoTableNumFormat(), SwUndoTextToTable::SwUndoTextToTable(), SwUndoUpdateIndex::SwUndoUpdateIndex(), TableToText(), TextToTable(), SwUndoUpdateIndex::TitleSectionInserted(), sw::ModelTraverser::traverse(), SwTextNode::TriggerNodeUpdate(), SwTableBoxFormula::TryBoxNmToPtr(), SwUndoReplace::Impl::UndoImpl(), SwUndoInserts::UndoImpl(), SwUndoInsLayFormat::UndoImpl(), SwUndoAttr::UndoImpl(), SwUndoResetAttr::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoInsertLabel::UndoImpl(), SwUndoDelNum::UndoImpl(), SwUndoNumOrNoNum::UndoImpl(), SwUndoNumRuleStart::UndoImpl(), SwUndoRedline::UndoImpl(), SwUndoCompDoc::UndoImpl(), SwUndoInsSection::UndoImpl(), SwUndoUpdateIndex::UndoImpl(), SwUndoSort::UndoImpl(), SwUndoSplitNode::UndoImpl(), SwUndoMove::UndoImpl(), SwUndoInsTable::UndoImpl(), SwUndoTextToTable::UndoImpl(), SwUndoTableToText::UndoImpl(), SwUndoAttrTable::UndoImpl(), SwUndoTableNdsChg::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoTableNumFormat::UndoImpl(), SwUndoTableCpyTable::UndoImpl(), SwUndoCpyTable::UndoImpl(), SwUndoSplitTable::UndoImpl(), SwUndoMergeTable::UndoImpl(), SwUndoTableHeadline::UndoImpl(), SwUndoDelSection::UndoImpl(), SwUndoRedlineSort::UndoRedlineImpl(), SwUndoTableAutoFormat::UndoRedo(), UnHide(), SwTOXBaseSection::Update(), SwFootnoteIdxs::UpdateAllFootnote(), UpdateCharts_(), SwTOXBaseSection::UpdateContent(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), SwRefPageGetFieldType::UpdateField(), SwFootnoteIdxs::UpdateFootnote(), SwViewShell::UpdateOleObjectPreviews(), SwTOXBaseSection::UpdateOutline(), UpdatePagesForPrintingWithPostItData(), SwEditWin::UpdatePointer(), UpdateSection(), SwTOXBaseSection::UpdateTable(), sw::DocumentFieldsManager::UpdateTableFields(), SwLayoutCache::Write(), SwWriter::Write(), DocxExport::WriteMainText(), RtfExport::WriteMainText(), WW8Export::WriteMainText(), SwWW8Writer::WriteStorageImpl(), SwASCWriter::WriteStream(), SwHTMLWriter::WriteStream(), MSWordExportBase::WriteText(), and SwSectionFormat::~SwSectionFormat().
|
inline |
Definition at line 1429 of file doc.hxx.
References lock().
Referenced by SwTableBox::ActualiseValueBox(), SwTableBoxFormat::BoxAttributeChanged(), ChgNumToText(), SwValueField::ChgTyp(), ChkBoxNumFormat(), ClearBoxNumAttrs(), SwValueFieldType::DoubleToString(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwDBField::Evaluate(), SwTextShell::ExecField(), SwXTextDocument::executeContentControlEvent(), SwDocInfoField::ExpandImpl(), SwValueFieldType::ExpandValue(), HTMLTable::FixFrameFormat(), SwUserFieldType::GetContent(), SwContentControl::GetCurrentDateValue(), SwDateTimeField::GetDate(), SwContentControl::GetDateString(), SwDateTimeField::GetDateTime(), SwFormulaField::GetExpandedFormula(), SwValueFieldType::GetInputOrDateTime(), MSWordExportBase::GetNumberFormat(), SwEditShell::GetNumberFormatter(), SwXTextDocument::GetNumberFormatter(), SwXTextCellStyle::getPropertyValue(), SwXTextDocument::getPropertyValue(), GetTableAutoFormat(), SwWW8ImplReader::GetTimeDatePara(), SwSortBoxElement::GetValue(), SwTableBox::GetValue(), SwTableBox::HasNumContent(), sw::mark::DateFieldmark::InitDoc(), SwWrtShell::InsertContentControl(), SwFieldMgr::InsertField(), SwTableBox::IsFormulaOrValueBox(), SwTableBox::IsNumberChanged(), IsNumberFormat(), SwEditShell::IsTableBoxTextFormat(), lcl_ConvertToDateValue(), lcl_CpyBox(), lcl_CreateAFormatBoxFormat(), lcl_SetAFormatBox(), lcl_SetDfltBoxAttr(), SwXMLTableContext::MakeTableBox(), OutHTML_SwField(), SwWW8ImplReader::Read_F_DateTime(), SwContentControl::SetCurrentDateValue(), SwXCell::setFormula(), SwValueField::SetLanguage(), SwXTextCellStyle::setPropertyValue(), SwDateTimeField::SwDateTimeField(), SwTableNumFormatMerge::SwTableNumFormatMerge(), SwAutoCorrDoc::TransliterateRTLWord(), and sw::DocumentFieldsManager::UpdateExpFieldsImpl().
|
inline |
|
static |
Definition at line 2426 of file docnum.cxx.
References SwPosition::Assign(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwTextNode::GetNumRule(), SwNode::GetTextNode(), and sw::IsParaPropsNode().
Referenced by SwUnoCursorHelper::getCursorPropertyValue(), SwUnoCursorHelper::getNumberingProperty(), SwEditShell::GetNumRuleAtCurrCursorPos(), SwEditShell::GetNumRuleAtCurrentSelection(), and SwEditShell::SetIndent().
|
inline |
Definition at line 1081 of file doc.hxx.
Referenced by RtfExport::BuildNumbering(), MSWordStyles::BuildStylesTable(), MSWordExportBase::CollectGrfsOfBullets(), SwDocStyleSheet::Create(), WW8ListManager::CreateNextRule(), SwStyleSheetIterator::First(), SwXNumberingRulesCollection::getCount(), MSWordExportBase::GetNumberingId(), sw::DocumentStylePoolManager::GetNumRuleFromPool(), SwXTextDocument::getPropertyValue(), SwWW8ImplReader::GetStyRule(), SwXNumberingRulesCollection::hasElements(), lcl_DeleteInfoStyles(), lcl_SaveStyles(), Writer::PutNumFormatFontsInAttrPool(), ReplaceStyles(), sw::DocumentSettingManager::set(), SwWW8ImplReader::StartAnl(), StopNumRuleAnimations(), SwNumFormat::UpdateNumNodes(), UpdateNumRule(), and WW8ListManager::WW8ListManager().
|
inline |
Definition at line 1347 of file doc.hxx.
Referenced by SwCursor::Find_Text(), SwCursor::FindAttrs(), SwCursor::FindFormat(), SwTextRuby::GetCharFormat(), sw::DocumentStateManager::ResetModified(), and sw::DocumentStateManager::SetModified().
|
inline |
Definition at line 1578 of file doc.hxx.
Referenced by SwView::ExecViewOptions(), sw::AccessibilityIssue::quickFixIssue(), SwNode::resetAndQueueAccessibilityCheck(), and SwView::StateStatusLine().
|
inline |
Definition at line 1039 of file doc.hxx.
Referenced by RtfExport::BuildNumbering(), SwChapterField::ChangeExpansion(), TextFormatCollFunc::CheckTextFormatCollForDeletionOfAssignmentToOutlineStyle(), sw::DocumentContentOperationsManager::CopyImplImpl(), DelNumRule(), SwXNumberingRules::getByIndex(), SwXNumberingRules::getName(), MSWordExportBase::GetNumberingId(), sw::util::GetNumFormatFromTextNode(), SwEditShell::GetOutlineNumRule(), SwXNumberingRules::getPropertyValue(), docfunc::HasOutlineStyleToBeWrittenAsNormalListStyle(), lcl_AdjustOutlineStylesForOOo(), lcl_CreateOutlineString(), OutASC_SwTextNode(), OutHTML_SwTextNode(), MSWordExportBase::OutputFormat(), PropagateOutlineRule(), SwWW8ImplReader::Read_ANLevelDesc(), SwWW8ImplReader::RegisterNumFormatOnTextNode(), SwXNumberingRules::replaceByIndex(), SwHTMLNumRuleInfo::Set(), sw::DocumentSettingManager::set(), SwUnoCursorHelper::setNumberingProperty(), SwWW8ImplReader::SetOutlineStyles(), and SwXNumberingRules::setPropertyValue().
|
inline |
Definition at line 896 of file doc.hxx.
References i.
Referenced by sw::ThemeColorChanger::apply(), CheckDefaultPageFormat(), SwViewShell::ChgAllPageOrientation(), SwViewShell::ChgAllPageSize(), WW8Export::CreateEscher(), sw::CreateParentXText(), WW8Export::CurrentPageWidth(), AttributeOutputBase::EndTOX(), RtfExport::ExportDocument_Impl(), SwViewShell::FillPrtDoc(), SwPageFrame::FindPageDesc(), FindPageDesc(), SwNode::FindPageDesc(), SwStyleSheetIterator::First(), DocxAttributeOutput::FootnotesEndnotes(), MSWordExportBase::getBackground(), SwPageDesc::GetByName(), WW8Export::GetCurrentPageBgBrush(), MSWordExportBase::GetCurrentPageDirection(), MSWordSections::GetFormatCol(), SwFEShell::GetPageDesc(), sw::DocumentStylePoolManager::GetPageDescFromPool(), AttributeOutputBase::GetTablePageSize(), SwRootFrame::Init(), wwSectionManager::InsertSection(), DocxExport::isMirroredMargin(), sw::DocumentStylePoolManager::IsPoolPageDescUsed(), lcl_DeleteInfoStyles(), lcl_PageDescWithHeader(), lcl_SaveStyles(), SwHTMLWriter::MakeHeader(), MSWordSections::MSWordSections(), RemoveAllFormatLanguageDependencies(), MSWordExportBase::SectionProperties(), SwCursorShell::SetCursorInHdFt(), SetDefaultPageMode(), SwDocStyleSheet::SetFollow(), SwDocStyleSheet::SetItemSet(), AttributeOutputBase::StartTOX(), SwEscherEx::SwEscherEx(), SwTOXBaseSection::Update(), UpdatePageDescs(), SwFrame::WannaRightPage(), SwWriter::Write(), DocxSdrExport::writeDMLDrawing(), RtfExport::WriteFootnoteSettings(), and RtfExport::WritePageDescTable().
|
inline |
|
inline |
Definition at line 895 of file doc.hxx.
References SwPageDescs::size().
Referenced by sw::ThemeColorChanger::apply(), CheckDefaultPageFormat(), SwViewShell::ChgAllPageOrientation(), SwViewShell::ChgAllPageSize(), SwWW8ImplReader::CoreLoad(), sw::CreateParentXText(), RtfExport::ExportDocument_Impl(), FindPageDesc(), SwNode::FindPageDesc(), SwFEShell::FindPageDescByName(), SwStyleSheetIterator::First(), SwPageDesc::GetByName(), SwFEShell::GetPageDescCnt(), sw::DocumentStylePoolManager::GetPageDescFromPool(), sw::DocumentStylePoolManager::IsPoolPageDescUsed(), lcl_DeleteInfoStyles(), lcl_PageDescWithHeader(), lcl_SaveStyles(), RemoveAllFormatLanguageDependencies(), SetDefaultPageMode(), UpdatePageDescs(), and RtfExport::WritePageDescTable().
|
static |
Returns a textual description of a PaM.
rPaM | the PaM to describe |
If rPaM only spans one paragraph the result is:
'<text in the PaM>'
<text in the PaM> is shortened to nUndoStringLength characters.
If rPaM spans more than one paragraph the result is:
paragraphs (STR_PARAGRAPHS)
Definition at line 1772 of file doc.cxx.
References SwPaM::End(), SwPosition::GetContentIndex(), SwPaM::GetMarkNode(), SwPaM::GetPointNode(), SwTextNode::GetText(), SwNode::GetTextNode(), nUndoStringLength, ShortenString(), SwPaM::Start(), and SwResId().
Referenced by SwCursorShell::GetCursorDescr().
SfxObjectShell * SwDoc::GetPersist | ( | ) | const |
Definition at line 653 of file docnew.cxx.
References getIDocumentLinksAdministration(), IDocumentLinksAdministration::GetLinkManager(), sfx2::LinkManager::GetPersist(), and mpDocShell.
Referenced by SwOLENode::BreakFileLink_Impl(), SwXMLTextImportHelper::createAndInsertOLEObject(), DrawGraphic(), SwGrfShell::Execute(), SwXMLExport::exportDoc(), GetDocStorage(), SwPageFrame::GetDrawBackgroundColor(), SwXNumberingRules::GetNumberingRuleByIndex(), SwOLEObj::GetOleRef(), SwWW8ImplReader::InsertOle(), SwOLENode::IsOLEObjectDeleted(), SwOLENode::MakeCopy(), XMLReader::Read(), SwOLENode::RestorePersistentData(), SwOLENode::SavePersistentData(), SetDocShell(), SwOLEObj::SetNode(), SwXMLImport::startDocument(), SwGrfNode::TriggerAsyncRetrieveInputStream(), SwXMLWriter::Write_(), and SwOLEObj::~SwOLEObj().
|
inline |
Definition at line 1477 of file doc.hxx.
Referenced by SwXTextDocument::getPagePrintSettings(), SwXTextDocument::getRenderer(), and SwXTextDocument::setPagePrintSettings().
sal_Int32 SwDoc::getReferenceCount | ( | ) | const |
Returns the current reference count.
This method should be used for debugging purposes. Using it otherwise is a signal of a design flaw.
Definition at line 131 of file doc.cxx.
References mReferenceCount.
const SwFormatRefMark * SwDoc::GetRefMark | ( | sal_uInt16 | nIndex | ) | const |
Definition at line 1077 of file doc.cxx.
References GetAttrPool(), GetNodes(), SwNode::GetNodes(), SwTextRefMark::GetTextNode(), nCount, nIndex, and RES_TXTATR_REFMARK().
const SwFormatRefMark * SwDoc::GetRefMark | ( | std::u16string_view | rName | ) | const |
Definition at line 1060 of file doc.cxx.
References GetAttrPool(), GetNodes(), SwNode::GetNodes(), SwTextRefMark::GetTextNode(), and RES_TXTATR_REFMARK().
Referenced by SwContentTree::BringEntryToAttention(), SwTextNode::CopyAttr(), SwTextNode::CopyText(), SwGetRefFieldType::FindAnchor(), SwXReferenceMarks::getByIndex(), SwXReferenceMarks::getByName(), SwEditShell::GetRefMark(), and SwXReferenceMarks::hasByName().
sal_uInt16 SwDoc::GetRefMarks | ( | std::vector< OUString > * | pNames = nullptr | ) | const |
Definition at line 1104 of file doc.cxx.
References GetAttrPool(), GetNodes(), SwNode::GetNodes(), SwTextRefMark::GetTextNode(), nCount, and RES_TXTATR_REFMARK().
Referenced by SwXReferenceMarks::getCount(), SwXReferenceMarks::getElementNames(), SwEditShell::GetRefMarks(), and SwXReferenceMarks::hasElements().
|
static |
Definition at line 515 of file ndtbl1.cxx.
References SwNode::FindTableNode(), SwPosition::GetNode(), SwPaM::GetPoint(), i, and lcl_CollectLines().
Referenced by SwFEShell::GetRowBackground().
|
static |
Definition at line 414 of file ndtbl1.cxx.
References SwNode::FindTableNode(), SwPosition::GetNode(), SwPaM::GetPoint(), and lcl_CollectLines().
Referenced by SwFEShell::GetRowHeight().
|
static |
Definition at line 350 of file ndtbl1.cxx.
References SwNode::FindTableNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SfxBoolItem::GetValue(), and lcl_CollectLines().
Referenced by SwFEShell::GetRowSplit(), and SwTableAutoFormat::StoreTableProperties().
sal_uInt32 SwDoc::getRsid | ( | ) | const |
Definition at line 210 of file doc.cxx.
References mnRsid.
Referenced by SwXDocumentSettings::_getSingleValue().
sal_uInt32 SwDoc::getRsidRoot | ( | ) | const |
Definition at line 230 of file doc.cxx.
References mnRsidRoot.
Referenced by SwXDocumentSettings::_getSingleValue(), and CompareDoc().
|
inline |
Definition at line 1356 of file doc.hxx.
Referenced by MSWordExportBase::AddLinkTarget(), SwContentTree::BringEntryToAttention(), ChangeDBFields(), RtfExport::ExportDocument_Impl(), GetAllUsedDB(), SwXTextSections::getByIndex(), SwXDocumentIndexes::getByIndex(), SwXTextSections::getByName(), SwXDocumentIndexes::getByName(), SwXTextSections::getCount(), SwXDocumentIndexes::getCount(), SwXTextSections::getElementNames(), SwXDocumentIndexes::getElementNames(), SwEditShell::GetGlobalDocContent(), SwEditShell::GetSectionFormat(), SwEditShell::GetSectionFormatCount(), SwEditShell::GetSectionFormatPos(), SwEditShell::GetTOX(), SwEditShell::GetTOXCount(), SwCursorShell::GotoNextTOXBase(), SwCursorShell::GotoPrevTOXBase(), SwCursor::GotoRegion(), SwXTextSections::hasByName(), SwXDocumentIndexes::hasByName(), SwXTextSections::hasElements(), SwPaM::HasHiddenSections(), HasInvisibleContent(), SwPaM::HasReadonlySel(), SwEditShell::IsAnySectionInDoc(), lcl_UpdateSection(), SwDocUpdateField::MakeFieldList_(), RemoveInvisibleContent(), sw::DocumentLinksAdministrationManager::SelectServerObj(), SwXTextSection::setName(), SplitDoc(), and sw::DocumentFieldsManager::UpdateExpFieldsImpl().
|
inline |
|
inline |
|
inline |
Definition at line 759 of file doc.hxx.
Referenced by SwUndoDrawGroup::AddObj(), SwUndoDrawDelete::AddObj(), sw::AddRemoveFlysAnchoredToFrameStartingAtNode(), AppendDoc(), SwRootFrame::AssertFlyPages(), CallEvent(), Chainable(), sw::CheckAnchoredFlyConsistency(), CollectFrameAtNode(), SwDrawContact::ConnectToLayout(), SwFEShell::Copy(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), SwUndoSaveContent::DelContentIndex(), SwUndoFlyBase::DelFly(), DelFlyInRange(), DelFrameFormat(), sw::DocumentContentOperationsManager::DelFullPara(), sw::DocumentLayoutManager::DelLayoutFormat(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), FindFlyByName(), SwNode::FindPageDesc(), GetAllFlyFormats(), SwHTMLWriter::GetControls(), SwTextBoxHelper::getCount(), GetFlyCount(), SwNode::GetFlyFormat(), GetFlyFrameFormats(), GetFlyNum(), sw::GetFlysAnchoredAt(), SwUndoFormatAttr::GetFormat(), sw::DocumentStylePoolManager::GetFormatFromPool(), SwTextNode::GetMinMaxSize(), WW8Export::GetSdrOrdNum(), SwDrawContact::GetTextObjectsFromFormat(), WW8Glossary::HasBareGraphicEnd(), SwContentNotify::ImplDestroy(), InsertCnt_(), SwUndoFlyBase::InsFly(), IsEmptyBox(), IsFlySelectedByCursor(), IsInHeaderFooter(), sw::DocumentStylePoolManager::IsPoolFormatUsed(), lcl_AnchoredFrames(), lcl_CpyBox(), lcl_GetUniqueFlyName(), MakeDrawFrameFormat(), MakeFlyFrameFormat(), MakeFrames(), sw::DocumentContentOperationsManager::MoveNodeRange(), SwFEShell::Paste(), SwPageFrame::PreparePage(), SwUndoDrawGroup::RedoImpl(), SwUndoDrawUnGroup::RedoImpl(), SwUndoDrawDelete::RedoImpl(), RestFlyInRange(), SaveFlyInRange(), SetAllUniqueFlyNames(), SwHistoryChangeFlyAnchor::SetInDoc(), SwHistoryChangeFlyChain::SetInDoc(), SwUndoInserts::SetInsertRange(), SortText(), SwTabFrame::Split(), SplitDoc(), SwPosFlyFrame::SwPosFlyFrame(), SwUndoDelete::SwUndoDelete(), SwUndoDrawUnGroup::SwUndoDrawUnGroup(), SwUndoTableToText::SwUndoTableToText(), SwNodes::TableToText(), SwUndoDelete::UndoImpl(), SwUndoDrawGroup::UndoImpl(), SwUndoDrawUnGroup::UndoImpl(), SwUndoDrawDelete::UndoImpl(), UnHide(), sw::UpdateFramesForRemoveDeleteRedline(), SwViewShell::UpdateOleObjectPreviews(), and SwASCWriter::WriteStream().
|
static |
Definition at line 1059 of file ndtbl1.cxx.
References SwRect::Bottom(), SwNode::FindTableNode(), SfxItemSet::Get(), SvxBoxItem::GetBottom(), SwFormat::GetBox(), SwNode::GetContentNode(), SvxBoxItem::GetDistance(), SvxBoxInfoItem::GetHori(), SvxBoxItem::GetLeft(), SwPosition::GetNode(), SwPaM::GetPoint(), SvxBoxItem::GetRight(), SwSelUnion::GetTable(), SvxBoxItem::GetTop(), SwSelUnion::GetUnion(), SvxBoxInfoItem::GetVert(), i, SwFrame::IsRightToLeft(), SvxBoxInfoItem::IsValid(), SwFrame::IsVertical(), lcl_CollectCells(), lcl_GetStartEndCell(), SwRect::Left(), MakeSelUnions(), SfxItemSet::Put(), RES_BOX(), SvxBoxInfoItem::ResetFlags(), SwRect::Right(), rSet, SvxBoxItem::SetAllDistances(), SvxBoxItem::SetDistance(), SvxBoxInfoItem::SetLine(), SvxBoxItem::SetLine(), SvxBoxInfoItem::SetValid(), and SwRect::Top().
Referenced by SwXTextTable::getPropertyValue(), SwXCellRange::getPropertyValue(), SwFEShell::GetTabBorders(), and SwXCellRange::setPropertyValue().
|
static |
Definition at line 2539 of file ndtbl.cxx.
References SwFrame::FindPageFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetLeft(), SwRectFnSet::GetRight(), SwCellFrame::GetTabBox(), SwTable::GetTabCols(), SwTabFrame::GetTable(), SwFrame::ImplFindTabFrame(), SwTabCols::SetLeft(), SwTabCols::SetLeftMin(), SwTabCols::SetRight(), and SwTabCols::SetRightMax().
Referenced by AdjustCellWidth(), and SwFEShell::GetTabCols_().
bool SwDoc::GetTableAutoFormat | ( | const SwSelBoxes & | rBoxes, |
SwTableAutoFormat & | rGet | ||
) |
Find out who has the Attributes.
Definition at line 3824 of file ndtbl.cxx.
References Box, Char, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), ForEach_FndLineCopyCol(), SwFormat::GetAttrSet(), FndLine_::GetBoxes(), SwNode::GetContentNode(), SwTableBox::GetFrameFormat(), FndBox_::GetLines(), SwNodeIndex::GetNode(), GetNodes(), GetNumberFormatter(), SwTableBox::GetSttNd(), SwContentNode::GetSwAttrSet(), SwTableNode::GetTable(), SwTable::GetTabLines(), SwTableBox::GetTabLines(), FndBox_::GetUpper(), FndLine_::GetUpper(), SwNodes::GoNext(), nPos, SwTableAutoFormat::StoreTableProperties(), and SwTableAutoFormat::UpdateFromSet().
Referenced by SwFEShell::GetTableAutoFormat().
SwTableFormat & SwDoc::GetTableFrameFormat | ( | size_t | nFormat, |
bool | bUsed | ||
) | const |
Definition at line 795 of file docfmt.cxx.
References GetNodes(), index, and mpTableFrameFormatTable.
Referenced by ChgTableStyle(), DelTableStyle(), SwXTextTables::getByName(), SwXTextTables::getElementNames(), GetTableByName(), SwEditShell::GetTableFrameFormat(), SwXTextTables::hasByName(), and IsUsed().
size_t SwDoc::GetTableFrameFormatCount | ( | bool | bUsed | ) | const |
Definition at line 778 of file docfmt.cxx.
References GetNodes(), mpTableFrameFormatTable, and nCount.
Referenced by ChgTableStyle(), DelTableStyle(), SwXTextTables::getByName(), SwXTextTables::getCount(), SwXTextTables::getElementNames(), GetTableByName(), SwEditShell::GetTableFrameFormatCount(), SwXTextTables::hasByName(), SwXTextTables::hasElements(), and IsUsed().
|
inline |
|
inline |
Definition at line 826 of file doc.hxx.
Referenced by SwContentTree::BringEntryToAttention(), SwLayHelper::CalcPageCount(), SwEditShell::CopySelToDoc(), DoUpdateAllCharts(), SwContentType::FillMemberList(), SwTableFormula::FindTable(), SwXTextTables::getByIndex(), SwUndoFormatAttr::Init(), SwXTextTableStyle::isInUse(), SwTableNode::MakeCopy(), SwXTextTable::setName(), SetTableName(), UnProtectTables(), and SwTOXBaseSection::UpdateTable().
SwTableAutoFormatTable & SwDoc::GetTableStyles | ( | ) |
Return the available table styles.
Definition at line 3897 of file ndtbl.cxx.
References m_pTableStyles.
Referenced by ChgTableStyle(), SwDocStyleSheet::Create(), DelTableStyle(), SwStyleSheetIterator::First(), HTMLTable::FixFrameFormat(), SwXTextCellStyle::GetBoxAutoFormat(), SwXTextCellStyle::getName(), SwXTextTableStyle::GetTableAutoFormat(), SwDocStyleSheet::IsHidden(), SwXTextTableStyle::isUserDefined(), SwXTextCellStyle::isUserDefined(), lcl_FindCellStyle(), lcl_FindTableStyle(), MakeTableStyle(), SwDocStyleSheet::SetHidden(), SwFEShell::SetTableStyle(), and SwFEShell::UpdateTableStyleFormatting().
|
inline |
|
static |
Definition at line 2593 of file ndtbl.cxx.
References Col, SwTabCols::Count(), SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), SwRectFnSet::GetBottom(), GetCellContent(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), SwFrame::GetNextLayoutLeaf(), SwFrame::GetPrtLeft(), SwFrame::GetPrtTop(), SwRectFnSet::GetPrtTop(), GetTableSel(), SwRectFnSet::GetTop(), SwDeletionChecker::HasBeenDeleted(), SwTabFrame::HasFollowFlowLine(), i, SwTabCols::Insert(), SwLayoutFrame::IsAnLower(), SwFrame::IsCellFrame(), SwFrame::IsTextFrame(), SwRectFnSet::IsVert(), lcl_IsFrameInColumn(), SwRect::Left(), LONG_MAX, SwTabCols::Remove(), SwTabCols::SetLastRowAllowedToChange(), SwTabCols::SetLeft(), SwTabCols::SetLeftMin(), SwTabCols::SetRight(), SwTabCols::SetRightMax(), SwRect::Top(), and SwRectFnSet::YDiff().
Referenced by SwFEShell::GetTabRows_(), and SetTabRows().
SvxFrameDirection SwDoc::GetTextDirection | ( | const SwPosition & | rPos, |
const Point * | pPt = nullptr |
||
) | const |
Definition at line 1641 of file doclay.cxx.
References SwNode::FindPageDesc(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), GetAttrPool(), SwNode::GetContentNode(), SfxItemPool::GetDefaultItem(), SwNode::GetFlyFormat(), SwFormat::GetFrameDir(), SwPageDesc::GetMaster(), SwPosition::GetNode(), SwContentNode::GetTextDirection(), and RES_FRAMEDIR().
Referenced by MSWordExportBase::GetDefaultFrameDirection(), sw::util::GetPseudoCharRuns(), IsInVerticalText(), WW8Export::MiserableRTLFrameFormatHack(), WW8AttributeOutput::ParaAdjust(), and SwWW8AttrIter::SwWW8AttrIter().
|
inline |
|
inline |
Definition at line 793 of file doc.hxx.
Referenced by MSWordStyles::BuildStylesTable(), SwDocStyleSheet::Create(), SwXMLExport::exportDoc(), SwStyleSheetIterator::First(), SwXTextDocument::getDocumentLanguages(), SwXNumberingRules::GetNumberingRuleByIndex(), sw::util::GetParaStyles(), sw::DocumentStylePoolManager::GetTextCollFromPool(), SwCSS1Parser::GetTextCollFromPool(), SwEditShell::GetTextFormatColl(), SwEditShell::GetTextFormatCollCount(), docfunc::HasOutlineStyleToBeWrittenAsNormalListStyle(), sw::DocumentStylePoolManager::IsPoolTextCollUsed(), lcl_AdjustOutlineStylesForOOo(), lcl_DeleteInfoStyles(), lcl_SaveStyles(), SwHTMLWriter::OutStyleSheet(), SwUndoInserts::RedoImpl(), SwCSS1Parser::SetDfltEncoding(), SwHistoryChangeFormatColl::SetInDoc(), SwXNumberingRules::SetNumberingRuleByIndex(), SwEditShell::SetTextFormatColl(), SplitDoc(), AttributeOutputBase::StartTOX(), Summary(), SwUndoInserts::UndoImpl(), and SwXMLImport::UpdateTextCollConditions().
|
inline |
Definition at line 1377 of file doc.hxx.
Referenced by SwTransferable::CopyGlossary(), SwTransferable::GetData(), SwTransferable::PrepareForCopy(), and SwTransferable::PrepareForCopyTextRange().
|
inline |
Definition at line 966 of file doc.hxx.
Referenced by SwXTextDocument::getPropertyValue(), and SwEditShell::GetTOIAutoMarkURL().
void SwDoc::GetTOIKeys | ( | SwTOIKeyType | eTyp, |
std::vector< OUString > & | rArr, | ||
SwRootFrame const & | rLayout | ||
) | const |
Definition at line 86 of file doctxm.cxx.
References GetAttrPool(), SwNode::GetNodes(), SwTOXMark::GetPrimaryKey(), SwTextTOXMark::GetpTextNd(), SwTOXMark::GetSecondaryKey(), SwTOXMark::GetTextTOXMark(), SwTOXMark::GetTOXType(), SwTOXType::GetType(), SwNodes::IsDocNodes(), SwRootFrame::IsHideRedlines(), sw::IsMarkHintHidden(), RES_TXTATR_TOXMARK(), TOI_PRIMARY, and TOX_INDEX.
Referenced by SwEditShell::GetTOIKeys().
Definition at line 469 of file doctxm.cxx.
References SwFormat::GetAttrSet(), and SwSection::GetFormat().
Referenced by SwXDocumentIndex::getPropertyValue(), and SwXDocumentIndex::setPropertyValue().
Definition at line 621 of file doctxm.cxx.
References mpTOXTypes, and nId.
Referenced by SwXDocumentIndexMark::attach(), SwTextTOXMark::CopyTOXMark(), GetDefaultTOXBase(), SwHistorySetTOXMark::GetSwTOXType(), IMPL_LINK(), lcl_ImportTox(), lcl_ReAssignTOXType(), lcl_toxMatchACSwitch(), and SwWW8ImplReader::Read_F_Tox().
sal_uInt16 SwDoc::GetTOXTypeCount | ( | TOXTypes | eTyp | ) | const |
Manage table of content types.
Definition at line 612 of file doctxm.cxx.
References mpTOXTypes.
Referenced by SwXDocumentIndexMark::attach(), SwTextTOXMark::CopyTOXMark(), SwHistorySetTOXMark::GetSwTOXType(), lcl_ImportTox(), and lcl_ReAssignTOXType().
|
inline |
Definition at line 994 of file doc.hxx.
Referenced by SwTOXBase::CopyTOXBase().
sw::UndoManager & SwDoc::GetUndoManager | ( | ) |
Definition at line 147 of file doc.cxx.
References m_pUndoManager.
Referenced by sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), SwBaseShell::ExecUndo(), sw::DocumentContentOperationsManager::InsertString(), MergeTable(), SwUndoSaveContent::MoveFromUndoNds(), SwUndoSaveContent::MoveToUndoNds(), sw::DocumentContentOperationsManager::Overwrite(), SetDocShell(), SwDoc(), SwUndoDelete::SwUndoDelete(), SwUndoDelete::UndoImpl(), UpdateRsid(), and ~SwDoc().
sw::UndoManager const & SwDoc::GetUndoManager | ( | ) | const |
Definition at line 152 of file doc.cxx.
References m_pUndoManager.
OUString SwDoc::GetUniqueDrawObjectName | ( | ) | const |
Definition at line 1415 of file doclay.cxx.
References lcl_GetUniqueFlyName(), and RES_DRAWFRMFMT().
Referenced by GroupSelection(), and SwWW8ImplReader::Read_GrafLayer().
OUString SwDoc::GetUniqueFrameName | ( | ) | const |
Definition at line 1405 of file doclay.cxx.
References lcl_GetUniqueFlyName(), and RES_FLYFRMFMT().
Referenced by sw::DocumentLayoutManager::CopyLayoutFormat(), SwFEShell::GetUniqueFrameName(), lcl_InsertDrawLabel(), lcl_InsertLabel(), MakeFlySection_(), and SwWW8ImplReader::Read_GrafLayer().
OUString SwDoc::GetUniqueGrfName | ( | std::u16string_view | rPrefix = std::u16string_view() | ) | const |
Definition at line 1395 of file doclay.cxx.
References Grf, lcl_GetUniqueFlyName(), and RES_FLYFRMFMT().
Referenced by sw::DocumentLayoutManager::CopyLayoutFormat(), SwFEShell::GetUniqueGrfName(), and MakeFlySection_().
OUString SwDoc::GetUniqueNumRuleName | ( | const OUString * | pChkStr = nullptr , |
bool | bAutoNum = true |
||
) | const |
Definition at line 2532 of file docnum.cxx.
References aName, DateTimeToOString(), IsInMailMerge(), mpNumRuleTable, n, newName(), size, SwResId(), DateTime::SYSTEM, o3tl::toInt32(), and comphelper::rng::uniform_uint_distribution().
Referenced by SwAutoFormat::BuildEnum(), SwDocStyleSheet::Create(), WW8ListManager::CreateNextRule(), MSWordExportBase::DuplicateNumRuleImpl(), SwWW8ImplReader::GetStyRule(), SwEditShell::GetUniqueNumRuleName(), MakeNumRule(), MakeUniqueNumRules(), SwWW8ImplReader::Read_ANLevelDesc(), SwXNumberingRules::SwXNumberingRules(), and WW8ListManager::WW8ListManager().
OUString SwDoc::GetUniqueOLEName | ( | ) | const |
Definition at line 1400 of file doclay.cxx.
References lcl_GetUniqueFlyName(), and RES_FLYFRMFMT().
Referenced by sw::DocumentLayoutManager::CopyLayoutFormat(), SwFEShell::GetUniqueOLEName(), and MakeFlySection_().
OUString SwDoc::GetUniqueSectionName | ( | const OUString * | pChkStr = nullptr | ) | const |
Definition at line 1393 of file ndsect.cxx.
References aName, DateTimeToOString(), SwSectionNode::GetSection(), SwSection::GetSectionName(), SwNode::GetSectionNode(), IsInMailMerge(), mpSectionFormatTable, n, newName(), size, SwResId(), DateTime::SYSTEM, and o3tl::toInt32().
Referenced by SwXTextSection::attach(), SwEditShell::GetUniqueSectionName(), wwSectionManager::InsertSection(), SwSectionNode::MakeCopy(), SwTransferable::PasteFileName(), SplitDoc(), wwSectionNamer::UniqueName(), and UpdateSection().
OUString SwDoc::GetUniqueShapeName | ( | ) | const |
Definition at line 1410 of file doclay.cxx.
References lcl_GetUniqueFlyName(), and RES_DRAWFRMFMT().
Referenced by SwFmDrawPage::add(), and UnGroupSelection().
OUString SwDoc::GetUniqueTableName | ( | ) | const |
Definition at line 3907 of file ndtbl.cxx.
References aName, DateTimeToOString(), SwFormat::GetName(), SwFormat::IsDefault(), IsInMailMerge(), IsUsed(), mpTableFrameFormatTable, n, newName(), size, SwResId(), DateTime::SYSTEM, and o3tl::toInt32().
Referenced by SwEditShell::GetUniqueTableName(), InsertTable(), SwTableNode::MakeCopy(), SetTableName(), SplitTable(), SwNodes::SplitTable(), and TextToTable().
OUString SwDoc::GetUniqueTOXBaseName | ( | const SwTOXType & | rType, |
const OUString & | sChkStr | ||
) | const |
Definition at line 637 of file doctxm.cxx.
References aName, DateTimeToOString(), SwSectionNode::GetSection(), SwSection::GetSectionName(), SwNode::GetSectionNode(), SwSection::GetType(), SwTOXType::GetTypeName(), IsInMailMerge(), mpSectionFormatTable, n, newName(), size, DateTime::SYSTEM, o3tl::toInt32(), and ToxContent.
Referenced by SwTOXBase::CopyTOXBase(), InsertTableOf(), and SetTOXBaseName().
uno::Reference< script::vba::XVBAEventProcessor > const & SwDoc::GetVbaEventProcessor | ( | ) |
Definition at line 1833 of file doc.cxx.
References mxVbaEvents.
|
inline |
Definition at line 1647 of file doc.hxx.
Referenced by SwVbaFind::GetOrCreateFind().
|
inline |
Definition at line 1652 of file doc.hxx.
Referenced by SwXServiceProvider::MakeInstance().
|
inline |
Definition at line 1630 of file doc.hxx.
Referenced by SwXTextDocument::getXForms().
sfx2::IXmlIdRegistry & SwDoc::GetXmlIdRegistry | ( | ) |
Definition at line 820 of file docnew.cxx.
References IsClipBoard(), and m_pXmlIdRegistry.
Referenced by SwTextNode::GetRegistry(), SwSectionFormat::GetRegistry(), and sw::mark::Bookmark::GetRegistry().
|
static |
Definition at line 1614 of file docnum.cxx.
References lcl_GotoNextPrevNum().
Referenced by SwEditShell::GetCurrentOutlineLevels(), SwCursorShell::GotoNextNum(), and SwEditShell::MoveNumParas().
bool SwDoc::GotoOutline | ( | SwPosition & | rPos, |
const OUString & | rName, | ||
SwRootFrame const * | pLayout = nullptr |
||
) | const |
Definition at line 733 of file docnum.cxx.
References SwPosition::Assign(), SwTextNode::GetExpandText(), GetNodes(), SwNodes::GetOutLineNds(), o3tl::getToken(), comphelper::string::isdigitAsciiString(), sw::IsParaPropsNode(), lcl_FindOutlineName(), lcl_FindOutlineNum(), nPos, and sName.
Referenced by SwHTMLWriter::AddLinkTarget(), MSWordExportBase::AddLinkTarget(), and sw::DocumentLinksAdministrationManager::SelectServerObj().
|
static |
Definition at line 1700 of file docnum.cxx.
References lcl_GotoNextPrevNum().
Referenced by SwCursorShell::GotoPrevNum(), and SwEditShell::MoveNumParas().
const SwTOXMark & SwDoc::GotoTOXMark | ( | const SwTOXMark & | rCurTOXMark, |
SwTOXSearch | eDir, | ||
bool | bInReadOnly | ||
) |
Definition at line 229 of file doctxm.cxx.
References SwTOXType::CollectTextMarks(), getIDocumentLayoutAccess(), SwNode::GetIndex(), SwContentNode::getLayoutFrame(), SwTextTOXMark::GetpTextNd(), SwTextAttr::GetStart(), SwTOXMark::GetText(), SwTOXMark::GetTextTOXMark(), SwTOXMark::GetTOXType(), SwFrame::IsProtected(), NODE_OFFSET_MAX(), SAL_MAX_INT32, TOX_NXT, TOX_PRV, TOX_SAME_NXT, and TOX_SAME_PRV.
Referenced by MSWordExportBase::AddLinkTarget(), and SwCursorShell::GotoTOXMark().
SwDrawContact * SwDoc::GroupSelection | ( | SdrView & | rDrawView | ) |
Definition at line 182 of file docdraw.cxx.
References SwDrawContact::Changed(), SwDrawContact::ConnectToLayout(), DelFrameFormat(), SwFormat::GetAnchor(), SwDrawContact::GetAnchoredObj(), SdrObject::GetAnchorPos(), GetDfltFrameFormat(), SwContact::GetFormat(), GetIDocumentUndoRedo(), SdrObject::GetLastBoundRect(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SwFormat::GetName(), SdrObject::getParentSdrObjectFromSdrObject(), GetUniqueDrawObjectName(), GetUserCall(), Point::getX(), Point::getY(), SdrEditView::GroupMarked(), i, lcl_AdjustPositioningAttr(), MakeDrawFrameFormat(), SwContact::MoveObjToVisibleLayer(), SdrObject::NbcMove(), SdrObject::NbcSetAnchorPos(), SwAnchoredDrawObject::NotYetPositioned(), SwDrawView::ReplaceMarkedDrawVirtObjs(), SwFormat::SetFormatAttr(), SdrObject::SetName(), SwFrameFormat::SetOtherTextBoxFormats(), SwDrawFrameFormat::SetPositionLayoutDir(), and SdrObject::SetUserCall().
Referenced by SwFmDrawPage::group(), and SwFEShell::GroupSelection().
bool SwDoc::HasInvisibleContent | ( | ) | const |
Definition at line 1570 of file doc.cxx.
References Count, SwFieldType::GatherFields(), getIDocumentFieldsAccess(), GetNodes(), GetSections(), IDocumentFieldsAccess::GetSysFieldType(), SwTextNode::HasHiddenCharAttribute(), HiddenPara, SwSection::IsHidden(), and n.
|
static |
Definition at line 1869 of file doc.cxx.
References aProperties, aSwMapProvider, SwXTextRange::CreateXTextRange(), SwPosition::GetDoc(), SfxItemPropertySet::getPropertyMap(), SwUnoPropertyMapProvider::GetPropertySet(), SfxItemPropertyMap::hasPropertyByName(), PROPERTY_MAP_PARA_AUTO_STYLE, UNO_NAME_CHAR_COLOR_THEME, UNO_NAME_CHAR_COLOR_TINT_OR_SHADE, UNO_NAME_CHAR_STYLE_NAME, UNO_NAME_NUMBERING_IS_NUMBER, UNO_NAME_NUMBERING_LEVEL, UNO_NAME_NUMBERING_START_VALUE, UNO_NAME_PAGE_STYLE_NAME, UNO_NAME_PARA_CONDITIONAL_STYLE_NAME, UNO_NAME_PARA_CONTINUEING_PREVIOUS_SUB_TREE, UNO_NAME_PARA_IS_NUMBERING_RESTART, UNO_NAME_PARA_STYLE_NAME, UNO_NAME_PARRSID, UNO_NAME_RSID, and UNO_NAME_SORTED_TEXT_ID.
Referenced by SwTextFrame::PaintParagraphStylesHighlighting().
|
static |
don't call SetRowNotTracked() for rows with tracked row change
Definition at line 545 of file ndtbl1.cxx.
References SwNode::FindTableNode(), getIDocumentRedlineAccess(), SwPosition::GetNode(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineTable(), SwRangeRedline::GetType(), lcl_CollectLines(), nPos, SwRedlineTable::npos, and RES_PRINT().
Referenced by SwFEShell::DeleteRow().
bool SwDoc::HasTableAnyProtection | ( | const SwPosition * | pPos, |
const OUString * | pTableName, | ||
bool * | pFullTableProtection | ||
) |
Definition at line 4529 of file ndtbl.cxx.
References SwTable::FindTable(), FindTableFormatByName(), SwNode::FindTableNode(), SwPosition::GetNode(), SwFormat::GetProtect(), SwTableNode::GetTable(), SwTable::GetTabSortBoxes(), i, SvxProtectItem::IsContentProtected(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwFEShell::HasTableAnyProtection().
|
inline |
Counts table styles without triggering lazy-load of them.
Definition at line 1260 of file doc.hxx.
Referenced by SwStyleSheetIterator::First().
uno::Reference< XHyphenatedWord > SwDoc::Hyphenate | ( | SwPaM * | pPam, |
const Point & | rCursorPos, | ||
sal_uInt16 * | pPageCnt, | ||
sal_uInt16 * | pPageSt | ||
) |
Definition at line 798 of file docedt.cxx.
References SwPaM::Exchange(), SwNodes::ForEach(), SwPaM::GetDoc(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwPosition::GetNode(), GetNodes(), SwPaM::GetPoint(), and lcl_HyphenateNode().
|
private |
Definition at line 830 of file docnew.cxx.
References ShellResource::aTOXAuthoritiesName, ShellResource::aTOXCitationName, ShellResource::aTOXContentName, ShellResource::aTOXIllustrationsName, ShellResource::aTOXIndexName, ShellResource::aTOXObjectsName, ShellResource::aTOXTablesName, ShellResource::aTOXUserName, SwViewShell::GetShellRes(), mpTOXTypes, TOX_AUTHORITIES, TOX_CITATION, TOX_CONTENT, TOX_ILLUSTRATIONS, TOX_INDEX, TOX_OBJECTS, TOX_TABLES, and TOX_USER.
Referenced by ClearDoc(), and SwDoc().
void SwDoc::initXForms | ( | bool | bCreateDefaultModel | ) |
Definition at line 49 of file docxforms.cxx.
References Exception, GetDocShell(), SfxObjectShell::GetModel(), comphelper::getProcessComponentContext(), isXForms(), mxXForms, sName, and xModel.
Referenced by SwXMLImport::initXForms().
bool SwDoc::InsCopyOfTable | ( | SwPosition & | rInsPos, |
const SwSelBoxes & | rBoxes, | ||
const SwTable * | pCpyTable, | ||
bool | bCpyName = false , |
||
bool | bCorrPos = false , |
||
const OUString & | rStyleName = "" |
||
) |
Copies a Table from the same or another Doc into itself We create a new Table or an existing one is filled with the Content.
We either fill in the Content from a certain Box or a certain TableSelection
This method is called by edglss.cxx/fecopy.cxx
Definition at line 4282 of file ndtbl.cxx.
References SwPosition::Adjust(), SwContentIndex::Assign(), SwPosition::Assign(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), SwNode::GetDoc(), getIDocumentFieldsAccess(), getIDocumentRedlineAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwNode::GetIndex(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), GetNodes(), IDocumentRedlineAccess::GetRedlineFlags(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwTable::GetTableNode(), SwNodes::GoNext(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwTable::InsTable(), SwTable::IsNewModel(), SwTable::IsTableComplex(), SwTable::MakeCopy(), SwPosition::nContent, On, IDocumentFieldsAccess::SetFieldsDirty(), IDocumentState::SetModified(), IDocumentRedlineAccess::SetRedlineFlags(), ShowDelete, ShowInsert, and SwDoc().
Referenced by SwFEShell::Copy(), SwEditShell::CopySelToDoc(), and SwFEShell::Paste().
void SwDoc::InsertCol | ( | const SwCursor & | rCursor, |
sal_uInt16 | nCnt = 1 , |
||
bool | bBehind = true |
||
) |
Inserting Columns/Rows.
Definition at line 1695 of file ndtbl.cxx.
References CheckSplitCells(), Col, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), GetTableSel(), and InsertCol().
Referenced by SwXTableColumns::insertByIndex(), InsertCol(), SwFEShell::InsertCol(), and SwUndoTableNdsChg::RedoImpl().
bool SwDoc::InsertCol | ( | const SwSelBoxes & | rBoxes, |
sal_uInt16 | nCnt = 1 , |
||
bool | bBehind = true |
||
) |
Definition at line 1708 of file ndtbl.cxx.
References ClearFEShellTabCols(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), getIDocumentFieldsAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwTableNode::GetTable(), SwTable::GetTabSortBoxes(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwTable::InsertCol(), IDocumentFieldsAccess::SetFieldsDirty(), IDocumentState::SetModified(), SwTable::SwitchFormulasToInternalRepresentation(), and TABLE_INSCOL.
SwFlyFrameFormat * SwDoc::InsertDrawLabel | ( | const OUString & | rText, |
const OUString & | rSeparator, | ||
const OUString & | rNumberSeparator, | ||
const sal_uInt16 | nId, | ||
const OUString & | rCharacterStyle, | ||
SdrObject & | rObj | ||
) |
Definition at line 1244 of file doclay.cxx.
References Draw, SwContact::GetFormat(), GetIDocumentUndoRedo(), GetUserCall(), lcl_InsertDrawLabel(), mpTextFormatCollTable, nId, RES_DRAWFRMFMT(), and SwFormat::Which().
Referenced by SwFEShell::InsertLabel().
bool SwDoc::InsertGlossary | ( | SwTextBlocks & | rBlock, |
const OUString & | rEntry, | ||
SwPaM & | rPaM, | ||
SwCursorShell * | pShell = nullptr |
||
) |
inserts an AutoText block
Definition at line 131 of file docglos.cxx.
References SwPosition::Assign(), SwTextBlocks::BeginGetDoc(), CheckPosInFly, ClearBoxNumAttrs(), IDocumentContentOperations::CopyRange(), IDocumentContentOperations::DelFullPara(), SwTextBlocks::EndGetDoc(), SwNode::EndOfSectionIndex(), SwNode::FindTableNode(), SwTextBlocks::GetDoc(), GetDocShell(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), getIDocumentContentOperations(), getIDocumentFieldsAccess(), GetIDocumentUndoRedo(), SwNode::GetIndex(), SwTextBlocks::GetIndex(), SwPaM::GetMark(), SwPaM::GetNext(), SwPosition::GetNode(), GetNodes(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwNodes::GoNext(), INSGLOSSARY, SwTextBlocks::IsOnlyTextBlock(), SwContentNode::Len(), IDocumentFieldsAccess::LockExpFields(), mbInsOnlyTextGlssry, ReplaceDocumentProperties(), SwDontExpandItem::RestoreDontExpandItems(), SwDontExpandItem::SaveDontExpandItems(), SwCursorShell::SaveTableBoxContent(), SwPosition::SetContent(), IDocumentFieldsAccess::SetFixFields(), SwPaM::SetMark(), IDocumentFieldsAccess::UnlockExpFields(), and IDocumentFieldsAccess::UpdateExpFields().
Referenced by SwXAutoTextEntry::applyTo(), SwTransferable::CopyGlossary(), and SwEditShell::InsertGlossary().
SwFlyFrameFormat * SwDoc::InsertLabel | ( | const SwLabelType | eType, |
const OUString & | rText, | ||
const OUString & | rSeparator, | ||
const OUString & | rNumberingSeparator, | ||
const bool | bBefore, | ||
const sal_uInt16 | nId, | ||
const SwNodeOffset | nIdx, | ||
const OUString & | rCharacterStyle, | ||
const bool | bCpyBrd | ||
) |
Definition at line 972 of file doclay.cxx.
References eType, GetIDocumentUndoRedo(), lcl_InsertLabel(), mpTextFormatCollTable, and nId.
Referenced by SwFEShell::InsertLabel(), and SwUndoInsertLabel::RepeatImpl().
void SwDoc::InsertRow | ( | const SwCursor & | rCursor, |
sal_uInt16 | nCnt = 1 , |
||
bool | bBehind = true |
||
) |
Definition at line 1750 of file ndtbl.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), GetTableSel(), InsertRow(), and Row.
Referenced by SwXTableRows::insertByIndex(), InsertRow(), SwFEShell::InsertRow(), SwUndoTableNdsChg::RedoImpl(), and WW8TabDesc::TableCellEnd().
bool SwDoc::InsertRow | ( | const SwSelBoxes & | rBoxes, |
sal_uInt16 | nCnt = 1 , |
||
bool | bBehind = true |
||
) |
Definition at line 1760 of file ndtbl.cxx.
References ClearFEShellTabCols(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), getIDocumentFieldsAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwTableNode::GetTable(), SwTable::GetTabSortBoxes(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwTable::InsertRow(), IDocumentFieldsAccess::SetFieldsDirty(), IDocumentState::SetModified(), SwTable::SwitchFormulasToInternalRepresentation(), and TABLE_INSROW.
SwSection * SwDoc::InsertSwSection | ( | SwPaM const & | rRange, |
SwSectionData & | rNewData, | ||
std::tuple< SwTOXBase const *, sw::RedlineMode, sw::FieldmarkMode, sw::ParagraphBreakMode > const * | pTOXBase, | ||
SfxItemSet const *const | pAttr, | ||
bool const | bUpdate = true |
||
) |
Definition at line 148 of file ndsect.cxx.
References IDocumentRedlineAccess::AppendRedline(), SwCalc::Calculate(), SwStartNode::CheckSectionCondColl(), Connect, SwSection::CreateLink(), SwNode::EndOfSectionNode(), IDocumentFieldsAccess::FieldsToCalc(), FTNEND_ATTXTEND_OWNNUMANDFMT, FTNEND_ATTXTEND_OWNNUMSEQ, SfxItemSet::Get(), SwSbxValue::GetBool(), SwSectionData::GetCondition(), SwSection::GetCondition(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), GetFootnoteIdxs(), getIDocumentContentOperations(), getIDocumentFieldsAccess(), getIDocumentRedlineAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwPosition::GetNode(), GetNodes(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineFlags(), SwSectionNode::GetSection(), SwSectionData::GetSectionName(), SwTextNode::GetText(), SwNode::GetTextNode(), SwPaM::HasMark(), Ignore, SwNodes::InsertTextSection(), SwSectionData::IsHidden(), IsInReading(), IsInsRegionAvailable(), SwSectionData::IsLinkType(), SwNode::IsTextNode(), lcl_CheckEmptyLayFrame(), SwContentNode::Len(), MakeSectionFormat(), RES_END_AT_TXTEND(), RES_FTN_AT_TXTEND(), SAL_INFO, SAL_MAX_INT32, SwUndoInsSection::SaveSplitNode(), SwSection::SetCondHidden(), SwFormat::SetFormatAttr(), SwFrameFormat::SetFormatName(), IDocumentState::SetModified(), IDocumentRedlineAccess::SetRedlineFlags_intern(), SwUndoInsSection::SetSectNdPos(), SwUndoInsSection::SetUpdateFootnoteFlag(), ShowMask, IDocumentContentOperations::SplitNode(), IDocumentRedlineAccess::SplitRedline(), SwPaM::StartEnd(), SwNode::StartOfSectionNode(), Update, and SwFootnoteIdxs::UpdateFootnote().
Referenced by SwXTextSection::attach(), wwSectionManager::CreateSep(), wwSectionManager::InsertSection(), SwEditShell::InsertSection(), InsertTableOf(), SwWW8ImplReader::Read_F_IncludeText(), SwUndoInsSection::RedoImpl(), and SwUndoInsSection::RepeatImpl().
const SwTable * SwDoc::InsertTable | ( | const SwInsertTableOptions & | rInsTableOpts, |
const SwPosition & | rPos, | ||
sal_uInt16 | nRows, | ||
sal_uInt16 | nCols, | ||
sal_Int16 | eAdjust, | ||
const SwTableAutoFormat * | pTAFormat = nullptr , |
||
const std::vector< sal_uInt16 > * | pColArr = nullptr , |
||
bool | bCalledFromShell = false , |
||
bool | bNewModel = true , |
||
const OUString & | rTableName = {} |
||
) |
Insert new table at position.
Insert a new Table.
rPos | (will be inserted before Node!). For AutoFormat at input: columns have to be set at predefined width. The array holds the positions of the columns (not their widths). new |
bCalledFromShell | true: called from shell -> propagate existing adjust item at rPos to every new cell. A existing adjust item in the table heading or table contents paragraph style prevent that propagation. false: do not propagate |
Definition at line 337 of file ndtbl.cxx.
References IDocumentRedlineAccess::AppendRedline(), ATT_LEFT_TO_RIGHT, SwTableLines::begin(), Char, CHECK_TABLE, SwTableAutoFormat::CountPos(), DefaultBorder, SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), FindTableFormatByName(), GetAttrPool(), SwNode::GetContentNode(), GetDfltFrameFormat(), SwFormat::GetFrameSize(), getIDocumentRedlineAccess(), getIDocumentState(), getIDocumentStylePoolAccess(), GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SfxItemSet::GetItemIfSet(), SwPosition::GetNode(), GetNodes(), SwContentNode::GetpSwAttrSet(), SwTableLine::GetTabBoxes(), SwTableNode::GetTable(), SwTable::GetTabLines(), IDocumentStylePoolAccess::GetTextCollFromPool(), GetUniqueTableName(), SvxSizeItem::GetWidth(), SwContentNode::HasSwAttrSet(), Headline, i, SwTableLines::insert(), SwNodes::InsertTable(), SwTableAutoFormat::IsFont(), SwTableAutoFormat::IsJustify(), lcl_CreateAFormatBoxFormat(), lcl_CreateDfltBoxFormat(), SwTableNode::MakeOwnFrames(), MakeTableBoxFormat(), MakeTableFrameFormat(), MakeTableLineFormat(), SwInsertTableOptions::mnInsMode, SwInsertTableOptions::mnRowsToRepeat, n, nId, SwPostItHelper::NONE, SwTable::RegisterToFormat(), RES_BREAK(), RES_CHRATR_BEGIN(), RES_FRAMEDIR(), RES_LR_SPACE(), RES_PAGEDESC(), RES_PARATR_LIST_END(), RES_POOLCOLL_TABLE, RES_POOLCOLL_TABLE_HDLN, SwContentNode::ResetAttr(), SetAttr(), SwFormat::SetFormatAttr(), IDocumentState::SetModified(), SwTable::SetRowsToRepeat(), SwTable::SetTableModel(), SplitLayout, IDocumentRedlineAccess::SplitRedline(), SwTableAutoFormat::UpdateToSet(), and Variable.
Referenced by SwXTextTable::attach(), WW8TabDesc::CreateSwTable(), SwAutoFormat::DoTable(), SwEditShell::InsertDDETable(), SwEditShell::InsertTable(), SwTable::MakeCopy(), SwUndoInsTable::RedoImpl(), and SwUndoInsTable::RepeatImpl().
SwTOXBaseSection * SwDoc::InsertTableOf | ( | const SwPaM & | aPam, |
const SwTOXBase & | rTOX, | ||
const SfxItemSet * | pSet = nullptr , |
||
bool | bExpand = false , |
||
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 354 of file doctxm.cxx.
References SwRootFrame::GetFieldmarkMode(), SwSection::GetFormat(), getIDocumentStylePoolAccess(), GetIDocumentUndoRedo(), SwNodeIndex::GetNode(), GetNodes(), SwRootFrame::GetParagraphBreakMode(), SwSectionFormat::GetSectionNode(), SwTOXBase::GetTitle(), SwTOXBase::GetTOXName(), SwTOXBase::GetTOXType(), GetUniqueTOXBaseName(), sw::Hidden, InsertSwSection(), SwNodes::InsertTextSection(), INSTOX, SwRootFrame::IsHideRedlines(), IsInReading(), MakeSectionFormat(), SwNodes::MakeTextNode(), RES_POOLCOLL_STANDARD, SwTOXBase::SetTOXName(), sw::ShowBoth, sw::Shown, ToxContent, ToxHeader, and SwTOXBaseSection::Update().
SwTOXBaseSection * SwDoc::InsertTableOf | ( | const SwPosition & | rPos, |
const SwTOXBase & | rTOX, | ||
const SfxItemSet * | pSet = nullptr , |
||
bool | bExpand = false , |
||
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 344 of file doctxm.cxx.
References InsertTableOf().
Referenced by SwXDocumentIndex::attach(), InsertTableOf(), SwWW8ImplReader::Read_F_Tox(), SwUndoInsSection::RedoImpl(), SwUndoInsSection::RepeatImpl(), and SwUndoDelSection::UndoImpl().
void SwDoc::InsertTableOf | ( | SwNodeOffset | nSttNd, |
SwNodeOffset | nEndNd, | ||
const SwTOXBase & | rTOX, | ||
const SfxItemSet * | pSet | ||
) |
Definition at line 410 of file doctxm.cxx.
References DelSectionFormat(), SwNode::FindSectionNode(), SwNodeIndex::GetNode(), GetNodes(), SwSectionNode::GetSection(), SwTOXBase::GetTOXName(), SwTOXBase::GetTOXType(), SwSection::GetType(), GetUniqueTOXBaseName(), SwNodes::InsertTextSection(), MakeSectionFormat(), SwFormat::SetFormatAttr(), SwTOXBase::SetTOXName(), SwNode::StartOfSectionNode(), ToxContent, and ToxHeader.
Definition at line 630 of file doctxm.cxx.
References mpTOXTypes.
Referenced by SwXDocumentIndexMark::attach(), SwTOXBase::CopyTOXBase(), SwTextTOXMark::CopyTOXMark(), SwHistorySetTOXMark::GetSwTOXType(), and lcl_ReAssignTOXType().
void SwDoc::InvalidateAutoCompleteFlag | ( | ) |
Definition at line 1217 of file doc.cxx.
References Count, GetAllLayouts(), IDocumentLayoutAccess::GetCurrentLayout(), getIDocumentLayoutAccess(), GetNodes(), and SwTextNode::SetAutoCompleteWordDirty().
Referenced by SwDocShell::Execute().
void SwDoc::InvalidateNumRules | ( | ) |
Definition at line 1386 of file docnum.cxx.
References mpNumRuleTable, and n.
|
inline |
Definition at line 1465 of file doc.hxx.
Referenced by sw::DocumentRedlineManager::AppendRedline(), SwAutoCorrDoc::DeleteSelImpl(), and SwAutoCorrDoc::ReplaceRange().
|
inline |
Definition at line 978 of file doc.hxx.
Referenced by sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentContentOperationsManager::CopyRange(), SwEditShell::CopySelToDoc(), SwTextNode::CopyText(), RtfAttributeOutput::EndParagraph(), SwTextField::ExpandTextField(), sw::DocumentFieldsManager::FieldsToExpand(), GetXmlIdRegistry(), SwTextNode::IsInClipboard(), SwSectionFormat::IsInClipboard(), sw::mark::Bookmark::IsInClipboard(), MakeTextAttr(), SwGetRefFieldType::MergeWithOtherDoc(), SwTextFormatter::NewFieldPortion(), SwFormatField::SwClientNotify(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), and SwWriter::Write().
|
inline |
Definition at line 982 of file doc.hxx.
Referenced by sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentContentOperationsManager::CopyRange(), and SwFEShell::Paste().
|
inline |
Definition at line 1390 of file doc.hxx.
Referenced by sw::DocumentLayoutManager::CopyLayoutFormat(), SwTextNode::CopyText(), SwRangeRedline::CopyToSection(), SwTOXBase::CopyTOXBase(), SwTableNode::MakeCopy(), and SwSectionNode::MakeCopy().
|
inline |
Returns true if no dictionary can be found for any content.
Definition at line 1692 of file doc.hxx.
Referenced by SwSpellDialogChildWindow::GetNextWrongSentence().
|
static |
Definition at line 2649 of file docnum.cxx.
References SwPosition::GetNode(), sw::GetParaPropsNode(), and SwTextNode::IsFirstOfNumRule().
Referenced by SwEditShell::IsFirstOfNumRuleAtCursorPos().
|
static |
Definition at line 217 of file ndtbl.cxx.
References SwNodeIndex::GetNode(), and IsInTable().
Referenced by SwTable::InsTable(), and sw::DocumentFieldsManager::UpdateField().
|
inline |
Definition at line 417 of file doc.hxx.
Referenced by SwDrawContact::Changed(), SwDrawContact::Changed_(), SwTextBoxNode::ClearAll(), SwBaseLink::Closed(), SwBaseLink::DataChanged(), SwTextNode::DestroyAttr(), SwContentFrame::DestroyImpl(), SwPageFrame::DestroyImpl(), SwFlyFrame::FinitDrawObj(), sw::getGrammarContactFor(), SwTextNode::HandleNonLegacyHint(), sw::DocumentFieldsManager::InsDelFieldInFieldLst(), SwFrame::InvalidatePage(), SwAnchoredDrawObject::InvalidatePage_(), SwTextNode::IsNotificationEnabled(), SwNodeNum::IsNotificationEnabled(), lcl_DelHFFormat(), SwRedlineTable::LOKRedlineNotification(), SwPageDesc::RegisterChange(), SwRedlineTable::Remove(), sw::DocumentFieldsManager::SetFieldsDirty(), SwTextFootnote::SetStartNode(), SwTextFormatColl::SwClientNotify(), SwNumFormat::SwClientNotify(), SwTableBoxFormat::SwClientNotify(), SwTextNode::TriggerNodeUpdate(), SwNodes::UpdateOutlineIdx(), SwDDEFieldType::~SwDDEFieldType(), SwDDETable::~SwDDETable(), SwExtTextInput::~SwExtTextInput(), SwOLEObj::~SwOLEObj(), SwSection::~SwSection(), SwTable::~SwTable(), and SwUnoCursor::~SwUnoCursor().
bool SwDoc::IsInHeaderFooter | ( | const SwNode & | rIdx | ) | const |
Definition at line 1582 of file doclay.cxx.
References SwNode::FindFlyStartNode(), SwNode::FindFooterStartNode(), SwNode::FindHeaderStartNode(), SwFormat::GetAnchor(), SwNode::GetAnchoredFlys(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwNodeIndex::GetNode(), GetSpzFrameFormats(), i, and mbInReading.
Referenced by AppendAllObjs(), ConvertFieldsToText(), sw::DocumentLayoutManager::CopyLayoutFormat(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwXMLTextParagraphExport::exportTable(), SwContentType::FillMemberList(), SwXRedlinePortion::GetPropertyValue(), SwFEShell::ImpEndCreate(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwTextNode::InsertHint(), SwTextNode::IsInContent(), SwSectionFormat::IsInContent(), sw::mark::Bookmark::IsInContent(), SwXMLTextImportHelper::IsInHeaderFooter(), SwFEShell::ShouldObjectBeSelected(), and sw_ChkAndSetNewAnchor().
|
inline |
Definition at line 975 of file doc.hxx.
Referenced by sw::DocumentLayoutManager::CopyLayoutFormat(), sw::mark::MarkManager::getUniqueMarkName(), GetUniqueNumRuleName(), GetUniqueSectionName(), GetUniqueTableName(), GetUniqueTOXBaseName(), and lcl_GetUniqueFlyName().
|
inline |
Definition at line 969 of file doc.hxx.
Referenced by SwModule::ApplyItemSet(), SwXFootnote::attach(), SwpHints::BuildPortions(), sw::DocumentLayoutManager::CopyLayoutFormat(), SwXMLImport::endDocument(), SwXTextDocument::getPropertyValue(), SwTable::InsertRow_(), InsertSwSection(), InsertTableOf(), SwTextNode::IsNotificationEnabled(), SwNodeNum::IsNotificationEnabled(), lcl_UpdateSection(), sw::DocumentSettingManager::setCharacterCompressionType(), SetEndNoteInfo(), SetFootnoteInfo(), sw::DocumentSettingManager::setForbiddenCharacters(), SwTextFootnote::SetSeqRefNo(), SwpHints::TryInsertHint(), sw::DocumentFieldsManager::UpdateExpFields(), and SwFootnoteIdxs::UpdateFootnote().
|
inline |
Definition at line 672 of file doc.hxx.
Referenced by sw::DocumentContentOperationsManager::CopyImplImpl(), and SwTextNode::MakeCopy().
|
static |
Definition at line 380 of file ndsect.cxx.
References SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwNode::FindSectionNode(), SwNode::GetContentNode(), SwNode::GetEndNode(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetSectionNode(), SwPaM::HasMark(), SwNode::IsEndNode(), SwNode::IsSectionNode(), SwNode::IsStartNode(), SwContentNode::Len(), SwPaM::StartEnd(), SwNode::StartOfSectionIndex(), and SwNode::StartOfSectionNode().
Referenced by InsertSwSection(), and SwEditShell::IsInsRegionAvailable().
bool SwDoc::IsInsTableAlignNum | ( | ) | const |
Definition at line 1720 of file doc.cxx.
References sw::proofreadingiterator::get(), GetDocumentSettingManager(), HTML_MODE, and SW_MOD.
Referenced by ChgNumToText().
bool SwDoc::IsInsTableChangeNumFormat | ( | ) | const |
Definition at line 1715 of file doc.cxx.
References sw::proofreadingiterator::get(), GetDocumentSettingManager(), HTML_MODE, and SW_MOD.
Referenced by ChkBoxNumFormat().
bool SwDoc::IsInsTableFormatNum | ( | ) | const |
Definition at line 1710 of file doc.cxx.
References sw::proofreadingiterator::get(), GetDocumentSettingManager(), HTML_MODE, and SW_MOD.
Referenced by ChkBoxNumFormat(), SwUndoTableToText::SwUndoTableToText(), and TextToTable().
|
static |
Definition at line 219 of file ndtbl.cxx.
References SwNode::GetIndex(), SwNode::GetTableNode(), and SwNode::StartOfSectionNode().
Referenced by IsIdxInTable(), SwFEShell::Paste(), SwTransferable::Paste(), SwUndoSort::RepeatImpl(), SwEditShell::TableToText(), and SwCursorShell::UpdateCursor().
bool SwDoc::IsInVerticalText | ( | const SwPosition & | rPos | ) | const |
Definition at line 1693 of file doclay.cxx.
References GetTextDirection().
Referenced by WW8Export::OutGrf().
|
inline |
Definition at line 987 of file doc.hxx.
Referenced by IsDestroyFrameAnchoredAtChar(), IsSelectFrameAnchoredAtPara(), and SwXTextDocument::setPropertyValue().
|
inline |
Definition at line 985 of file doc.hxx.
Referenced by SwpHints::BuildPortions(), SwXMLImport::endDocument(), PropValuesToAutoStyleItemSet(), sw::DocumentRedlineManager::SetRedlineFlags(), and SwpHints::TryInsertHint().
|
staticprivate |
Definition at line 754 of file docfld.cxx.
References GetAppCmpStrIgnore(), and sName.
Referenced by ChangeDBFields().
bool SwDoc::IsNumberFormat | ( | const OUString & | aString, |
sal_uInt32 & | F_Index, | ||
double & | fOutNumber | ||
) |
Definition at line 4025 of file ndtbl.cxx.
References CH_TXTATR_INWORD, GetNumberFormatter(), SvNumberFormatter::IsNumberFormat(), and u.
Referenced by SwTableBoxFormat::BoxAttributeChanged(), SwXCell::GetForcedNumericalValue(), sw::MetaField::GetNumberFormat(), SwTableBox::GetValue(), SwTableBox::HasNumContent(), and SwEditShell::IsTableBoxTextFormat().
|
inline |
Definition at line 575 of file doc.hxx.
Referenced by SwXMLImport::endDocument(), and XMLReader::Read().
|
inline |
Definition at line 579 of file doc.hxx.
Referenced by SwAccessibleMap::IsDocumentSelAll().
bool SwDoc::IsSplitVerticalByDefault | ( | ) | const |
Definition at line 1725 of file doc.cxx.
References sw::proofreadingiterator::get(), GetDocumentSettingManager(), HTML_MODE, and SW_MOD.
Referenced by SwWrtShell::IsSplitVerticalByDefault().
bool SwDoc::IsSquaredPageMode | ( | ) | const |
Definition at line 1038 of file docdesc.cxx.
References GetDefault(), SwTextGridItem::IsSquaredMode(), and RES_TEXTGRID().
Referenced by GetGridWidth(), SwLoadOptPage::Reset(), and SetDefaultPageMode().
|
inline |
Definition at line 964 of file doc.hxx.
Referenced by SwEditShell::IsUpdateTOX(), and SwTOXBaseSection::UpdatePageNum().
bool SwDoc::IsUsed | ( | const sw::BroadcastingModify & | rModify | ) | const |
Definition at line 86 of file poolfmt.cxx.
References GetNodes().
Referenced by SwStyleSheetIterator::AppendStyleList(), RtfExport::BuildNumbering(), DelNumRule(), FindTableFormatByName(), SwStyleSheetIterator::First(), GetDBData(), MSWordExportBase::GetNumberingId(), GetUniqueTableName(), SwDocStyleSheet::IsUsed(), SwTableNode::MakeCopy(), SwHTMLWriter::OutStyleSheet(), Writer::PutNumFormatFontsInAttrPool(), sw::DocumentFieldsManager::RemoveFieldType(), SwXTextTable::setName(), and SetTableName().
bool SwDoc::IsUsed | ( | const SwNumRule & | rRule | ) | const |
Definition at line 109 of file poolfmt.cxx.
References SwNumRule::GetDefaultListId(), SwList::GetDefaultListStyleName(), getIDocumentListsAccess(), SwNumRule::GetName(), SwNumRule::GetParagraphStyleListSize(), SwNumRule::GetTextNodeListSize(), SwList::HasNodes(), and SwNumRule::IsUsedByRedline().
bool SwDoc::IsUsed | ( | const SwTableAutoFormat & | rTableAutoFormat | ) | const |
Query if table style is used.
Definition at line 95 of file poolfmt.cxx.
References SwTable::FindTable(), SwTableAutoFormat::GetName(), GetTableFrameFormat(), GetTableFrameFormatCount(), SwTable::GetTableStyleName(), and i.
bool SwDoc::IsVisitedURL | ( | std::u16string_view | rURL | ) |
Definition at line 100 of file visiturl.cxx.
References SfxObjectShell::GetMedium(), INetURLHistory::GetOrCreate(), SfxMedium::GetURLObject(), mpDocShell, mpURLStateChgd, INetURLHistory::QueryUrl(), and INetURLObject::SetMark().
Referenced by SwTextINetFormat::GetCharFormat(), and lcl_PaintReplacement().
bool SwDoc::isXForms | ( | ) | const |
Definition at line 44 of file docxforms.cxx.
References mxXForms.
Referenced by SwBaseShell::GetState(), SwXMLImport::initXForms(), initXForms(), SwLayIdle::isJobEnabled(), and SwLayIdle::SwLayIdle().
SwCharFormat * SwDoc::MakeCharFormat | ( | const OUString & | rFormatName, |
SwCharFormat * | pDerivedFrom, | ||
bool | bBroadcast = false |
||
) |
Definition at line 863 of file docfmt.cxx.
References BroadcastStyleOperation(), GetAttrPool(), getIDocumentState(), GetIDocumentUndoRedo(), mpCharFormatTable, SwFormat::SetAuto(), and IDocumentState::SetModified().
Referenced by WW8ListManager::AdjustLVL(), SwDocStyleSheet::Create(), SwUndoCharFormatCreate::Create(), SwUndoCharFormatDelete::Create(), SwCSS1Parser::FillDropCap(), SwCSS1Parser::GetChrFormat(), SwEditShell::MakeCharFormat(), MakeCharFormat_(), SwWW8ImplReader::Read_SubF_Ruby(), SwWW8ImplReader::ReadText(), SwCSS1Parser::StyleParsed(), SwNumFormat::SwNumFormat(), and SwTOXBaseSection::UpdatePageNum_().
SwFormat * SwDoc::MakeCharFormat_ | ( | const OUString & | rFormatName, |
SwFormat * | pDerivedFrom, | ||
bool | bBroadcast, | ||
bool | |||
) |
Definition at line 887 of file docfmt.cxx.
References MakeCharFormat().
Referenced by CopyCharFormat(), sw::DocumentStylePoolManager::GetFormatFromPool(), and ReplaceStyles().
SwConditionTextFormatColl * SwDoc::MakeCondTextFormatColl | ( | const OUString & | rFormatName, |
SwTextFormatColl * | pDerivedFrom, | ||
bool | bBroadcast = false |
||
) |
Definition at line 930 of file docfmt.cxx.
References BroadcastStyleOperation(), GetAttrPool(), getIDocumentState(), GetIDocumentUndoRedo(), mpTextFormatCollTable, SwFormat::SetAuto(), and IDocumentState::SetModified().
Referenced by CopyFormatArr(), SwDocStyleSheet::Create(), SwUndoCondTextFormatCollCreate::Create(), SwUndoCondTextFormatCollDelete::Create(), and SwDocStyleSheet::SetItemSet().
SwDrawFrameFormat * SwDoc::MakeDrawFrameFormat | ( | const OUString & | rFormatName, |
SwFrameFormat * | pDerivedFrom | ||
) |
Definition at line 769 of file docfmt.cxx.
References GetAttrPool(), getIDocumentState(), GetSpzFrameFormats(), and IDocumentState::SetModified().
Referenced by sw::DocumentLayoutManager::CopyLayoutFormat(), GroupSelection(), sw::DocumentContentOperationsManager::InsertDrawObj(), sw::DocumentLayoutManager::MakeLayoutFormat(), and UnGroupSelection().
SwFlyFrameFormat * SwDoc::MakeFlyAndMove | ( | const SwPaM & | rPam, |
const SfxItemSet & | rSet, | ||
const SwSelBoxes * | pSelBoxes, | ||
SwFrameFormat * | pParent | ||
) |
Definition at line 340 of file doclay.cxx.
References SwNodeRange::aEnd, aIndex, SwNodeRange::aStart, IDocumentContentOperations::CopyRange(), DEFAULT, SwNodes::Delete(), IDocumentContentOperations::DeleteAndJoin(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SfxItemSet::Get(), SwFormatAnchor::GetAnchorId(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), GetDfltTextFormatColl(), getIDocumentContentOperations(), getIDocumentRedlineAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwNodeIndex::GetNode(), GetNodes(), SwPaM::GetPoint(), sw::Ring< value_type >::GetRingContainer(), SwTableNode::GetTable(), SwTable::GetTabSortBoxes(), INSLAYFMT, SwNode::IsEndNode(), IsMoveToFly, SwTable::MakeCopy(), MakeFlySection(), SwNodes::MakeTextNode(), mbCopyIsMove, IDocumentContentOperations::MoveNodeRange(), RES_ANCHOR(), rSet, IDocumentState::SetModified(), IDocumentRedlineAccess::SetRedlineMove(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwFEShell::NewFlyFrame().
SwFlyFrameFormat * SwDoc::MakeFlyFrameFormat | ( | const OUString & | rFormatName, |
SwFrameFormat * | pDerivedFrom | ||
) |
Create the formats.
Definition at line 760 of file docfmt.cxx.
References GetAttrPool(), getIDocumentState(), GetSpzFrameFormats(), and IDocumentState::SetModified().
Referenced by sw::DocumentLayoutManager::CopyLayoutFormat(), lcl_InsertDrawLabel(), lcl_InsertLabel(), and MakeFlySection_().
SwFlyFrameFormat * SwDoc::MakeFlySection | ( | RndStdIds | eAnchorType, |
const SwPosition * | pAnchorPos, | ||
const SfxItemSet * | pSet = nullptr , |
||
SwFrameFormat * | pParent = nullptr , |
||
bool | bCalledFromShell = false |
||
) |
Definition at line 288 of file doclay.cxx.
References sw::proofreadingiterator::get(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), SwNode::GetContentNode(), GetDocumentSettingManager(), IDocumentStylePoolAccess::GetFrameFormatFromPool(), getIDocumentStylePoolAccess(), SfxItemSet::GetItemIfSet(), SwFormat::GetItemIfSet(), SfxItemSet::GetItemState(), SwPosition::GetNode(), GetNodes(), SwContentNode::GetSwAttrSet(), HTML_MODE, lcl_IsItemSet(), MakeFlySection_(), SwNodes::MakeTextNode(), RES_ANCHOR(), RES_PARATR_ADJUST(), RES_POOLCOLL_FRAME, RES_POOLCOLL_TEXT, RES_POOLFRM_FRAME, and SwContentNode::SetAttr().
Referenced by SwWW8ImplReader::ConvertDrawTextToFly(), MakeFlyAndMove(), SwFEShell::NewFlyFrame(), SwWW8ImplReader::Read_HdFtTextAsHackedFrame(), SwWW8ImplReader::StartApo(), and SwWW8ImplReader::StartTable().
|
private |
Definition at line 156 of file doclay.cxx.
References SfxItemSet::ClearItem(), DEF_FLY_WIDTH, SwNode::FindFlyStartNode(), Fixed, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFormat::GetAttrSet(), SwPosition::GetContentIndex(), IDocumentStylePoolAccess::GetFrameFormatFromPool(), getIDocumentLayoutAccess(), getIDocumentState(), getIDocumentStylePoolAccess(), GetIDocumentUndoRedo(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwFormat::GetItemState(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), GetNodes(), SwNode::GetNodeType(), SwNode::GetNoTextNode(), SwFormatAnchor::GetPageNum(), SwNode::GetTextNode(), SwNoTextNode::GetTwipSize(), GetUniqueFrameName(), GetUniqueGrfName(), GetUniqueOLEName(), Grf, Size::Height(), SwTextNode::InsertItem(), MakeFlyFrameFormat(), SwFlyFrameFormat::MakeFrames(), MINFLY, Ole, RES_ANCHOR(), RES_CNTNT(), RES_FRM_SIZE(), RES_POOLFRM_FRAME, SwNodes::SectionDown(), SwFormatAnchor::SetAnchor(), SwFormat::SetFormatAttr(), SvxSizeItem::SetHeight(), SwFormatFrameSize::SetHeightSizeType(), IDocumentState::SetModified(), SwFormatAnchor::SetType(), SvxSizeItem::SetWidth(), Size::setWidth(), sName, SwNode::StartOfSectionNode(), SwFlyStartNode, Variable, and Size::Width().
Referenced by sw::DocumentContentOperationsManager::InsNoTextNode(), and MakeFlySection().
SwFrameFormat * SwDoc::MakeFrameFormat | ( | const OUString & | rFormatName, |
SwFrameFormat * | pDerivedFrom, | ||
bool | bBroadcast = false , |
||
bool | bAuto = true |
||
) |
Definition at line 829 of file docfmt.cxx.
References BroadcastStyleOperation(), GetAttrPool(), getIDocumentState(), GetIDocumentUndoRedo(), mpFrameFormatTable, SwFormat::SetAuto(), and IDocumentState::SetModified().
Referenced by SwDocStyleSheet::Create(), SwUndoFrameFormatCreate::Create(), SwUndoFrameFormatDelete::Create(), SwView::InsertGraphicDlg(), lcl_AddColumns(), MakeFrameFormat_(), and SwWW8ImplReader::ReadChar().
SwFormat * SwDoc::MakeFrameFormat_ | ( | const OUString & | rFormatName, |
SwFormat * | pDerivedFrom, | ||
bool | bBroadcast, | ||
bool | bAuto | ||
) |
Definition at line 854 of file docfmt.cxx.
References MakeFrameFormat().
Referenced by CopyFrameFormat(), sw::DocumentStylePoolManager::GetFormatFromPool(), and ReplaceStyles().
SwGrfFormatColl * SwDoc::MakeGrfFormatColl | ( | const OUString & | rFormatName, |
SwGrfFormatColl * | pDerivedFrom | ||
) |
Definition at line 955 of file docfmt.cxx.
References GetAttrPool(), getIDocumentState(), mpGrfFormatCollTable, SwFormat::SetAuto(), and IDocumentState::SetModified().
Referenced by CopyGrfColl().
sal_uInt16 SwDoc::MakeNumRule | ( | const OUString & | rName, |
const SwNumRule * | pCpy = nullptr , |
||
bool | bBroadcast = false , |
||
const SvxNumberFormat::SvxNumPositionAndSpaceMode | eDefaultNumberFormatPositionAndSpaceMode = SvxNumberFormat::LABEL_WIDTH_AND_POSITION |
||
) |
Definition at line 2488 of file docnum.cxx.
References AddNumRule(), BroadcastStyleOperation(), SwNumRule::CheckCharFormats(), getIDocumentListsAccess(), GetIDocumentUndoRedo(), SwNumRule::GetName(), GetUniqueNumRuleName(), mpNumRuleTable, SwNumRule::SetDefaultListId(), SwNumRule::SetName(), SwNumRule::SetPoolFormatId(), SwNumRule::SetPoolHelpId(), and SwNumRule::SetPoolHlpFileId().
Referenced by SwNodes::ChgNode(), CopyTextColl(), SwAttrSet::CopyToModify(), SwDocStyleSheet::Create(), WW8ListManager::CreateNextRule(), sw::DocumentStylePoolManager::GetNumRuleFromPool(), SwWW8ImplReader::GetStyRule(), SwUndoNumruleCreate::RedoImpl(), ReplaceStyles(), SetNumRule(), SwWW8ImplReader::StartAnl(), SwXNumberingRules::SwXNumberingRules(), SwUndoNumruleDelete::UndoImpl(), and WW8ListManager::WW8ListManager().
SwPageDesc * SwDoc::MakePageDesc | ( | const OUString & | rName, |
const SwPageDesc * | pCpy = nullptr , |
||
bool | bRegardLanguage = true , |
||
bool | bBroadcast = false |
||
) |
Definition at line 765 of file docdesc.cxx.
References BroadcastStyleOperation(), GetAppLanguage(), GetDefaultFrameDirection(), GetDfltFrameFormat(), SwPageDesc::GetFirstLeft(), SwPageDesc::GetFirstMaster(), getIDocumentState(), GetIDocumentUndoRedo(), SwPageDesc::GetLeft(), SwPageDesc::GetMaster(), SwPageDesc::GetName(), lcl_DefaultPageFormat(), m_PageDescs, SwPageDescs::push_back(), RES_FRAMEDIR(), SAL_WARN_IF, SwFormat::SetFormatAttr(), IDocumentState::SetModified(), SwPageDesc::SetName(), SwPageDesc::SetPoolFormatId(), SwPageDesc::SetPoolHelpId(), and SwPageDesc::SetPoolHlpFileId().
Referenced by AppendDoc(), ClearDoc(), CopyFormatArr(), CopyPageDesc(), SwAttrSet::CopyToModify(), SwDocStyleSheet::Create(), SwUndoPageDescCreate::DoImpl(), sw::DocumentStylePoolManager::GetPageDescFromPool(), lcl_CopyFollowPageDesc(), ReplaceStyles(), wwSectionManager::SetSwFormatPageDesc(), and SwUndoPageDescDelete::UndoImpl().
SwSectionFormat * SwDoc::MakeSectionFormat | ( | ) |
Definition at line 500 of file ndsect.cxx.
References mpDfltFrameFormat, and mpSectionFormatTable.
Referenced by InsertSwSection(), InsertTableOf(), SwSectionNode::MakeCopy(), SplitDoc(), SwUndoDelSection::UndoImpl(), and SwTOXBaseSection::Update().
SwTableBoxFormat * SwDoc::MakeTableBoxFormat | ( | ) |
Definition at line 1737 of file docfmt.cxx.
References GetAttrPool(), getIDocumentState(), mpDfltFrameFormat, SwFrameFormat::SetFormatName(), and IDocumentState::SetModified().
Referenced by SwTableBox::CheckBoxFormat(), SwTableBox::ClaimFrameFormat(), SaveTable::CreateNew(), InsertTable(), lcl_CreateAFormatBoxFormat(), lcl_CreateDfltBoxFormat(), lcl_SetDfltBoxAttr(), lcl_SetTableBoxWidths(), lcl_SetTableBoxWidths2(), SaveTable::NewFrameFormatForBox(), TextToTable(), SwUndoTableNumFormat::UndoImpl(), and SwNodes::UndoTableToText().
SwTableFormat * SwDoc::MakeTableFrameFormat | ( | const OUString & | rFormatName, |
SwFrameFormat * | pDerivedFrom | ||
) |
Definition at line 819 of file docfmt.cxx.
References GetAttrPool(), getIDocumentState(), mpTableFrameFormatTable, and IDocumentState::SetModified().
Referenced by InsertTable(), SwTableNode::MakeCopy(), SwNodes::SplitTable(), TextToTable(), and SwUndoTableToText::UndoImpl().
SwTableLineFormat * SwDoc::MakeTableLineFormat | ( | ) |
Definition at line 1745 of file docfmt.cxx.
References GetAttrPool(), getIDocumentState(), mpDfltFrameFormat, SwFrameFormat::SetFormatName(), and IDocumentState::SetModified().
Referenced by SwTableLine::ClaimFrameFormat(), InsertTable(), SaveTable::NewFrameFormatForLine(), TextToTable(), and SwNodes::UndoTableToText().
SwTableAutoFormat * SwDoc::MakeTableStyle | ( | const OUString & | rName, |
bool | bBroadcast = false |
||
) |
Definition at line 4570 of file ndtbl.cxx.
References SwTableAutoFormatTable::AddAutoFormat(), BroadcastStyleOperation(), SwTableAutoFormatTable::FindAutoFormat(), getIDocumentState(), GetIDocumentUndoRedo(), GetTableStyles(), and IDocumentState::SetModified().
Referenced by SwDocStyleSheet::Create(), SwUndoTableStyleMake::RedoImpl(), and SwUndoTableStyleDelete::UndoImpl().
SwTextFormatColl * SwDoc::MakeTextFormatColl | ( | const OUString & | rFormatName, |
SwTextFormatColl * | pDerivedFrom, | ||
bool | bBroadcast = false |
||
) |
Create the FormatCollections.
Definition at line 897 of file docfmt.cxx.
References BroadcastStyleOperation(), GetAttrPool(), getIDocumentState(), GetIDocumentUndoRedo(), mpTextFormatCollTable, SwFormat::SetAuto(), and IDocumentState::SetModified().
Referenced by CopyTextColl(), SwDocStyleSheet::Create(), SwUndoTextFormatCollCreate::Create(), SwUndoTextFormatCollDelete::Create(), SwCSS1Parser::GetTextFormatColl(), ItemSetToPageDesc(), SwEditShell::MakeTextFormatColl(), MakeTextFormatColl_(), and SwCSS1Parser::StyleParsed().
|
private |
Definition at line 921 of file docfmt.cxx.
References MakeTextFormatColl().
Referenced by ReplaceStyles().
void SwDoc::MakeUniqueNumRules | ( | const SwPaM & | rPaM | ) |
Definition at line 1230 of file docnum.cxx.
References SwPaM::End(), SwPaM::GetDoc(), getIDocumentListsAccess(), SwTextNode::GetListId(), SwPosition::GetNodeIndex(), GetNodes(), SwTextNode::GetNumRule(), GetUniqueNumRuleName(), SwTextNode::HasNumber(), SwNumRule::IsAutoRule(), SwNumRule::IsOutlineRule(), n, SearchNumRule(), SetNumRule(), and SwPaM::Start().
Referenced by AppendDoc(), and SwFEShell::Paste().
void SwDoc::MarkListLevel | ( | const OUString & | sListId, |
const int | nListLevel, | ||
const bool | bValue | ||
) |
Marks/Unmarks a list level of a certain list.
levels of a certain lists are marked now
sListId | list Id of the list whose level has to be marked/unmarked |
nListLevel | level to mark |
bValue | - true mark the level
|
Definition at line 2636 of file docnum.cxx.
References getIDocumentListsAccess(), IDocumentListsAccess::getListByName(), and SwList::MarkListLevel().
tools::Long SwDoc::MergeDoc | ( | const SwDoc & | rDoc | ) |
Merge two documents.
Definition at line 2075 of file doccomp.cxx.
References EMPTY, eType, SwNodes::GetEndOfExtras(), getIDocumentRedlineAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwNode::GetIndex(), SwPosition::GetNodeIndex(), GetNodes(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), SwRangeRedline::GetType(), IDocumentState::IsModified(), On, IDocumentState::ResetModified(), IDocumentRedlineAccess::SetRedlineFlags(), ShowDelete, and ShowInsert.
Referenced by SwEditShell::MergeDoc().
bool SwDoc::MergeTable | ( | const SwPosition & | rPos, |
bool | bWithPrev | ||
) |
And vice versa: rPos must be in the table that remains.
rPos needs to be in the Table that remains
The flag indicates whether the current table is merged with the one before or behind it.
bWithPrev | merge the current Table with the preceding or succeeding one |
Definition at line 3480 of file ndtbl.cxx.
References SwNode::EndOfSectionIndex(), SwNode::FindTableNode(), GetDocShell(), getIDocumentFieldsAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwNode::GetIndex(), SwPosition::GetNode(), GetNodes(), SwTableNode::GetTable(), SwTable::Merge(), SwNodes::MergeTable(), SwUndoMergeTable::SaveFormula(), IDocumentFieldsAccess::SetFieldsDirty(), SwTable::SetHTMLTableLayout(), and IDocumentState::SetModified().
TableMergeErr SwDoc::MergeTable | ( | SwPaM & | rPam | ) |
Definition at line 2242 of file ndtbl.cxx.
References SwPosition::Assign(), CheckMergeSel(), ClearFEShellTabCols(), SwPaM::DeleteMark(), EMPTY, SwNode::FindTableNode(), SwPaM::GetBound(), GetEditShell(), getIDocumentFieldsAccess(), getIDocumentRedlineAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwPaM::GetNext(), SwPaM::GetPoint(), SwPaM::GetPointNode(), IDocumentRedlineAccess::GetRedlineFlags(), SwUndoRedline::GetRedlSaveCount(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), GetUndoManager(), i, Ignore, SwTable::IsNewModel(), SwTable::Merge(), SwPaM::Move(), NoSelection, Ok, SwTable::PrepareMerge(), REDLINE, sw::UndoManager::RemoveLastUndo(), IDocumentFieldsAccess::SetFieldsDirty(), SwPaM::SetMark(), IDocumentState::SetModified(), IDocumentRedlineAccess::SetRedlineFlags_intern(), SwTable::SwitchFormulasToInternalRepresentation(), and TABLE_MERGE.
Referenced by SwXTextTableCursor::mergeRange(), SwFEShell::MergeTab(), SwEditShell::MergeTable(), SwUndoTableMerge::RedoImpl(), SwUndoMergeTable::RedoImpl(), and SwUndoMergeTable::RepeatImpl().
void SwDoc::MoveLeftMargin | ( | const SwPaM & | rPam, |
bool | bRight, | ||
bool | bModulus, | ||
SwRootFrame const * | pLayout = nullptr |
||
) |
Adjust left margin via object bar (similar to adjustment of numerations).
One can either change the margin "by" adding or subtracting a given offset or set it "to" this position (bModulus = true).
Definition at line 1649 of file docfmt.cxx.
References SwTextNode::AreListLevelIndentsApplicable(), SvxTabStopItem::Count(), SwPaM::End(), SwNumRule::Get(), SwTextNode::GetActualListLevel(), GetDefault(), sw::GetFirstAndLastNode(), SvxNumberFormat::GetFirstLineIndent(), getIDocumentState(), GetIDocumentUndoRedo(), SvxNumberFormat::GetIndentAt(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwTextNode::GetNumRule(), sw::GetParaPropsNode(), SvxNumberFormat::GetPositionAndSpaceMode(), SvxTextLeftMarginItem::GetTextLeft(), SwNode::GetTextNode(), SvxNumberFormat::LABEL_ALIGNMENT, sw::LeftMargin, sw::No, RES_MARGIN_FIRSTLINE(), RES_MARGIN_TEXTLEFT(), RES_PARATR_TABSTOP(), SwTextNode::SetAttr(), IDocumentState::SetModified(), SvxFirstLineIndentItem::SetTextFirstLineOffset(), SvxTextLeftMarginItem::SetTextLeft(), and SwPaM::Start().
Referenced by SwEditShell::MoveLeftMargin(), SwUndoMoveLeftMargin::RedoImpl(), and SwUndoMoveLeftMargin::RepeatImpl().
bool SwDoc::MoveOutlinePara | ( | const SwPaM & | rPam, |
SwOutlineNodes::difference_type | nOffset | ||
) |
Outline - move up / move down.
Definition at line 447 of file docnum.cxx.
References SwPaM::End(), SwNode::EndOfSectionNode(), SwNode::FindTableNode(), SwTextNode::GetAttrOutlineLevel(), SwNodes::GetEndOfContent(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), GetNodes(), SwNodes::GetOutLineNds(), SwNode::GetTextNode(), SwNode::IsEndNode(), SwNode::IsStartNode(), SwNode::IsTableNode(), SwNode::IsTextNode(), o3tl::make_unsigned(), MAXLEVEL, MoveParagraph(), SwOutlineNodes::Seek_Entry(), size, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwPaM::Start(), and SwNode::StartOfSectionNode().
Referenced by SwEditShell::MoveOutlinePara(), and SwUndoMoveNum::RepeatImpl().
bool SwDoc::MoveParagraph | ( | SwPaM & | rPam, |
SwNodeOffset | nOffset, | ||
bool | bIsOutlMv = false |
||
) |
Move selected paragraphs (not only numberings) according to offsets.
(if negative: go to doc start).
Definition at line 1822 of file docnum.cxx.
References a, SwPosition::Assign(), SwPaM::End(), SwNode::First, GetAllLayouts(), sw::GetFirstAndLastNode(), SwNode::GetIndex(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), GetNodes(), SwNode::GetRedlineMergeFlag(), SwNode::GetTextNode(), SwPaM::HasMark(), SwNode::IsTextNode(), MoveParagraphImpl(), SwNode::None, SwPaM::SetMark(), and SwPaM::Start().
Referenced by SwEditShell::MoveNumParas(), MoveOutlinePara(), SwEditShell::MoveParagraph(), SwUndoMoveNum::RedoImpl(), SwUndoMoveNum::RepeatImpl(), and SwUndoMoveNum::UndoImpl().
bool SwDoc::MoveParagraphImpl | ( | SwPaM & | rPam, |
SwNodeOffset | nOffset, | ||
bool | bIsOutlMv, | ||
SwRootFrame const * | pLayout | ||
) |
Definition at line 1931 of file docnum.cxx.
References abs(), SwPosition::Adjust(), SwNodeRange::aEnd, IDocumentRedlineAccess::AppendRedline(), IDocumentContentOperations::AppendTextNode(), SwPosition::Assign(), SwPosition::AssignEndIndex(), Before, Behind, CheckPosInFly, CollideEnd, CollideStart, ComparePosition(), IDocumentContentOperations::CopyRange(), CorrRel(), DELETE, SwPaM::DeleteMark(), SwPaM::End(), END, SwNode::EndOfSectionNode(), Equal, SwNode::First, fnMoveBackward, SwPosition::GetContentIndex(), SwNode::GetContentNode(), getIDocumentContentOperations(), getIDocumentRedlineAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), GetNodes(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedline(), IDocumentRedlineAccess::GetRedlineFlags(), SwNode::GetRedlineMergeFlag(), IDocumentRedlineAccess::GetRedlinePos(), IDocumentRedlineAccess::GetRedlineTable(), SwNode::GetTextNode(), SwRangeRedline::GetType(), SwNodes::GoPrevious(), i, SwRedlineTable::Insert(), Inside, SwNode::IsContentNode(), SwNode::IsEndNode(), SwRangeRedline::IsOwnRedline(), SwNode::IsStartNode(), SwContentNode::JoinNext(), SwContentNode::Len(), SwTextNode::Len(), SwPaM::Move(), IDocumentContentOperations::MoveNodeRange(), SwNode::None, SwRedlineTable::npos, On, Outside, OverlapBefore, OverlapBehind, REDLINES, SwRedlineTable::Remove(), SAL_WARN_IF, IDocumentState::SetModified(), IDocumentRedlineAccess::SetRedlineFlags(), ShowDelete, ShowInsert, ShowMask, size, SwRedlineTable::size(), IDocumentRedlineAccess::SplitRedline(), SwPaM::Start(), START, SwPaM::StartEnd(), SwNode::StartOfSectionNode(), and sw::UpdateFramesForAddDeleteRedline().
Referenced by MoveParagraph().
bool SwDoc::NoNum | ( | const SwPaM & | rPam | ) |
Definition at line 1294 of file docnum.cxx.
References getIDocumentContentOperations(), getIDocumentState(), SwPosition::GetNode(), SwTextNode::GetNumRule(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwTextNode::SetCountedInList(), IDocumentState::SetModified(), and IDocumentContentOperations::SplitNode().
Referenced by SwEditShell::NoNum().
bool SwDoc::NumOrNoNum | ( | SwNode & | rIdx, |
bool | bDel = false |
||
) |
Definition at line 2388 of file docnum.cxx.
References DelNumRules(), SwTextNode::GetActualListLevel(), getIDocumentState(), GetIDocumentUndoRedo(), SwTextNode::GetNumRule(), SwNode::GetTextNode(), SwTextNode::HasBullet(), SwTextNode::HasNumber(), SwTextNode::IsCountedInList(), MAXLEVEL, SwTextNode::SetCountedInList(), and IDocumentState::SetModified().
Referenced by SwEditShell::NumOrNoNum(), and SwUndoNumOrNoNum::RepeatImpl().
bool SwDoc::NumUpDown | ( | const SwPaM & | rPam, |
bool | bDown, | ||
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 1706 of file docnum.cxx.
References ChkCondColls(), SwPaM::End(), SwTextNode::GetActualListLevel(), getIDocumentState(), GetIDocumentUndoRedo(), SwPosition::GetNodeIndex(), GetNodes(), SwTextNode::GetNumRule(), sw::GetParaPropsNode(), SwNumRule::IsOutlineRule(), MAXLEVEL, n, OutlineUpDown(), SwTextNode::SetAttrListLevel(), IDocumentState::SetModified(), and SwPaM::Start().
Referenced by SwEditShell::MoveNumParas(), SwEditShell::NumUpDown(), SwUndoNumUpDown::RedoImpl(), SwUndoNumUpDown::RepeatImpl(), and SwUndoNumUpDown::UndoImpl().
bool SwDoc::OutlineUpDown | ( | const SwPaM & | rPam, |
short | nOffset, | ||
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 199 of file docnum.cxx.
References SwTextNode::ChgFormatColl(), ChkCondColls(), SwPaM::End(), SwTextFormatColl::GetAssignedOutlineStyleLevel(), SwTextNode::GetAttrOutlineLevel(), getIDocumentState(), getIDocumentStylePoolAccess(), GetIDocumentUndoRedo(), SwPosition::GetNode(), GetNodes(), SwNodes::GetOutLineNds(), SwTextNode::GetTextColl(), IDocumentStylePoolAccess::GetTextCollFromPool(), i, SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), sw::IsParaPropsNode(), m, MAXLEVEL, mpTextFormatCollTable, n, nCount, OUTLINE_LR, RES_POOLCOLL_HEADLINE1, SwOutlineNodes::Seek_Entry(), SwTextNode::SetAttrOutlineLevel(), IDocumentState::SetModified(), and SwPaM::Start().
Referenced by NumUpDown(), SwEditShell::OutlineUpDown(), SwUndoOutlineLeftRight::RedoImpl(), SwUndoOutlineLeftRight::RepeatImpl(), and SwUndoOutlineLeftRight::UndoImpl().
void SwDoc::PreDelPageDesc | ( | SwPageDesc const * | pDel | ) |
All descriptors whose Follow point to the to-be-deleted have to be adapted.
Definition at line 680 of file docdesc.cxx.
References GetAllLayouts(), getIDocumentLayoutAccess(), IDocumentLayoutAccess::HasLayout(), m_PageDescs, mpEndNoteInfo, and mpFootnoteInfo.
Referenced by DelPageDesc(), and SwDocStyleSheet::SetItemSet().
void SwDoc::PropagateOutlineRule | ( | ) |
Definition at line 176 of file docnum.cxx.
References SwNumRule::GetName(), GetOutlineNumRule(), CntUnencodedStringItem::GetValue(), and mpTextFormatCollTable.
Referenced by SwWW8ImplReader::LoadDoc(), XMLReader::Read(), and SetOutlineNumRule().
void SwDoc::PrtOLENotify | ( | bool | bAll | ) |
Definition at line 812 of file docdesc.cxx.
References aName, SwContentNode::CreateOLENodesArray(), SwRootFrame::EndAllAction(), EndProgress(), IDocumentLayoutAccess::GetCurrentLayout(), IDocumentLayoutAccess::GetCurrentViewShell(), GetDfltGrfFormatColl(), GetDocShell(), getIDocumentLayoutAccess(), SwOLEObj::GetObject(), SwOLENode::GetOLEObj(), sw::Ring< value_type >::GetRingContainer(), i, svt::EmbeddedObjectRef::is(), mbAllOLENotify, mbOLEPrtNotifyPending, pGlobalOLEExcludeList, SwOLENode::SetOLESizeInvalid(), SetProgressState(), SwRootFrame::StartAllAction(), and StartProgress().
Referenced by SwXMLImport::endDocument(), sw::DocumentDeviceManager::PrtDataChanged(), XMLReader::Read(), SwView::SelectShell(), and SwWebView::SelectShell().
void SwDoc::ReadLayoutCache | ( | SvStream & | rStream | ) |
SwDoc: Reading and writing of the layout cache.
Definition at line 802 of file docnew.cxx.
References mpLayoutCache.
Referenced by XMLReader::Read().
|
private |
Releases a reference to an instance.
A caller has to call 'release' when a before acquired reference to an instance is no longer needed. 'acquire' and 'release' calls need to be balanced.
Definition at line 122 of file doc.cxx.
References mReferenceCount, and x.
void SwDoc::RemoveAllFormatLanguageDependencies | ( | ) |
Definition at line 284 of file poolfmt.cxx.
References GetAttrPool(), getIDocumentStylePoolAccess(), SwPageDesc::GetLeft(), SwPageDesc::GetMaster(), GetPageDesc(), GetPageDescCnt(), IDocumentStylePoolAccess::GetTextCollFromPool(), i, nCount, RES_CHRATR_AUTOKERN(), RES_FRAMEDIR(), RES_PARATR_ADJUST(), RES_PARATR_SCRIPTSPACE(), RES_POOLCOLL_STANDARD, SwTextFormatColl::ResetFormatAttr(), SfxItemPool::ResetPoolDefaultItem(), and SwFormat::SetFormatAttr().
Referenced by Reader::SetTemplate().
bool SwDoc::RemoveInvisibleContent | ( | ) |
Remove the invisible content from the document e.g. hidden areas, hidden paragraphs.
Definition at line 1401 of file doc.cxx.
References SwPosition::Assign(), SwSection::CalcHiddenFlag(), Count, SwNodes::Count(), SwScriptInfo::DeleteHiddenRanges(), IDocumentContentOperations::DeleteRange(), IDocumentContentOperations::DelFullPara(), IDocumentLayoutAccess::DelLayoutFormat(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), FieldCanHideParaWeight(), SwFieldType::GatherFields(), sw::proofreadingiterator::get(), SwSection::GetCondition(), IDocumentFieldsAccess::GetFieldTypes(), SwNode::GetFlyFormat(), SwSection::GetFormat(), getIDocumentContentOperations(), getIDocumentFieldsAccess(), getIDocumentLayoutAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwNode::GetIndex(), GetNodes(), SwSection::GetParent(), SwPaM::GetPoint(), SwSectionFormat::GetSection(), SwSectionFormat::GetSectionNode(), GetSections(), SwNodes::GoNext(), SwNodes::GoPrevious(), SwTextNode::HasHiddenCharAttribute(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwSectionFormat::IsInNodesArr(), SwContentNode::Len(), n, SwSectionData::SetCondition(), SwPosition::SetContent(), SwSectionData::SetHidden(), SwPaM::SetMark(), IDocumentState::SetModified(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwVectorModifyBase< Value >::size(), SwNode::StartOfSectionIndex(), SwNode::StartOfSectionNode(), UI_DELETE_INVISIBLECNTNT, and UpdateSection().
void SwDoc::RenameFormat | ( | SwFormat & | rFormat, |
const OUString & | sNewName, | ||
bool | bBroadcast = false |
||
) |
Definition at line 1922 of file docfmt.cxx.
References BroadcastStyleOperation(), GetIDocumentUndoRedo(), SwFormat::GetName(), mpCharFormatTable, RES_CHRFMT(), RES_FRMFMT(), RES_TXTFMTCOLL(), SwFormat::SetFormatName(), and SwFormat::Which().
Referenced by SwUndoRenameFormat::RedoImpl(), SwDocStyleSheet::SetName(), and SwUndoRenameFormat::UndoImpl().
bool SwDoc::RenameNumRule | ( | const OUString & | aOldName, |
const OUString & | aNewName, | ||
bool | bBroadcast = false |
||
) |
Definition at line 1117 of file docnum.cxx.
References BroadcastStyleOperation(), FindNumRulePtr(), getIDocumentListsAccess(), GetIDocumentUndoRedo(), SwNumRule::GetTextNodeList(), and SwNumRule::SetName().
Referenced by SwUndoNumruleRename::RedoImpl(), SwDocStyleSheet::SetName(), and SwUndoNumruleRename::UndoImpl().
void SwDoc::ReplaceCompatibilityOptions | ( | const SwDoc & | rSource | ) |
Definition at line 881 of file docnew.cxx.
References GetDocumentSettingManager(), and m_pDocumentSettingManager.
Referenced by IMPL_LINK_NOARG(), and SwTransferable::PrepareForCopyTextRange().
void SwDoc::ReplaceDefaults | ( | const SwDoc & | rSource | ) |
Definition at line 851 of file docnew.cxx.
References SfxItemSet::Count(), GetAttrPool(), svl::Items, mpAttrPool, SfxItemSet::Put(), RES_CHRATR_BEGIN(), RES_CHRATR_END(), RES_FRMATR_BEGIN(), RES_FRMATR_END(), RES_PARATR_BEGIN(), RES_PARATR_END(), RES_PARATR_LIST_BEGIN(), RES_PARATR_LIST_END(), RES_UNKNOWNATR_BEGIN(), RES_UNKNOWNATR_END(), SetDefault(), XATTR_END, and XATTR_START.
Referenced by IMPL_LINK_NOARG(), and SwTransferable::PrepareForCopyTextRange().
void SwDoc::ReplaceDocumentProperties | ( | const SwDoc & | rSource, |
bool | mailMerge = false |
||
) |
Replace document properties with those from rSource.
This includes the user defined document properties!
Definition at line 83 of file docglos.cxx.
References GetDocShell(), SfxObjectShell::GetModel(), and ReplaceUserDefinedDocumentProperties().
Referenced by IMPL_LINK_NOARG(), InsertGlossary(), and lcl_CreateWorkingDocument().
void SwDoc::ReplaceNumRule | ( | const SwPosition & | rPos, |
const OUString & | rOldRule, | ||
const OUString & | rNewRule | ||
) |
Definition at line 1174 of file docnum.cxx.
References END, FindNumRulePtr(), SwUndoInsNum::GetHistory(), getIDocumentState(), GetIDocumentUndoRedo(), SwTextNode::GetListId(), SwPosition::GetNode(), SwNode::GetTextNode(), SwNumRule::GetTextNodeList(), SwRegHistory::RegisterInModify(), IDocumentState::SetModified(), and START.
Referenced by SwUndoInsNum::RedoImpl(), and SwEditShell::ReplaceNumRule().
void SwDoc::ReplaceStyles | ( | const SwDoc & | rSource, |
bool | bIncludePageStyles = true |
||
) |
Definition at line 1568 of file docfmt.cxx.
References CopyFormatArr(), SwNumRule::CopyNumRule(), CopyPageDesc(), FindNumRulePtr(), FindPageDesc(), getIDocumentState(), GetIDocumentUndoRedo(), SwNumRule::GetName(), SwPageDesc::GetName(), GetNumRuleTable(), i, SwNumRule::IsAutoRule(), m_PageDescs, MakeCharFormat_(), MakeFrameFormat_(), MakeNumRule(), MakePageDesc(), MakeTextFormatColl_(), mpCharFormatTable, mpDfltCharFormat, mpDfltFrameFormat, mpDfltTextFormatColl, mpFrameFormatTable, mpTextFormatCollTable, n, SAL_WARN, IDocumentState::SetModified(), SwVectorModifyBase< Value >::size(), SwPageDescs::size(), and sw::UndoGuard::UndoWasEnabled().
Referenced by SwViewShell::FillPrtDoc(), SwTransferable::PrepareForCopyTextRange(), Reader::SetTemplate(), and SplitDoc().
|
staticprivate |
Definition at line 717 of file docfld.cxx.
References GetAppCharClass(), CharClass::isLetterNumeric(), nPos, and sFormula.
Referenced by ChangeDBFields().
void SwDoc::ReplaceUserDefinedDocumentProperties | ( | const css::uno::Reference< css::document::XDocumentProperties > & | xSourceDocProps | ) |
Replace all user defined document properties with xSourceDocProps.
Convenience function used by ReplaceDocumentProperties to skip some UNO calls.
Definition at line 40 of file docglos.cxx.
References GetDocShell(), and name.
Referenced by ReplaceDocumentProperties().
void SwDoc::ResetAttrAtFormat | ( | const std::vector< sal_uInt16 > & | rIds, |
SwFormat & | rChangedFormat | ||
) |
Definition at line 501 of file docfmt.cxx.
References getIDocumentState(), GetIDocumentUndoRedo(), SwFormat::ResetFormatAttr(), and IDocumentState::SetModified().
Referenced by SwDocStyleSheet::SetItemSet().
void SwDoc::ResetAttrs | ( | const SwPaM & | rRg, |
bool | bTextAttr = true , |
||
const o3tl::sorted_vector< sal_uInt16 > & | rAttrs = o3tl::sorted_vector<sal_uInt16>() , |
||
const bool | bSendDataChangedEvents = true , |
||
SwRootFrame const * | pLayout = nullptr |
||
) |
Reset attributes.
All TextHints and (if completely selected) all hard- formatted stuff (auto-formats) are removed. Introduce new optional parameter <bSendDataChangedEvents> in order to control, if the side effect "send data changed events" is triggered or not.
Definition at line 249 of file docfmt.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::begin(), sw::DocumentContentOperationsManager::ParaRstFormat::bResetAll, SfxItemSet::Count(), SwTextNode::DontExpandFormat(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwTextAttr::End(), SwNodes::ForEach(), SwTextNode::FormatToTextAttr(), g_pBreakIt, GetAttrPool(), SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), GetDfltAttr(), getIDocumentState(), GetIDocumentUndoRedo(), SwTextAttr::GetINetFormat(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwNodeIndex::GetNode(), SwPosition::GetNode(), GetNodes(), SwPaM::GetPoint(), SwContentNode::GetpSwAttrSet(), SwTextAttr::GetStart(), SwTextNode::GetText(), SwTextNode::GetTextAttrAt(), SwNode::GetTextNode(), SwFormatINetFormat::GetValue(), SwPaM::HasMark(), SwContentNode::HasSwAttrSet(), lcl_RstAttr(), sw::DocumentContentOperationsManager::lcl_RstTextAttr(), sw::DocumentContentOperationsManager::ParaRstFormat::pDelSet, POOLATTR_END(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::rbegin(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::rend(), RES_CHRATR_BEGIN(), RES_CHRATR_END(), RES_CONDTXTFMTCOLL(), RES_FRMATR_END(), RES_PARATR_BEGIN(), RES_TXTATR_END(), RES_TXTATR_INETFMT(), RES_TXTATR_UNKNOWN_CONTAINER(), RES_TXTFMTCOLL(), RES_UNKNOWNATR_BEGIN(), RES_UNKNOWNATR_END(), SwPosition::SetContent(), SwPaM::SetMark(), IDocumentState::SetModified(), and SwPaM::StartEnd().
Referenced by SwTextContentControl::Delete(), lcl_SelectParaAndReset(), SwUndoResetAttr::RedoImpl(), SwUndoResetAttr::RepeatImpl(), SwEditShell::ResetAttr(), SwUnoCursorHelper::resetCursorPropertyValue(), SwXTextCursor::setAllPropertiesToDefault(), SwXTextCursor::setPropertiesToDefault(), SwXParagraph::setPropertyToDefault(), SwUnoCursorHelper::SetPropertyToDefault(), SetRubyList(), and SwNodeNum::UnregisterMeAndChildrenDueToRootDelete().
bool SwDoc::RestoreInvisibleContent | ( | ) |
Definition at line 1598 of file doc.cxx.
References EMPTY, GetIDocumentUndoRedo(), and UI_DELETE_INVISIBLECNTNT.
void SwDoc::RstTextAttrs | ( | const SwPaM & | rRg, |
bool | bInclRefToxMark = false , |
||
bool | bExactRange = false , |
||
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 228 of file docfmt.cxx.
References sw::DocumentContentOperationsManager::ParaRstFormat::bExactRange, sw::DocumentContentOperationsManager::ParaRstFormat::bInclRefToxMark, SwNodes::ForEach(), getIDocumentState(), GetIDocumentUndoRedo(), GetNodes(), sw::DocumentContentOperationsManager::lcl_RstTextAttr(), RES_CHRFMT(), IDocumentState::SetModified(), and SwPaM::StartEnd().
Referenced by SwUndoResetAttr::RedoImpl(), SwUndoResetAttr::RepeatImpl(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwEditShell::SetTextFormatColl(), and SwUndoSplitNode::UndoImpl().
const SwNumRule * SwDoc::SearchNumRule | ( | const SwPosition & | rPos, |
const bool | bForward, | ||
const bool | bNum, | ||
const bool | bOutline, | ||
int | nNonEmptyAllowed, | ||
OUString & | sListId, | ||
SwRootFrame const * | pLayout, | ||
const bool | bInvestigateStartNode = false |
||
) |
Searches for a text node with a numbering rule.
add optional parameter <bInvestigateStartNode> add output parameter <sListId>
rPos | position to start search |
bForward | - true: search forward
|
bNum | - true: search for enumeration
|
bOutline | - true: search for outline numbering rule
|
nNonEmptyAllowed | number of non-empty paragraphs allowed between rPos and found paragraph |
sListId | output parameter - in case a list style is found, <sListId> holds the list id, to which the text node belongs, which applies the found list style. |
bInvestigateStartNode | input parameter - boolean, indicating, if start node, determined by given start position has to be investigated or not. |
Definition at line 1620 of file docnum.cxx.
References SwNumRule::Get(), SwTextNode::GetListId(), SwNodeIndex::GetNode(), SwPosition::GetNode(), GetNodes(), SwTextNode::GetNumRule(), sw::GetParaPropsNode(), SwNode::GetTextNode(), sw::GotoNextLayoutTextFrame(), sw::GotoPrevLayoutTextFrame(), SwNumFormat::IsEnumeration(), SwNumFormat::IsItemize(), SwNumRule::IsOutlineRule(), SwNode::IsTextNode(), and SwTextNode::Len().
Referenced by sw::DocumentContentOperationsManager::CopyImplImpl(), MakeUniqueNumRules(), SwWrtShell::NumOrBulletOn(), and SwEditShell::SearchNumRule().
|
staticprivate |
Definition at line 175 of file docruby.cxx.
References Chars, SwpHints::Count(), SwPaM::DeleteMark(), g_pBreakIt, SwpHints::Get(), SwTextAttr::GetAnyEnd(), GetAppCharClass(), SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwPaM::GetMark(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTextNode::GetpSwpHints(), SwTextAttr::GetRuby(), SwTextAttr::GetStart(), SwTextNode::GetText(), SwNode::GetTextNode(), CharClass::getType(), SwContentNode::GoNext(), SwPaM::HasMark(), RES_TXTATR_CJK_RUBY(), SwPosition::SetContent(), SwPaM::SetMark(), SwRubyListEntry::SetRubyAttr(), SwRubyListEntry::SetText(), and SwTextAttr::Which().
Referenced by FillRubyList(), and SetRubyList().
void SwDoc::SetAllUniqueFlyNames | ( | ) |
Definition at line 1476 of file doclay.cxx.
References sw::sidebar::aArr, FTNNUM_CHAPTER, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), GetFootnoteIdxs(), GetFootnoteInfo(), SwNodeIndex::GetIndex(), SwFormat::GetName(), SwNodeIndex::GetNode(), GetNodes(), SwNode::GetNodes(), GetSpzFrameFormats(), Grf, SwNodes::IsDocNodes(), n, Ole, RES_FLYFRMFMT(), SetContainsAtPageObjWithContentAnchor(), SwFrameFormat::SetFormatName(), SwTextFootnote::SetUniqueSeqRefNo(), size, SwResId(), o3tl::toInt32(), SwFootnoteIdxs::UpdateAllFootnote(), SwFootnoteIdxs::UpdateFootnote(), and SwFormat::Which().
void SwDoc::SetAttr | ( | const SfxItemSet & | rSet, |
SwFormat & | rFormat | ||
) |
Set attribute in given format.1y If Undo is enabled, the old values is added to the Undo history.
Set the attribute according to the stated format.
If Undo is enabled, the old values is added to the Undo history.
Definition at line 467 of file docfmt.cxx.
References SwTextBoxHelper::changeAnchor(), getIDocumentState(), GetIDocumentUndoRedo(), SwUndoFormatAttrHelper::GetUndo(), SwTextBoxHelper::isTextBox(), SwUndoFormatAttrHelper::ReleaseUndo(), RES_DRAWFRMFMT(), rSet, SwFormat::SetFormatAttr(), IDocumentState::SetModified(), and SwTextBoxHelper::syncFlyFrameAttr().
void SwDoc::SetAttr | ( | const SfxPoolItem & | rAttr, |
SwFormat & | rFormat | ||
) |
Set attribute in given format.1y If Undo is enabled, the old values is added to the Undo history.
Set the attribute according to the stated format.
If Undo is enabled, the old values is added to the Undo history.
Definition at line 458 of file docfmt.cxx.
References GetAttrPool(), SfxItemSet::Put(), SetAttr(), and SfxPoolItem::Which().
Referenced by SwAnchoredDrawObject::AdjustPositioningAttr(), Chain(), SwFrame::CheckDirChange(), ChgAnchor(), SwFEShell::ChgCurPageDesc(), SwFlyFrame::ChgRelPos(), SwFlyFrame::ChgSize(), sw::DocumentLayoutManager::DelLayoutFormat(), SwWrtShell::DelRight(), SwFEShell::FindAnchorPos(), SwFEShell::ImpEndCreate(), InsertTable(), lcl_SetAPageOffset(), lcl_SetSpecialProperty(), SwFEShell::MoveAnchor(), SwVirtFlyDrawObj::NbcCrop(), SwVirtFlyDrawObj::NbcResize(), SwUndoFormatAttr::RepeatImpl(), SwFEShell::RequestObjectResize(), SwFlyAtContentFrame::SetAbsPos(), SetAttr(), SwFEShell::SetObjAttr(), SwXShape::setPropertyToDefault(), SwXCell::setPropertyValue(), SwXTextTableRow::setPropertyValue(), SwXTextTable::setPropertyValue(), SwEditShell::SetSectionAttr_(), SwFEShell::SetTabBackground(), SwFEShell::SetTableAttr(), and Unchain().
void SwDoc::SetAutoCorrExceptWord | ( | std::unique_ptr< SwAutoCorrExceptWord > | pNew | ) |
Definition at line 816 of file docedt.cxx.
References mpACEWord.
Referenced by SwAutoCorrDoc::SaveCpltSttWord(), SwUndoReplace::Impl::UndoImpl(), and SwUndoOverwrite::UndoImpl().
|
inline |
Definition at line 1466 of file doc.hxx.
Referenced by sw::DocumentRedlineManager::SetAutoFormatRedlineComment(), and SwAutoFormat::SwAutoFormat().
void SwDoc::SetBoxAlign | ( | const SwCursor & | rCursor, |
sal_uInt16 | nAlign | ||
) |
Definition at line 1386 of file ndtbl1.cxx.
References SwPostItHelper::NONE, and SetBoxAttr().
Referenced by SwFEShell::SetBoxAlign(), and SwXCellRange::setPropertyValue().
void SwDoc::SetBoxAttr | ( | const SwCursor & | rCursor, |
const SfxPoolItem & | rNew | ||
) |
Definition at line 1276 of file ndtbl1.cxx.
References SwTableBox::ChgFrameFormat(), SwTableBox::ClaimFrameFormat(), SwNode::FindTableNode(), SwHTMLTableLayout::GetBrowseWidthByTabFrame(), IDocumentLayoutAccess::GetCurrentLayout(), SwNode::GetDoc(), SwTableBox::GetFrameFormat(), SwTable::GetHTMLTableLayout(), getIDocumentLayoutAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwTableNode::GetTable(), i, SwFrame::ImplFindTabFrame(), lcl_GetBoxSel(), SwHTMLTableLayout::Resize(), SwTableBox::SetDirectFormatting(), SwFormat::SetFormatAttr(), IDocumentState::SetModified(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwFEShell::DeleteCol(), SwUnoCursorHelper::makeTableCellRedline(), SwTable::NewInsertCol(), SwFEShell::ProtectCells(), SetBoxAlign(), SwFEShell::SetBoxBackground(), SwFEShell::SetBoxDirection(), SwXTextTableCursor::setPropertyValue(), and SwXCellRange::setPropertyValue().
void SwDoc::SetCalcFieldValueHdl | ( | Outliner * | pOutliner | ) |
In the Outliner, set a link to the method for field display in edit objects.
Definition at line 540 of file docdraw.cxx.
References LINK, and Outliner::SetCalcFieldValueHdl().
Referenced by SwTextAPIEditSource::EnsureOutliner(), sw::annotation::SwAnnotationWin::InitControls(), sw::DocumentDrawModelManager::InitDrawModel(), and SwFEShell::SetCalcFieldValueHdl().
|
inline |
Definition at line 980 of file doc.hxx.
Referenced by SwXTextView::BuildTmpSelectionDoc(), and lcl_GetDoc().
void SwDoc::SetColRowWidthHeight | ( | SwTableBox & | rCurrentBox, |
TableChgWidthHeightType | eType, | ||
SwTwips | nAbsDiff, | ||
SwTwips | nRelDiff | ||
) |
Definition at line 3982 of file ndtbl.cxx.
References CellBottom, CellLeft, CellRight, CellTop, ColLeft, ColRight, eType, extractPosition(), SwNode::FindTableNode(), getIDocumentState(), GetIDocumentUndoRedo(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), RowBottom, SwTable::SetColWidth(), IDocumentState::SetModified(), SwTable::SetRowHeight(), and SwTable::SwitchFormulasToInternalRepresentation().
Referenced by SwFEShell::SetColRowWidthHeight().
|
inline |
Definition at line 983 of file doc.hxx.
Referenced by SwEditShell::CopySelToDoc().
|
inline |
Definition at line 582 of file doc.hxx.
Referenced by SetAllUniqueFlyNames().
|
inline |
Definition at line 1561 of file doc.hxx.
Referenced by SwWW8ImplReader::CoreLoad().
|
inline |
Definition at line 1391 of file doc.hxx.
Referenced by SwRangeRedline::CopyToSection().
void SwDoc::SetCounted | ( | const SwPaM & | rPam, |
bool | bCounted, | ||
SwRootFrame const * | pLayout | ||
) |
Definition at line 995 of file docnum.cxx.
References DEFAULT, getIDocumentContentOperations(), IDocumentContentOperations::InsertPoolItem(), and RES_PARATR_LIST_ISCOUNTED().
Referenced by SwEditShell::SetCurNumRule().
bool SwDoc::SetCurFootnote | ( | const SwPaM & | rPam, |
const OUString & | rNumStr, | ||
bool | bIsEndNote | ||
) |
change footnotes in range
Definition at line 432 of file docftn.cxx.
References SwTextFootnote::CheckCondColl(), FTNNUM_PAGE, GetAllLayouts(), IDocumentLayoutAccess::GetCurrentLayout(), SwTextAttr::GetFootnote(), GetFootnoteIdxs(), GetFootnoteInfo(), getIDocumentLayoutAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwFormatFootnote::GetNumber(), SwFormatFootnote::GetNumberRLHidden(), SwFormatFootnote::GetNumStr(), SwTextAttr::GetStart(), SwFormatFootnote::IsEndNote(), nPos, SwFootnoteIdxs::SeekEntry(), IDocumentState::SetModified(), SwTextFootnote::SetNumber(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwPaM::StartEnd(), SwTextFootnote_GetIndex, and SwFootnoteIdxs::UpdateAllFootnote().
Referenced by SwUndoChangeFootNote::RedoImpl(), SwUndoChangeFootNote::RepeatImpl(), and SwXFootnote::setLabel().
|
inline |
Definition at line 684 of file doc.hxx.
Referenced by lcl_CreateWorkingDocument().
void SwDoc::SetDefault | ( | const SfxItemSet & | rSet | ) |
Definition at line 555 of file docfmt.cxx.
References SfxItemSet::ClearItem(), SfxPoolItem::Clone(), SvxTabStopItem::Count(), SfxItemSet::Count(), SwIterator< TElementType, TSource, eMode >::First(), GetAttrPool(), SfxItemIter::GetCurItem(), getIDocumentState(), GetIDocumentUndoRedo(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetRanges(), SfxItemPool::GetSecondaryPool(), SfxItemPool::GetSlotId(), SfxItemPool::GetWhich(), isBOXATR(), isCHRATR(), isDrawingLayerAttribute(), isFRMATR(), isGRFATR(), isPARATR(), isPARATR_LIST(), isTXTATR(), lcl_SetNewDefTabStops(), mpDfltCharFormat, mpDfltFrameFormat, mpDfltGrfFormatColl, mpDfltTextFormatColl, SwIterator< TElementType, TSource, eMode >::Next(), SfxItemIter::NextItem(), SfxItemSet::Put(), RES_PARATR_TABSTOP(), rSet, IDocumentState::SetModified(), SfxItemPool::SetPoolDefaultItem(), and SfxPoolItem::Which().
void SwDoc::SetDefault | ( | const SfxPoolItem & | rAttr | ) |
Set attribute as new default attribute in current document.
Set the attribute as new default attribute in this document.
If Undo is activated, the old one is listed in Undo-History.
If Undo is enabled, the old value is added to the Undo history.
Definition at line 548 of file docfmt.cxx.
References GetAttrPool(), SfxItemSet::Put(), SetDefault(), and SfxPoolItem::Which().
Referenced by XMLReader::Read(), ReplaceDefaults(), SetDefault(), SwEditShell::SetDefault(), SetDefaultPageMode(), SwCSS1Parser::SetDfltEncoding(), SwXTextDocument::setPropertyValue(), SwXTextDefaults::setPropertyValue(), SwUndoDefaultAttr::UndoImpl(), and SwHHCWrapper::~SwHHCWrapper().
void SwDoc::SetDefaultPageMode | ( | bool | bSquaredPageMode | ) |
Definition at line 1013 of file docdesc.cxx.
References GetDefault(), SwFormat::GetFormatAttr(), SwPageDesc::GetLeft(), SwPageDesc::GetMaster(), GetPageDesc(), GetPageDescCnt(), i, SwTextGridItem::Init(), IsSquaredPageMode(), RES_TEXTGRID(), SetDefault(), SwFormat::SetFormatAttr(), SwTextGridItem::SetSquaredMode(), and SwTextGridItem::SwitchPaperMode().
Referenced by SwLoadOptPage::FillItemSet(), SwWW8ImplReader::SetDocumentGrid(), and SwXTextDocument::setPropertyValue().
void SwDoc::SetDefaultTOXBase | ( | const SwTOXBase & | rBase | ) |
TODO
Definition at line 504 of file doctxm.cxx.
References SwTOXBase::GetType(), mpDefTOXBases, TOX_AUTHORITIES, TOX_BIBLIOGRAPHY, TOX_CITATION, TOX_CONTENT, TOX_ILLUSTRATIONS, TOX_INDEX, TOX_OBJECTS, TOX_TABLES, and TOX_USER.
Referenced by SwEditShell::SetDefaultTOXBase().
|
inline |
size_t SwDoc::SetDocPattern | ( | const OUString & | rPatternName | ) |
Definition at line 132 of file poolfmt.cxx.
References getIDocumentState(), m_PatternNames, and IDocumentState::SetModified().
Referenced by SwDocStyleSheet::SetHelpId().
void SwDoc::SetDocShell | ( | SwDocShell * | pDSh | ) |
Definition at line 619 of file docnew.cxx.
References GetDocumentDrawModelManager(), getIDocumentLinksAdministration(), IDocumentLinksAdministration::GetLinkManager(), GetPersist(), GetUndoManager(), InitDrawModelAndDocShell(), mpDocShell, sw::UndoManager::SetDocShell(), sfx2::LinkManager::SetPersist(), and SfxShell::SetUndoManager().
|
inline |
Definition at line 411 of file doc.hxx.
Referenced by SwWW8ImplReader::CoreLoad().
void SwDoc::SetEndNoteInfo | ( | const SwEndNoteInfo & | rInfo | ) |
Definition at line 365 of file docftn.cxx.
References GetAllLayouts(), SwEndNoteInfo::GetCharFormat(), IDocumentLayoutAccess::GetCurrentLayout(), GetEndNoteInfo(), SwTextAttr::GetFootnote(), GetFootnoteIdxs(), getIDocumentFieldsAccess(), getIDocumentLayoutAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwFormatFootnote::GetNumber(), SvxNumberType::GetNumberingType(), SwFormatFootnote::GetNumberRLHidden(), SwFormatFootnote::GetNumStr(), SwEndNoteInfo::GetPageDesc(), SwEndNoteInfo::GetPrefix(), SwEndNoteInfo::GetSuffix(), SwFormatFootnote::IsEndNote(), IsInReading(), SwEndNoteInfo::m_aFormat, SwEndNoteInfo::m_nFootnoteOffset, mpEndNoteInfo, nPos, IDocumentState::SetModified(), SwTextFootnote::SetNumber(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwFootnoteIdxs::UpdateAllFootnote(), and IDocumentFieldsAccess::UpdateRefFields().
Referenced by SwWW8ImplReader::CoreLoad(), SwUndoEndNoteInfo::RedoImpl(), SwEditShell::SetEndNoteInfo(), SwXEndnoteProperties::setPropertyValue(), and SwUndoEndNoteInfo::UndoImpl().
|
private |
Definition at line 259 of file docfly.cxx.
References SwTextNode::DeleteAttributes(), SwFrameFormat::DelFrames(), DONTMAKEFRMS, SfxItemSet::Get(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorContentOffset(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), sw::GetAtPageRelOrientation(), SwTextAttr::GetFlyCnt(), SwFormatFlyCnt::GetFrameFormat(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwFormatVertOrient::GetPos(), SwFormatHoriOrient::GetPos(), SwFormatVertOrient::GetRelationOrient(), SwFormatHoriOrient::GetRelationOrient(), SwTextNode::GetTextAttrForCharAt(), SwNode::GetTextNode(), SwFormatVertOrient::GetVertOrient(), SwFormat::GetVertOrient(), Point::getX(), Point::getY(), SwTextNode::HasHints(), IGNOREANCHOR, SwTextNode::InsertItem(), lcl_FindAnchorLayPos(), SwFrameFormat::MakeFrames(), MAKEFRMS, SwPostItHelper::NONE, nPos, SfxItemSet::Put(), RES_ANCHOR(), RES_HORI_ORIENT(), RES_TXTATR_FLYCNT(), RES_VERT_ORIENT(), rSet, SAL_INFO, SwFormat::SetFormatAttr(), SwFormatVertOrient::SetPos(), SwFormatHoriOrient::SetPos(), SwFormatVertOrient::SetRelationOrient(), SwFormatHoriOrient::SetRelationOrient(), SwFormatVertOrient::SetVertOrient(), and SwTextAttr::Which().
Referenced by SetFlyFrameAttr(), and SetFrameFormatToFly().
bool SwDoc::SetFlyFrameAttr | ( | SwFrameFormat & | rFlyFormat, |
SfxItemSet & | rSet | ||
) |
Definition at line 537 of file docfly.cxx.
References SfxItemSet::Count(), lcl_SetFlyFrameAttr(), rSet, and SetFlyFrameAnchor().
Referenced by SwDrawContact::Changed_(), SwHTMLParser::InsertEmbed(), and SwFEShell::NewFlyFrame().
void SwDoc::SetFlyFrameDecorative | ( | SwFlyFrameFormat & | rFlyFrameFormat, |
bool | isDecorative | ||
) |
Definition at line 598 of file docfly.cxx.
References SfxItemSet::Get(), SwFormat::GetAttrSet(), getIDocumentState(), GetIDocumentUndoRedo(), RES_DECORATIVE(), IDocumentState::SetModified(), and SwFlyFrameFormat::SetObjDecorative().
Referenced by SwFEShell::SetObjDecorative().
void SwDoc::SetFlyFrameDescription | ( | SwFlyFrameFormat & | rFlyFrameFormat, |
const OUString & | sNewDescription | ||
) |
Definition at line 575 of file docfly.cxx.
References FLYFRMFMT_DESCRIPTION, getIDocumentState(), GetIDocumentUndoRedo(), SwFlyFrameFormat::GetObjDescription(), IDocumentState::SetModified(), and SwFlyFrameFormat::SetObjDescription().
Referenced by SwFEShell::SetObjDescription().
void SwDoc::SetFlyFrameTitle | ( | SwFlyFrameFormat & | rFlyFrameFormat, |
const OUString & | sNewTitle | ||
) |
Definition at line 552 of file docfly.cxx.
References FLYFRMFMT_TITLE, getIDocumentState(), GetIDocumentUndoRedo(), SwFlyFrameFormat::GetObjTitle(), IDocumentState::SetModified(), and SwFlyFrameFormat::SetObjTitle().
Referenced by sw::AccessibilityIssue::quickFixIssue(), and SwFEShell::SetObjTitle().
void SwDoc::SetFlyName | ( | SwFlyFrameFormat & | rFormat, |
const OUString & | rName | ||
) |
Definition at line 1446 of file doclay.cxx.
References FindFlyByName(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), getIDocumentState(), SwNodeIndex::GetIndex(), SwFormat::GetName(), SwNodeIndex::GetNode(), GetNodes(), SwNode::GetNodes(), Grf, SwNodes::IsDocNodes(), lcl_GetUniqueFlyName(), Ole, RES_FLYFRMFMT(), SwFrameFormat::SetFormatName(), IDocumentState::SetModified(), and sName.
Referenced by SwFEShell::SetFlyName().
void SwDoc::SetFootnoteInfo | ( | const SwFootnoteInfo & | rInfo | ) |
Definition at line 294 of file docftn.cxx.
References FTNNUM_PAGE, FTNPOS_CHAPTER, GetAllLayouts(), SwEndNoteInfo::GetCharFormat(), IDocumentLayoutAccess::GetCurrentLayout(), SwTextAttr::GetFootnote(), GetFootnoteIdxs(), GetFootnoteInfo(), getIDocumentFieldsAccess(), getIDocumentLayoutAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwFormatFootnote::GetNumber(), SvxNumberType::GetNumberingType(), SwFormatFootnote::GetNumberRLHidden(), SwFormatFootnote::GetNumStr(), SwEndNoteInfo::GetPageDesc(), SwEndNoteInfo::GetPrefix(), SwEndNoteInfo::GetSuffix(), SwFormatFootnote::IsEndNote(), IsInReading(), SwFootnoteInfo::m_aErgoSum, SwEndNoteInfo::m_aFormat, SwFootnoteInfo::m_aQuoVadis, SwFootnoteInfo::m_eNum, SwFootnoteInfo::m_ePos, mpFootnoteInfo, nPos, IDocumentState::SetModified(), SwTextFootnote::SetNumber(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwFootnoteIdxs::UpdateAllFootnote(), and IDocumentFieldsAccess::UpdateRefFields().
Referenced by SwWW8ImplReader::CoreLoad(), SwUndoFootNoteInfo::RedoImpl(), SwEditShell::SetFootnoteInfo(), SwXFootnoteProperties::setPropertyValue(), and SwUndoFootNoteInfo::UndoImpl().
void SwDoc::SetFormatItemByAutoFormat | ( | const SwPaM & | rPam, |
const SfxItemSet & | rSet | ||
) |
Definition at line 1839 of file docfmt.cxx.
References IDocumentRedlineAccess::AppendRedline(), DONTEXPAND, SwPaM::End(), SfxItemSet::Get(), GetAttrPool(), SwPosition::GetContentIndex(), SfxItemIter::GetCurItem(), getIDocumentContentOperations(), getIDocumentRedlineAccess(), SwPosition::GetNode(), SwTextNode::GetParaAttr(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineFlags(), SwNode::GetTextNode(), SwPaM::HasMark(), Ignore, IDocumentContentOperations::InsertItemSet(), mbIsAutoFormatRedline, SfxItemIter::NextItem(), SfxItemSet::Put(), rSet, SwRangeRedline::SetExtraData(), SwPaM::SetMark(), and IDocumentRedlineAccess::SetRedlineFlags_intern().
Referenced by SwAutoFormat::BuildEnum(), SwAutoCorrDoc::SetAttr(), and SwAutoCorrDoc::SetINetAttr().
bool SwDoc::SetFrameFormatToFly | ( | SwFrameFormat & | rFlyFormat, |
SwFrameFormat & | rNewFormat, | ||
SfxItemSet * | pSet = nullptr , |
||
bool | bKeepOrient = false |
||
) |
Definition at line 620 of file docfly.cxx.
References SwFormat::DerivedFrom(), SwClient::EndListeningAll(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormat::GetAttrSet(), SwFormat::GetFrameSize(), getIDocumentState(), GetIDocumentUndoRedo(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwAttrSet::GetPool(), SfxItemSet::GetRanges(), SwFrameFormat::MakeFrames(), MAKEFRMS, SfxItemSet::Put(), RES_ANCHOR(), RES_BACKGROUND(), RES_COL(), RES_EDIT_IN_READONLY(), RES_FRM_SIZE(), RES_HORI_ORIENT(), RES_LR_SPACE(), RES_PRINT(), RES_SURROUND(), RES_UL_SPACE(), RES_VERT_ORIENT(), SwFormat::ResetFormatAttr(), SwFormat::SetDerivedFrom(), SetFlyFrameAnchor(), SwFormat::SetFormatAttr(), and IDocumentState::SetModified().
Referenced by SwUndoSetFlyFormat::RedoImpl().
void SwDoc::SetInitDBFields | ( | bool | b | ) |
Definition at line 426 of file docfld.cxx.
References GetDBManager(), and SwDBManager::SetInitDBFields().
Referenced by SwWW8ImplReader::UpdateFields().
|
inline |
Definition at line 976 of file doc.hxx.
Referenced by lcl_CreateWorkingDocument().
|
inline |
Definition at line 970 of file doc.hxx.
Referenced by SwXMLImport::endDocument(), SwXTextDocument::setPropertyValue(), and SwXMLImport::startDocument().
|
inline |
Definition at line 988 of file doc.hxx.
Referenced by SwXTextDocument::setPropertyValue().
|
inline |
Definition at line 973 of file doc.hxx.
Referenced by SwWriter::Write().
|
inline |
Definition at line 986 of file doc.hxx.
Referenced by SwXMLImport::endDocument(), sw::DocumentRedlineManager::SetRedlineFlags(), and SwXMLImport::startDocument().
void SwDoc::SetLanguage | ( | const LanguageType | eLang, |
const sal_uInt16 | nId | ||
) |
void SwDoc::SetLineNumberInfo | ( | const SwLineNumberInfo & | rInfo | ) |
Definition at line 30 of file lineinfo.cxx.
References SwRootFrame::EndAllAction(), GetAllLayouts(), IDocumentLayoutAccess::GetCurrentLayout(), getIDocumentLayoutAccess(), getIDocumentState(), SwLineNumberInfo::IsCountBlankLines(), SwLineNumberInfo::IsRestartEachPage(), LineNum, mpLineNumberInfo, IDocumentState::SetModified(), Size, and SwRootFrame::StartAllAction().
Referenced by SwWW8ImplReader::HandleLineNumbering(), SwEditShell::SetLineNumberInfo(), and SwXLineNumberingProperties::setPropertyValue().
void SwDoc::SetMissingDictionaries | ( | bool | bIsMissing | ) |
Use to notify if the dictionary can be found for a single content portion (has to be called for all portions)
Definition at line 1856 of file doc.cxx.
References meDictionaryMissing.
void SwDoc::SetNodeNumStart | ( | const SwPosition & | rPos, |
sal_uInt16 | nStt | ||
) |
Definition at line 1033 of file docnum.cxx.
References SwTextNode::GetAttrListRestartValue(), getIDocumentState(), GetIDocumentUndoRedo(), SwPosition::GetNode(), SwNode::GetTextNode(), SwTextNode::HasAttrListRestartValue(), SwTextNode::SetAttrListRestartValue(), and IDocumentState::SetModified().
Referenced by lcl_SetNodeNumStart(), SwUndoNumRuleStart::RedoImpl(), SwUndoNumRuleStart::RepeatImpl(), SwUnoCursorHelper::resetCursorPropertyValue(), SwEditShell::SetNodeNumStart(), and SwUndoNumRuleStart::UndoImpl().
OUString SwDoc::SetNumRule | ( | const SwPaM & | rPam, |
const SwNumRule & | rRule, | ||
bool | bCreateNewList, | ||
SwRootFrame const * | pLayout = nullptr , |
||
const OUString & | sContinuedListId = OUString() , |
||
bool | bSetItem = true , |
||
const bool | bResetIndentAttrs = false |
||
) |
Accept changes of outline styles for OutlineRule.
bResetIndentAttrs | Optional parameter - default value false: If <bResetIndentAttrs> equals true, the indent attributes "before text" and "first line indent" are additionally reset at the provided PaM, if the list style makes use of the new list level attributes. |
bCreateNewList | indicates if a new list is created by applying the given list style. |
sContinuedListId | If bCreateNewList is false, may contain the list Id of a list which has to be continued by applying the given list style |
Definition at line 861 of file docnum.cxx.
References SwTextNode::AddToList(), IDocumentListsAccess::createList(), DEFAULT, FindNumRulePtr(), SwNumRule::Get(), SwNumRule::GetDefaultListId(), getIDocumentContentOperations(), getIDocumentListsAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwList::GetListId(), SwNumRule::GetName(), SwPosition::GetNode(), SwTextNode::GetNumRule(), SwFormat::GetNumRule(), SwPaM::GetPoint(), SvxNumberFormat::GetPositionAndSpaceMode(), SwTextNode::GetTextColl(), SwNode::GetTextNode(), CntUnencodedStringItem::GetValue(), SwPaM::HasMark(), IDocumentContentOperations::InsertPoolItem(), INSNUM, SwTextNode::IsInList(), sw::IsParaPropsNode(), SvxNumberFormat::LABEL_ALIGNMENT, lcl_ChgNumRule(), MakeNumRule(), RES_MARGIN_FIRSTLINE(), RES_MARGIN_RIGHT(), RES_MARGIN_TEXTLEFT(), RES_PARATR_LIST_ID(), RES_PARATR_NUMRULE(), SwTextNode::ResetAttr(), SwUndoInsNum::SaveOldNumRule(), SwUndoInsNum::SetLRSpaceEndPos(), and IDocumentState::SetModified().
Referenced by SwAutoFormat::BuildEnum(), sw::DocumentContentOperationsManager::CopyImplImpl(), MakeUniqueNumRules(), SwUndoInsNum::RedoImpl(), SwUndoInsNum::RepeatImpl(), SwFltControlStack::SetAttrInDoc(), SwEditShell::SetCurNumRule(), SwEditShell::SetIndent(), and SwUnoCursorHelper::setNumberingProperty().
void SwDoc::SetNumRuleStart | ( | const SwPosition & | rPos, |
bool | bFlag = true |
||
) |
Definition at line 1011 of file docnum.cxx.
References getIDocumentState(), GetIDocumentUndoRedo(), SwPosition::GetNode(), SwTextNode::GetNumRule(), SwNode::GetTextNode(), SwTextNode::IsListRestart(), SwTextNode::SetListRestart(), and IDocumentState::SetModified().
Referenced by lcl_SetNodeNumStart(), SwUndoNumRuleStart::RedoImpl(), SwUndoNumRuleStart::RepeatImpl(), SwEditShell::SetNumberingRestart(), SwEditShell::SetNumRuleStart(), and SwUndoNumRuleStart::UndoImpl().
|
inline |
Definition at line 1346 of file doc.hxx.
Referenced by SwCursor::Find_Text(), SwCursor::FindAttrs(), and SwCursor::FindFormat().
void SwDoc::SetOLEObjModified | ( | ) |
update all modified OLE-Objects.
The modification is called over the StarOne - Interface
Definition at line 796 of file docnew.cxx.
References getIDocumentLayoutAccess(), maOLEModifiedIdle, and Idle::Start().
Referenced by SwXOLEListener::modified().
|
inline |
Definition at line 1713 of file doc.hxx.
References mbAllOLENotify, and mbOLEPrtNotifyPending.
Referenced by SwOLENode::MakeCopy(), and SwXMLImport::SetConfigurationSettings().
void SwDoc::SetOutlineNumRule | ( | const SwNumRule & | rRule | ) |
Definition at line 112 of file docnum.cxx.
References AddNumRule(), SwNumRule::CheckCharFormats(), FTNNUM_CHAPTER, GetFootnoteIdxs(), GetFootnoteInfo(), getIDocumentFieldsAccess(), getIDocumentListsAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwNumRule::GetOutlineRuleName(), SwNumRule::GetTextNodeList(), mpOutlineRule, OUTLINE_EDIT, OUTLINE_RULE, PropagateOutlineRule(), SwNumRule::SetAutoRule(), SwNumRule::SetInvalidRule(), IDocumentState::SetModified(), SwNumRule::SetName(), SwNumRule::SetRuleType(), SwFootnoteIdxs::UpdateAllFootnote(), IDocumentFieldsAccess::UpdateExpFields(), and UpdateNumRule().
Referenced by sw::DocumentContentOperationsManager::CopyImplImpl(), SwWW8ImplReader::Read_ANLevelDesc(), SwUndoOutlineEdit::RedoImpl(), SwUndoOutlineEdit::RepeatImpl(), SwXNumberingRules::replaceByIndex(), SwEditShell::SetOutlineNumRule(), SwWW8ImplReader::SetOutlineStyles(), SwXNumberingRules::setPropertyValue(), SplitDoc(), and SwUndoOutlineEdit::UndoImpl().
|
inline |
Definition at line 580 of file doc.hxx.
Referenced by SwWrtShell::SelAll().
void SwDoc::SetPreviewPrtData | ( | const SwPagePreviewPrtData * | pData | ) |
Definition at line 776 of file docnew.cxx.
References getIDocumentState(), m_pPgPViewPrtData, and IDocumentState::SetModified().
Referenced by SwXTextDocument::setPagePrintSettings().
void SwDoc::SetRowBackground | ( | const SwCursor & | rCursor, |
const SvxBrushItem & | rNew | ||
) |
Definition at line 489 of file ndtbl1.cxx.
References SwNode::FindTableNode(), getIDocumentState(), GetIDocumentUndoRedo(), SwPosition::GetNode(), SwPaM::GetPoint(), lcl_CollectLines(), lcl_ProcessRowAttr(), and IDocumentState::SetModified().
Referenced by SwFEShell::SetRowBackground().
void SwDoc::SetRowHeight | ( | const SwCursor & | rCursor, |
const SwFormatFrameSize & | rNew | ||
) |
Definition at line 389 of file ndtbl1.cxx.
References SwNode::FindTableNode(), getIDocumentState(), GetIDocumentUndoRedo(), SwPosition::GetNode(), SwPaM::GetPoint(), lcl_CollectLines(), lcl_ProcessRowSize(), and IDocumentState::SetModified().
Referenced by SwFEShell::SetRowHeight(), and SetTabRows().
void SwDoc::SetRowNotTracked | ( | const SwCursor & | rCursor, |
const SvxPrintItem & | rNotTracked, | ||
bool | bAll = false , |
||
bool | bIns = false |
||
) |
rNotTracked = false means that the row was deleted or inserted with its tracked cell content bAll: delete all table rows without selection bIns: insert table row
Definition at line 581 of file ndtbl1.cxx.
References SwTableLines::begin(), CH_TXT_TRACKED_DUMMY_CHAR, IDocumentContentOperations::DeleteAndJoin(), SwTableLines::end(), SwNode::FindTableNode(), SwRedlineData::GetAuthor(), getIDocumentContentOperations(), getIDocumentRedlineAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwPosition::GetNode(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineAuthor(), SwRangeRedline::GetRedlineData(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), SwTableNode::GetTable(), SwTable::GetTabLines(), SwPaM::GetText(), SwRangeRedline::GetType(), SwTableLines::insert(), IDocumentContentOperations::InsertString(), lcl_CollectLines(), lcl_ProcessRowAttr(), NONE, nPos, SwRedlineTable::npos, SwPaM::SetMark(), IDocumentState::SetModified(), and IDocumentRedlineAccess::SetRedlineFlags_intern().
Referenced by sw::DocumentRedlineManager::AppendRedline(), SwFEShell::DeleteRow(), SwTable::InsertRow_(), lcl_setRowNotTracked(), SwUnoCursorHelper::makeTableRowRedline(), SwTransferable::Paste(), and SwTransferable::PrivateDrop().
void SwDoc::SetRowSplit | ( | const SwCursor & | rCursor, |
const SwFormatRowSplit & | rNew | ||
) |
Definition at line 324 of file ndtbl1.cxx.
References SwNode::FindTableNode(), getIDocumentState(), GetIDocumentUndoRedo(), SwPosition::GetNode(), SwPaM::GetPoint(), lcl_CollectLines(), lcl_ProcessRowAttr(), and IDocumentState::SetModified().
Referenced by SwTableAutoFormat::RestoreTableProperties(), and SwFEShell::SetRowSplit().
void SwDoc::SetRowsToRepeat | ( | SwTable & | rTable, |
sal_uInt16 | nSet | ||
) |
Definition at line 2930 of file ndtbl.cxx.
References SwTable::GetFrameFormat(), getIDocumentState(), GetIDocumentUndoRedo(), SwTable::GetRowsToRepeat(), IDocumentState::SetModified(), and SwTable::SetRowsToRepeat().
Referenced by lcl_SetSpecialProperty(), SwUndoTableHeadline::RedoImpl(), SwUndoTableHeadline::RepeatImpl(), SwFEShell::SetRowsToRepeat(), and SwUndoTableHeadline::UndoImpl().
void SwDoc::setRsid | ( | sal_uInt32 | nVal | ) |
Definition at line 215 of file doc.cxx.
References mnRsid, and comphelper::rng::uniform_uint_distribution().
Referenced by SwXDocumentSettings::_setSingleValue().
void SwDoc::setRsidRoot | ( | sal_uInt32 | nVal | ) |
Definition at line 235 of file doc.cxx.
References mnRsidRoot.
Referenced by SwXDocumentSettings::_setSingleValue().
void SwDoc::SetRubyList | ( | const SwPaM & | rPam, |
const SwRubyList & | rList | ||
) |
Definition at line 91 of file docruby.cxx.
References SwPosition::AdjustContent(), SwPaM::DeleteMark(), DONTEXPAND, fnMoveForward, getIDocumentContentOperations(), GetIDocumentUndoRedo(), SwPaM::GetMark(), SwPaM::GetNext(), SwPaM::GetPoint(), SwRubyListEntry::GetRubyAttr(), SwFormatRuby::GetText(), SwRubyListEntry::GetText(), GoInNode(), IDocumentContentOperations::InsertPoolItem(), IDocumentContentOperations::InsertString(), SwPaM::Move(), IDocumentContentOperations::ReplaceRange(), RES_TXTATR_CJK_RUBY(), ResetAttrs(), SelectNextRubyChars(), SwPaM::SetMark(), SETRUBYATTR, and SwPaM::StartEnd().
Referenced by SwXTextView::setRubyList().
void SwDoc::SetSplitVerticalByDefault | ( | bool | value | ) |
Definition at line 1730 of file doc.cxx.
References sw::proofreadingiterator::get(), GetDocumentSettingManager(), HTML_MODE, SW_MOD, and value.
Referenced by SwWrtShell::SetSplitVerticalByDefault().
void SwDoc::SetTabBorders | ( | const SwCursor & | rCursor, |
const SfxItemSet & | rSet | ||
) |
Definition at line 688 of file ndtbl1.cxx.
References SwHTMLTableLayout::BordersChanged(), SwRect::Bottom(), SwTableBox::ChgFrameFormat(), SwTableBox::ClaimFrameFormat(), ClearFEShellTabCols(), SwNode::FindTableNode(), SvxBoxItem::GetBottom(), SwHTMLTableLayout::GetBrowseWidthByTabFrame(), SwNode::GetContentNode(), IDocumentLayoutAccess::GetCurrentLayout(), SvxBoxItem::GetDistance(), SwNode::GetDoc(), SwTableBox::GetFrameFormat(), SvxBoxInfoItem::GetHori(), SwTable::GetHTMLTableLayout(), getIDocumentLayoutAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SfxItemSet::GetItemIfSet(), SwContentNode::getLayoutFrame(), SvxBoxItem::GetLeft(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SvxBoxItem::GetRight(), SwTableNode::GetTable(), SwSelUnion::GetTable(), SvxBoxItem::GetTop(), SwSelUnion::GetUnion(), SvxBoxInfoItem::GetVert(), i, SwFrame::ImplFindTabFrame(), SwTabFrame::IsInHeadline(), SwFrame::IsRightToLeft(), SvxBoxInfoItem::IsValid(), SwFrame::IsVertical(), lcl_CollectCells(), lcl_GetStartEndCell(), SwRect::Left(), MakeSelUnions(), nType, RES_BOX(), SwRect::Right(), rSet, SvxBoxItem::SetDistance(), SwFormat::SetFormatAttr(), SvxBoxItem::SetLine(), IDocumentState::SetModified(), and SwRect::Top().
Referenced by SwXTextTable::setPropertyValue(), SwXCellRange::setPropertyValue(), and SwFEShell::SetTabBorders().
void SwDoc::SetTabCols | ( | const SwTabCols & | rNew, |
bool | bCurRowOnly, | ||
const SwCellFrame * | pBoxFrame | ||
) |
Definition at line 2728 of file ndtbl.cxx.
References SvxShadowItem::CalcShadowSpace(), SwTabCols::Count(), SwFrame::FindPageFrame(), SwFrameAreaDefinition::getFrameArea(), SwTable::GetFrameFormat(), SwFrameAreaDefinition::getFramePrintArea(), SwFormat::GetFrameSize(), SwRectFnSet::GetLeft(), SwRectFnSet::GetRight(), SwFormat::GetShadow(), SwCellFrame::GetTabBox(), SwTable::GetTabCols(), SwTabFrame::GetTable(), SvxSizeItem::GetWidth(), SwRectFnSet::GetWidth(), SwFrame::ImplFindTabFrame(), SwFormat::SetFormatAttr(), SwTabCols::SetLeft(), SwTabCols::SetLeftMin(), SwTabCols::SetRight(), SwTabCols::SetRightMax(), SetTabCols(), and SvxSizeItem::SetWidth().
Referenced by AdjustCellWidth(), lcl_SetTableSeparators(), SwFEShell::SetMouseTabCols(), SwFEShell::SetTabCols(), and SetTabCols().
void SwDoc::SetTabCols | ( | SwTable & | rTab, |
const SwTabCols & | rNew, | ||
const SwTabCols & | rOld, | ||
const SwTableBox * | pStart, | ||
bool | bCurRowOnly | ||
) |
Direct access for UNO.
Definition at line 2917 of file ndtbl.cxx.
References ClearFEShellTabCols(), getIDocumentState(), GetIDocumentUndoRedo(), SwTable::GetTableNode(), IDocumentState::SetModified(), and SwTable::SetTabCols().
bool SwDoc::SetTableAutoFormat | ( | const SwSelBoxes & | rBoxes, |
const SwTableAutoFormat & | rNew, | ||
bool | bResetDirect = false , |
||
bool | isSetStyleName = false |
||
) |
AutoFormat for table/table selection.
bResetDirect | Reset direct formatting that might be applied to the cells. |
Definition at line 3733 of file ndtbl.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), ForEach_FndLineCopyCol(), FndLine_::GetBoxes(), getIDocumentFieldsAccess(), getIDocumentState(), GetIDocumentUndoRedo(), FndBox_::GetLines(), SwTableAutoFormat::GetName(), SwTableNode::GetTable(), SwTable::GetTabLines(), FndBox_::GetUpper(), FndLine_::GetUpper(), lcl_SetAFormatBox(), n, SwTableAutoFormat::RestoreTableProperties(), IDocumentFieldsAccess::SetFieldsDirty(), IDocumentState::SetModified(), SwTable::SetTableStyleName(), and FndLine_::SetUpper().
Referenced by SwXTextTable::autoFormat(), and SwFEShell::UpdateTableStyleFormatting().
void SwDoc::SetTableBoxFormulaAttrs | ( | SwTableBox & | rBox, |
const SfxItemSet & | rSet | ||
) |
Definition at line 4172 of file ndtbl.cxx.
References SwTableBox::ClaimFrameFormat(), getIDocumentState(), GetIDocumentUndoRedo(), SfxItemSet::GetItemState(), RES_BOXATR_FORMULA(), RES_BOXATR_VALUE(), SwFormat::ResetFormatAttr(), rSet, SwFormat::SetFormatAttr(), and IDocumentState::SetModified().
Referenced by SwXCell::setFormula(), and SwEditShell::SetTableBoxFormulaAttrs().
void SwDoc::SetTableName | ( | SwFrameFormat & | rTableFormat, |
const OUString & | rNewName | ||
) |
Definition at line 151 of file docchart.cxx.
References SwNodeIndex::Assign(), SwNode::EndOfSectionNode(), SwTable::FindTable(), IDocumentChartDataProviderAccess::GetChartDataProvider(), SwOLENode::GetChartTableName(), getIDocumentChartDataProviderAccess(), getIDocumentState(), SwFormat::GetName(), SwNodeIndex::GetNode(), GetNodes(), SwNode::GetOLENode(), SwNode::GetStartNode(), GetTableFrameFormats(), GetUniqueTableName(), SwChartDataProvider::InvalidateTable(), IsUsed(), SwOLENode::SetChartTableName(), SwFrameFormat::SetFormatName(), and IDocumentState::SetModified().
Referenced by SwEditShell::SetTableName().
void SwDoc::SetTabLineStyle | ( | const SwCursor & | rCursor, |
const Color * | pColor, | ||
bool | bSetLine, | ||
const editeng::SvxBorderLine * | pBorderLine | ||
) |
Definition at line 968 of file ndtbl1.cxx.
References SwHTMLTableLayout::BordersChanged(), ClearFEShellTabCols(), Clone(), SvxBoxItem::Clone(), SwNode::FindTableNode(), SwFormat::GetBox(), SwHTMLTableLayout::GetBrowseWidthByTabFrame(), SwNode::GetContentNode(), IDocumentLayoutAccess::GetCurrentLayout(), GetDfltAttr(), SwNode::GetDoc(), SwTable::GetHTMLTableLayout(), getIDocumentLayoutAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwTableNode::GetTable(), SwSelUnion::GetTable(), SwSelUnion::GetUnion(), SwFrame::ImplFindTabFrame(), SwTabFrame::IsInHeadline(), lcl_CollectCells(), lcl_GetStartEndCell(), lcl_SetLineStyle(), MakeSelUnions(), RES_BOX(), SwFormat::SetFormatAttr(), IDocumentState::SetModified(), and SvxBorderLineWidth::VeryThin.
Referenced by SwFEShell::SetTabLineStyle().
void SwDoc::SetTabRows | ( | const SwTabCols & | rNew, |
bool | bCurColOnly, | ||
const SwCellFrame * | pBoxFrame | ||
) |
Definition at line 2784 of file ndtbl.cxx.
References abs(), ClearFEShellTabCols(), SwTabCols::Count(), SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), SwRectFnSet::GetBottom(), GetCellContent(), SwFrameAreaDefinition::getFrameArea(), SwTableLine::GetFrameFormat(), SwFrameAreaDefinition::getFramePrintArea(), SwFormat::GetFrameSize(), SvxSizeItem::GetHeight(), SwRectFnSet::GetHeight(), SwFormatFrameSize::GetHeightSizeType(), GetIDocumentUndoRedo(), SwFrame::GetNextLayoutLeaf(), SwFrame::GetPrtLeft(), SwFrame::GetPrtTop(), SwRectFnSet::GetPrtTop(), SwTabCols::GetRight(), SwTableBox::getRowSpan(), SwTabFrame::GetTable(), GetTabRows(), SwTableBox::GetUpper(), i, SwFrame::ImplFindTabFrame(), SwLayoutFrame::IsAnLower(), SwFrame::IsCellFrame(), SwTable::IsNewModel(), SwFrame::IsTextFrame(), SwRectFnSet::IsVert(), SwRect::Left(), LONG_MAX, Minimum, nCount, ROWFUZZY, SvxSizeItem::SetHeight(), SwFormatFrameSize::SetHeightSizeType(), SwTabCols::SetLeft(), SwTabCols::SetLeftMin(), SwTabCols::SetRight(), SwTabCols::SetRightMax(), SetRowHeight(), TABLE_ATTR, SwRect::Top(), Variable, and SwRectFnSet::YInc().
Referenced by SwFEShell::SetMouseTabRows(), and SwFEShell::SetTabRows().
bool SwDoc::SetTextFormatColl | ( | const SwPaM & | rRg, |
SwTextFormatColl * | pFormat, | ||
const bool | bReset = true , |
||
const bool | bResetListAttrs = false , |
||
SwRootFrame const * | pLayout = nullptr |
||
) |
Add 4th optional parameter <bResetListAttrs>.
'side effect' of <SetTextFormatColl> with <bReset = true> is that the hard attributes of the affected text nodes are cleared, except the break attribute, the page description attribute and the list style attribute. The new parameter <bResetListAttrs> indicates, if the list attributes (list style, restart at and restart with) are cleared as well in case that <bReset = true> and the paragraph style has a list style attribute set.
Definition at line 1100 of file docfmt.cxx.
References sw::DocumentContentOperationsManager::ParaRstFormat::bReset, sw::DocumentContentOperationsManager::ParaRstFormat::bResetListAttrs, SwNodes::ForEach(), getIDocumentState(), GetIDocumentUndoRedo(), GetNodes(), lcl_SetTextFormatColl(), sw::DocumentContentOperationsManager::ParaRstFormat::nWhich, sw::DocumentContentOperationsManager::ParaRstFormat::pFormatColl, IDocumentState::SetModified(), and SwPaM::StartEnd().
Referenced by SwAutoFormat::BuildHeadLine(), SwUndoFormatColl::DoSetFormatColl(), lcl_CpyBox(), WW8TabDesc::ParkPaM(), SwDOCXReader::Read(), SwRedlineExtraData_FormatColl::Reject(), WW8TabDesc::SetPamInCell(), SwCursorShell::SetShadowCursorPos(), SwEditShell::SetTextFormatColl(), SwWW8ImplReader::SetTextFormatCollAndListLevel(), SetTextFormatCollByAutoFormat(), and SwXMLImport::startDocument().
void SwDoc::SetTextFormatCollByAutoFormat | ( | const SwPosition & | rPos, |
sal_uInt16 | nPoolId, | ||
const SfxItemSet * | pSet | ||
) |
Definition at line 1791 of file docfmt.cxx.
References IDocumentRedlineAccess::AppendRedline(), SfxItemSet::Count(), SfxItemSet::Differentiate(), getIDocumentContentOperations(), getIDocumentRedlineAccess(), getIDocumentStylePoolAccess(), SfxItemSet::GetItemState(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwFormat::GetName(), SwPosition::GetNode(), SwFormat::GetPoolFormatId(), SwContentNode::GetpSwAttrSet(), SwTextNode::GetText(), SwTextNode::GetTextColl(), SwNode::GetTextNode(), SwTextFrame::GetTextNodeForParaProps(), SwContentNode::HasSwAttrSet(), IDocumentContentOperations::InsertItemSet(), mbIsAutoFormatRedline, SfxItemSet::Put(), RES_PARATR_ADJUST(), SwPosition::SetContent(), SwRangeRedline::SetExtraData(), SwRedlineExtraData_FormatColl::SetItemSet(), SwPaM::SetMark(), and SetTextFormatColl().
Referenced by SwAutoFormat::SetColl().
|
inline |
in case during copying of embedded object a new shell is created, it should be set here and cleaned later
Definition at line 1376 of file doc.hxx.
Referenced by SwTransferable::CopyGlossary(), SwTransferable::GetData(), SwOLENode::MakeCopy(), SwTransferable::PrepareForCopy(), and SwTransferable::PrepareForCopyTextRange().
|
inline |
Definition at line 967 of file doc.hxx.
References rSet.
Referenced by SwXTextDocument::setPropertyValue(), and SwEditShell::SetTOIAutoMarkURL().
bool SwDoc::SetTOXBaseName | ( | const SwTOXBase & | rTOXBase, |
const OUString & | rName | ||
) |
Definition at line 706 of file doctxm.cxx.
References getIDocumentState(), SwTOXBase::GetTOXType(), GetUniqueTOXBaseName(), IDocumentState::SetModified(), SwSection::SetSectionName(), and SwTOXBase::SetTOXName().
Referenced by SwXDocumentIndex::attach(), and SwXDocumentIndex::setName().
|
inline |
Definition at line 963 of file doc.hxx.
Referenced by SwEditShell::SetUpdateTOX().
void SwDoc::SetVbaEventProcessor | ( | ) |
Definition at line 1838 of file doc.cxx.
References ooo::vba::createVBAUnoAPIServiceWithArgs(), SfxObjectShell::GetModel(), ooo::vba::isAlienWordDoc(), mpDocShell, mxVbaEvents, and xModel.
Referenced by SwVbaDocument::Initialize().
|
inline |
Definition at line 1648 of file doc.hxx.
Referenced by SwVbaFind::GetOrCreateFind().
|
inline |
Definition at line 1651 of file doc.hxx.
Referenced by SwXServiceProvider::MakeInstance().
bool SwDoc::SortTable | ( | const SwSelBoxes & | rBoxes, |
const SwSortOptions & | rOpt | ||
) |
Sort Table in the Document.
Definition at line 463 of file docsort.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::back(), IDocumentRedlineAccess::DeleteRedline(), SwTableNode::DelFrames(), SwSortOptions::eDirection, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwSortElement::Finit(), ForEach_FndLineCopyCol(), FlatFndBox::GetCols(), SwTable::GetFrameFormat(), getIDocumentRedlineAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwNode::GetIndex(), FndBox_::GetLines(), SwFormat::GetName(), GetNodes(), FlatFndBox::GetRows(), SwTable::GetRowsToRepeat(), SwTableNode::GetTable(), SwTable::GetTabLines(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), FlatFndBox::HasItemSets(), i, SwSortElement::Init(), SwTable::IsHeadline(), FlatFndBox::IsSymmetric(), MoveCol(), MoveRow(), nCount, SwNode2LayoutSaveUpperFrames::RestoreUpperFrames(), Rows, SwTable::SetHTMLTableLayout(), IDocumentState::SetModified(), SwTable::SwitchFormulasToRelativeRepresentation(), and UpdateCharts().
Referenced by SwXTextTable::sort(), and SwXCellRange::sort().
bool SwDoc::SortText | ( | const SwPaM & | rPaM, |
const SwSortOptions & | rOpt | ||
) |
Sort Text in the Document.
Definition at line 283 of file docsort.cxx.
References SwNodeRange::aEnd, IDocumentRedlineAccess::AppendRedline(), SwPosition::Assign(), SwNodeRange::aStart, SwNodes::Copy_(), DEFAULT, IDocumentRedlineAccess::DeleteRedline(), END, SwSortElement::Finit(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwNode::GetContentNode(), getIDocumentContentOperations(), getIDocumentRedlineAccess(), GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwPaM::GetMark(), SwPaM::GetMarkContentNode(), SwNodeIndex::GetNode(), SwPosition::GetNode(), GetNode(), GetNodes(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), GetSpzFrameFormats(), SwSortElement::Init(), SwUndoSort::Insert(), IDocumentRedlineAccess::IsShowOriginal(), SwContentNode::Len(), IDocumentContentOperations::MoveNodeRange(), n, SwPosition::SetContent(), SwUndoRedlineSort::SetSaveRange(), SwUndRng::SetValues(), START, and SwPaM::StartEnd().
Referenced by SwUndoRedlineSort::RedoRedlineImpl(), SwUndoRedlineSort::RepeatImpl(), SwUndoSort::RepeatImpl(), and SwXTextCursor::sort().
uno::Any SwDoc::Spell | ( | SwPaM & | , |
css::uno::Reference< css::linguistic2::XSpellChecker1 > const & | , | ||
sal_uInt16 * | pPageCnt, | ||
sal_uInt16 * | pPageSt, | ||
bool | bGrammarCheck, | ||
SwRootFrame const * | pLayout, | ||
SwConversionArgs * | pConvArgs = nullptr |
||
) | const |
Operations on the content of the document e.g.
spell-checking/hyphenating/word-counting
Definition at line 516 of file docedt.cxx.
References SwConversionArgs::aConvText, SwPosition::Assign(), SwTextNode::Convert(), ModelToViewHelper::ConvertToModelPosition(), ModelToViewHelper::ConvertToViewPosition(), End, SwPaM::End(), SwNode::EndOfSectionIndex(), SfxObjectShell::GetBaseModel(), SwPosition::GetContentIndex(), GetDocShell(), GetGCIterator(), getIDocumentLayoutAccess(), SwContentNode::getLayoutFrame(), SwPosition::GetNodeIndex(), GetNodes(), SwNode::GetNodeType(), SwFrame::GetPhyPageNum(), SwPaM::GetPoint(), SwTextNode::GetText(), SwNode::GetTextNode(), ModelToViewHelper::getViewText(), SwCursor::GoSentence(), uno::Any::hasValue(), IsHidden(), SwFrame::IsProtected(), lcl_syncGrammarError(), ModelToViewHelper::ModelPosition::mnPos, Section, SwArgsBase::SetEnd(), SetProgressState(), SwArgsBase::SetStart(), SwTextNode::Spell(), SwPaM::Start(), SwCursor::START_SENT, and Text.
void SwDoc::SpellItAgainSam | ( | bool | bInvalid, |
bool | bOnlyWrong, | ||
bool | bSmartTags | ||
) |
Re-trigger spelling in the idle handler.
bInvalid | if <true>, the WrongLists in all nodes are invalidated and the SpellInvalid flag is set on all pages. |
bOnlyWrong | controls whether only the areas with wrong words are checked or the whole area. |
bSmartTags | ??? |
Definition at line 1197 of file doc.cxx.
References SwNodes::ForEach(), GetAllLayouts(), getIDocumentLayoutAccess(), GetNodes(), lcl_CheckSmartTagsAgain(), and lcl_SpellAndGrammarAgain().
Referenced by SwModule::CheckSpellChanges(), and SwView::Execute().
|
private |
Create sub-documents according to the given collection.
If no collection is given, take chapter style of the 1st level.
Definition at line 159 of file docglbl.cxx.
References SfxRequest::AppendItem(), Connect, sw::DocumentContentOperationsManager::CopyWithFlyInFly(), CorrAbs(), SwSection::CreateLink(), utl::CreateTempURL(), SwNodes::Delete(), IDocumentLayoutAccess::DelLayoutFormat(), DelSectionFormat(), SfxObjectShell::DoClose(), SfxObjectShell::DoInitNew(), SfxObjectShell::DoSaveAs(), SfxObjectShell::DoSaveCompleted(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), utl::TempFileNamed::EnableKillingFile(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwPaM::Exchange(), SfxShell::ExecuteSlot(), FileLink, FILTER_XML, SwNode::FindSectionNode(), SwIterator< TElementType, TSource, eMode >::First(), fnMoveBackward, fnMoveForward, sw::proofreadingiterator::get(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwTextFormatColl::GetAttrOutlineLevel(), GetAttrPool(), INetURLObject::GetBase(), GetDocumentContentOperationsManager(), GetDocumentSettingManager(), GetEndNode(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), SfxObjectShell::GetError(), SwTextNode::GetExpandText(), SfxObjectShell::GetFactory(), SfxFilterContainer::GetFilter4EA(), SfxObjectFactory::GetFilterContainer(), SwIoSystem::GetFilterOfFormat(), SwSection::GetFormat(), getIDocumentLayoutAccess(), getIDocumentRedlineAccess(), GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), INetURLObject::GetMainURL(), SwPaM::GetMark(), SfxObjectShell::GetMedium(), SwNodeIndex::GetNode(), SwPosition::GetNode(), GetNodes(), SwNodes::GetOutLineNds(), SwPaM::GetPoint(), SwSectionNode::GetSection(), GetSections(), GetSpzFrameFormats(), GetStartNode(), SwTextNode::GetText(), GetTextFormatColls(), SwNode::GetTextNode(), GetUniqueSectionName(), DateTime::GetUNODateTime(), SfxBoolItem::GetValue(), GLOBAL_DOCUMENT, GLOBAL_DOCUMENT_SAVE_LINKS, GoInNode(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwTextNode::InsertItem(), SwNodes::InsertTextSection(), SwNode::IsStartNode(), SfxViewFrame::LoadHiddenDocument(), MakeSectionFormat(), SwPaM::Move(), SwNodes::MoveNodes(), mpDocShell, mpOutlineRule, n, SwIterator< TElementType, TSource, eMode >::Next(), INetURLObject::NONE, On, INetURLObject::removeSegment(), ReplaceStyles(), SwOutlineNodes::Seek_Entry(), sw::DocumentSettingManager::set(), SfxMedium::SetFilter(), SwSectionData::SetLinkFileName(), tools::Time::SetMin(), SetOutlineNumRule(), SwSectionData::SetProtectFlag(), IDocumentRedlineAccess::SetRedlineFlags_intern(), SFX_INTERFACE_NONE, size, SwVectorModifyBase< Value >::size(), DateTime::SYSTEM, and u.
Referenced by GenerateGlobalDoc(), and GenerateHTMLDoc().
void SwDoc::SplitTable | ( | const SwPosition & | rPos, |
SplitTable_HeadlineOption | eHdlnMode, | ||
bool | bCalcNewSize | ||
) |
Splits a Table in the top-level Line which contains the Index.
All succeeding top-level Lines go into a new Table/Node.
bCalcNewSize | true Calculate the new Size for both from the Boxes' Max; but only if Size is using absolute values (USHRT_MAX) |
Definition at line 3129 of file ndtbl.cxx.
References BorderCopy, BoxAttrAllCopy, BoxAttrCopy, SwTable::CleanUpTopRowSpan(), ContentCopy, SwTable::CopyHeadlineIntoTable(), SwHistory::Count(), FndBox_::DelFrames(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), GetDocShell(), SwTable::GetFrameFormat(), SwUndoSplitTable::GetHistory(), getIDocumentFieldsAccess(), getIDocumentStylePoolAccess(), GetIDocumentUndoRedo(), SwNode::GetIndex(), SwFormat::GetName(), SwPosition::GetNode(), GetNodes(), SwTableLines::GetPos(), SwTableLine::GetTabBoxes(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwTable::GetTabLines(), GetUniqueTableName(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), SwNode::IsTableNode(), FndBox_::MakeFrames(), SwTableNode::MakeOwnFrames(), SwNodes::MakeTextNode(), NONE, RES_POOLCOLL_TEXT, SwUndoSplitTable::SaveFormula(), IDocumentFieldsAccess::SetFieldsDirty(), SwTable::SetHTMLTableLayout(), SwTable::SetRowsToRepeat(), FndBox_::SetTableLines(), SwUndoSplitTable::SetTableNodeOffset(), SwCollectTableLineBoxes::SetValues(), SwTableLines::size(), SwTable::Split(), SwNodes::SplitTable(), sw_Box_CollectBox(), sw_BoxSetSplitBoxFormats(), and UpdateCharts().
bool SwDoc::SplitTable | ( | const SwSelBoxes & | rBoxes, |
bool | bVert, | ||
sal_uInt16 | nCnt, | ||
bool | bSameHeight = false |
||
) |
Split up/merge Boxes in the Table.
Definition at line 2178 of file ndtbl.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwNode::EndOfSectionIndex(), GetDocShell(), getIDocumentFieldsAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwNode::GetIndex(), SwTableNode::GetTable(), SwTable::GetTabSortBoxes(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), n, IDocumentFieldsAccess::SetFieldsDirty(), IDocumentState::SetModified(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwTable::SplitCol(), SwTable::SplitRow(), SwTable::SwitchFormulasToInternalRepresentation(), and TABLE_SPLIT.
Referenced by SwUndoTableNdsChg::RedoImpl(), SwUndoSplitTable::RedoImpl(), SwUndoSplitTable::RepeatImpl(), SwXTextTableCursor::splitRange(), SwFEShell::SplitTab(), and SwEditShell::SplitTable().
bool SwDoc::StartGrammarChecking | ( | bool | bSkipStart = false | ) |
bSkipStart | don't actually start the jobs, just check |
! only documents with visible views need to be checked ! (E.g. don't check temporary documents created for printing, see printing of notes and selections. ! Those get created on the fly and get hard deleted a bit later as well, and no one should have ! a UNO reference to them)
Definition at line 141 of file docnew.cxx.
References bVisible, GetAllLayouts(), SfxObjectShell::GetBaseModel(), GetDocShell(), SfxViewFrame::GetFirst(), GetGCIterator(), SfxViewFrame::GetNext(), and SfxViewFrame::IsVisible().
Referenced by SwView::ExecViewOptions(), sw::DocumentTimerManager::GetNextIdleJob(), and sw::IMPL_LINK_NOARG().
void SwDoc::StopNumRuleAnimations | ( | const OutputDevice * | pOut | ) |
Definition at line 1155 of file docnum.cxx.
References SwIterator< TElementType, TSource, eMode >::First(), GetNumRuleTable(), n, SwIterator< TElementType, TSource, eMode >::Next(), pOut, and size.
Referenced by SwViewShell::~SwViewShell().
Definition at line 1255 of file doc.cxx.
References SwTextNode::ChgFormatColl(), SwNodes::Copy_(), SwNodes::Count(), SwNodes::Delete(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwNode::EndOfSectionIndex(), EndProgress(), GetDocShell(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), getIDocumentStylePoolAccess(), SwAttrSet::GetKeep(), SwNodeIndex::GetNode(), GetNodes(), SwNodes::GetOutLineNds(), SwContentNode::GetSwAttrSet(), SwTextNode::GetText(), SwTextNode::GetTextColl(), IDocumentStylePoolAccess::GetTextCollFromPool(), GetTextFormatColls(), SwNode::GetTextNode(), SwContentNode::HasSwAttrSet(), i, SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SwNode::IsTextNode(), SwTextNode::Len(), nIndex, RES_BREAK(), RES_PAGEDESC(), RES_POOLCOLL_HEADLINE1, RES_POOLCOLL_HEADLINE2, SwTextNode::ResetAttr(), SetProgressState(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwVectorModifyBase< Value >::size(), SwNode::StartOfSectionIndex(), and StartProgress().
bool SwDoc::TableToText | ( | const SwTableNode * | pTableNd, |
sal_Unicode | cCh | ||
) |
Table to Text.
Definition at line 1443 of file ndtbl.cxx.
References SwNodeRange::aEnd, SwNodeRange::aStart, SwCursorShell::ClearMark(), SwNode::EndOfSectionNode(), GetEditShell(), getIDocumentState(), GetIDocumentUndoRedo(), GetNodes(), SwTableNode::GetTable(), SwCursorShell::IsTableMode(), IDocumentState::SetModified(), and SwNodes::TableToText().
Referenced by ConvertTableToText(), SwUndoTableToText::RedoImpl(), SwUndoTableToText::RepeatImpl(), and SwUndoTextToTable::UndoImpl().
const SwTable * SwDoc::TextToTable | ( | const std::vector< std::vector< SwNodeRange > > & | rTableNodes | ) |
!! not necessarily TextNodes !!!
Definition at line 1132 of file ndtbl.cxx.
References SwPosition::Adjust(), SwNodeRange::aEnd, SwNodeRange::aStart, ATT_LEFT_TO_RIGHT, SwPosition::GetContentIndex(), SwNode::GetContentNode(), GetDfltFrameFormat(), SwFormat::GetFrameSize(), getIDocumentContentOperations(), getIDocumentFieldsAccess(), getIDocumentRedlineAccess(), getIDocumentState(), GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SfxItemSet::GetItemIfSet(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), GetNodes(), SwPaM::GetPoint(), SwContentNode::GetSwAttrSet(), SwTableNode::GetTable(), GetUniqueTableName(), SwNode::IsContentNode(), IDocumentState::IsEnableSetModified(), SwContentNode::Len(), MakeTableBoxFormat(), MakeTableFrameFormat(), MakeTableLineFormat(), PaMCorrAbs(), SwTable::RegisterToFormat(), RES_FRAMEDIR(), SwNode2LayoutSaveUpperFrames::RestoreUpperFrames(), IDocumentState::SetEnableSetModified(), IDocumentFieldsAccess::SetFieldsDirty(), SwFormat::SetFormatAttr(), IDocumentState::SetModified(), IDocumentContentOperations::SplitNode(), IDocumentRedlineAccess::SplitRedline(), SwNodes::TextToTable(), and Variable.
const SwTable * SwDoc::TextToTable | ( | const SwInsertTableOptions & | rInsTableOpts, |
const SwPaM & | rRange, | ||
sal_Unicode | cCh, | ||
sal_Int16 | eAdjust, | ||
const SwTableAutoFormat * | pTAFormat | ||
) |
Text to Table.
Definition at line 624 of file ndtbl.cxx.
References IDocumentRedlineAccess::AcceptRedline(), SwNodeRange::aEnd, SwPosition::Assign(), SwNodeRange::aStart, ATT_LEFT_TO_RIGHT, Char, SwTableBox::ChgFrameFormat(), ChkBoxNumFormat(), DefaultBorder, SwPaM::DeleteMark(), SwNode::EndOfSectionIndex(), GetAttrPool(), SwNode::GetContentNode(), GetDfltFrameFormat(), SwTableBox::GetFrameFormat(), SwFormat::GetFrameSize(), SwUndoTextToTable::GetHistory(), getIDocumentContentOperations(), getIDocumentFieldsAccess(), getIDocumentRedlineAccess(), getIDocumentState(), getIDocumentStylePoolAccess(), GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SfxItemSet::GetItemIfSet(), SwPaM::GetMark(), SwNodeIndex::GetNode(), GetNodes(), SwPaM::GetPoint(), SwTableBox::GetSttIdx(), SwTableBox::GetSttNd(), SwContentNode::GetSwAttrSet(), SwTableNode::GetTable(), SwTable::GetTabLines(), SwTable::GetTabSortBoxes(), GetUniqueTableName(), SwNodes::GoNext(), Headline, i, IDocumentState::IsEnableSetModified(), SwTableAutoFormat::IsFont(), IsInsTableFormatNum(), SwTableAutoFormat::IsJustify(), lcl_CreateAFormatBoxFormat(), lcl_CreateDfltBoxFormat(), lcl_SetDfltBoxAttr(), MakeTableBoxFormat(), MakeTableFrameFormat(), MakeTableLineFormat(), SwInsertTableOptions::mnInsMode, SwInsertTableOptions::mnRowsToRepeat, n, nId, SwPostItHelper::NONE, PaMCorrAbs(), SwTable::RegisterToFormat(), RES_CHRATR_BEGIN(), RES_FRAMEDIR(), RES_PARATR_LIST_END(), RES_POOLCOLL_STANDARD, SwNode2LayoutSaveUpperFrames::RestoreUpperFrames(), SwContentNode::SetAttr(), IDocumentState::SetEnableSetModified(), IDocumentFieldsAccess::SetFieldsDirty(), SwFormat::SetFormatAttr(), IDocumentState::SetModified(), SwTable::SetRowsToRepeat(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwTableLines::size(), SplitLayout, IDocumentContentOperations::SplitNode(), SwPaM::StartEnd(), SwNodes::TextToTable(), TEXTTOTABLE, SwTableAutoFormat::UpdateToSet(), and Variable.
Referenced by SwUndoTextToTable::RedoImpl(), SwUndoTextToTable::RepeatImpl(), and SwEditShell::TextToTable().
void SwDoc::Unchain | ( | SwFrameFormat & | rFormat | ) |
Definition at line 1149 of file docfly.cxx.
References SwFormat::GetChain(), GetIDocumentUndoRedo(), SwFormatChain::GetNext(), SetAttr(), SwFormatChain::SetNext(), SwFormatChain::SetPrev(), and UNCHAIN.
Referenced by SwFEShell::Unchain().
void SwDoc::UnGroupSelection | ( | SdrView & | rDrawView | ) |
Definition at line 327 of file docdraw.cxx.
References SwUndoDrawUnGroupConnectToLayout::AddFormatAndObj(), SwUndoDrawUnGroup::AddObj(), SwDrawContact::ConnectToLayout(), first, SwFormat::GetAnchor(), SdrObject::getChildrenOfSdrObject(), GetDfltFrameFormat(), SwContact::GetFormat(), GetIDocumentUndoRedo(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetName(), SwFormat::GetName(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::getParentSdrObjectFromSdrObject(), GetUniqueShapeName(), GetUserCall(), i, lcl_AdjustPositioningAttr(), lcl_CollectTextBoxesForSubGroupObj(), MakeDrawFrameFormat(), SwContact::MoveObjToVisibleLayer(), SwDrawView::ReplaceMarkedDrawVirtObjs(), SwFormat::SetFormatAttr(), SdrObject::SetName(), SwFrameFormat::SetOtherTextBoxFormats(), SwDrawFrameFormat::SetPositionLayoutDir(), and SdrEditView::UnGroupMarked().
Referenced by SwFmDrawPage::ungroup(), and SwFEShell::UnGroupSelection().
void SwDoc::UnProtectCells | ( | const OUString & | rTableName | ) |
Definition at line 4441 of file ndtbl.cxx.
References SwTable::FindTable(), FindTableFormatByName(), getIDocumentState(), IDocumentState::SetModified(), and UnProtectTableCells().
Referenced by SwFEShell::UnProtectCells().
bool SwDoc::UnProtectCells | ( | const SwSelBoxes & | rBoxes | ) |
Definition at line 4452 of file ndtbl.cxx.
References SwTableBox::ChgFrameFormat(), SwTableBox::ClaimFrameFormat(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwTableBox::GetFrameFormat(), GetIDocumentUndoRedo(), SwFormat::GetProtect(), i, SvxProtectItem::IsContentProtected(), RES_PROTECT(), SwFormat::ResetFormatAttr(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
|
private |
Definition at line 4418 of file ndtbl.cxx.
References GetIDocumentUndoRedo(), SwFormat::GetProtect(), SwTable::GetTableNode(), SwTable::GetTabSortBoxes(), i, SvxProtectItem::IsContentProtected(), RES_PROTECT(), SwFormat::ResetFormatAttr(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by UnProtectCells(), and UnProtectTables().
void SwDoc::UnProtectTables | ( | const SwPaM & | rPam | ) |
Definition at line 4489 of file ndtbl.cxx.
References EMPTY, SwTable::FindTable(), getIDocumentState(), GetIDocumentUndoRedo(), SwNode::GetIndex(), SwPaM::GetNext(), SwNode::GetNodes(), GetTableFrameFormats(), SwTable::GetTableNode(), SwPaM::HasMark(), SwNodes::IsDocNodes(), n, IDocumentState::SetModified(), sw::FrameFormats< value_type >::size(), SwPaM::StartEnd(), and UnProtectTableCells().
Referenced by SwFEShell::UnProtectTables().
|
inline |
Definition at line 1309 of file doc.hxx.
Referenced by SwViewShell::UpdateAllCharts().
void SwDoc::UpdateCharts | ( | const OUString & | rName | ) | const |
Definition at line 139 of file docchart.cxx.
References SwTable::FindTable(), FindTableFormatByName(), IDocumentLayoutAccess::GetCurrentViewShell(), getIDocumentLayoutAccess(), and UpdateCharts_().
Referenced by SaveTable::CreateNew(), SwTable::DeleteSel(), SwTable::InsertCol(), SwTable::InsertRow_(), SwXTextTable::setName(), SortTable(), SplitTable(), SwUndoTableNdsChg::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoMergeTable::UndoImpl(), SwTable::UpdateCharts(), and SwEditShell::UpdateCharts().
|
private |
Definition at line 95 of file docchart.cxx.
References aName, SwNodeIndex::Assign(), SwNode::EndOfSectionNode(), SwContentNode::FindLayoutRect(), IDocumentChartDataProviderAccess::GetChartDataProvider(), SwOLENode::GetChartTableName(), SwTable::GetFrameFormat(), getIDocumentChartDataProviderAccess(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwFormat::GetName(), SwNodeIndex::GetNode(), GetNodes(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwNode::GetStartNode(), SwChartDataProvider::InvalidateTable(), SwOLENode::IsChart(), SwRect::IsEmpty(), and SwOLEObj::resetBufferedData().
Referenced by DoUpdateAllCharts(), and UpdateCharts().
void SwDoc::UpdateNumRule | ( | ) |
Definition at line 2628 of file docnum.cxx.
References GetNumRuleTable(), n, and SwVectorModifyBase< Value >::size().
Referenced by DelNumRules(), SwCursorShell::EndAction(), lcl_ChgNumRule(), sw::DocumentSettingManager::set(), SetOutlineNumRule(), and SwTOXBaseSection::Update().
|
static |
Definition at line 772 of file doc.cxx.
References IDocumentContentOperations::DeleteRange(), EndDoc, EndPage, fnMoveBackward, fnMoveForward, SwNodes::GetEndOfContent(), getIDocumentContentOperations(), vcl::PrinterOptionsHelper::getIntValue(), SwFrame::GetNext(), GetNodes(), SwRenderData::GetPageRange(), SwRenderData::GetPagesToPrint(), SwRenderData::GetValidPagesSet(), GoInDoc(), SwRenderData::HasPostItData(), i, lcl_FormatPostIt(), SwLayoutFrame::Lower(), SwRenderData::m_pPostItFields, SwRenderData::m_pPostItShell, SwPaM::Move(), NONE, Only, SwRootFrame::ResetIdleFormat(), and SwPaM::SetMark().
Referenced by SwXTextDocument::getRendererCount().
bool SwDoc::UpdateParRsid | ( | SwTextNode * | pTextNode, |
sal_uInt32 | nVal = 0 |
||
) |
Definition at line 442 of file docfmt.cxx.
References mnRsid, RES_PARATR_RSID(), SwTextNode::SetAttr(), and SW_MOD.
Referenced by AppendDoc(), SwEditShell::Insert2(), SwFEShell::Paste(), sw::DocumentContentOperationsManager::SplitNode(), and SwUndoSplitNode::UndoImpl().
void SwDoc::UpdateRsid | ( | const SwPaM & | rRg, |
sal_Int32 | nLen | ||
) |
Set the rsid of the next nLen symbols of rRg to the current session number.
Definition at line 411 of file docfmt.cxx.
References GetAttrPool(), SwPosition::GetContentIndex(), GetIDocumentUndoRedo(), sw::UndoManager::GetLastUndo(), SwPosition::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), GetUndoManager(), mnRsid, SfxItemSet::Put(), RES_CHRATR_RSID(), SwTextNode::SetAttr(), SwUndoInsert::SetWithRsid(), and SW_MOD.
Referenced by SwEditShell::Insert2(), and SwUndoInsert::RedoImpl().
void SwDoc::UpdateSection | ( | size_t const | nSect, |
SwSectionData & | rNewData, | ||
SfxItemSet const * const | pAttr = nullptr , |
||
bool const | bPreventLinkUpdate = false |
||
) |
remember hidden condition flag of SwSection before changes
In SwSection::operator=(..) class member m_bCondHiddenFlag is always set to true. IMHO this have to be changed, but I can't estimate the consequences: Either it is set to true using corresponding method <SwSection.SetCondHidden(..)>, or it is set to the value of SwSection which is assigned to it. Discussion with AMA results that the adjustment to the assignment operator could be very risky.
Because on using SwSection::operator=() to set up <pSection> with <rNewData> and the above given note, the hidden condition flag has to be set to false, if hidden condition flag of <pFormat->GetSection()> (SwSection before the changes) is false (already saved in <bOldCondHidden>) and new calculated condition is true. This is necessary, because otherwise the <SetCondHidden> would have no effect.
Definition at line 594 of file ndsect.cxx.
References SwCalc::Calculate(), Connect, SfxItemSet::Count(), SwSection::CreateLink(), sfx2::cTokenSeparator, SwSection::DataEquals(), SwSection::Disconnect(), SwNode::EndOfSectionNode(), IDocumentFieldsAccess::FieldsToCalc(), SwSection::GetBaseLink(), SwSbxValue::GetBool(), SwSection::GetCondition(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SfxItemIter::GetCurItem(), SwSection::GetFormat(), SwFormat::GetFormatAttr(), getIDocumentFieldsAccess(), getIDocumentLinksAdministration(), getIDocumentState(), GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwSectionData::GetLinkFileName(), SwSection::GetLinkFileName(), IDocumentLinksAdministration::GetLinkManager(), SwNodeIndex::GetNode(), GetNodes(), SwSectionFormat::GetSection(), SwSectionData::GetSectionName(), SwSection::GetSectionName(), SwNode::GetSectionNode(), GetUniqueSectionName(), SwSection::IsCondHidden(), SwSection::IsConnected(), SwSectionData::IsHidden(), SwSection::IsHidden(), SwSectionData::IsLinkType(), SwSection::IsLinkType(), lcl_CheckEmptyLayFrame(), MakeUndoUpdateSection(), SfxItemIter::NextItem(), nPos, sfx2::LinkManager::Remove(), SAL_MAX_INT32, SwSection::SetCondHidden(), SwFormat::SetFormatAttr(), IDocumentState::SetModified(), SwSection::SetSectionData(), SwSection::SetSectionName(), Update, and SfxPoolItem::Which().
Referenced by lcl_UpdateSection(), RemoveInvisibleContent(), SwXTextSection::setName(), and SwEditShell::UpdateSection().
void SwDoc::WriteLayoutCache | ( | SvStream & | rStream | ) |
Definition at line 814 of file docnew.cxx.
References SwLayoutCache::Write().
Referenced by SwXMLWriter::Write_().
|
friend |
|
friend |
|
private |
Definition at line 206 of file doc.hxx.
Referenced by ChgPageDesc(), ClearDoc(), ContainsPageDesc(), DelPageDesc(), dumpAsXml(), FindPageDesc(), MakePageDesc(), PreDelPageDesc(), ReplaceStyles(), SwDoc(), and ~SwDoc().
|
private |
Definition at line 214 of file doc.hxx.
Referenced by GetDocPattern(), and SetDocPattern().
|
private |
Definition at line 221 of file doc.hxx.
Referenced by dumpAsXml(), and GetContentControlManager().
|
private |
Definition at line 261 of file doc.hxx.
Referenced by ChgDBData(), and SwDoc().
|
private |
Definition at line 228 of file doc.hxx.
Referenced by getIDocumentDeviceAccess(), and ~SwDoc().
|
private |
Definition at line 227 of file doc.hxx.
Referenced by getIDocumentChartDataProviderAccess().
|
private |
Definition at line 234 of file doc.hxx.
Referenced by GetDocumentContentOperationsManager(), and getIDocumentContentOperations().
|
private |
Definition at line 222 of file doc.hxx.
Referenced by GetDocumentDrawModelManager().
|
private |
Definition at line 239 of file doc.hxx.
Referenced by getIDocumentExternalData().
|
private |
Definition at line 235 of file doc.hxx.
Referenced by GetDocumentFieldsManager(), and getIDocumentFieldsAccess().
|
private |
Definition at line 237 of file doc.hxx.
Referenced by GetDocumentLayoutManager(), and getIDocumentLayoutAccess().
|
private |
Definition at line 230 of file doc.hxx.
Referenced by GetDocumentLinksAdministrationManager(), and getIDocumentLinksAdministration().
|
private |
Definition at line 231 of file doc.hxx.
Referenced by getIDocumentListItems().
|
private |
Definition at line 232 of file doc.hxx.
Referenced by getIDocumentListsAccess().
|
private |
Definition at line 233 of file doc.hxx.
Referenced by getIDocumentOutlineNodes().
|
private |
Definition at line 223 of file doc.hxx.
Referenced by GetDocumentRedlineManager(), and getIDocumentRedlineAccess().
|
private |
Definition at line 226 of file doc.hxx.
Referenced by dumpAsXml(), GetDocumentSettingManager(), and ReplaceCompatibilityOptions().
|
private |
Definition at line 224 of file doc.hxx.
Referenced by getIDocumentState().
|
private |
Definition at line 236 of file doc.hxx.
Referenced by GetDocumentStatisticsManager(), and getIDocumentStatistics().
|
private |
Definition at line 238 of file doc.hxx.
Referenced by getIDocumentStylePoolAccess().
|
private |
Definition at line 229 of file doc.hxx.
Referenced by getIDocumentTimerAccess().
|
private |
Definition at line 220 of file doc.hxx.
Referenced by GetMetaFieldManager().
|
private |
Definition at line 204 of file doc.hxx.
Referenced by dumpAsXml(), and ~SwDoc().
|
private |
|
private |
Definition at line 284 of file doc.hxx.
Referenced by SetPreviewPrtData(), and ~SwDoc().
|
private |
Table styles (autoformats that are applied with table changes).
Definition at line 299 of file doc.hxx.
Referenced by GetTableStyles().
|
private |
Definition at line 225 of file doc.hxx.
Referenced by dumpAsXml(), GetIDocumentUndoRedo(), GetUndoManager(), and ~SwDoc().
|
private |
Definition at line 303 of file doc.hxx.
Referenced by GetXmlIdRegistry().
|
mutableprivate |
Definition at line 217 of file doc.hxx.
Referenced by GetGCIterator().
|
private |
|
private |
Definition at line 212 of file doc.hxx.
Referenced by ChgDBData(), dumpAsXml(), GetDBData(), and ~SwDoc().
|
mutableprivate |
Definition at line 282 of file doc.hxx.
Referenced by AddNumRule(), ClearDoc(), DelNumRule(), and FindNumRulePtr().
|
private |
Definition at line 211 of file doc.hxx.
Referenced by SetOLEObjModified(), and SwDoc().
|
private |
Definition at line 327 of file doc.hxx.
Referenced by PrtOLENotify(), and SetOLEPrtNotifyPending().
|
private |
Definition at line 316 of file doc.hxx.
Referenced by MakeFlyAndMove().
|
private |
|
private |
Definition at line 317 of file doc.hxx.
Referenced by IsInHeaderFooter().
|
private |
Definition at line 328 of file doc.hxx.
Referenced by InsertGlossary().
|
private |
Definition at line 324 of file doc.hxx.
Referenced by SetFormatItemByAutoFormat(), and SetTextFormatCollByAutoFormat().
|
private |
TRUE: Printer has changed.
At creation of View notification of OLE-Objects PrtOLENotify() is required.
Definition at line 325 of file doc.hxx.
Referenced by PrtOLENotify(), and SetOLEPrtNotifyPending().
|
private |
Definition at line 335 of file doc.hxx.
Referenced by SetMissingDictionaries().
DocumentType SwDoc::meDocType |
|
private |
Definition at line 307 of file doc.hxx.
Referenced by getRsid(), setRsid(), SwDoc(), UpdateParRsid(), and UpdateRsid().
|
private |
Definition at line 308 of file doc.hxx.
Referenced by getRsidRoot(), setRsidRoot(), and SwDoc().
|
private |
Definition at line 276 of file doc.hxx.
Referenced by ClearDoc(), and ~SwDoc().
|
private |
For the automated takeover of auto-corrected words that are "re-corrected".
Definition at line 272 of file doc.hxx.
Referenced by ClearDoc(), DeleteAutoCorrExceptWord(), SetAutoCorrExceptWord(), and ~SwDoc().
|
private |
Definition at line 205 of file doc.hxx.
Referenced by ReplaceDefaults(), SetLanguage(), and ~SwDoc().
|
private |
|
private |
Definition at line 250 of file doc.hxx.
Referenced by ClearDoc(), DelCharFormat(), dumpAsXml(), MakeCharFormat(), RenameFormat(), ReplaceStyles(), SwDoc(), and ~SwDoc().
|
private |
|
private |
Definition at line 258 of file doc.hxx.
Referenced by GetDefaultTOXBase(), SetDefaultTOXBase(), and ~SwDoc().
|
private |
Definition at line 245 of file doc.hxx.
Referenced by ReplaceStyles(), SetDefault(), SwDoc(), and ~SwDoc().
|
private |
Definition at line 242 of file doc.hxx.
Referenced by MakeSectionFormat(), MakeTableBoxFormat(), MakeTableLineFormat(), ReplaceStyles(), SetDefault(), SwDoc(), and ~SwDoc().
|
private |
Definition at line 247 of file doc.hxx.
Referenced by CopyGrfColl(), SetDefault(), SwDoc(), and ~SwDoc().
|
private |
Definition at line 246 of file doc.hxx.
Referenced by ClearDoc(), CopyTextColl(), DelTextFormatColl(), ReplaceStyles(), SetDefault(), SwDoc(), and ~SwDoc().
|
private |
Definition at line 269 of file doc.hxx.
Referenced by BroadcastStyleOperation(), CallEvent(), ExecMacro(), GetDocStorage(), GetPersist(), IsVisitedURL(), SetDocShell(), SetVbaEventProcessor(), SplitDoc(), and ~SwDoc().
|
private |
|
private |
Definition at line 265 of file doc.hxx.
Referenced by ClearDoc(), PreDelPageDesc(), SetEndNoteInfo(), and ~SwDoc().
|
private |
Definition at line 285 of file doc.hxx.
Referenced by CreateExtTextInput(), DeleteExtTextInput(), GetExtTextInput(), and ~SwDoc().
|
private |
|
private |
Definition at line 264 of file doc.hxx.
Referenced by ClearDoc(), PreDelPageDesc(), SetFootnoteInfo(), and ~SwDoc().
|
private |
Definition at line 249 of file doc.hxx.
Referenced by ClearDoc(), DelFrameFormat(), dumpAsXml(), FindFrameFormatByName(), MakeFrameFormat(), ReplaceStyles(), SwDoc(), and ~SwDoc().
|
private |
|
private |
Definition at line 255 of file doc.hxx.
Referenced by ClearDoc(), CopyGrfColl(), MakeGrfFormatColl(), SwDoc(), and ~SwDoc().
|
private |
Layout cache to read and save with the document for a faster formatting.
Definition at line 288 of file doc.hxx.
Referenced by ReadLayoutCache(), and ~SwDoc().
|
private |
Definition at line 266 of file doc.hxx.
Referenced by GetLineNumberInfo(), SetLineNumberInfo(), and ~SwDoc().
|
private |
Definition at line 219 of file doc.hxx.
Referenced by ClearDoc(), dumpAsXml(), and ~SwDoc().
|
private |
Definition at line 277 of file doc.hxx.
Referenced by ClearDoc(), EnsureNumberFormatter(), and ~SwDoc().
|
mutableprivate |
Definition at line 279 of file doc.hxx.
Referenced by AddNumRule(), ClearDoc(), DelNumRule(), dumpAsXml(), FindNumRule(), FindNumRulePtr(), GetUniqueNumRuleName(), InvalidateNumRules(), MakeNumRule(), and ~SwDoc().
|
private |
|
private |
Definition at line 263 of file doc.hxx.
Referenced by ClearDoc(), SetOutlineNumRule(), SplitDoc(), and SwDoc().
|
private |
Definition at line 252 of file doc.hxx.
Referenced by DelSectionFormat(), dumpAsXml(), GetUniqueSectionName(), GetUniqueTOXBaseName(), MakeSectionFormat(), and ~SwDoc().
|
private |
Definition at line 251 of file doc.hxx.
Referenced by ClearDoc(), dumpAsXml(), and ~SwDoc().
|
private |
|
private |
Definition at line 253 of file doc.hxx.
Referenced by DelTableFrameFormat(), dumpAsXml(), FindTableFormatByName(), GetTableFrameFormat(), GetTableFrameFormatCount(), GetUniqueTableName(), MakeTableFrameFormat(), and ~SwDoc().
|
private |
Definition at line 254 of file doc.hxx.
Referenced by ChkCondColls(), ClearDoc(), CopyTextColl(), DelTextFormatColl(), dumpAsXml(), InsertDrawLabel(), InsertLabel(), MakeCondTextFormatColl(), MakeTextFormatColl(), OutlineUpDown(), PropagateOutlineRule(), ReplaceStyles(), SwDoc(), and ~SwDoc().
|
private |
Definition at line 257 of file doc.hxx.
Referenced by GetTOXType(), GetTOXTypeCount(), InitTOXTypes(), InsertTOXType(), and ~SwDoc().
|
private |
Definition at line 274 of file doc.hxx.
Referenced by IsVisitedURL(), and ~SwDoc().
|
private |
Definition at line 310 of file doc.hxx.
Referenced by acquire(), getReferenceCount(), and release().
std::vector< std::weak_ptr<SwUnoCursor> > SwDoc::mvUnoCursorTable |
Definition at line 1670 of file doc.hxx.
Referenced by CreateUnoCursor(), PaMCorrAbs(), PaMCorrRel(), and ~SwDoc().
|
private |
|
private |
Definition at line 294 of file doc.hxx.
Referenced by GetVbaEventProcessor(), and SetVbaEventProcessor().
|
private |
|
private |
Definition at line 216 of file doc.hxx.
Referenced by disposeXForms(), initXForms(), and isXForms().
|
staticprivate |
|
staticprivate |