LibreOffice Module sw (master) 1
|
#include <editsh.hxx>
Public Member Functions | |
void | Insert (sal_Unicode, bool bOnlyCurrCursor=false) |
Edit (all selected ranges). More... | |
void | Insert2 (const OUString &, const bool bForceExpandHints=false) |
void | Overwrite (const OUString &) |
bool | Replace (const OUString &rNewStr, bool bRegExpRplc) |
Replace a selected range in a TextNode by given string. More... | |
bool | Delete (bool isArtificialSelection=false) |
Delete content of all ranges. More... | |
bool | DelFullPara () |
Remove a complete paragraph. More... | |
void | TransliterateText (TransliterationFlags nType) |
Change text to Upper/Lower/Hiragana/Katakana/... More... | |
void | CountWords (SwDocStat &rStat) const |
Count words in current selection. More... | |
bool | ConvertFieldsToText () |
Replace fields by text - mailmerge support. More... | |
void | SetNumberingRestart () |
Set all numbering start points to a fixed value - mailmerge support. More... | |
sal_uInt16 | GetLinkUpdMode () const |
Embeds all local links (ranges/graphics). More... | |
void | SetLinkUpdMode (sal_uInt16 nMode) |
bool | Copy (SwEditShell &rDestShell) |
Copy content of all ranges at current position of cursor to given Shell. More... | |
bool | CopySelToDoc (SwDoc &rInsDoc) |
For copying via ClipBoard: If table is copied into table, move all cursors away from it. More... | |
void | SplitNode (bool bAutoFormat=false, bool bCheckTableStart=true) |
bool | AppendTextNode () |
void | AutoFormatBySplitNode () |
void | DelINetAttrWithText () |
If cursor is in an INetAttribute it will be deleted completely including the descriptive text (needed at drag & drop). More... | |
bool | DontExpandFormat () |
If Cursor is at the end of a character style in which the DontExpand-flag is not yet set, the latter will be set (==> return TRUE). More... | |
bool | GetPaMAttr (SwPaM *pPaM, SfxItemSet &, const bool bMergeIndentValuesOfNumRule=false) const |
Apply / remove attributes. More... | |
bool | GetCurAttr (SfxItemSet &, const bool bMergeIndentValuesOfNumRule=false) const |
void | SetAttrItem (const SfxPoolItem &, SetAttrMode nFlags=SetAttrMode::DEFAULT, const bool bParagraphSetting=false) |
void | SetAttrSet (const SfxItemSet &, SetAttrMode nFlags=SetAttrMode::DEFAULT, SwPaM *pCursor=nullptr, const bool bParagraphSetting=false) |
std::vector< std::pair< const SfxPoolItem *, std::unique_ptr< SwPaM > > > | GetItemWithPaM (sal_uInt16 nWhich) |
Get RES_CHRATR_* items of one type in the current selection. More... | |
void | GetCurParAttr (SfxItemSet &rSet) const |
Get the paragraph format attribute(s) of the current selection. More... | |
void | GetPaMParAttr (SwPaM *pPaM, SfxItemSet &rSet) const |
Get the paragraph format attribute(s) of the selection(s) described by a SwPaM. More... | |
void | SetDefault (const SfxPoolItem &) |
Set attribute as new default attribute in document. More... | |
const SfxPoolItem & | GetDefault (sal_uInt16 nFormatHint) const |
Query default attribute of document. More... | |
template<class T > | |
const T & | GetDefault (TypedWhichId< T > nWhich) const |
void | ResetAttr (const o3tl::sorted_vector< sal_uInt16 > &attrs=o3tl::sorted_vector< sal_uInt16 >(), SwPaM *pCursor=nullptr) |
void | GCAttr () |
SvtScriptType | GetScriptType () const |
returns the script type of the selection More... | |
LanguageType | GetCurLang () const |
size_t | GetTableFrameFormatCount (bool bUsed=false) const |
TABLE. More... | |
SwFrameFormat & | GetTableFrameFormat (size_t nFormat, bool bUsed=false) const |
OUString | GetUniqueTableName () const |
sal_uInt16 | GetCharFormatCount () const |
CHAR. More... | |
SwCharFormat & | GetCharFormat (sal_uInt16 nFormat) const |
SwCharFormat * | GetCurCharFormat () const |
void | FillByEx (SwCharFormat *) |
SwCharFormat * | MakeCharFormat (const OUString &rName) |
SwCharFormat * | FindCharFormatByName (const OUString &rName) const |
SwTextFormatColl & | GetDfltTextFormatColl () const |
sal_uInt16 | GetTextFormatCollCount () const |
SwTextFormatColl & | GetTextFormatColl (sal_uInt16 nTextFormatColl) const |
SwTextFormatColl * | GetCurTextFormatColl () const |
Get the named paragraph format of the current selection. More... | |
SwTextFormatColl * | GetPaMTextFormatColl (SwPaM *pPaM) const |
Get the named paragraph format of the selection(s) described by a SwPaM. More... | |
void | SetTextFormatColl (SwTextFormatColl *, const bool bResetListAttrs=false) |
Add 2nd optional parameter <bResetListAttrs> - see also <SwDoc::SetTextFormatColl(..)> More... | |
SwTextFormatColl * | MakeTextFormatColl (const OUString &rFormatCollName, SwTextFormatColl *pDerivedFrom=nullptr) |
void | FillByEx (SwTextFormatColl *) |
SwTextFormatColl * | FindTextFormatCollByName (const OUString &rName) const |
SwTextFormatColl * | GetTextCollFromPool (sal_uInt16 nId) |
SwFormat * | GetFormatFromPool (sal_uInt16 nId) |
return the requested automatic format - base-class ! More... | |
SwPageDesc * | GetPageDescFromPool (sal_uInt16 nId) |
bool | IsUsed (const sw::BroadcastingModify &) const |
Query if the paragraph-/character-/frame-/page-style is used. More... | |
SwFrameFormat * | GetFrameFormatFromPool (sal_uInt16 nId) |
SwCharFormat * | GetCharFormatFromPool (sal_uInt16 nId) |
void | SetClassification (const OUString &rName, SfxClassificationPolicyType eType) |
void | ApplyAdvancedClassification (std::vector< svx::ClassificationResult > const &rResult) |
std::vector< svx::ClassificationResult > | CollectAdvancedClassification () |
SfxWatermarkItem | GetWatermark () const |
void | SetWatermark (const SfxWatermarkItem &rText) |
void | SignParagraph () |
Sign the paragraph at the cursor. More... | |
void | ValidateParagraphSignatures (SwTextNode *pNode, bool updateDontRemove) |
Validate the paragraph signatures, if any, of the current text node. More... | |
void | ValidateCurrentParagraphSignatures (bool updateDontRemove) |
Validate the current paragraph signatures, if any, at the cursor start. More... | |
void | ValidateAllParagraphSignatures (bool updateDontRemove) |
Validate all paragraph signatures. More... | |
void | RestoreMetadataFieldsAndValidateParagraphSignatures () |
Restore the metadata fields, if missing, from the RDF metadata and validate the signatures and update the signature metadata fields. More... | |
void | ClassifyDocPerHighestParagraphClass () |
Ensure that the classification of the doc is never lower than the paragraph with the highest classification. More... | |
void | ApplyParagraphClassification (std::vector< svx::ClassificationResult > aResult) |
Apply the classification to the paragraph at cursor. More... | |
std::vector< svx::ClassificationResult > | CollectParagraphClassification () |
bool | IsCursorInParagraphMetadataField () const |
Returns true iff the cursor is within a paragraph metadata field. More... | |
bool | RemoveParagraphMetadataFieldAtCursor () |
Removes the paragraph metadata field at the current cursor, if any. More... | |
bool | InsertField (SwField const &, const bool bForceExpandHints) |
add a field at the cursor position More... | |
void | UpdateOneField (SwField &) |
One single field. More... | |
size_t | GetFieldTypeCount (SwFieldIds nResId=SwFieldIds::Unknown) const |
count field types with a ResId, if SwFieldIds::Unknown count all More... | |
SwFieldType * | GetFieldType (size_t nField, SwFieldIds nResId=SwFieldIds::Unknown) const |
get field types with a ResId, if 0 get all More... | |
SwFieldType * | GetFieldType (SwFieldIds nResId, const OUString &rName) const |
get first type with given ResId and name More... | |
void | RemoveFieldType (size_t nField) |
delete field type More... | |
void | RemoveFieldType (SwFieldIds nResId, const OUString &rName) |
delete field type based on its name More... | |
void | FieldToText (SwFieldType const *pType) |
void | ChangeAuthorityData (const SwAuthEntry *pNewData) |
SwDBData const & | GetDBData () const |
Database information. More... | |
void | ChgDBData (const SwDBData &SwDBData) |
void | ChangeDBFields (const std::vector< OUString > &rOldNames, const OUString &rNewName) |
void | GetAllUsedDB (std::vector< OUString > &rDBNameList, std::vector< OUString > const *pAllDBNames) |
bool | IsAnyDatabaseFieldInDoc () const |
bool | IsFieldDataSourceAvailable (OUString &rUsedDataSource) const |
Check whether DB fields point to an available data source and returns it. More... | |
void | UpdateExpFields (bool bCloseDB=false) |
only every expression fields update More... | |
void | LockExpFields () |
void | UnlockExpFields () |
bool | IsExpFieldsLocked () const |
SwFieldUpdateFlags | GetFieldUpdateFlags () const |
void | SetFieldUpdateFlags (SwFieldUpdateFlags eFlags) |
SwDBManager * | GetDBManager () const |
For evaluation of DB fields (new DB-manager). More... | |
SwFieldType * | InsertFieldType (const SwFieldType &) |
insert field type More... | |
bool | IsModified () const |
Changes in document? More... | |
void | SetModified () |
void | ResetModified () |
void | SetUndoNoResetModified () |
void | UpdateDocStat () |
Document - Statistics. More... | |
const SwDocStat & | GetUpdatedDocStat () |
void | Insert (const SwTOXMark &rMark) |
void | DeleteTOXMark (SwTOXMark const *pMark) |
void | GetCurTOXMarks (SwTOXMarks &rMarks) const |
Get all marks at current SPoint. More... | |
void | InsertTableOf (const SwTOXBase &rTOX, const SfxItemSet *pSet=nullptr) |
Insert content table. Renew if required. More... | |
void | UpdateTableOf (const SwTOXBase &rTOX, const SfxItemSet *pSet=nullptr) |
update tables of content More... | |
const SwTOXBase * | GetCurTOX () const |
Get current listing before or at the Cursor. More... | |
const SwTOXBase * | GetDefaultTOXBase (TOXTypes eTyp, bool bCreate=false) |
void | SetDefaultTOXBase (const SwTOXBase &rBase) |
void | SetTOXBaseReadonly (const SwTOXBase &rTOXBase, bool bReadonly) |
sal_uInt16 | GetTOXCount () const |
const SwTOXBase * | GetTOX (sal_uInt16 nPos) const |
bool | DeleteTOX (const SwTOXBase &rTOXBase, bool bDelNodes) |
void | SetUpdateTOX (bool bFlag) |
After reading file update all content tables. More... | |
bool | IsUpdateTOX () const |
sal_uInt16 | GetTOXTypeCount (TOXTypes eTyp) const |
Manage types of content tables. More... | |
const SwTOXType * | GetTOXType (TOXTypes eTyp, sal_uInt16 nId) const |
void | InsertTOXType (const SwTOXType &rTyp) |
OUString const & | GetTOIAutoMarkURL () const |
AutoMark file. More... | |
void | SetTOIAutoMarkURL (const OUString &rSet) |
void | ApplyAutoMark () |
void | GetTOIKeys (SwTOIKeyType eTyp, std::vector< OUString > &rArr) const |
Key for managing index. More... | |
void | SetOutlineNumRule (const SwNumRule &) |
const SwNumRule * | GetOutlineNumRule () const |
bool | OutlineUpDown (short nOffset=1) |
bool | MoveOutlinePara (SwOutlineNodes::difference_type nOffset) |
bool | IsProtectedOutlinePara () const |
const SwNumRule * | GetNumRuleAtCurrCursorPos () const |
const SwNumRule * | GetNumRuleAtCurrentSelection () const |
Returns the numbering rule found at the paragraphs of the current selection, if all paragraphs of the current selection have the same or none numbering rule applied. More... | |
void | SetCurNumRule (const SwNumRule &, const bool bCreateNewList, const OUString &sContinuedListId=OUString(), const bool bResetIndentAttrs=false) |
Optional parameter <bResetIndentAttrs> (default value false). More... | |
void | NoNum () |
Paragraphs without enumeration but with indents. More... | |
void | DelNumRules () |
Delete, split enumeration list. More... | |
void | NumUpDown (bool bDown=true) |
bool | MoveParagraph (SwNodeOffset nOffset=SwNodeOffset(1)) |
bool | MoveNumParas (bool bUpperLower, bool bUpperLeft) |
bool | NumOrNoNum (bool bDelete=false, bool bChkStart=true) |
Switch on/off of numbering via Delete/Backspace. More... | |
void | ChangeIndentOfAllListLevels (sal_Int32 nDiff) |
Remove unused default parameter <nLevel> and <bRelative>. More... | |
void | SetIndent (short nIndent, const SwPosition &rPos) |
bool | IsFirstOfNumRuleAtCursorPos () const |
bool | IsNoNum (bool bChkStart=true) const |
sal_uInt8 | GetNumLevel () const |
void | GetCurrentOutlineLevels (sal_uInt8 &rUpper, sal_uInt8 &rLower) |
Detect highest and lowest level to check moving of outline levels. More... | |
int | GetCurrentParaOutlineLevel () const |
Get Outline level of current paragraph. More... | |
bool | HasNumber () const |
bool | HasBullet () const |
bool | SelectionHasNumber () const |
bool | SelectionHasBullet () const |
OUString | GetUniqueNumRuleName () const |
void | ChgNumRuleFormats (const SwNumRule &rRule) |
void | SetNumRuleStart (bool bFlag, SwPaM *pCursor) |
Set (and query if) a numbering with StartFlag starts at current PointPos. More... | |
bool | IsNumRuleStart (SwPaM *pPaM=nullptr) const |
void | SetNodeNumStart (sal_uInt16 nStt) |
sal_uInt16 | GetNodeNumStart (SwPaM *pPaM) const |
void | ReplaceNumRule (const OUString &rOldRule, const OUString &rNewRule) |
const SwNumRule * | SearchNumRule (const bool bNum, OUString &sListId) |
Searches for a text node with a numbering rule. More... | |
void | DoUndo (bool bOn=true) |
Undo. More... | |
bool | DoesUndo () const |
void | DoGroupUndo (bool bUn) |
bool | DoesGroupUndo () const |
void | DelAllUndoObj () |
SwUndoId | StartUndo (SwUndoId eUndoId=SwUndoId::EMPTY, const SwRewriter *pRewriter=nullptr) |
Undo: set up Undo parenthesis, return nUndoId of this parenthesis. More... | |
SwUndoId | EndUndo (SwUndoId eUndoId=SwUndoId::EMPTY, const SwRewriter *pRewriter=nullptr) |
Closes parenthesis of nUndoId, not used by UI. More... | |
bool | GetLastUndoInfo (OUString *const o_pStr, SwUndoId *const o_pId, const SwView *pView=nullptr) const |
bool | GetFirstRedoInfo (OUString *const o_pStr, SwUndoId *const o_pId, const SwView *pView=nullptr) const |
SwUndoId | GetRepeatInfo (OUString *const o_pStr) const |
bool | CursorsLocked () const |
is it forbidden to modify cursors via API calls? More... | |
void | HandleUndoRedoContext (::sw::UndoRedoContext &rContext) |
set selections to those contained in the UndoRedoContext should only be called by sw::UndoManager! More... | |
void | Undo (sal_uInt16 const nCount=1, sal_uInt16 nOffset=0) |
void | Redo (sal_uInt16 const nCount=1) |
void | Repeat (sal_uInt16 const nCount) |
void | StartAllAction () |
For all views of this document. More... | |
void | EndAllAction () |
virtual void | CalcLayout () override |
To enable set up of StartActions and EndActions. More... | |
sal_uInt16 | GetCntType () const |
Determine form of content. Return Type at CurrentCursor->SPoint. More... | |
bool | HasOtherCnt () const |
Are there frames, footnotes, etc. More... | |
virtual void | ApplyViewOptions (const SwViewOption &rOpt) override |
Apply ViewOptions with Start-/EndAction. More... | |
virtual void | InfoReadOnlyDialog (bool) const |
Selected area has readonly content. More... | |
virtual bool | WarnHiddenSectionDialog () const |
Selected area has hidden content. More... | |
virtual bool | WarnSwitchToDesignModeDialog () const |
Switch to Design mode for Forms. More... | |
void | GetSelectedText (OUString &rBuf, ParaBreakType nHndlParaBreak=ParaBreakType::ToBlank) |
Query text within selection. More... | |
const Graphic * | GetGraphic (bool bWait=true) const |
const GraphicObject * | GetGraphicObj () const |
const GraphicAttr * | GetGraphicAttr (GraphicAttr &rGA) const |
bool | IsLinkedGrfSwapOut () const |
GraphicType | GetGraphicType () const |
const tools::PolyPolygon * | GetGraphicPolygon () const |
void | SetGraphicPolygon (const tools::PolyPolygon *pPoly) |
void | ClearAutomaticContour () |
If there's an automatic, not manipulated polygon at the selected notxtnode, it has to be deleted, e.g. More... | |
bool | GetGrfSize (Size &) const |
void | GetGrfNms (OUString *pGrfName, OUString *pFltName, const SwFlyFrameFormat *=nullptr) const |
Returns the name and the filter name of a graphic if the pointer is on a graphic. More... | |
void | ReRead (const OUString &rGrfName, const OUString &rFltName, const Graphic *pGraphic=nullptr) |
Re-read if graphic is not ok. Current graphic is replaced by the new one. More... | |
void * | GetIMapInventor () const |
Unique identification of object (for ImageMapDlg). More... | |
Graphic | GetIMapGraphic () const |
Remove default parameter, because method always called this default value. More... | |
const SwFlyFrameFormat * | FindFlyByName (const OUString &rName) const |
svt::EmbeddedObjectRef & | GetOLEObject () const |
Get OLE object at pointer. More... | |
bool | HasOLEObj (std::u16string_view rName) const |
Is there an OLEObject with this name (SwFormat)? More... | |
void | SetChartName (const OUString &rName) |
void | UpdateCharts (const OUString &rName) |
Update content of all charts for table with given name. More... | |
OUString | GetCurWord () const |
request current word More... | |
void | InsertGlossary (SwTextBlocks &rGlossary, const OUString &) |
Glossary from glossary document in current document. More... | |
sal_uInt16 | MakeGlossary (SwTextBlocks &rToFill, const OUString &rName, const OUString &rShortName, bool bSaveRelFile, const OUString *pOnlyText) |
Make current selection glossary and insert into glossary document including styles. More... | |
sal_uInt16 | SaveGlossaryDoc (SwTextBlocks &rGlossary, const OUString &rName, const OUString &rShortName, bool bSaveRelFile, bool bOnlyText) |
Save complete content of doc as glossary. More... | |
void | HyphStart (SwDocPositions eStart, SwDocPositions eEnd) |
Save selections. More... | |
void | HyphEnd () |
restore selections. More... | |
css::uno::Reference< css::uno::XInterface > | HyphContinue (sal_uInt16 *pPageCnt, sal_uInt16 *pPageSt) |
void | HyphIgnore () |
ignore hyphenation More... | |
const SwTable & | InsertTable (const SwInsertTableOptions &rInsTableOpts, sal_uInt16 nRows, sal_uInt16 nCols, const SwTableAutoFormat *pTAFormat=nullptr) |
Inserts an nRows x nCols table to the document at the current position. More... | |
void | InsertDDETable (const SwInsertTableOptions &rInsTableOpts, SwDDEFieldType *pDDEType, sal_uInt16 nRows, sal_uInt16 nCols) |
void | UpdateTable () |
update fields of a listing More... | |
void | SetTableName (SwFrameFormat &rTableFormat, const OUString &rNewName) |
change table name More... | |
SwFrameFormat * | GetTableFormat () |
bool | TextToTable (const SwInsertTableOptions &rInsTableOpts, sal_Unicode cCh, const SwTableAutoFormat *pTAFormat=nullptr) |
bool | TableToText (sal_Unicode cCh) |
bool | IsTextToTableAvailable () const |
bool | GetTableBoxFormulaAttrs (SfxItemSet &rSet) const |
void | SetTableBoxFormulaAttrs (const SfxItemSet &rSet) |
bool | IsTableBoxTextFormat () const |
OUString | GetTableBoxText () const |
TableChgMode | GetTableChgMode () const |
void | SetTableChgMode (TableChgMode eMode) |
void | SplitTable (SplitTable_HeadlineOption eMode) |
Split table at cursor position. More... | |
bool | CanMergeTable (bool bWithPrev=true, bool *pChkNxtPrv=nullptr) const |
Merge tables. More... | |
bool | MergeTable (bool bWithPrev) |
void | AppendUndoForInsertFromDB (bool bIsTable) |
Set up InsertDB as table Undo. More... | |
void | SpellStart (SwDocPositions eStart, SwDocPositions eEnd, SwDocPositions eCurr, SwConversionArgs *pConvArgs=nullptr) |
Functions used for spell checking and text conversion. More... | |
void | SpellEnd (SwConversionArgs const *pConvArgs=nullptr, bool bRestoreSelection=true) |
Restore selections. More... | |
css::uno::Any | SpellContinue (sal_uInt16 *pPageCnt, sal_uInt16 *pPageSt, SwConversionArgs const *pConvArgs) |
bool | SpellSentence (svx::SpellPortions &rToFill, bool bIsGrammarCheck) |
Spells on a sentence basis - the SpellPortions are needed. More... | |
void | ApplyChangedSentence (const svx::SpellPortions &rNewPortions, bool bRecheck) |
Applies a changed sentence. More... | |
void | HandleCorrectionError (const OUString &aText, SwPosition aPos, sal_Int32 nBegin, sal_Int32 nLen, const Point *pPt, SwRect &rSelectRect) |
css::uno::Reference< css::linguistic2::XSpellAlternatives > | GetCorrection (const Point *pPt, SwRect &rSelectRect) |
Get a list of potential corrections for misspelled word. More... | |
bool | GetGrammarCorrection (css::linguistic2::ProofreadingResult &rResult, sal_Int32 &rErrorPosInText, sal_Int32 &rErrorIndexInResult, css::uno::Sequence< OUString > &rSuggestions, const Point *pPt, SwRect &rSelectRect) |
void | SetLinguRange (SwDocPositions eStart, SwDocPositions eEnd) |
const SwFormatRefMark * | GetRefMark (std::u16string_view rName) const |
get the reference of a given name in the Doc More... | |
sal_uInt16 | GetRefMarks (std::vector< OUString > *=nullptr) const |
get the names of all references in a Doc More... | |
void | AutoCorrect (SvxAutoCorrect &rACorr, bool bInsertMode, sal_Unicode cChar) |
Call AutoCorrect. More... | |
OUString | GetPrevAutoCorrWord (SvxAutoCorrect &rACorr) |
std::vector< OUString > | GetChunkForAutoText () |
void | AutoFormat (const SvxSwAutoFormatFlags *pAFlags) |
Set our styles according to the respective rules. More... | |
OUString | Calculate () |
Calculates selection. More... | |
bool | InsertURL (const SwFormatINetFormat &rFormat, const OUString &rStr, bool bKeepSelection=false) |
void | GetINetAttrs (SwGetINetAttrs &rArr, bool bIncludeInToxContent=true) |
OUString | GetDropText (const sal_Int32 nChars) const |
void | ReplaceDropText (const OUString &rStr, SwPaM *pPaM=nullptr) |
bool | IsOutlineMovable (SwOutlineNodes::size_type nIdx) const |
May an outline be moved or copied? Check whether it's in text body, not in table, and not read-only (move). More... | |
bool | IsOutlineCopyable (SwOutlineNodes::size_type nIdx) const |
sal_Int32 | GetLineCount () |
bool | GetCurFootnote (SwFormatFootnote *pToFillFootnote=nullptr) |
Query and set footnote-text/number. Set... to current SSelection! More... | |
bool | SetCurFootnote (const SwFormatFootnote &rFillFootnote) |
bool | HasFootnotes (bool bEndNotes=false) const |
size_t | GetSeqFootnoteList (SwSeqFieldList &rList, bool bEndNotes=false) |
Give a List of all footnotes and their beginning texts. More... | |
SwSection const * | InsertSection (SwSectionData &rNewData, SfxItemSet const *const =nullptr) |
bool | IsInsRegionAvailable () const |
const SwSection * | GetCurrSection () const |
SwSection * | GetAnySection (bool bOutOfTab=false, const Point *pPt=nullptr) |
Deliver the responsible area of the columns. More... | |
size_t | GetSectionFormatCount () const |
size_t | GetSectionFormatPos (const SwSectionFormat &) const |
const SwSectionFormat & | GetSectionFormat (size_t nFormat) const |
void | DelSectionFormat (size_t nFormat) |
void | UpdateSection (size_t const nSect, SwSectionData &, SfxItemSet const *const =nullptr) |
bool | IsAnySectionInDoc () const |
OUString | GetUniqueSectionName (const OUString *pChkStr=nullptr) const |
void | SetSectionAttr (const SfxItemSet &rSet, SwSectionFormat *pSectFormat=nullptr) |
Set attributes. More... | |
sal_uInt16 | GetFullSelectedSectionCount () const |
Search inside the cursor selection for full selected sections. More... | |
void | DoSpecialInsert () |
Special insert: Insert a new text node just before or after a section or table, if the cursor is positioned at the start/end of said section/table. More... | |
bool | CanSpecialInsert () const |
a node can be special-inserted (alt-Enter) whenever lcl_SpecialInsertNode finds a suitable position More... | |
void | SetNewDoc () |
Optimizing UI. More... | |
sfx2::LinkManager & | GetLinkManager () |
const sfx2::LinkManager & | GetLinkManager () const |
bool | IsMoveLeftMargin (bool bRight, bool bModulus=true) const |
Adjust left margin via object bar (similar to adjustment of numerations). More... | |
void | MoveLeftMargin (bool bRight, bool bModulus=true) |
SvNumberFormatter * | GetNumberFormatter () |
Query NumberFormatter from document. More... | |
const SvNumberFormatter * | GetNumberFormatter () const |
bool | IsGlobalDoc () const |
Interfaces for GlobalDocument. More... | |
void | SetGlblDocSaveLinks (bool bFlag) |
bool | IsGlblDocSaveLinks () const |
void | GetGlobalDocContent (SwGlblDocContents &rArr) const |
void | InsertGlobalDocContent (const SwGlblDocContent &rPos, SwSectionData &rNew) |
bool | InsertGlobalDocContent (const SwGlblDocContent &rPos, const SwTOXBase &rTOX) |
bool | InsertGlobalDocContent (const SwGlblDocContent &rPos) |
void | DeleteGlobalDocContent (const SwGlblDocContents &rArr, size_t nPos) |
bool | MoveGlobalDocContent (const SwGlblDocContents &rArr, size_t nFromPos, size_t nToPos, size_t nNewPos) |
void | GotoGlobalDocContent (const SwGlblDocContent &rPos) |
RedlineFlags | GetRedlineFlags () const |
For Redlining. More... | |
void | SetRedlineFlags (RedlineFlags eMode) |
bool | IsRedlineOn () const |
SwRedlineTable::size_type | GetRedlineCount () const |
const SwRangeRedline & | GetRedline (SwRedlineTable::size_type nPos) const |
bool | AcceptRedline (SwRedlineTable::size_type nPos) |
bool | RejectRedline (SwRedlineTable::size_type nPos) |
bool | AcceptRedlinesInSelection () |
bool | RejectRedlinesInSelection () |
SwRedlineTable::size_type | FindRedlineOfData (const SwRedlineData &) const |
Search Redline for this Data and. More... | |
bool | SetRedlineComment (const OUString &rS) |
Set comment to Redline at position. More... | |
const SwRangeRedline * | GetCurrRedline () const |
void | UpdateRedlineAttr () |
Redline attributes have been changed. Updated views. More... | |
tools::Long | CompareDoc (const SwDoc &rDoc) |
Compare two documents. More... | |
tools::Long | MergeDoc (const SwDoc &rDoc) |
Merge two documents. More... | |
const SwFootnoteInfo & | GetFootnoteInfo () const |
Footnote attributes global to document. More... | |
void | SetFootnoteInfo (const SwFootnoteInfo &rInfo) |
const SwEndNoteInfo & | GetEndNoteInfo () const |
void | SetEndNoteInfo (const SwEndNoteInfo &rInfo) |
const SwLineNumberInfo & | GetLineNumberInfo () const |
void | SetLineNumberInfo (const SwLineNumberInfo &rInfo) |
void | SetLabelDoc (bool bFlag) |
Labels: Synchronize ranges. More... | |
bool | IsLabelDoc () const |
void | CreateExtTextInput (LanguageType eInputLanguage) |
Interface for TextInputData - (for input of Japanese/Chinese chars.) More... | |
OUString | DeleteExtTextInput (bool bInsText=true) |
void | SetExtTextInputData (const CommandExtTextInputData &) |
bool | IsParagraphSignatureValidationEnabled () const |
Returns true iff paragraph signature validation is enabled. More... | |
bool | SetParagraphSignatureValidation (const bool bEnable) |
Enable/Disable paragraph signature validation and return the previous value. More... | |
sal_uInt16 | GetScalingOfSelectedText () const |
bool | IsNbspRunNext () const |
SwEditShell (SwDoc &, vcl::Window *, const SwViewOption *pOpt) | |
Ctor/Dtor. More... | |
SwEditShell (SwEditShell &, vcl::Window *) | |
Copy-Constructor in disguise. More... | |
virtual | ~SwEditShell () override |
Public Member Functions inherited from SwCursorShell | |
SAL_DLLPRIVATE void | UpdateCursor (sal_uInt16 eFlags=SwCursorShell::SCROLLWIN|SwCursorShell::CHKRANGE, bool bIdleEnd=false) |
SwCursorShell (SwDoc &rDoc, vcl::Window *pWin, const SwViewOption *pOpt) | |
default constructor More... | |
SwCursorShell (SwCursorShell &rShell, vcl::Window *pWin) | |
Copy constructor. More... | |
virtual | ~SwCursorShell () override |
virtual SwCursor & | CreateNewShellCursor () override |
Create and return a new shell cursor. More... | |
virtual SwCursor & | GetCurrentShellCursor () override |
Return the current shell cursor. More... | |
SwPaM * | CreateCursor () |
delete the current cursor and make the following into the current More... | |
void | DestroyCursor () |
transform TableCursor to normal cursor, nullify Tablemode More... | |
void | TableCursorToCursor () |
enter block mode, change normal cursor into block cursor More... | |
void | CursorToBlockCursor () |
leave block mode, change block cursor into normal cursor More... | |
void | BlockCursorToCursor () |
void | ExtendedSelectAll (bool bFootnotes=true) |
::std::optional<::std::pair< SwNode const *, ::std::vector< SwTableNode * > > > | ExtendedSelectedAll () const |
If ExtendedSelectAll() was called and selection didn't change since then. More... | |
StartsWith | StartsWith_ () |
If document body starts with a table or starts/ends with hidden paragraph. More... | |
SwCursor * | GetCursor (bool bMakeTableCursor=true) const |
Return pointer to the current shell cursor. More... | |
SwShellCursor * | GetCursor_ () |
const SwShellCursor * | GetCursor_ () const |
void | SetSelection (const SwPaM &rCursor) |
void | ParkCursor (const SwNode &rIdx) |
Remove selections and additional cursors of all shells. More... | |
SwPaM * | GetStackCursor () const |
void | StartAction () |
void | EndAction (const bool bIdleEnd=false) |
tools::Long | GetUpDownX () const |
bool | Left (sal_uInt16 nCnt, SwCursorSkipMode nMode, bool bAllowVisual=false) |
bool | Right (sal_uInt16 nCnt, SwCursorSkipMode nMode, bool bAllowVisual=false) |
bool | Up (sal_uInt16 nCnt=1) |
bool | Down (sal_uInt16 nCnt=1) |
bool | LeftMargin () |
bool | RightMargin (bool bAPI=false) |
bool | SttEndDoc (bool bStt) |
bool | MovePage (SwWhichPage, SwPosPage) |
bool | MovePara (SwWhichPara, SwMoveFnCollection const &) |
bool | MoveSection (SwWhichSection, SwMoveFnCollection const &) |
bool | MoveTable (SwWhichTable, SwMoveFnCollection const &) |
void | MoveColumn (SwWhichColumn, SwPosColumn) |
bool | MoveRegion (SwWhichRegion, SwMoveFnCollection const &) |
sal_Int32 | Find_Text (const i18nutil::SearchOptions2 &rSearchOpt, bool bSearchInNotes, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, bool bReplace=false) |
sal_Int32 | FindFormat (const SwTextFormatColl &rFormatColl, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, const SwTextFormatColl *pReplFormat) |
sal_Int32 | FindAttrs (const SfxItemSet &rSet, bool bNoCollections, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, const i18nutil::SearchOptions2 *pSearchOpt, const SfxItemSet *rReplSet) |
int | SetCursor (const Point &rPt, bool bOnlyText=false, bool bBlock=true) |
virtual void | VisPortChgd (const SwRect &) override |
void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
void | SetMark () |
bool | HasMark () const |
void | ClearMark () |
void | NormalizePam (bool bPointFirst=true) |
Ensure point and mark of the current PaM are in a specific order. More... | |
void | SwapPam () |
bool | TestCurrPam (const Point &rPt, bool bTstHit=false) |
Search in the selected area for a Selection that covers the given point. More... | |
void | KillPams () |
void | Push () |
store a copy of the current cursor on the cursor stack More... | |
bool | Pop (PopMode, ::std::optional< SwCallLink > &roLink) |
bool | Pop (PopMode) |
delete cursor More... | |
void | Combine () |
Combine two cursors. More... | |
void | SttCursorMove () |
void | EndCursorMove (const bool bIdleEnd=false) |
bool | HasShellFocus () const |
void | ShellLoseFocus () |
void | ShellGetFocus () |
void | ShowCursor () |
void | HideCursor () |
void | ShowCursors (bool bCursorVis) |
void | HideCursors () |
bool | IsOverwriteCursor () const |
void | SetOverwriteCursor (bool bFlag) |
bool | IsSendAccessibleCursorEvents () const |
void | SetSendAccessibleCursorEvents (bool bEnable) |
SwContentFrame * | GetCurrFrame (const bool bCalcFrame=true) const |
Get current frame in which the cursor is positioned. More... | |
bool | IsCursorReadonly () const |
bool | HasReadonlySel (bool isReplace=false) const |
bool | HasHiddenSections () const |
bool | IsReadOnlyAvailable () const |
void | SetReadOnlyAvailable (bool bFlag) |
is the cursor allowed to enter ReadOnly sections? More... | |
bool | IsOverReadOnlyPos (const Point &rPt) const |
void | SetFlyMacroLnk (const Link< const SwFlyFrameFormat *, void > &rLnk) |
const Link< const SwFlyFrameFormat *, void > & | GetFlyMacroLnk () const |
void | SetChgLnk (const Link< LinkParamNone *, void > &rLnk) |
const Link< LinkParamNone *, void > & | GetChgLnk () const |
void | SetGrfArrivedLnk (const Link< SwCursorShell &, void > &rLnk) |
const Link< SwCursorShell &, void > & | GetGrfArrivedLnk () const |
void | CallChgLnk () |
bool | HasSelection () const |
Does the current cursor create a selection? More... | |
bool | IsSelection () const |
bool | IsMultiSelection () const |
bool | IsSelFullPara () const |
bool | ShouldWait () const |
Should WaitPtr be switched on for the clipboard? More... | |
bool | IsSelOnePara () const |
const SwRect & | GetCharRect () const |
bool | IsCursorVisible () const |
void | GetCharRectAt (SwRect &rRect, const SwPosition *pPos) |
void | GetPageNum (sal_uInt16 &rnPhyNum, sal_uInt16 &rnVirtNum, bool bAtCursorPos=true, const bool bCalcFrame=true) |
sal_uInt16 | GetPageNumSeqNonEmpty () |
sal_uInt16 | GetNextPrevPageNum (bool bNext=true) |
bool | GotoPage (sal_uInt16 nPage) |
sal_uInt16 | GetPageCnt () |
bool | GoNextCursor () |
go to the next SSelection More... | |
bool | GoPrevCursor () |
go to the previous SSelection More... | |
void | GoNextPrevCursorSetSearchLabel (const bool bNext) |
::sw::mark::IMark * | SetBookmark (const vcl::KeyCode &, const OUString &rName, IDocumentMarkAccess::MarkType eMark=IDocumentMarkAccess::MarkType::BOOKMARK) |
::sw::mark::IMark * | SetBookmark2 (const vcl::KeyCode &, const OUString &rName, bool bHide, const OUString &rCondition) |
bool | GotoMark (const ::sw::mark::IMark *const pMark) |
bool | GotoMark (const ::sw::mark::IMark *const pMark, bool bAtStart) |
bool | GoNextBookmark () |
bool | GoPrevBookmark () |
bool | IsFormProtected () |
::sw::mark::IFieldmark * | GetCurrentFieldmark () |
sw::mark::IFieldmark * | GetFieldmarkAfter (bool bLoop) |
sw::mark::IFieldmark * | GetFieldmarkBefore (bool bLoop) |
bool | GotoFieldmark (const ::sw::mark::IFieldmark *const pMark) |
void | UpdateCursorPos () |
Set the cursor back into content. More... | |
OUString | GetSelText () const |
get selected text of a node at current cursor More... | |
const SwTableNode * | IsCursorInTable () const |
Check if Point of current cursor is placed within a table. More... | |
bool | MoveOutOfTable () |
bool | TrySelectOuterTable () |
bool | MoveStartText () |
bool | IsCursorInFootnote () const |
Point & | GetCursorDocPos () const |
Point | GetCursorPagePos () const |
bool | IsCursorPtAtEnd () const |
const SwPaM * | GetTableCrs () const |
SwPaM * | GetTableCrs () |
bool | IsTableComplexForChart () |
OUString | GetBoxNms () const |
bool | GoNextCell (bool bAppendLine=true) |
set cursor into next/previous cell More... | |
bool | GoPrevCell () |
bool | GotoTable (const OUString &rName) |
bool | SelTableRow () |
bool | SelTableCol () |
bool | SelTableBox () |
bool | SelTable () |
void | GotoNextNum () |
go to next/previous point on the same level More... | |
void | GotoPrevNum () |
bool | GotoOutline (const OUString &rName) |
void | GotoOutline (SwOutlineNodes::size_type nIdx) |
SwOutlineNodes::size_type | GetOutlinePos (sal_uInt8 nLevel=UCHAR_MAX, SwPaM *pPaM=nullptr) |
search "outline position" before previous outline node at given level More... | |
void | MakeOutlineSel (SwOutlineNodes::size_type nSttPos, SwOutlineNodes::size_type nEndPos, bool bWithChildren, bool bKillPams=true) |
bool | GotoNextOutline () |
jump to next node with outline num. More... | |
bool | GotoPrevOutline () |
jump to previous node with outline num. More... | |
SwShellCursor * | getShellCursor (bool bBlock) |
Delivers the current shell cursor. More... | |
const SwShellCursor * | getShellCursor (bool bBlock) const |
bool | IsBlockMode () const |
bool | IsTableMode () const |
const SwShellTableCursor * | GetTableCursor () const |
SwShellTableCursor * | GetTableCursor () |
size_t | UpdateTableSelBoxes () |
bool | GotoFootnoteText () |
jump from content to footnote More... | |
bool | GotoFootnoteAnchor () |
jump from footnote to anchor More... | |
bool | GotoPrevFootnoteAnchor () |
bool | GotoNextFootnoteAnchor () |
void | GotoFlyAnchor () |
jump from the frame to the anchor More... | |
bool | GotoHeaderText () |
jump from the content to the header More... | |
bool | GotoFooterText () |
jump from the content to the footer More... | |
bool | SetCursorInHdFt (size_t nDescNo, bool bInHeader, bool bEven=false, bool bFirst=false) |
bool | IsInHeaderFooter (bool *pbInHeader=nullptr) const |
bool | GotoNextTOXBase (const OUString *=nullptr) |
jump to the next index More... | |
bool | GotoPrevTOXBase (const OUString *=nullptr) |
jump to previous index More... | |
void | GotoTOXMarkBase () |
jump to index of TOXMark More... | |
bool | GotoNxtPrvTOXMark (bool bNext=true) |
jump to next/previous index marker More... | |
const SwTOXMark & | GotoTOXMark (const SwTOXMark &rStart, SwTOXSearch eDir) |
traveling between marks More... | |
bool | GotoNxtPrvTableFormula (bool bNext=true, bool bOnlyErrors=false) |
Jump to next/previous table formula Optionally it is possible to also jump to broken formulas. More... | |
bool | SelectNxtPrvHyperlink (bool bNext) |
bool | GotoRefMark (const OUString &rRefMark, sal_uInt16 nSubType, sal_uInt16 nSeqNo) |
jump to reference marker More... | |
sal_Unicode | GetChar (bool bEnd=true, tools::Long nOffset=0) |
get the nth character of the current SSelection More... | |
bool | ExtendSelection (bool bEnd=true, sal_Int32 nCount=1) |
extend current SSelection by n characters More... | |
bool | SetVisibleCursor (const Point &rPt) |
Move visible cursor to given position in document. More... | |
void | UnSetVisibleCursor () |
SwVisibleCursor * | GetVisibleCursor () const |
bool | MoveFieldType (const SwFieldType *pFieldType, const bool bNext, const SwFieldIds nResType=SwFieldIds::Unknown, const bool bAddSetExpressionFieldsToInputFields=true) |
bool | GotoFormatField (const SwFormatField &rField) |
bool | GotoFormatContentControl (const SwFormatContentControl &rContentControl) |
void | GotoFormControl (bool bNext) |
Go to the next (or previous) form control, based first on tabIndex and then paragraph position, where a tabIndex of 1 is first, 0 is last, and -1 is excluded. More... | |
SwField * | GetCurField (const bool bIncludeInputFieldAtStart=false) const |
bool | CursorInsideInputField () const |
SwTextContentControl * | CursorInsideContentControl () const |
bool | DocPtInsideInputField (const Point &rDocPt) const |
sal_uInt16 | GetCursorCnt (bool bAll=true) const |
Get the number of elements in the ring of cursors. More... | |
bool | GoStartWord () |
bool | GoEndWord () |
bool | GoNextWord () |
bool | GoPrevWord () |
bool | GoNextSentence () |
bool | GoStartSentence () |
bool | GoEndSentence () |
bool | SelectWord (const Point *pPt) |
void | ExpandToSentenceBorders () |
bool | IsStartWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const |
bool | IsEndWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const |
bool | IsInWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const |
bool | IsStartSentence () const |
bool | IsEndSentence () const |
bool | IsSttPara () const |
bool | IsEndPara () const |
bool | IsEndOfTable () const |
at the very last SwPosition inside a table More... | |
bool | IsStartOfDoc () const |
bool | IsEndOfDoc () const |
bool | IsInFrontOfLabel () const |
bool | IsAtLeftMargin () const |
bool | IsAtRightMargin () const |
bool | ParkTableCursor () |
Invalidate cursors. More... | |
bool | IsGCAttr () const |
void | ClearGCAttr () |
void | UpdateAttr () |
bool | IsAllProtect () const |
bool | GotoRegion (std::u16string_view rName) |
virtual void | MakeSelVisible () |
show the current selected "object" More... | |
bool | FindValidContentNode (bool bOnlyText) |
search a valid content position (not protected/hidden) More... | |
bool | GetContentAtPos (const Point &rPt, SwContentAtPos &rContentAtPos, bool bSetCursor=false, SwRect *pFieldRect=nullptr) |
const SwPostItField * | GetPostItFieldAtCursor () const |
void | GetSmartTagRect (const Point &rPt, SwRect &rSelectRect) |
void | GetSmartTagTerm (std::vector< OUString > &rSmartTagTypes, css::uno::Sequence< css::uno::Reference< css::container::XStringKeyMap > > &rStringKeyMaps, css::uno::Reference< css::text::XTextRange > &rRange) const |
bool | IsPageAtPos (const Point &rPt) const |
bool | SelectTextAttr (sal_uInt16 nWhich, bool bExpand, const SwTextAttr *pAttr=nullptr) |
bool | GotoINetAttr (const SwTextINetFormat &rAttr) |
const SwFormatINetFormat * | FindINetAttr (std::u16string_view rName) const |
bool | SelectTextModel (sal_Int32 nStart, sal_Int32 nEnd) |
bool | CheckTableBoxContent (const SwPosition *pPos=nullptr) |
void | SaveTableBoxContent (const SwPosition *pPos=nullptr) |
void | ClearTableBoxContent () |
bool | EndAllTableBoxEdit () |
void | SetSelTableCells (bool bFlag) |
bool | IsSelTableCells () const |
void | UnsetEnhancedTableSelection () |
SwTable::SearchType | GetEnhancedTableSelection () const |
bool | IsAutoUpdateCells () const |
void | SetAutoUpdateCells (bool bFlag) |
bool | GetShadowCursorPos (const Point &rPt, SwFillMode eFillMode, SwRect &rRect, sal_Int16 &rOrient) |
bool | SetShadowCursorPos (const Point &rPt, SwFillMode eFillMode) |
const SwRangeRedline * | SelNextRedline () |
const SwRangeRedline * | SelPrevRedline () |
const SwRangeRedline * | GotoRedline (SwRedlineTable::size_type nArrPos, bool bSelect) |
bool | GotoFootnoteAnchor (const SwTextFootnote &rTextFootnote) |
SAL_DLLPRIVATE SvxFrameDirection | GetTextDirection (const Point *pPt=nullptr) const |
bool | IsInVerticalText (const Point *pPt=nullptr) const |
bool | IsInRightToLeftText () const |
bool | bColumnChange () |
bool | IsInHiddenRange (const bool bSelect) |
If the current cursor position is inside a hidden range true is returned. More... | |
void | ClearUpCursors () |
void | SetMacroExecAllowed (const bool _bMacroExecAllowed) |
bool | IsMacroExecAllowed () const |
OUString | GetCursorDescr () const |
Returns textual description of the current selection. More... | |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
OUString | getPageRectangles () |
Implementation of lok::Document::getPartPageRectangles() for Writer. More... | |
void | NotifyCursor (SfxViewShell *pViewShell) const |
See SwView::NotifyCursor(). More... | |
Public Member Functions inherited from SwViewShell | |
SwViewShellImp * | Imp () |
const SwViewShellImp * | Imp () const |
const SwNodes & | GetNodes () const |
void | InitPrt (OutputDevice *pOutDev) |
void | StartAction () |
void | ImplStartAction () |
void | EndAction (const bool bIdleEnd=false) |
void | ImplEndAction (const bool bIdleEnd) |
sal_uInt16 | ActionCount () const |
bool | ActionPend () const |
bool | IsInEndAction () const |
void | SetRestoreActions (sal_uInt16 nSet) |
sal_uInt16 | GetRestoreActions () const |
bool | HasInvalidRect () const |
void | ChgHyphenation () |
void | ChgNumberDigits () |
bool | AddPaintRect (const SwRect &rRect) |
void | InvalidateWindows (const SwRect &rRect) |
void | FlushPendingLOKInvalidateTiles () |
void | Reformat () |
Invalidates complete Layout (ApplyViewOption). More... | |
void | PrePaint () |
void | DLPrePaint2 (const vcl::Region &rRegion) |
void | DLPostPaint2 (bool bPaintFormLayer) |
const MapMode & | getPrePostMapMode () const |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) |
void | PaintTile (VirtualDevice &rDevice, int contextWidth, int contextHeight, int tilePosX, int tilePosY, tools::Long tileWidth, tools::Long tileHeight) |
Paint tile. More... | |
bool | IsPaintInProgress () const |
bool | IsDrawingLayerPaintInProgress () const |
virtual void | VisPortChgd (const SwRect &) |
bool | SmoothScroll (tools::Long lXDiff, tools::Long lYDiff, const tools::Rectangle *) |
void | EnableSmooth (bool b) |
const SwRect & | VisArea () const |
const tools::Rectangle & | getLOKVisibleArea () const |
The visible area in the client (set by setClientVisibleArea). More... | |
void | setLOKVisibleArea (const tools::Rectangle &rArea) |
void | MakeVisible (const SwRect &) |
void | SizeChgNotify () |
void | UISizeNotify () |
Point | GetPagePos (sal_uInt16 nPageNum) const |
sal_uInt16 | GetNumPages () const |
bool | IsDummyPage (sal_uInt16 nPageNum) const |
void | SetFirstVisPageInvalid () |
SwRootFrame * | GetLayout () const |
bool | IsNewLayout () const |
Size | GetDocSize () const |
virtual void | CalcLayout () |
sal_uInt16 | GetPageCount () const |
Size | GetPageSize (sal_uInt16 nPageNum, bool bSkipEmptyPages) const |
SwDoc * | GetDoc () const |
const IDocumentSettingAccess & | getIDocumentSettingAccess () const |
Provides access to the document setting interface. More... | |
IDocumentSettingAccess & | getIDocumentSettingAccess () |
const IDocumentDeviceAccess & | getIDocumentDeviceAccess () const |
Provides access to the document device interface. More... | |
IDocumentDeviceAccess & | getIDocumentDeviceAccess () |
const IDocumentMarkAccess * | getIDocumentMarkAccess () const |
Provides access to the document bookmark interface. More... | |
IDocumentMarkAccess * | getIDocumentMarkAccess () |
const IDocumentDrawModelAccess & | getIDocumentDrawModelAccess () const |
Provides access to the document draw model interface. More... | |
IDocumentDrawModelAccess & | getIDocumentDrawModelAccess () |
const IDocumentRedlineAccess & | getIDocumentRedlineAccess () const |
Provides access to the document redline interface. More... | |
IDocumentRedlineAccess & | getIDocumentRedlineAccess () |
const IDocumentLayoutAccess & | getIDocumentLayoutAccess () const |
Provides access to the document layout interface. More... | |
IDocumentLayoutAccess & | getIDocumentLayoutAccess () |
IDocumentContentOperations & | getIDocumentContentOperations () |
Provides access to the content operations interface. More... | |
IDocumentStylePoolAccess & | getIDocumentStylePoolAccess () |
Provides access to the document style pool interface. More... | |
const IDocumentStatistics & | getIDocumentStatistics () const |
Provides access to the document statistics interface. More... | |
IDocumentUndoRedo const & | GetIDocumentUndoRedo () const |
Provides access to the document undo/redo interface. More... | |
IDocumentUndoRedo & | GetIDocumentUndoRedo () |
const IDocumentListItems * | getIDocumentListItemsAccess () const |
const IDocumentOutlineNodes * | getIDocumentOutlineNodesAccess () const |
vcl::RenderContext & | GetRefDev () const |
vcl::Window * | GetWin () const |
vcl::RenderContext * | GetOut () const |
void | SetWin (vcl::Window *win) |
void | SetOut (vcl::RenderContext *pOut) |
void | ChgAllPageOrientation (Orientation eOri) |
void | ChgAllPageSize (Size const &rSz) |
bool | PrintOrPDFExport (OutputDevice *pOutDev, SwPrintData const &rPrintData, sal_Int32 nRenderer, bool bIsPDFExport) |
void | PrintProspect (OutputDevice *pOutDev, const SwPrintData &rPrintData, sal_Int32 nRenderer) |
print brochure More... | |
void | FillPrtDoc (SwDoc &rPrtDoc, const SfxPrinter *pPrt) |
void | CalcPagesForPrint (sal_uInt16 nMax) |
void | UpdateFields (bool bCloseDB=false) |
Forces update of each field. More... | |
bool | IsAnyFieldInDoc () const |
Check if the DocNodesArray contains fields. More... | |
void | UpdateOleObjectPreviews () |
Update the previews of all OLE objects. More... | |
void | UpdateAllCharts () |
update all charts for which any table exists More... | |
bool | HasCharts () const |
void | SetParaSpaceMax (bool bNew) |
void | SetParaSpaceMaxAtPages (bool bNew) |
void | SetTabCompat (bool bNew) |
void | SetAddExtLeading (bool bNew) |
void | SetAddParaSpacingToTableCells (bool _bAddParaSpacingToTableCells) |
Sets if paragraph and table spacing is added at bottom of table cells. More... | |
void | SetUseFormerLineSpacing (bool _bUseFormerLineSpacing) |
Sets if former formatting of text lines with proportional line spacing should used. More... | |
void | SetUseFormerObjectPositioning (bool _bUseFormerObjPos) |
Sets IDocumentSettingAccess if former object positioning should be used. More... | |
void | SetConsiderWrapOnObjPos (bool _bConsiderWrapOnObjPos) |
void | SetUseFormerTextWrapping (bool _bUseFormerTextWrapping) |
void | SetDoNotJustifyLinesWithManualBreak (bool _bDoNotJustifyLinesWithManualBreak) |
void | SetProtectForm (bool _bProtectForm) |
void | SetMsWordCompTrailingBlanks (bool _bMsWordCompTrailingBlanks) |
void | SetSubtractFlysAnchoredAtFlys (bool bSubtractFlysAnchoredAtFlys) |
void | SetEmptyDbFieldHidesPara (bool bEmptyDbFieldHidesPara) |
void | LayoutIdle () |
const SwViewOption * | GetViewOptions () const |
virtual void | ApplyViewOptions (const SwViewOption &rOpt) |
void | SetUIOptions (const SwViewOption &rOpt) |
virtual void | SetReadonlyOption (bool bSet) |
void | SetPDFExportOption (bool bSet) |
void | SetPrtFormatOption (bool bSet) |
void | SetReadonlySelectionOption (bool bSet) |
const SwAccessibilityOptions * | GetAccessibilityOptions () const |
SfxViewShell * | GetSfxViewShell () const |
void | SetSfxViewShell (SfxViewShell *pNew) |
virtual void | DrawSelChanged () |
SwPagePreviewLayout * | PagePreviewLayout () |
void | AdjustOptionsForPagePreview (SwPrintData const &rPrintOptions) |
adjust view options for page preview More... | |
bool | IsViewLocked () const |
void | LockView (bool b) |
void | LockPaint (LockPaintReason eReason) |
void | ImplLockPaint () |
void | UnlockPaint (bool bVirDev=false) |
void | ImplUnlockPaint (std::vector< LockPaintReason > &rReasons, bool bVirDev) |
bool | IsPaintLocked () const |
bool | HasDrawView () const |
void | MakeDrawView () |
bool | HasDrawViewDrag () const |
SdrView * | GetDrawView () |
const SdrView * | GetDrawView () const |
SdrView * | GetDrawViewWithValidMarkList () |
const SfxItemPool & | GetAttrPool () const |
SfxItemPool & | GetAttrPool () |
bool | IsPreview () const |
void | InvalidateLayout (bool bSizeChanged) |
const Size & | GetBrowseBorder () const |
sal_Int32 | GetBrowseWidth () const |
void | SetBrowseBorder (const Size &rNew) |
css::uno::Reference< css::accessibility::XAccessible > | CreateAccessible () |
css::uno::Reference< css::accessibility::XAccessible > | CreateAccessiblePreview () |
void | ShowPreviewSelection (sal_uInt16 nSelPage) |
void | InvalidateAccessibleFocus () |
void | ApplyAccessibilityOptions () |
void | InvalidateAccessibleParaFlowRelation (const SwTextFrame *_pFromTextFrame, const SwTextFrame *_pToTextFrame) |
invalidate CONTENT_FLOWS_FROM/_TO relation for paragraphs More... | |
void | InvalidateAccessibleParaTextSelection () |
invalidate text selection for paragraphs More... | |
void | InvalidateAccessibleParaAttrs (const SwTextFrame &rTextFrame) |
invalidate attributes for paragraphs and paragraph's characters More... | |
SwAccessibleMap * | GetAccessibleMap () |
SwViewShell (SwViewShell &, vcl::Window *pWin, OutputDevice *pOut=nullptr, tools::Long nFlags=0) | |
CTor for further Shells on a document. More... | |
SwViewShell (SwDoc &rDoc, vcl::Window *pWin, const SwViewOption *pOpt, OutputDevice *pOut=nullptr, tools::Long nFlags=0) | |
CTor for the first Shell. More... | |
virtual | ~SwViewShell () override |
sal_Int32 | GetPageNumAndSetOffsetForPDF (OutputDevice &rOut, const SwRect &rRect) const |
bool | IsInConstructor () const |
const BitmapEx & | GetReplacementBitmap (bool bIsErrorState) |
void | DeleteReplacementBitmaps () |
const SwPostItMgr * | GetPostItMgr () const |
SwPostItMgr * | GetPostItMgr () |
void | ToggleHeaderFooterEdit () |
Acts both for headers / footers, depending on the bShow(Header|Footer)Separator flags. More... | |
bool | IsHeaderFooterEdit () const |
Acts both for headers / footers, depending on the bShow(Header|Footer)Separator flags. More... | |
bool | IsShowHeaderFooterSeparator (FrameControlType eControl) |
virtual void | SetShowHeaderFooterSeparator (FrameControlType eControl, bool bShow) |
bool | IsSelectAll () const |
void | setOutputToWindow (bool bOutputToWindow) |
bool | isOutputToWindow () const |
void | OnGraphicArrived (const SwRect &) |
void | GetFirstLastVisPageNumbers (SwVisiblePageNumbers &rVisiblePageNumbers) |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Public Member Functions inherited from sw::Ring< SwViewShell > | |
virtual | ~Ring () COVERITY_NOEXCEPT_FALSE |
void | unlink () |
algo::unlink is buggy! don't call it directly! More... | |
void | MoveTo (SwViewShell *pDestRing) |
Removes this item from its current ring container and adds it to another ring container. More... | |
ring_container | GetRingContainer () |
const_ring_container | GetRingContainer () const |
Public Member Functions inherited from sw::IShellCursorSupplier | |
virtual | ~IShellCursorSupplier () |
virtual SwCursor & | CreateNewShellCursor ()=0 |
virtual SwCursor & | GetCurrentShellCursor ()=0 |
Static Public Member Functions | |
static bool | IsTOXBaseReadonly (const SwTOXBase &rTOXBase) |
static void | InsertSoftHyph (const sal_Int32 nHyphPos) |
For Inserting SoftHyphen. Position is offset within the syllabificated word. More... | |
static void | PutSpellingToSentenceStart () |
Make SpellIter start with the current sentence when called next time. More... | |
static void | MoveContinuationPosToEndOfCheckedSentence () |
Moves the continuation position to the end of the currently checked sentence. More... | |
static bool | HasLastSentenceGotGrammarChecked () |
Check SwSpellIter data to see if the last sentence got grammar checked. More... | |
static bool | HasConvIter () |
Is text conversion active somewhere else? More... | |
static bool | HasHyphIter () |
Is hyphenation active somewhere else? More... | |
static void | IgnoreGrammarErrorAt (SwPaM &rErrorPosition) |
static SvxSwAutoFormatFlags * | GetAutoFormatFlags () |
static void | SetAutoFormatFlags (SvxSwAutoFormatFlags const *) |
static SwAutoCompleteWord & | GetAutoCompleteWords () |
Interface for access to AutoComplete-list. More... | |
Static Public Member Functions inherited from SwCursorShell | |
static SwTextField * | GetTextFieldAtPos (const SwPosition *pPos, ::sw::GetTextAttrMode eMode) |
static SwTextField * | GetTextFieldAtCursor (const SwPaM *pCursor, ::sw::GetTextAttrMode eMode) |
static SwField * | GetFieldAtCursor (const SwPaM *pCursor, const bool bIncludeInputFieldAtStart) |
static bool | PosInsideInputField (const SwPosition &rPos) |
static sal_Int32 | StartOfInputFieldAtPos (const SwPosition &rPos) |
static sal_Int32 | EndOfInputFieldAtPos (const SwPosition &rPos) |
static void | FirePageChangeEvent (sal_uInt16 nOldPage, sal_uInt16 nNewPage) |
static void | FireSectionChangeEvent (sal_uInt16 nOldSection, sal_uInt16 nNewSection) |
static void | FireColumnChangeEvent (sal_uInt16 nOldColumn, sal_uInt16 nNewColumn) |
Static Public Member Functions inherited from SwViewShell | |
static bool | IsLstEndAction () |
static void | PrtOle2 (SwDoc *pDoc, const SwViewOption *pOpt, const SwPrintData &rOptions, vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect, bool bOutputForScreen) |
static void | SetShellRes (ShellResource *pRes) |
static ShellResource * | GetShellRes () |
static weld::Window * | CareChildWin (SwViewShell const &rVSh) |
static void | SetCareDialog (const std::shared_ptr< weld::Window > &rNew) |
static weld::Window * | GetCareDialog (SwViewShell const &rVSh) |
Private Member Functions | |
SAL_DLLPRIVATE SwGrfNode * | GetGrfNode_ () const |
Returns pointer to a SwGrfNode that will be used by GetGraphic() and GetGraphicSize(). More... | |
SAL_DLLPRIVATE void | DeleteSel (SwPaM &rPam, bool isArtificialSelection, bool *pUndo=nullptr) |
SAL_DLLPRIVATE void | SetSectionAttr_ (SwSectionFormat &rSectFormat, const SfxItemSet &rSet) |
SwEditShell (const SwEditShell &)=delete | |
const SwEditShell & | operator= (const SwEditShell &)=delete |
void | UpdateFields (bool bCloseDB=false) |
Forces update of each field. More... | |
Private Attributes | |
bool | m_bNbspRunNext |
NO-BREAK SPACE state flag passed to and maintained by SvxAutoCorrect::DoAutoCorrect() More... | |
bool | m_bDoParagraphSignatureValidation |
Prevent nested calls of ValidateParagraphSignatures. More... | |
Static Private Attributes | |
static SvxSwAutoFormatFlags * | s_pAutoFormatFlags = nullptr |
Friends | |
class | SwAutoFormat |
For the private methods DelRange and those of AutoCorrect. More... | |
class | SwUndo |
For the PamCorrAbs/-Rel methods. More... | |
void | InitCore () |
void | FinitCore () |
Additional Inherited Members | |
Public Types inherited from SwCursorShell | |
enum | CursorFlag { UPDOWN = (1 << 0) , SCROLLWIN = (1 << 1) , CHKRANGE = (1 << 2) , READONLY = (1 << 3) } |
for calling UpdateCursor More... | |
enum class | StartsWith { None , Table , HiddenPara } |
enum class | PopMode { DeleteCurrent , DeleteStack } |
Public Types inherited from sw::Ring< SwViewShell > | |
typedef std::add_const< SwViewShell >::type | const_value_type |
typedef RingContainer< SwViewShell > | ring_container |
typedef RingContainer< const_value_type > | const_ring_container |
Protected Member Functions inherited from SwCursorShell | |
SwMoveFnCollection const & | MakeFindRange (SwDocPositions, SwDocPositions, SwPaM *) const |
int | CompareCursorStackMkCurrPt () const |
bool | SelTableRowOrCol (bool bRow, bool bRowSimple=false) |
bool | SetInFrontOfLabel (bool bNew) |
void | RefreshBlockCursor () |
SAL_DLLPRIVATE void | UpdateMarkedListLevel () |
Updates the marked list level according to the cursor. More... | |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
forward all attribute/format changes at the current node to the Link More... | |
Protected Member Functions inherited from sw::Ring< SwViewShell > | |
Ring () | |
Creates a new item in a ring container all by itself. More... | |
Ring (SwViewShell *pRing) | |
Creates a new item and add it to an existing ring container. More... | |
SwViewShell * | GetNextInRing () |
const_value_type * | GetNextInRing () const |
SwViewShell * | GetPrevInRing () |
const_value_type * | GetPrevInRing () const |
bool | unique () const |
Protected Attributes inherited from SwViewShell | |
SwRect | maVisArea |
The modern version of VisArea. More... | |
tools::Rectangle | maLOKVisibleArea |
The visible area in the LibreOfficeKit client. More... | |
rtl::Reference< SwDoc > | mxDoc |
The document; never 0. More... | |
sal_uInt16 | mnStartAction |
!= 0 if at least one Action is active. More... | |
sal_uInt16 | mnLockPaint |
!= 0 if Paint is locked. More... | |
std::vector< LockPaintReason > | maLockPaintReasons |
bool | mbSelectAll |
Special select all mode: whole document selected, even if doc starts with table. More... | |
bool | mbOutputToWindow |
The virtual device we paint to will end up on the screen. More... | |
std::stack< vcl::Region > | mPrePostPaintRegions |
VclPtr< OutputDevice > | mpPrePostOutDev |
MapMode | maPrePostMapMode |
Static Protected Attributes inherited from SwViewShell | |
static ShellResource * | spShellRes = nullptr |
Resources for the Shell. More... | |
static vcl::DeleteOnDeinit< std::shared_ptr< weld::Window > > | spCareDialog {} |
Avoid this window. More... | |
Definition at line 140 of file editsh.hxx.
SwEditShell::SwEditShell | ( | SwDoc & | rDoc, |
vcl::Window * | pWindow, | ||
const SwViewOption * | pOpt | ||
) |
Ctor/Dtor.
Definition at line 47 of file edws.cxx.
References sw::proofreadingiterator::get(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), utl::ConfigManager::IsFuzzing(), and RestoreMetadataFieldsAndValidateParagraphSignatures().
SwEditShell::SwEditShell | ( | SwEditShell & | rEdSH, |
vcl::Window * | pWindow | ||
) |
|
privatedelete |
bool SwEditShell::AcceptRedline | ( | SwRedlineTable::size_type | nPos | ) |
Definition at line 67 of file edredln.cxx.
References IDocumentRedlineAccess::AcceptRedline(), EndAllAction(), SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), IsExtraData(), lcl_InvalidateAll(), nPos, and StartAllAction().
Referenced by SwRedlineAcceptDlg::CallAcceptReject().
bool SwEditShell::AcceptRedlinesInSelection | ( | ) |
Definition at line 89 of file edredln.cxx.
References IDocumentRedlineAccess::AcceptRedline(), EndAllAction(), SwNode::EndOfSectionIndex(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwNode::GetNodes(), SwTableCursor::GetSelectedBoxes(), SwCursorShell::GetTableCursor(), i, SwCursorShell::IsTableMode(), and StartAllAction().
bool SwEditShell::AppendTextNode | ( | ) |
Definition at line 204 of file editsh.cxx.
References IDocumentContentOperations::AppendTextNode(), SwDoc::ClearBoxNumAttrs(), SwCursorShell::ClearTableBoxContent(), EMPTY, EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwDoc::GetIDocumentUndoRedo(), sw::Ring< SwViewShell >::GetRingContainer(), and StartAllAction().
Referenced by SwMailMergeLayoutPage::InsertGreeting(), and SwFEShell::PastePages().
void SwEditShell::AppendUndoForInsertFromDB | ( | bool | bIsTable | ) |
Set up InsertDB as table Undo.
create InsertDB as table Undo
Definition at line 518 of file edtab.cxx.
References SwDoc::AppendUndoForInsertFromDB(), SwCursorShell::GetCursor(), and SwViewShell::GetDoc().
Referenced by SwInsertDBColAutoPilot::DataToDoc().
void SwEditShell::ApplyAdvancedClassification | ( | std::vector< svx::ClassificationResult > const & | rResult | ) |
Definition at line 777 of file edfcol.cxx.
References svx::classification::addOrInsertDocumentProperty(), aHelper, svx::CATEGORY, SfxObjectShell::Current(), equaliseNumberOfParagraph(), SfxObjectShell::GetBaseModel(), SwViewShell::GetDoc(), SfxObjectShell::getDocProperties(), SwDoc::GetDocShell(), SfxClassificationHelper::getPolicyType(), svx::classification::insertCreationOrigin(), insertFieldToDocument(), svx::classification::insertFullTextualRepresentationAsDocumentProperty(), svx::INTELLECTUAL_PROPERTY_PART, sfx::ClassificationKeyCreator::makeCategoryNameKey(), sfx::ClassificationKeyCreator::makeNumberedIntellectualPropertyPartKey(), sfx::ClassificationKeyCreator::makeNumberedMarkingKey(), sfx::ClassificationKeyCreator::makeNumberedTextKey(), sfx::MANUAL, svx::MARKING, svx::PARAGRAPH, SfxClassificationHelper::policyTypeToString(), removeAllClassificationFields(), svx::classification::removeAllProperties(), SfxWatermarkItem::SetText(), SetWatermark(), svx::TEXT, UNO_NAME_FOOTER_IS_ON, UNO_NAME_FOOTER_TEXT, UNO_NAME_HEADER_IS_ON, UNO_NAME_HEADER_TEXT, and xModel.
Referenced by ClassifyDocPerHighestParagraphClass(), and SwDocShell::Execute().
void SwEditShell::ApplyAutoMark | ( | ) |
-> deletedChars;
-> insertedChars;
Definition at line 268 of file edtox.cxx.
References SwTOXType::CollectTextMarks(), SwCursorShell::DeleteCurrent, DeleteTOXMark(), DoesUndo(), DoUndo(), End, EndAllAction(), SwCursorShell::Find_Text(), SwViewShell::GetDoc(), SfxMedium::GetInStream(), getLocale(), SwIoSystem::GetTextEncoding(), GetTOIAutoMarkURL(), GetTOXType(), SvStream::good(), InSelAll, Insert(), FStatHelper::IsDocument(), SwCursorShell::KillPams(), SwCursorShell::Pop(), SwCursorShell::Push(), SvStream::ReadLine(), rStrm, i18nutil::SearchOptions2::searchFlag, i18nutil::SearchOptions2::searchString, SwTOXMark::SetAlternativeText(), SwTOXMark::SetAutoGenerated(), SwTOXMark::SetMainEntry(), SwTOXMark::SetPrimaryKey(), SwTOXMark::SetSecondaryKey(), Start, StartAllAction(), TOX_INDEX, and i18nutil::SearchOptions2::transliterateFlags.
Referenced by SwTOXMgr::UpdateOrInsertTOX().
void SwEditShell::ApplyChangedSentence | ( | const svx::SpellPortions & | rNewPortions, |
bool | bRecheck | ||
) |
Applies a changed sentence.
Definition at line 1091 of file edlingu.cxx.
References SwPosition::AdjustContent(), CH_TXTATR_INWORD, SwCursorShell::DeleteCurrent, SwPaM::End(), SwCursorShell::EndAction(), g_pSpellIter, SfxItemSet::Get(), SwViewShell::GetAttrPool(), GetCurAttr(), SwCursorShell::GetCursor(), SvtLanguageOptions::GetI18NScriptTypeOfLanguage(), SvxLanguageItem::GetLanguage(), SwPaM::GetMark(), SwPaM::GetPoint(), GetScriptType(), SwPaM::GetText(), SwCursorShell::GoStartSentence(), SwPaM::HasMark(), IgnoreGrammarErrorAt(), lcl_CountRedlines(), SwViewShell::mxDoc, SwCursorShell::Pop(), SwCursorShell::Push(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_LANGUAGE(), SetAttrItem(), SwPosition::SetContent(), SwPaM::SetMark(), SwPaM::Start(), SwCursorShell::StartAction(), and UI_TEXT_CORRECTION.
Referenced by SwSpellDialogChildWindow::ApplyChangedSentence().
void SwEditShell::ApplyParagraphClassification | ( | std::vector< svx::ClassificationResult > | aResult | ) |
Apply the classification to the paragraph at cursor.
Definition at line 1272 of file edfcol.cxx.
References SwXParagraph::CreateXParagraph(), SfxObjectShell::GetBaseModel(), SwCursorShell::GetCursor(), SwNode::GetDoc(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwPosition::GetNode(), SwNode::GetTextNode(), lcl_ApplyParagraphClassification(), SetParagraphSignatureValidation(), Start, SwPaM::Start(), and xModel.
Referenced by SwDocShell::Execute().
|
overridevirtual |
Apply ViewOptions with Start-/EndAction.
Reimplemented from SwViewShell.
Reimplemented in SwWrtShell.
Definition at line 1091 of file editsh.cxx.
References SwViewShell::ApplyViewOptions(), SwCursorShell::EndAction(), and SwCursorShell::StartAction().
Referenced by SwWrtShell::ApplyViewOptions().
void SwEditShell::AutoCorrect | ( | SvxAutoCorrect & | rACorr, |
bool | bInsertMode, | ||
sal_Unicode | cChar | ||
) |
Call AutoCorrect.
Auto correction.
Definition at line 255 of file edws.cxx.
References SvxAutoCorrect::DoAutoCorrect(), EndAllAction(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwCursorShell::getShellCursor(), SwTextFrame::GetText(), SwNode::GetTextNode(), SwViewShell::GetWin(), m_bNbspRunNext, SwTextFrame::MapModelToViewPos(), SwTextFrame::MapViewToModelPos(), nPos, SwCursorShell::SaveTableBoxContent(), and StartAllAction().
Referenced by SwWrtShell::AutoCorrect(), and AutoFormatBySplitNode().
void SwEditShell::AutoFormat | ( | const SvxSwAutoFormatFlags * | pAFlags | ) |
Set our styles according to the respective rules.
Definition at line 2714 of file autofmt.cxx.
References AUTOFORMAT, SvxSwAutoFormatFlags::bAFormatByInput, EndAllAction(), EndUndo(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwPaM::GetNext(), sw::Ring< SwViewShell >::GetRingContainer(), SwPaM::HasMark(), StartAllAction(), StartUndo(), and SwAutoFormat.
Referenced by SwTextShell::Execute().
void SwEditShell::AutoFormatBySplitNode | ( | ) |
Definition at line 2752 of file autofmt.cxx.
References SwPosition::Assign(), AutoCorrect(), AUTOFORMAT, SwCursorShell::DeleteCurrent, SwPaM::DeleteMark(), EndAllAction(), EndUndo(), fnMoveBackward, fnMoveForward, SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), GetAutoFormatFlags(), SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTextNode::GetText(), SwNode::GetTextNode(), GoInNode(), sw::GotoPrevLayoutTextFrame(), SvxAutoCorrect::IsAutoCorrFlag(), SwPaM::IsMultiSelection(), SwPaM::Move(), SwCursorShell::Pop(), SwCursorShell::Push(), SwPosition::SetContent(), SwPaM::SetMark(), StartAllAction(), StartUndo(), and u.
Referenced by SplitNode().
|
overridevirtual |
To enable set up of StartActions and EndActions.
Reimplemented from SwViewShell.
Definition at line 108 of file edws.cxx.
References SwViewShell::CalcLayout(), EndAllAction(), sw::Ring< SwViewShell >::GetRingContainer(), and StartAllAction().
Referenced by SwDocShell::CalcLayoutForOLEObjects(), SwXMailMerge::execute(), SwBaseShell::Execute(), GetLineCount(), SwXTextView::getPropertyValue(), SwXTextField::getPropertyValue(), IMPL_LINK_NOARG(), InsertTableOf(), SwEditWin::KeyInput(), lcl_CalcLayout(), SwDBManager::MergeMailFiles(), SwTransferable::PrivateDrop(), and UpdateTableOf().
OUString SwEditShell::Calculate | ( | ) |
Calculates selection.
Definition at line 530 of file editsh.cxx.
References aStr, SwCalc::Calculate(), ch, IDocumentFieldsAccess::FieldsToCalc(), SwHashTable< T >::Find(), FindOperator(), GetAppCharClass(), SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwTextNode::GetExpandText(), SwDoc::getIDocumentFieldsAccess(), SwViewShell::GetLayout(), SwPosition::GetNodeIndex(), sw::Ring< SwViewShell >::GetRingContainer(), SwCalc::GetStrResult(), SwNode::GetTextNode(), SwCalc::GetVarTable(), CharClass::isLetter(), CharClass::isLetterNumeric(), CharClass::lowercase(), nPos, SwCalcExp::nValue, and SwCalc::VarLook().
Referenced by SwTransferable::CalculateAndCopy().
bool SwEditShell::CanMergeTable | ( | bool | bWithPrev = true , |
bool * | pChkNxtPrv = nullptr |
||
) | const |
Merge tables.
Can Merge checks if Prev or Next are possible. If pointer pChkNxtPrv is passed possible direction is given.
Definition at line 465 of file edtab.cxx.
References SwNode::EndOfSectionIndex(), SwNode::FindTableNode(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwNode::GetIndex(), SwDoc::GetNodes(), SwPaM::GetPointNode(), SwTableNode::GetTable(), and SwTable::IsNewModel().
Referenced by SwTableShell::Execute(), and SwTableShell::GetState().
bool SwEditShell::CanSpecialInsert | ( | ) | const |
a node can be special-inserted (alt-Enter) whenever lcl_SpecialInsertNode finds a suitable position
Definition at line 386 of file edsect.cxx.
References SwCursorShell::GetCursor(), and lcl_SpecialInsertNode().
Referenced by SwEditWin::KeyInput().
void SwEditShell::ChangeAuthorityData | ( | const SwAuthEntry * | pNewData | ) |
Definition at line 379 of file edfld.cxx.
References SwDoc::ChangeAuthorityData(), and SwViewShell::GetDoc().
void SwEditShell::ChangeDBFields | ( | const std::vector< OUString > & | rOldNames, |
const OUString & | rNewName | ||
) |
Definition at line 308 of file edfld.cxx.
References SwDoc::ChangeDBFields(), and SwViewShell::GetDoc().
Referenced by SwDBManager::Merge(), and SwChangeDBDlg::UpdateFields().
void SwEditShell::ChangeIndentOfAllListLevels | ( | sal_Int32 | nDiff | ) |
Remove unused default parameter <nLevel> and <bRelative>.
Definition at line 310 of file ednumber.cxx.
References SwNumRule::ChangeIndent(), EndAllAction(), SwNumRule::Get(), SvxNumberFormat::GetIndentAt(), GetNumRuleAtCurrCursorPos(), SetCurNumRule(), and StartAllAction().
Referenced by SwEditWin::KeyInput().
void SwEditShell::ChgDBData | ( | const SwDBData & | SwDBData | ) |
Definition at line 297 of file edfld.cxx.
References SwDoc::ChgDBData(), and SwViewShell::GetDoc().
Referenced by SwWrtShell::ChgDBData().
void SwEditShell::ChgNumRuleFormats | ( | const SwNumRule & | rRule | ) |
Definition at line 785 of file ednumber.cxx.
References SwDoc::ChgNumRuleFormats(), EndAllAction(), SwViewShell::GetDoc(), and StartAllAction().
Referenced by SwDocShell::MakeByExample(), and SwDocShell::UpdateStyle().
void SwEditShell::ClassifyDocPerHighestParagraphClass | ( | ) |
Ensure that the classification of the doc is never lower than the paragraph with the highest classification.
Definition at line 2147 of file edfcol.cxx.
References aHelper, ApplyAdvancedClassification(), CollectAdvancedClassification(), Application::CreateMessageDialog(), SfxObjectShell::GetBaseModel(), sfx::getCreationOriginProperty(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SfxObjectShell::getDocProperties(), SwDoc::GetDocShell(), SfxClassificationHelper::getPolicyType(), svx::classification::getProperty(), SwRDFHelper::hasMetadataGraph(), lcl_GetHighestClassificationParagraphClass(), sfx::ClassificationKeyCreator::makeCategoryNameKey(), sfx::MANUAL, SetClassification(), SetParagraphSignatureValidation(), SfxClassificationHelper::stringToPolicyType(), and SwResId().
Referenced by SwDocShell::SaveAs().
void SwEditShell::ClearAutomaticContour | ( | ) |
If there's an automatic, not manipulated polygon at the selected notxtnode, it has to be deleted, e.g.
cause the object has changed.
Definition at line 336 of file editsh.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwFlyFrame::GetFormat(), SwDoc::getIDocumentState(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNode::GetNoTextNode(), SwPaM::GetPointNode(), SwFormat::GetSurround(), SwFrame::GetUpper(), SwNoTextNode::HasAutomaticContour(), SwNoTextNode::SetContour(), IDocumentState::SetModified(), and StartAllAction().
Referenced by SwFEShell::FinishOLEObj().
std::vector< svx::ClassificationResult > SwEditShell::CollectAdvancedClassification | ( | ) |
Definition at line 951 of file edfcol.cxx.
References aName, svx::CATEGORY, SfxObjectShell::Current(), SfxObjectShell::GetBaseModel(), SwViewShell::GetDoc(), SfxObjectShell::getDocProperties(), SwDoc::GetDocShell(), SfxClassificationHelper::getPolicyType(), svx::classification::getProperty(), svx::INTELLECTUAL_PROPERTY_PART, sfx::ClassificationKeyCreator::isCategoryIdentifierKey(), sfx::ClassificationKeyCreator::isCategoryNameKey(), sfx::ClassificationKeyCreator::isIntellectualPropertyPartKey(), sfx::ClassificationKeyCreator::isMarkingKey(), sfx::ClassificationKeyCreator::isMarkingTextKey(), sfx::ClassificationKeyCreator::makeCategoryNameKey(), svx::MARKING, svx::PARAGRAPH, svx::TEXT, UNO_NAME_HEADER_IS_ON, UNO_NAME_HEADER_TEXT, UNO_NAME_NAME, UNO_NAME_TEXT_FIELD, UNO_NAME_TEXT_PORTION_TYPE, and xModel.
Referenced by ClassifyDocPerHighestParagraphClass(), and SwDocShell::Execute().
std::vector< svx::ClassificationResult > SwEditShell::CollectParagraphClassification | ( | ) |
Definition at line 1351 of file edfcol.cxx.
References SwXParagraph::CreateXParagraph(), SfxObjectShell::GetBaseModel(), SwCursorShell::GetCursor(), SwNode::GetDoc(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwPosition::GetNode(), SwNode::GetTextNode(), lcl_CollectParagraphClassification(), Start, SwPaM::Start(), and xModel.
Referenced by SwDocShell::Execute().
tools::Long SwEditShell::CompareDoc | ( | const SwDoc & | rDoc | ) |
Compare two documents.
Definition at line 885 of file editsh.cxx.
References SwDoc::CompareDoc(), EndAllAction(), SwViewShell::GetDoc(), and StartAllAction().
bool SwEditShell::ConvertFieldsToText | ( | ) |
Replace fields by text - mailmerge support.
Definition at line 761 of file editsh.cxx.
References SwDoc::ConvertFieldsToText(), EndAllAction(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), and StartAllAction().
Referenced by lcl_SaveDoc(), and SwDBManager::MergeMailFiles().
bool SwEditShell::Copy | ( | SwEditShell & | rDestShell | ) |
Copy content of all ranges at current position of cursor to given Shell.
Definition at line 185 of file eddel.cxx.
References SwCursorShell::GetCursor(), and sw::Ring< SwViewShell >::GetRingContainer().
Referenced by SwFEShell::Copy(), and SwFEShell::PastePages().
bool SwEditShell::CopySelToDoc | ( | SwDoc & | rInsDoc | ) |
For copying via ClipBoard: If table is copied into table, move all cursors away from it.
copy all selections to the doc
Copy and Paste must be in FEShell because of FlyFrames! Copy all selections to the document.
Definition at line 152 of file edglss.cxx.
References SwPosition::Assign(), CheckPosInFly, IDocumentContentOperations::CopyRange(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwCursorShell::ExtendedSelectedAll(), fnMoveForward, SwNode::GetContentNode(), SwCursorShell::GetCursor(), SwCursorShell::GetCursor_(), SwViewShell::GetDoc(), SwNodes::GetEndOfContent(), SwTable::GetFrameFormat(), SwDoc::getIDocumentContentOperations(), SwDoc::getIDocumentFieldsAccess(), SwFormat::GetName(), GetName(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), sw::Ring< SwViewShell >::GetRingContainer(), SwTableNode::GetTable(), SwDoc::GetTableFrameFormats(), GetTableSel(), SwTable::GetTableStyleName(), SwTable::GetTabSortBoxes(), SwNode::GetTextNode(), GoInContent(), SwDoc::InsCopyOfTable(), SwDoc::IsClipBoard(), SwCursor::IsColumnSelection(), IDocumentFieldsAccess::IsExpFieldsLocked(), SwCursorShell::IsTableMode(), SwContentNode::Len(), IDocumentFieldsAccess::LockExpFields(), n, SwCursorShell::None, SwDoc::SetColumnSelection(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), sw::FrameFormats< value_type >::size(), SwPaM::Start(), SwCursorShell::StartsWith_(), IDocumentFieldsAccess::UnlockExpFields(), and IDocumentFieldsAccess::UpdateExpFields().
Referenced by SwFEShell::Copy(), MakeGlossary(), and SwAutoCorrect::PutText().
void SwEditShell::CountWords | ( | SwDocStat & | rStat | ) | const |
Count words in current selection.
Definition at line 1081 of file editsh.cxx.
References SwDoc::CountWords(), SwCursorShell::GetCursor(), and sw::Ring< SwViewShell >::GetRingContainer().
Referenced by SwView::StateStatusLine(), and SwWordCountFloatDlg::UpdateCounts().
void SwEditShell::CreateExtTextInput | ( | LanguageType | eInputLanguage | ) |
Interface for TextInputData - (for input of Japanese/Chinese chars.)
Definition at line 953 of file editsh.cxx.
References SwDoc::CreateExtTextInput(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwCursorShell::IsOverwriteCursor(), SwExtTextInput::SetLanguage(), and SwExtTextInput::SetOverwriteCursor().
Referenced by SwEditWin::Command(), and QuickHelpData::Start().
bool SwEditShell::CursorsLocked | ( | ) | const |
is it forbidden to modify cursors via API calls?
Definition at line 44 of file edundo.cxx.
References SwViewShell::GetDoc(), SwDoc::GetDocShell(), and SfxObjectShell::GetModel().
Referenced by HandleUndoRedoContext(), and sw::UndoManager::impl_DoUndoRedo().
void SwEditShell::DelAllUndoObj | ( | ) |
Definition at line 212 of file edws.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetIDocumentUndoRedo().
bool SwEditShell::Delete | ( | bool | isArtificialSelection = false | ) |
Delete content of all ranges.
If whole nodes are selected, these nodes get deleted.
Definition at line 134 of file eddel.cxx.
References SwRewriter::AddRule(), SwCursorShell::CursorInsideInputField(), DELETE, DeleteSel(), END, EndAllAction(), sw::proofreadingiterator::get(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), SwCursor::GetNext(), sw::Ring< SwViewShell >::GetRingContainer(), SwCursorShell::HasHiddenSections(), SwCursorShell::HasReadonlySel(), InfoReadOnlyDialog(), RemoveParagraphMetadataFieldAtCursor(), StartAllAction(), SwResId(), UndoArg1, and WarnHiddenSectionDialog().
Referenced by SwHHCWrapper::ChangeText_impl(), SwFEShell::DeleteCol(), DeleteGlobalDocContent(), SwContentTree::DeleteOutlineSelections(), SwFEShell::DeleteRow(), SwEditWin::DeleteSurroundingText(), SwWrtShell::DelLeft(), SwWrtShell::DelLine(), SwWrtShell::DelNxtWord(), SwWrtShell::DelPrvWord(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfLine(), SwWrtShell::DelToEndOfPara(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::DelToStartOfLine(), SwWrtShell::DelToStartOfPara(), SwWrtShell::DelToStartOfSentence(), SwHandleAnchorNodeChg::ImplDestroy(), InsertURL(), SwWrtShell::IntelligentCut(), SwFEShell::Paste(), SwTransferable::PrivateDrop(), and SwInputWindow::ShowWin().
OUString SwEditShell::DeleteExtTextInput | ( | bool | bInsText = true | ) |
Definition at line 960 of file editsh.cxx.
References SwDoc::DeleteExtTextInput(), EndAllAction(), SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetExtTextInput(), SwPosition::GetNode(), SwPaM::GetPoint(), SwUnoCursorHelper::GetTextFromPam(), SwCursorShell::IsOverwriteCursor(), SwExtTextInput::IsOverwriteCursor(), SwExtTextInput::SetInsText(), SwCursorShell::SetOverwriteCursor(), and StartAllAction().
Referenced by SwEditWin::Command(), and QuickHelpData::Stop().
void SwEditShell::DeleteGlobalDocContent | ( | const SwGlblDocContents & | rArr, |
size_t | nPos | ||
) |
Definition at line 228 of file edglbldc.cxx.
References IDocumentContentOperations::AppendTextNode(), SwPosition::Assign(), SwCursorShell::ClearMark(), Delete(), SwDoc::DeleteTOX(), IDocumentContentOperations::DelFullPara(), SwDoc::DelSectionFormat(), END, EndAllAction(), EndUndo(), sw::proofreadingiterator::get(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwGlblDocContent::GetDocPos(), SwNodes::GetEndOfContent(), SwSection::GetFormat(), SwDoc::getIDocumentContentOperations(), SwViewShell::getIDocumentSettingAccess(), SwPaM::GetNext(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwGlblDocContent::GetSection(), SwGlblDocContent::GetTOX(), SwGlblDocContent::GetType(), GLBLDOC_SECTION, GLBLDOC_TOXBASE, GLBLDOC_UNKNOWN, GLOBAL_DOCUMENT, SwCursorShell::IsTableMode(), SwPaM::SetMark(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), START, StartAllAction(), and StartUndo().
Referenced by SwGlobalTree::ExecuteContextMenuAction().
|
private |
Definition at line 36 of file eddel.cxx.
References SwRewriter::AddRule(), ArtificialSelection, SwPosition::Assign(), Default, DELETE, IDocumentContentOperations::DeleteAndJoin(), SwPaM::DeleteMark(), SwDoc::DelTable(), SwPaM::End(), END, SwNode::EndOfSectionNode(), SwCursorShell::ExtendedSelectedAll(), SwNode::FindTableNode(), fnMoveBackward, fnMoveForward, SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwDoc::GetIDocumentUndoRedo(), SwNode::GetIndex(), SwPaM::GetMark(), SwPaM::GetMarkNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwPaM::GetPointNode(), GoInContent(), SwPaM::HasMark(), SwNode::IsContentNode(), IsFlySelectedByCursor(), SwNode::IsInProtectSect(), SwPaM::Move(), SwCursorShell::None, SwCursorShell::SaveTableBoxContent(), SwPaM::SetMark(), SwPaM::Start(), START, SwNode::StartOfSectionNode(), SwCursorShell::StartsWith_(), SwResId(), and UndoArg1.
Referenced by Delete(), SwAutoFormat::DeleteSelImpl(), and DelINetAttrWithText().
bool SwEditShell::DeleteTOX | ( | const SwTOXBase & | rTOXBase, |
bool | bDelNodes | ||
) |
Definition at line 196 of file edtox.cxx.
References SwDoc::DeleteTOX(), and SwViewShell::GetDoc().
Referenced by SwContentTree::EditEntry(), and SwTextShell::ExecIdx().
void SwEditShell::DeleteTOXMark | ( | SwTOXMark const * | pMark | ) |
Definition at line 76 of file edtox.cxx.
References EndAllAction(), SwViewShell::mxDoc, and StartAllAction().
Referenced by ApplyAutoMark(), SwTOXMgr::DeleteTOXMark(), and SwTOXMgr::UpdateTOXMark().
bool SwEditShell::DelFullPara | ( | ) |
Remove a complete paragraph.
special method for JOE's wizards
Definition at line 363 of file eddel.cxx.
References IDocumentContentOperations::DelFullPara(), EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwCursorShell::HasReadonlySel(), SwPaM::IsMultiSelection(), SwCursorShell::IsTableMode(), and StartAllAction().
Referenced by SwMailMergeLayoutPage::Activate(), SwWrtShell::DelRight(), and SwWrtShell::DelToEndOfSentence().
void SwEditShell::DelINetAttrWithText | ( | ) |
If cursor is in an INetAttribute it will be deleted completely including the descriptive text (needed at drag & drop).
If the cursor is in an INetAttribute then it will be deleted completely (incl.
hint text, the latter is needed for drag & drop)
Definition at line 737 of file editsh.cxx.
References DeleteSel(), SwCursorShell::GetCursor(), RES_TXTATR_INETFMT(), and SwCursorShell::SelectTextAttr().
Referenced by SwTransferable::PrivateDrop().
void SwEditShell::DelNumRules | ( | ) |
Delete, split enumeration list.
Definition at line 249 of file ednumber.cxx.
References SwCursorShell::CallChgLnk(), SwDoc::DelNumRules(), END, EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), sw::Ring< value_type >::GetRingContainer(), SwPaM::IsMultiSelection(), SwCursorShell::SetInFrontOfLabel(), IDocumentState::SetModified(), START, and StartAllAction().
Referenced by SwBaseShell::ExecDelete(), SwTextShell::ExecEnterNum(), SwEditWin::KeyInput(), and SwWrtShell::NumOrBulletOff().
void SwEditShell::DelSectionFormat | ( | size_t | nFormat | ) |
Definition at line 147 of file edsect.cxx.
References SwCursorShell::CallChgLnk(), SwDoc::DelSectionFormat(), EndAllAction(), SwViewShell::GetDoc(), and StartAllAction().
bool SwEditShell::DoesGroupUndo | ( | ) | const |
Definition at line 209 of file edws.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetIDocumentUndoRedo().
Referenced by SwDBManager::ImportFromConnection().
bool SwEditShell::DoesUndo | ( | ) | const |
Definition at line 203 of file edws.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetIDocumentUndoRedo().
Referenced by ApplyAutoMark(), SwFEShell::CreateDefaultShape(), SwInsertDBColAutoPilot::DataToDoc(), SwWrtShell::Do(), SwWrtShell::NavigatorPaste(), SwTransferable::Paste(), SwInputWindow::ShowWin(), and UpdateTable().
void SwEditShell::DoGroupUndo | ( | bool | bUn | ) |
Definition at line 206 of file edws.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetIDocumentUndoRedo().
Referenced by SwDBManager::ImportFromConnection().
bool SwEditShell::DontExpandFormat | ( | ) |
If Cursor is at the end of a character style in which the DontExpand-flag is not yet set, the latter will be set (==> return TRUE).
Set the DontExpand flag at the text character attributes.
Definition at line 745 of file editsh.cxx.
References SwCursorShell::CallChgLnk(), DontExpandFormat(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), and SwCursorShell::IsTableMode().
Referenced by DontExpandFormat(), SwTextShell::ExecCharAttr(), InsertURL(), and sw_CharDialogResult().
void SwEditShell::DoSpecialInsert | ( | ) |
Special insert: Insert a new text node just before or after a section or table, if the cursor is positioned at the start/end of said section/table.
check whether a node can be special-inserted (alt-Enter), and do so.
The purpose of the method is to allow users to inert text at certain 'impossible' position, e.g. before a table at the document start or between to sections.
Return whether insertion was possible.
Definition at line 394 of file edsect.cxx.
References IDocumentContentOperations::AppendTextNode(), SwCursorShell::CallChgLnk(), EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwPaM::GetPoint(), SwNode::IsStartNode(), lcl_SpecialInsertNode(), and StartAllAction().
Referenced by SwEditWin::KeyInput().
void SwEditShell::DoUndo | ( | bool | bOn = true | ) |
Undo.
Maintain UndoHistory in Document. Reset UndoHistory at Save, SaveAs, Create ???
Definition at line 200 of file edws.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetIDocumentUndoRedo().
Referenced by ApplyAutoMark(), SwInputWindow::CleanupUglyHackWithUndo(), SwInsertDBColAutoPilot::DataToDoc(), SwWrtShell::Do(), SwModule::InsertEnv(), SwModule::InsertLab(), SwWrtShell::NavigatorPaste(), and SwInputWindow::ShowWin().
void SwEditShell::EndAllAction | ( | ) |
Definition at line 97 of file edws.cxx.
References sw::Ring< SwViewShell >::GetRingContainer().
Referenced by AcceptRedline(), AcceptRedlinesInSelection(), SwFEShell::AlignAllFormulasToBaseline(), SwDoc::AppendDoc(), AppendTextNode(), SwFieldInputDlg::Apply(), SwSortDlg::Apply(), ApplyAutoMark(), SwDocShell::ApplyStyles(), AutoCorrect(), SwWrtShell::AutoCorrect(), AutoFormat(), AutoFormatBySplitNode(), CalcLayout(), SwFEShell::Chain(), SwEditWin::ChangeDrawing(), SwEditWin::ChangeFly(), SwWrtShell::ChangeHeaderOrFooter(), ChangeIndentOfAllListLevels(), SwFEShell::CheckUnboundObjects(), SwFEShell::ChgAnchor(), ChgNumRuleFormats(), ClearAutomaticContour(), SwOneExampleFrame::ClearDocument(), SwWrtShell::ClickToField(), SwWrtShell::CloseMark(), CompareDoc(), ConvertFieldsToText(), SwDocShell::ConvertTo(), SwFEShell::Copy(), SwInsertDBColAutoPilot::DataToDoc(), SwInputWindow::DelBoxContent(), Delete(), SwPostItMgr::Delete(), SwDocShell::Delete(), SwPostItMgr::DeleteCommentThread(), DeleteExtTextInput(), DeleteGlobalDocContent(), DeleteTOXMark(), DelFullPara(), DelNumRules(), DelSectionFormat(), SwFEShell::DelSelectedObj(), SwWrtShell::Do(), SwDocShell::DoFlushDocInfo(), DoSpecialInsert(), SwTransferable::DragFinished(), SwFEShell::EndTextEdit(), SwFieldMgr::EvalExpFields(), SwTextShell::ExecEnterNum(), SwTextShell::ExecField(), SwTextShell::ExecInsert(), SwView::ExecTabWin(), SwDocShell::Execute(), SwBaseShell::Execute(), SwFrameShell::Execute(), SwTextShell::Execute(), SwGrfShell::Execute(), SwDrawBaseShell::Execute(), SwEditWin::ExecuteDrop(), SwGlossaryHdl::Expand(), FieldToText(), SwStdFontTabPage::FillItemSet(), SwPostItMgr::FormatAll(), GetUpdatedDocStat(), SwInputFieldList::GotoFieldPos(), sw::AccessibilityIssue::gotoIssue(), SwNavigationMgr::GotoSwPosition(), SwFEShell::GroupSelection(), SwHHCWrapper::HandleNewUnit(), SwDocShell::Hide(), IMPL_LINK(), IMPL_LINK_NOARG(), SwDBManager::ImportFromConnection(), SwWrtShell::Insert(), SwFEShell::Insert(), Insert(), SwView::InsertCaption(), SwTableFUNC::InsertChart(), InsertDDETable(), SwModule::InsertEnv(), InsertField(), SwFieldPage::InsertField(), SwFieldMgr::InsertField(), SwWrtShell::InsertField2(), SwFlyFrameAttrMgr::InsertFlyFrame(), InsertGlobalDocContent(), SwGlossaryHdl::InsertGlossary(), InsertGlossary(), SwWrtShell::InsertGraphic(), SwModule::InsertLab(), SwIndexMarkPane::InsertMark(), SwFEShell::InsertObject(), SwWrtShell::InsertOleObject(), InsertSection(), SwTextShell::InsertSymbol(), InsertTable(), InsertTableImpl(), InsertTableOf(), SwTOXMgr::InsertTOXMark(), SwIndexMarkPane::InsertUpdate(), InsertURL(), ItemSetToTableParam(), lcl_SetAPageOffset(), lcl_TableParamToItemSet(), SwDocShell::LoadStyles_(), SwDocShell::LoadStylesFromFile(), SwDocShell::MakeByExample(), SwDBManager::Merge(), MergeDoc(), MergeTable(), SwFEShell::MoveAnchor(), MoveGlobalDocContent(), MoveLeftMargin(), MoveNumParas(), SwContentTree::MoveOutline(), MoveOutlinePara(), MoveParagraph(), SwVirtFlyDrawObj::NbcCrop(), NoNum(), SwDocShell::Notify(), SwURLStateChanged::Notify(), NumOrNoNum(), NumUpDown(), OutlineUpDown(), Overwrite(), SwFEShell::Paste(), SwFEShell::PastePages(), SwPostItMgr::PrepareView(), Redo(), RejectRedline(), RejectRedlinesInSelection(), Repeat(), Replace(), ReplaceDropText(), ReplaceNumRule(), SwFEShell::ReplaceSdrObj(), SwHHCWrapper::ReplaceUnit(), SwOleClient::RequestNewObjectArea(), SwFEShell::RequestObjectResize(), ReRead(), ResetAttr(), SaveGlossaryDoc(), SwFEShell::SelectionToBottom(), SwFEShell::SelectionToTop(), SetAttrItem(), SetAttrSet(), SwTableFUNC::SetColWidth(), SetCurFootnote(), SetCurNumRule(), SetDefault(), SetEndNoteInfo(), SetExtTextInputData(), SetFootnoteInfo(), SetGraphicPolygon(), SetIndent(), SetLineNumberInfo(), SetNodeNumStart(), SetNumberingRestart(), SetNumRuleStart(), SetOutlineNumRule(), SwFEShell::SetPageObjsNewPage(), SwView::SetPrinter(), SwPagePreview::SetPrinter(), SetRedlineFlags(), SetSectionAttr_(), SwFEShell::SetTabBackground(), SetTableBoxFormulaAttrs(), SetTextFormatColl(), SwFEShell::Sort(), SplitNode(), SplitTable(), TableToText(), TextToTable(), SwPostItMgr::ToggleResolved(), SwPostItMgr::ToggleResolvedForThread(), TransliterateText(), SwFEShell::Unchain(), Undo(), SwFEShell::UnGroupSelection(), SwTableFUNC::UpdateChart(), SwFieldMgr::UpdateCurField(), SwDDEFieldType::UpdateDDE(), UpdateDocStat(), UpdateExpFields(), SwChangeDBDlg::UpdateFields(), SwFlyFrameAttrMgr::UpdateFlyFrame(), UpdateOneField(), UpdateRedlineAttr(), UpdateSection(), SwDocShell::UpdateStyle(), UpdateTable(), UpdateTableOf(), SwTOXMgr::UpdateTOXMark(), SwOleClient::ViewChanged(), and SwWriter::Write().
SwUndoId SwEditShell::EndUndo | ( | SwUndoId | eUndoId = SwUndoId::EMPTY , |
const SwRewriter * | pRewriter = nullptr |
||
) |
Closes parenthesis of nUndoId, not used by UI.
close undo container
not used by UI
eUndoId | ID of the undo container |
pRewriter | ? |
Definition at line 234 of file edws.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetIDocumentUndoRedo().
Referenced by SwInsFootNoteDlg::Apply(), ApplyCharBackground(), SwWrtShell::AutoCorrect(), AutoFormat(), AutoFormatBySplitNode(), SwRedlineAcceptDlg::CallAcceptReject(), SwEditWin::ChangeDrawing(), SwWrtShell::ChangeHeaderOrFooter(), SwWrtShell::ClickToField(), SwInsertDBColAutoPilot::DataToDoc(), SwPostItMgr::Delete(), SwFEShell::DeleteCol(), DeleteGlobalDocContent(), SwContentTree::DeleteOutlineSelections(), SwFEShell::DeleteRow(), SwTransferable::DeleteSelection(), SwTransferable::DragFinished(), SwDocShell::Edit(), SwContentTree::EditEntry(), SwFEShell::EndDrag(), EndUndo(), SwTextShell::ExecCharAttrArgs(), SwTextShell::ExecInsert(), SwTextShell::ExecParaAttrArgs(), SwSpellPopup::Execute(), SwView::Execute(), SwBaseShell::Execute(), SwDrawShell::Execute(), SwTableShell::Execute(), SwTextShell::Execute(), SwGrfShell::Execute(), SwDrawBaseShell::Execute(), SwGlossaryHdl::Expand(), FieldToText(), SwPostItMgr::FormatAll(), SwFEShell::GroupSelection(), IMPL_LINK_NOARG(), SwDBManager::ImportFromConnection(), SwWrtShell::Insert(), SwMailMergeLayoutPage::InsertAddressAndGreeting(), SwTableFUNC::InsertChart(), SwWrtShell::InsertColumnBreak(), SwWrtShell::InsertContentControl(), InsertDDETable(), SwModule::InsertEnv(), SwWrtShell::InsertField2(), SwWrtShell::InsertGraphic(), SwView::InsertGraphicDlg(), SwFEShell::InsertLabel(), SwWrtShell::InsertOleObject(), SwWrtShell::InsertPageBreak(), SwDrawShell::InsertPictureFromFile(), SwTextShell::InsertSymbol(), InsertTable(), SwIndexMarkPane::InsertUpdate(), SwBaseShell::InsertURLButton(), ItemSetToTableParam(), SwEditWin::KeyInput(), SwDrawBase::MouseButtonUp(), SwEditWin::MouseButtonUp(), MoveLeftMargin(), SwContentTree::MoveOutline(), SwWrtShell::NumOrBulletOn(), SwFEShell::Paste(), SwFormatClipboard::Paste(), SwFEShell::PastePages(), SwTransferable::PrivateDrop(), SwFEShell::ReplaceSdrObj(), SwHHCWrapper::ReplaceUnit(), SwFEShell::SetDrawingAttr(), SwFEShell::SetObjAttr(), SwFEShell::SetPageObjsNewPage(), SwInputWindow::ShowWin(), SwWrtShell::SplitNode(), sw_ParagraphDialogResult(), TableToText(), SwFEShell::UnGroupSelection(), SwDocShell::UpdateStyle(), UpdateTable(), and SwAutoCorrDoc::~SwAutoCorrDoc().
void SwEditShell::FieldToText | ( | SwFieldType const * | pType | ) |
Definition at line 123 of file edfld.cxx.
References DELETE, SwCursorShell::DeleteCurrent, EndAllAction(), EndUndo(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwCursorShell::Pop(), SwCursorShell::Push(), StartAllAction(), and StartUndo().
void SwEditShell::FillByEx | ( | SwCharFormat * | pCharFormat | ) |
Definition at line 51 of file edfmt.cxx.
References SwFormat::GetAttrSet(), SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwPaM::GetMark(), SwPosition::GetNode(), SwTextNode::GetParaAttr(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwContentNode::GetpSwAttrSet(), SfxItemSet::GetRanges(), SwTextNode::GetText(), SwNode::GetTextNode(), SwPaM::HasMark(), SwContentNode::HasSwAttrSet(), SwNode::IsTextNode(), SwViewShell::mxDoc, and SwFormat::SetFormatAttr().
Referenced by SwDocShell::MakeByExample(), SwWrtShell::QuickUpdateStyle(), and SwDocShell::UpdateStyle().
void SwEditShell::FillByEx | ( | SwTextFormatColl * | pColl | ) |
Definition at line 2286 of file edfcol.cxx.
References SwDoc::ChgFormat(), SfxItemSet::ClearItem(), SfxItemSet::Count(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwViewShell::GetLayout(), SwPosition::GetNode(), sw::GetParaPropsNode(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwContentNode::GetpSwAttrSet(), CntUnencodedStringItem::GetValue(), SwNumRule::IsAutoRule(), SwNode::IsTextNode(), RES_BREAK(), RES_PAGEDESC(), and RES_PARATR_NUMRULE().
SwCharFormat * SwEditShell::FindCharFormatByName | ( | const OUString & | rName | ) | const |
Definition at line 147 of file edfmt.cxx.
References SwViewShell::mxDoc.
Referenced by SwDocShell::Edit(), SwTextShell::ExecParaAttrArgs(), and SwWrtShell::GetCharStyle().
const SwFlyFrameFormat * SwEditShell::FindFlyByName | ( | const OUString & | rName | ) | const |
Definition at line 142 of file edfmt.cxx.
References SwViewShell::mxDoc.
Referenced by SwFrameShell::Execute().
SwRedlineTable::size_type SwEditShell::FindRedlineOfData | ( | const SwRedlineData & | rData | ) | const |
Search Redline for this Data and.
Search the Redline of the data given.
Definition at line 186 of file edredln.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), IDocumentRedlineAccess::GetRedlineTable(), i, SwRedlineTable::npos, and SwRedlineTable::size().
Referenced by SwRedlineAcceptDlg::GetRedlinePos().
SwTextFormatColl * SwEditShell::FindTextFormatCollByName | ( | const OUString & | rName | ) | const |
Definition at line 152 of file edfmt.cxx.
References SwViewShell::mxDoc.
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwDocShell::Edit(), SwWrtShell::GetParaStyle(), SwOutlineTabDialog::Ok(), and SwTemplateDlgController::PageCreated().
void SwEditShell::GCAttr | ( | ) |
Definition at line 55 of file edatmisc.cxx.
References GCAttr(), SwTextNode::GCAttr(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwNodeIndex::GetNode(), SwViewShell::GetNodes(), sw::Ring< SwViewShell >::GetRingContainer(), SwNode::GetTextNode(), GoNext(), and SwNode::IsTextNode().
Referenced by GCAttr(), SwEditWin::MouseButtonDown(), SwWrtShell::MoveCursor(), and SwEditWin::SelectMenuPosition().
void SwEditShell::GetAllUsedDB | ( | std::vector< OUString > & | rDBNameList, |
std::vector< OUString > const * | pAllDBNames | ||
) |
Definition at line 302 of file edfld.cxx.
References SwDoc::GetAllUsedDB(), and SwViewShell::GetDoc().
Referenced by SwView::EnsureMailMergeConfigItem(), SwChangeDBDlg::FillDBPopup(), SwView::GenerateFormLetter(), and SwMailMergeConfigItem::SetSourceView().
Deliver the responsible area of the columns.
In footnotes it may not be the area within the footnote.
Definition at line 83 of file edsect.cxx.
References SwFrame::FindSctFrame(), SwFrame::FindTabFrame(), SwNode::GetContentNode(), SwCursorShell::GetCurrFrame(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwRootFrame::GetModelPositionForViewPoint(), SwPosition::GetNode(), SwSectionFrame::GetSection(), SwFrame::GetUpper(), SwFrame::IsInFootnote(), and SwFrame::IsInSct().
Referenced by SwView::ExecTabWin(), and SwView::StateTabWin().
|
static |
Interface for access to AutoComplete-list.
Definition at line 326 of file edws.cxx.
References SwDoc::GetAutoCompleteWords().
Referenced by QuickHelpData::FillStrArr().
|
static |
Definition at line 2813 of file autofmt.cxx.
References s_pAutoFormatFlags.
Referenced by AutoFormatBySplitNode(), SwXTextDocument::initializeForTiledRendering(), and SetAutoFormatFlags().
SwCharFormat & SwEditShell::GetCharFormat | ( | sal_uInt16 | nFormat | ) | const |
Definition at line 34 of file edfmt.cxx.
References SwDoc::GetCharFormats(), and SwViewShell::GetDoc().
Referenced by lcl_GetCharFormat(), and SwNumRulesWithName::SwNumFormatGlobal::MakeNumFormat().
sal_uInt16 SwEditShell::GetCharFormatCount | ( | ) | const |
CHAR.
Definition at line 29 of file edfmt.cxx.
References SwDoc::GetCharFormats(), SwViewShell::GetDoc(), and SwCharFormats::size().
Referenced by lcl_GetCharFormat(), and SwNumRulesWithName::SwNumFormatGlobal::MakeNumFormat().
|
inline |
Definition at line 355 of file editsh.hxx.
References GetFormatFromPool(), and nId.
Referenced by SwDocShell::Edit(), SwNumRulesWithName::SwNumFormatGlobal::MakeNumFormat(), and SwWrtShell::NumOrBulletOn().
std::vector< OUString > SwEditShell::GetChunkForAutoText | ( | ) |
Definition at line 310 of file edws.cxx.
References SvxAutoCorrect::GetChunkForAutoText(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwCursorShell::getShellCursor(), SwNode::GetTextNode(), and nPos.
Referenced by SwEditWin::Command(), and SwEditWin::KeyInput().
sal_uInt16 SwEditShell::GetCntType | ( | ) | const |
Determine form of content. Return Type at CurrentCursor->SPoint.
Get the content type of a shell.
Definition at line 126 of file edws.cxx.
References CNT_GRF, CNT_OLE, CNT_TXT, SwCursorShell::GetCursor(), Grf, SwCursorShell::IsTableMode(), Ole, and Text.
Referenced by SwWrtShell::Do(), SwFEShell::FinishOLEObj(), SwGrfShell::GetAttrState(), SwFEShell::GetDrawObjGraphic(), GetOLEObject(), SwWrtShell::GetSelectionType(), SwWrtShell::LaunchOLEObj(), SwTransferable::PasteData(), SwWrtShell::SelectNextPrevHyperlink(), and SwFEShell::SelectObj().
uno::Reference< XSpellAlternatives > SwEditShell::GetCorrection | ( | const Point * | pPt, |
SwRect & | rSelectRect | ||
) |
Get a list of potential corrections for misspelled word.
If empty, word is unknown but there are no corrections available. If NULL then the word is not misspelled but correct.
Definition at line 909 of file edlingu.cxx.
References ModelToViewHelper::ConvertToViewPosition(), ExpandFields, ExpandFootnote, SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwTextNode::GetLang(), SwViewShell::GetLayout(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointNode(), GetSpellChecker(), SwTextNode::GetText(), SwNode::GetTextNode(), SwViewShell::GetViewOptions(), ModelToViewHelper::getViewText(), SwTextNode::GetWrong(), HandleCorrectionError(), HideDeletions, HideFieldmarkCommands, HideInvisible, SwWrongList::InWrongWord(), SwNode::IsInProtectSect(), SwTextNode::IsSymbolAt(), SwCursorShell::IsTableMode(), comphelper::makePropertyValue(), ReplaceMode, SetOnlyText, and UPN_MAX_NUMBER_OF_SUGGESTIONS.
Referenced by SwTextShell::Execute().
bool SwEditShell::GetCurAttr | ( | SfxItemSet & | rSet, |
const bool | bMergeIndentValuesOfNumRule = false |
||
) | const |
Definition at line 171 of file edattr.cxx.
References SwCursorShell::GetCursor(), GetPaMAttr(), and rSet.
Referenced by SwInsFootNoteDlg::Apply(), ApplyChangedSentence(), ApplyCharBackground(), SwHHCWrapper::ChangeText_impl(), SwFormatClipboard::Copy(), SwGrfShell::ExecAttr(), SwBaseShell::ExecBckCol(), SwTextShell::ExecCharAttr(), SwTextShell::ExecCharAttrArgs(), SwBaseShell::ExecDlg(), SwTextShell::ExecParaAttr(), SwTextShell::ExecParaAttrArgs(), SwView::ExecTabWin(), SwBaseShell::ExecTextCtrl(), SwFrameShell::Execute(), SwTextShell::Execute(), SwGrfShell::Execute(), SwGrfShell::ExecuteRotation(), SwTextShell::GetAttrState(), SwGrfShell::GetAttrState(), SwGrfShell::GetAttrStateForRotation(), SwBaseShell::GetBckColState(), SwBaseShell::GetBorderState(), GetCurCharFormat(), SwDropCapsPict::GetFontSettings(), SwLangHelper::GetLanguage(), SwVisibleCursor::getLOKPayload(), SwBaseShell::GetState(), SwTextShell::GetState(), SwBaseShell::GetTextCtrlState(), SwBaseShell::GetTextFontCtrlState(), SwInsFootNoteDlg::Init(), SwTextShell::InsertHyperlink(), SwTextShell::InsertSymbol(), SwEditWin::KeyInput(), lcl_GetLanguage(), lcl_isNonDefaultLanguage(), SwVirtFlyDrawObj::NbcCrop(), SwLangHelper::SetLanguage(), SwLangHelper::SetLanguage_None(), SfxToSwPageDescAttr(), SwTextShell::StateInsert(), SwView::StateStatusLine(), SwView::StateTabWin(), sw_CharDialog(), SwWrtShell::TryRemoveIndent(), and SwIndexMarkPane::UpdateLanguageDependenciesForPhoneticReading().
SwCharFormat * SwEditShell::GetCurCharFormat | ( | ) | const |
Definition at line 39 of file edfmt.cxx.
References SwViewShell::GetAttrPool(), SwFormatCharFormat::GetCharFormat(), GetCurAttr(), SwViewShell::GetDoc(), SfxItemSet::GetItemIfSet(), and RES_TXTATR_CHARFMT().
Referenced by SwFormatClipboard::Copy(), SwDocShell::Edit(), SwDocShell::ExecStyleSheet(), SwDocShell::MakeByExample(), and SwDocShell::StateStyleSheet().
bool SwEditShell::GetCurFootnote | ( | SwFormatFootnote * | pToFillFootnote = nullptr | ) |
Query and set footnote-text/number. Set... to current SSelection!
Definition at line 394 of file edattr.cxx.
References SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwTextNode::GetTextAttrForCharAt(), SwNode::GetTextNode(), SwFormatFootnote::IsEndNote(), RES_TXTATR_FTN(), SwFormatFootnote::SetEndNote(), and SwFormatFootnote::SetNumber().
Referenced by SwInsFootNoteDlg::Init(), and SwEditWin::MouseButtonDown().
LanguageType SwEditShell::GetCurLang | ( | ) | const |
Definition at line 801 of file edattr.cxx.
References SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwTextNode::GetLang(), SwPosition::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwPaM::HasMark(), LANGUAGE_DONTKNOW, nLang, and nPos.
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwTableShell::ExecNumberFormat(), QuickHelpData::FillStrArr(), SwFieldMgr::GetCurrLanguage(), SwView::GetState(), SwTextShell::GetState(), and SwInsertDBColAutoPilot::SwInsertDBColAutoPilot().
void SwEditShell::GetCurParAttr | ( | SfxItemSet & | rSet | ) | const |
Get the paragraph format attribute(s) of the current selection.
rSet | output parameter - the SfxItemSet where the automatic paragraph format attribute(s) will be store. The attributes aren't invalidated or cleared if the function reach the getMaxLookup limit. |
Definition at line 177 of file edattr.cxx.
References SwCursorShell::GetCursor(), GetPaMParAttr(), and rSet.
Referenced by SwFormatClipboard::Copy().
Detect highest and lowest level to check moving of outline levels.
Definition at line 388 of file ednumber.cxx.
References SwPaM::End(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwPaM::GetPoint(), SwDoc::GotoNextNum(), SwPaM::HasMark(), SwPaM::SetMark(), and SwPaM::Start().
Referenced by SwListShell::GetState().
int SwEditShell::GetCurrentParaOutlineLevel | ( | ) | const |
Get Outline level of current paragraph.
Definition at line 377 of file ednumber.cxx.
References SwTextNode::GetAttrOutlineLevel(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwPosition::GetNode(), sw::GetParaPropsNode(), and SwPaM::GetPoint().
Referenced by SwView::StateStatusLine().
const SwRangeRedline * SwEditShell::GetCurrRedline | ( | ) | const |
Definition at line 161 of file edredln.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwViewShell::getIDocumentRedlineAccess(), IDocumentRedlineAccess::GetRedline(), and GetRedline().
Referenced by SwTextShell::ExecField(), IMPL_LINK(), SwRedlineAcceptDlg::InsertParents(), and SwTextShell::StateField().
const SwSection * SwEditShell::GetCurrSection | ( | ) | const |
Definition at line 71 of file edsect.cxx.
References SwDoc::GetCurrSection(), SwCursorShell::GetCursor(), and SwCursorShell::IsTableMode().
Referenced by SwView::ExecTabWin(), SwTextShell::Execute(), SwView::ExecuteStatusLine(), SwBaseShell::GetState(), IsMarkInSameSection(), lcl_IsMarkInSameSection(), SwTextShell::StateInsert(), SwView::StateStatusLine(), SwColumnDlg::SwColumnDlg(), SwEditRegionDlg::SwEditRegionDlg(), SwContentTree::UpdateTracking(), and SwGlobalTree::UpdateTracking().
SwTextFormatColl * SwEditShell::GetCurTextFormatColl | ( | ) | const |
Get the named paragraph format of the current selection.
Definition at line 238 of file edattr.cxx.
References SwCursorShell::GetCursor(), and GetPaMTextFormatColl().
Referenced by SwFormatClipboard::Copy(), SwDocShell::Edit(), SwBaseShell::ExecBckCol(), SwTextShell::ExecCharAttrArgs(), SwTextShell::ExecParaAttr(), SwDocShell::ExecStyleSheet(), SwView::ExecTabWin(), SwBaseShell::ExecTextCtrl(), SwEditWin::KeyInput(), SwDocShell::MakeByExample(), SwWrtShell::NumOrBulletOn(), SwParaDlg::PageCreated(), SwWrtShell::QuickUpdateStyle(), SwDocShell::StateStyleSheet(), and sw_CharDialogResult().
const SwTOXBase * SwEditShell::GetCurTOX | ( | ) | const |
Get current listing before or at the Cursor.
Definition at line 191 of file edtox.cxx.
References SwCursorShell::GetCursor(), and SwDoc::GetCurTOX().
Referenced by SwWrtShell::ClickToField(), SwTextShell::ExecIdx(), SwView::ExecuteStatusLine(), SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks(), SwTextShell::GetIdxState(), SwDocShell::StateStyleSheet(), SwTOXMgr::UpdateOrInsertTOX(), UpdateTableOf(), and SwContentTree::UpdateTracking().
void SwEditShell::GetCurTOXMarks | ( | SwTOXMarks & | rMarks | ) | const |
Get all marks at current SPoint.
Collect all listing markers.
Definition at line 87 of file edtox.cxx.
References SwCursorShell::GetCursor(), SwDoc::GetCurTOXMark(), and Start.
Referenced by SwTextShell::GetIdxState(), SwTOXMgr::SwTOXMgr(), and SwTOXMgr::UpdateTOXMark().
OUString SwEditShell::GetCurWord | ( | ) | const |
request current word
Definition at line 409 of file editsh.cxx.
References SwCursorShell::GetCursor(), SwTextFrame::GetCurWord(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), SwPaM::GetPointNode(), and SwNode::GetTextNode().
Referenced by SwTextShell::GetState(), and IMPL_LINK().
SwDBData const & SwEditShell::GetDBData | ( | ) | const |
Database information.
Definition at line 292 of file edfld.cxx.
References SwDoc::GetDBData(), and SwViewShell::GetDoc().
Referenced by SwXDispatch::addStatusListener(), SwXDispatch::dispatch(), SwView::Execute(), SwChangeDBDlg::FillDBPopup(), SwEnvPage::Init(), SwModule::InsertEnv(), SwFieldMgr::InsertField(), SwModule::InsertLab(), IsFieldDataSourceAvailable(), SwDBManager::Merge(), SwChangeDBDlg::SwChangeDBDlg(), and SwMailMergeConfigItem::updateCurrentDBDataFromDocument().
SwDBManager * SwEditShell::GetDBManager | ( | ) | const |
For evaluation of DB fields (new DB-manager).
Definition at line 329 of file edfld.cxx.
References SwDoc::GetDBManager(), SwViewShell::GetDoc(), and NULL.
Referenced by SwXDispatch::dispatch(), SwTextShell::ExecDB(), SwModule::ExecOther(), SwXMailMerge::execute(), SwView::Execute(), SwView::GenerateFormLetter(), SwDBTreeList_Impl::GetConnection(), SwEnvPage::InitDatabaseBox(), SwFieldMgr::InsertField(), SwFieldMgr::IsDBNumeric(), SwDBManager::PerformMailMerge(), and SwMailMergeDlg::SwMailMergeDlg().
const SfxPoolItem & SwEditShell::GetDefault | ( | sal_uInt16 | nFormatHint | ) | const |
Query default attribute of document.
request the default attribute in this document.
Definition at line 93 of file edatmisc.cxx.
References SwDoc::GetDefault(), and SwViewShell::GetDoc().
Referenced by SwModule::CreateItemSet(), SwView::ExecTabWin(), and SwView::StateTabWin().
|
inline |
Definition at line 270 of file editsh.hxx.
Definition at line 111 of file edtox.cxx.
References SwDoc::GetDefaultTOXBase(), and SwViewShell::GetDoc().
Referenced by SwMultiTOXTabDialog::GetTOXDescription(), and SwMultiTOXTabDialog::Ok().
SwTextFormatColl & SwEditShell::GetDfltTextFormatColl | ( | ) | const |
Definition at line 689 of file edfcol.cxx.
References SwDoc::GetDfltTextFormatColl(), and SwViewShell::GetDoc().
Referenced by SwWrtShell::SearchTempl().
OUString SwEditShell::GetDropText | ( | const sal_Int32 | nChars | ) | const |
Definition at line 452 of file editsh.cxx.
References SwCursorShell::GetCursor(), SwTextFrame::GetDropLen(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwPaM::GetMarkNode(), SwPosition::GetNodeIndex(), SwPaM::GetPrev(), SwTextFrame::GetText(), SwNode::GetTextNode(), SwCursorShell::IsMultiSelection(), nIndex, and SAL_WARN_IF.
Referenced by SwDropCapsPage::Reset().
const SwEndNoteInfo & SwEditShell::GetEndNoteInfo | ( | ) | const |
Definition at line 915 of file editsh.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetEndNoteInfo().
Referenced by SwEndNoteOptionPage::FillItemSet(), and SwEndNoteOptionPage::Reset().
SwFieldType * SwEditShell::GetFieldType | ( | size_t | nField, |
SwFieldIds | nResId = SwFieldIds::Unknown |
||
) | const |
get field types with a ResId, if 0 get all
Definition at line 64 of file edfld.cxx.
References SwViewShell::GetDoc(), IDocumentFieldsAccess::GetFieldTypes(), SwDoc::getIDocumentFieldsAccess(), size, and Unknown.
Referenced by SwTOXEntryTabPage::ActivatePage(), SwCaptionDialog::DrawSample(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwTextShell::ExecField(), SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks(), SwFieldRefPage::FillItemSet(), SwFieldMgr::GetFieldType(), SwFieldMgr::GetSubTypes(), SwMultiTOXTabDialog::GetTOXDescription(), SwFieldMgr::GoNextPrev(), IMPL_LINK(), SwFieldMgr::InsertField(), SwEditWin::KeyInput(), SwCaptionDialog::ModifyHdl(), SwTransferable::PasteDDE(), SwTOXSelectTabPage::Reset(), SwFieldRefPage::Reset(), SwFieldVarPage::SubTypeHdl(), SwCaptionDialog::SwCaptionDialog(), SwFieldInputDlg::SwFieldInputDlg(), SwMultiTOXTabDialog::SwMultiTOXTabDialog(), SwTOXMgr::UpdateOrInsertTOX(), and SwFieldRefPage::UpdateSubType().
SwFieldType * SwEditShell::GetFieldType | ( | SwFieldIds | nResId, |
const OUString & | rName | ||
) | const |
get first type with given ResId and name
Definition at line 88 of file edfld.cxx.
References SwViewShell::GetDoc(), IDocumentFieldsAccess::GetFieldType(), and SwDoc::getIDocumentFieldsAccess().
size_t SwEditShell::GetFieldTypeCount | ( | SwFieldIds | nResId = SwFieldIds::Unknown | ) | const |
count field types with a ResId, if SwFieldIds::Unknown count all
Definition at line 43 of file edfld.cxx.
References SwViewShell::GetDoc(), IDocumentFieldsAccess::GetFieldTypes(), SwDoc::getIDocumentFieldsAccess(), and Unknown.
Referenced by SwFieldMgr::GetFieldTypeCount(), SwFieldMgr::GetSubTypes(), SwTransferable::PasteDDE(), SwTOXSelectTabPage::Reset(), and SwFieldRefPage::Reset().
SwFieldUpdateFlags SwEditShell::GetFieldUpdateFlags | ( | ) | const |
Definition at line 364 of file edfld.cxx.
References IDocumentSettingAccess::getFieldUpdateFlags(), and SwViewShell::getIDocumentSettingAccess().
Referenced by SwLoadOptPage::Reset().
bool SwEditShell::GetFirstRedoInfo | ( | OUString *const | o_pStr, |
SwUndoId *const | o_pId, | ||
const SwView * | pView = nullptr |
||
) | const |
Definition at line 244 of file edws.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetIDocumentUndoRedo().
Referenced by SwAnnotationShell::ExecUndo(), SwWrtShell::GetDoString(), SwBaseShell::StateUndo(), and SwAnnotationShell::StateUndo().
const SwFootnoteInfo & SwEditShell::GetFootnoteInfo | ( | ) | const |
Footnote attributes global to document.
Definition at line 901 of file editsh.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetFootnoteInfo().
Referenced by SwEndNoteOptionPage::FillItemSet(), and SwEndNoteOptionPage::Reset().
SwFormat * SwEditShell::GetFormatFromPool | ( | sal_uInt16 | nId | ) |
return the requested automatic format - base-class !
Definition at line 127 of file edfmt.cxx.
References SwViewShell::GetDoc(), IDocumentStylePoolAccess::GetFormatFromPool(), SwDoc::getIDocumentStylePoolAccess(), and nId.
Referenced by GetCharFormatFromPool(), SwWrtShell::GetCharStyle(), GetFrameFormatFromPool(), and SwFlyFrameAttrMgr::SwFlyFrameAttrMgr().
|
inline |
Definition at line 353 of file editsh.hxx.
References GetFormatFromPool(), and nId.
Referenced by SwDocShell::Edit(), and SwModule::InsertLab().
sal_uInt16 SwEditShell::GetFullSelectedSectionCount | ( | ) | const |
Search inside the cursor selection for full selected sections.
if any part of section in the selection
Definition at line 246 of file edsect.cxx.
References SwNode::GetContentNode(), SwCursorShell::GetCursor(), SwNodeIndex::GetNode(), sw::Ring< SwViewShell >::GetRingContainer(), SwNode::IsEndNode(), SwNode::IsSectionNode(), SwContentNode::Len(), and SwNode::StartOfSectionNode().
Referenced by SwTextShell::StateInsert(), and SwColumnDlg::SwColumnDlg().
void SwEditShell::GetGlobalDocContent | ( | SwGlblDocContents & | rArr | ) | const |
Definition at line 53 of file edglbldc.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::clear(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), sw::proofreadingiterator::get(), SwViewShell::GetDoc(), SwGlblDocContent::GetDocPos(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), SwViewShell::getIDocumentSettingAccess(), SwNode::GetIndex(), SwDoc::GetNodes(), SwDoc::GetSections(), SwSection::GetType(), GLOBAL_DOCUMENT, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwNode::IsSectionNode(), SwNode::IsTableNode(), n, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwVectorModifyBase< Value >::size(), ToxContent, and ToxHeader.
Referenced by SwGlobalTree::ExecuteContextMenuAction(), and SwGlobalTree::Update().
bool SwEditShell::GetGrammarCorrection | ( | css::linguistic2::ProofreadingResult & | rResult, |
sal_Int32 & | rErrorPosInText, | ||
sal_Int32 & | rErrorIndexInResult, | ||
css::uno::Sequence< OUString > & | rSuggestions, | ||
const Point * | pPt, | ||
SwRect & | rSelectRect | ||
) |
Definition at line 974 of file edlingu.cxx.
References COMPLETE_STRING, ModelToViewHelper::ConvertToViewPosition(), SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwTextNode::GetGrammarCheck(), SwViewShell::GetLayout(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwGrammarMarkUp::getSentenceEnd(), SwGrammarMarkUp::getSentenceStart(), SwTextNode::GetText(), SwNode::GetTextNode(), ModelToViewHelper::getViewText(), HandleCorrectionError(), SwWrongList::InWrongWord(), SwNode::IsInProtectSect(), SwCursorShell::IsTableMode(), SwViewShell::mxDoc, and SetOnlyText.
Referenced by SwTextShell::Execute().
const Graphic * SwEditShell::GetGraphic | ( | bool | bWait = true | ) | const |
Definition at line 238 of file editsh.cxx.
References SwGrfNode::GetGrf(), GetGrfNode_(), and Graphic::GetType().
Referenced by SwGrfShell::Execute(), SwGrfShell::GetAttrState(), SwFEShell::GetDrawObjGraphic(), GetIMapGraphic(), SwBaseShell::GetState(), SwTransferable::PrepareForCopy(), SwTransferable::PrivateDrop(), and SwTransferable::SetDataForDragAndDrop().
const GraphicAttr * SwEditShell::GetGraphicAttr | ( | GraphicAttr & | rGA | ) | const |
Definition at line 263 of file editsh.cxx.
References SwCursorShell::GetCurrFrame(), SwGrfNode::GetGraphicAttr(), and GetGrfNode_().
Referenced by SwGrfShell::Execute().
const GraphicObject * SwEditShell::GetGraphicObj | ( | ) | const |
Definition at line 257 of file editsh.cxx.
References GetGrfNode_(), and SwGrfNode::GetGrfObj().
Referenced by SwGrfShell::Execute(), SwGrfShell::GetAttrState(), and SwVirtFlyDrawObj::NbcCrop().
const tools::PolyPolygon * SwEditShell::GetGraphicPolygon | ( | ) | const |
Definition at line 318 of file editsh.cxx.
References SwCursorShell::GetCursor(), SwNode::GetNoTextNode(), SwPaM::GetPointNode(), and SwNoTextNode::HasContour().
Referenced by lcl_UpdateContourDlg().
GraphicType SwEditShell::GetGraphicType | ( | ) | const |
Definition at line 270 of file editsh.cxx.
References GetGrfNode_(), SwGrfNode::GetGrfObj(), and GraphicObject::GetType().
Referenced by SwGrfShell::ExecAttr(), SwGrfShell::GetAttrState(), SwGrfShell::GetAttrStateForRotation(), SwBaseShell::GetState(), and IMPL_LINK_NOARG().
void SwEditShell::GetGrfNms | ( | OUString * | pGrfName, |
OUString * | pFltName, | ||
const SwFlyFrameFormat * | pFormat = nullptr |
||
) | const |
Returns the name and the filter name of a graphic if the pointer is on a graphic.
If a String-pointer is != 0 then return corresponding name.
Definition at line 304 of file editsh.cxx.
References SwGrfNode::GetFileFilterNms(), SwDoc::GetGrfNms(), GetGrfNode_(), and SwGrfNode::IsLinkedFile().
Referenced by SwGrfShell::Execute(), SwContentType::FillMemberList(), SwTransferable::GetSotDestination(), lcl_UpdateContourDlg(), SwTransferable::PrepareForCopy(), SwTransferable::PrivateDrop(), and SwTransferable::SetDataForDragAndDrop().
|
private |
Returns pointer to a SwGrfNode that will be used by GetGraphic() and GetGraphicSize().
Definition at line 225 of file editsh.cxx.
References SwCursorShell::GetCursor(), SwNode::GetGrfNode(), SwPaM::GetMark(), SwPosition::GetNode(), SwPaM::GetPoint(), and SwPaM::HasMark().
Referenced by GetGraphic(), GetGraphicAttr(), GetGraphicObj(), GetGraphicType(), GetGrfNms(), and IsLinkedGrfSwapOut().
bool SwEditShell::GetGrfSize | ( | Size & | rSz | ) | const |
Definition at line 278 of file editsh.cxx.
References SwCursorShell::GetCursor(), SwPaM::GetMark(), SwPosition::GetNode(), SwNode::GetNoTextNode(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwNoTextNode::GetTwipSize(), and SwPaM::HasMark().
Referenced by SwFEShell::GetDrawObjGraphic(), SwWrtShell::InsertGraphic(), and SwFramePage::Reset().
Graphic SwEditShell::GetIMapGraphic | ( | ) | const |
Remove default parameter, because method always called this default value.
Definition at line 604 of file editsh.cxx.
References SwFrame::FindFlyFrame(), SwNode::GetContentNode(), SwCursorShell::GetCursor(), SwFlyFrame::GetFormat(), GetGraphic(), SwGrfNode::GetGrf(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetPointNode(), Graphic::GetType(), SwPaM::HasMark(), SwNode::IsGrfNode(), SwNode::IsOLENode(), and SwFlyFrameFormat::MakeGraphic().
Referenced by SwBaseShell::GetState(), lcl_UpdateContourDlg(), lcl_UpdateIMapDlg(), and SwWrapTabPage::Reset().
void * SwEditShell::GetIMapInventor | ( | ) | const |
Unique identification of object (for ImageMapDlg).
Definition at line 597 of file editsh.cxx.
References SwCursorShell::GetCursor(), and SwPaM::GetPointNode().
Referenced by SwBaseShell::Execute(), SwBaseShell::GetState(), IMPL_LINK_NOARG(), lcl_UpdateContourDlg(), and lcl_UpdateIMapDlg().
void SwEditShell::GetINetAttrs | ( | SwGetINetAttrs & | rArr, |
bool | bIncludeInToxContent = true |
||
) |
Definition at line 687 of file editsh.cxx.
References eType, SwNode::FindSectionNode(), SwIterator< TElementType, TSource, eMode >::First(), SwDoc::GetCharFormats(), SwViewShell::GetDoc(), SwTextAttrEnd::GetEnd(), SwTextNode::GetExpandText(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNode::GetNodes(), SwTextAttr::GetStart(), SwNodes::IsDocNodes(), SwTextFrame::MapModelToView(), n, SwIterator< TElementType, TSource, eMode >::Next(), SwCharFormats::size(), comphelper::string::strip(), and ToxContent.
Referenced by SwContentTree::BringEntryToAttention(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), and SwContentType::FillMemberList().
std::vector< std::pair< const SfxPoolItem *, std::unique_ptr< SwPaM > > > SwEditShell::GetItemWithPaM | ( | sal_uInt16 | nWhich | ) |
Get RES_CHRATR_* items of one type in the current selection.
nWhich | WhichId of the collected items. If parts of the selection have different scripttypes, the items with corresponding WhichIds are also collected. |
Definition at line 284 of file edattr.cxx.
References SwpHints::Count(), SwTextAttr::End(), SwpHints::Get(), SwTextAttr::GetAttr(), SfxItemIter::GetCurItem(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SfxItemSet::GetItem(), CharFormat::GetItemSet(), SwDoc::GetNodes(), SfxItemSet::GetPool(), SfxItemPool::GetPoolDefaultItem(), SwTextNode::GetpSwpHints(), sw::Ring< SwViewShell >::GetRingContainer(), SwScriptInfo::GetScriptInfo(), SwTextAttr::GetStart(), SwContentNode::GetSwAttrSet(), SwTextNode::GetText(), GetWhichOfScript(), SwTextNode::HasHints(), SwContentNode::HasSwAttrSet(), isCHRATR(), SwNode::IsTextNode(), m, SwTextFrame::MapModelToView(), n, SfxItemIter::NextItem(), RES_TXTATR_AUTOFMT(), RES_TXTATR_CHARFMT(), RES_TXTATR_INETFMT(), SwScriptInfo::ScriptType(), SfxPoolItem::Which(), and SwTextAttr::Which().
Referenced by SwTextShell::ExecCharAttrArgs(), and SwTextShell::GetAttrState().
bool SwEditShell::GetLastUndoInfo | ( | OUString *const | o_pStr, |
SwUndoId *const | o_pId, | ||
const SwView * | pView = nullptr |
||
) | const |
Definition at line 237 of file edws.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetIDocumentUndoRedo().
Referenced by SwDocShell::Edit(), SwAnnotationShell::ExecUndo(), SwWrtShell::GetDoString(), SwEditWin::MouseButtonUp(), SwWrtShell::NavigatorPaste(), SwFEShell::NewFlyFrame(), SwBaseShell::StateUndo(), SwAnnotationShell::StateUndo(), and Undo().
sal_Int32 SwEditShell::GetLineCount | ( | ) |
Definition at line 855 of file editsh.cxx.
References CalcLayout(), COMPLETE_STRING, SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwTextFrame::GetLineCount(), SwTextFrame::GetMergedPara(), SwPosition::GetNode(), SwViewShell::GetNodes(), SwPaM::GetPoint(), and SwFrame::IsTextFrame().
Referenced by SwXTextView::getPropertyValue(), and IMPL_LINK_NOARG().
const SwLineNumberInfo & SwEditShell::GetLineNumberInfo | ( | ) | const |
Definition at line 928 of file editsh.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetLineNumberInfo().
Referenced by SwLineNumberingDlg::SwLineNumberingDlg().
sfx2::LinkManager & SwEditShell::GetLinkManager | ( | ) |
Definition at line 592 of file editsh.cxx.
References SwViewShell::mxDoc.
Referenced by SwTextShell::ExecField(), SwBaseShell::Execute(), SwGlobalTree::ExecuteContextMenuAction(), SwView::ExecutePrint(), GetLinkManager(), and SwBaseShell::GetState().
|
inline |
Definition at line 1036 of file editsh.hxx.
References GetLinkManager().
sal_uInt16 SwEditShell::GetLinkUpdMode | ( | ) | const |
Embeds all local links (ranges/graphics).
Definition at line 942 of file editsh.cxx.
References SwViewShell::getIDocumentSettingAccess(), and IDocumentSettingAccess::getLinkUpdateMode().
Referenced by SwLoadOptPage::Reset().
sal_uInt16 SwEditShell::GetNodeNumStart | ( | SwPaM * | pPaM | ) | const |
Definition at line 858 of file ednumber.cxx.
References SwTextNode::GetAttrListRestartValue(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwPosition::GetNode(), sw::GetParaPropsNode(), SwPaM::GetPoint(), and SwTextNode::HasAttrListRestartValue().
Referenced by SwTextShell::Execute().
SvNumberFormatter * SwEditShell::GetNumberFormatter | ( | ) |
Query NumberFormatter from document.
Definition at line 756 of file editsh.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetNumberFormatter().
Referenced by SwNumFormatBase::CallSelectHdl(), SwInsertDBColAutoPilot::DataToDoc(), SwTextShell::ExecField(), SwTableShell::ExecNumberFormat(), SwTableShell::Execute(), SwTextShell::Execute(), SwFieldVarPage::FillItemSet(), IMPL_LINK(), IMPL_LINK_NOARG(), SwInsertDBColAutoPilot::ImplCommit(), SwFieldMgr::InsertField(), SwInsertDBColAutoPilot::Load(), SwFieldDokInfPage::Reset(), SwFieldDokPage::Reset(), SwFieldVarPage::Reset(), SwNumFormatBase::SetDefFormat(), SwNumFormatBase::SetFormatType(), SwContentControlDlg::SwContentControlDlg(), and SwInsertDBColAutoPilot::SwInsertDBColAutoPilot().
|
inline |
Definition at line 928 of file editsh.hxx.
sal_uInt8 SwEditShell::GetNumLevel | ( | ) | const |
Definition at line 669 of file ednumber.cxx.
References SwTextNode::GetActualListLevel(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwPosition::GetNode(), SwTextNode::GetNumRule(), sw::GetParaPropsNode(), SwPaM::GetPoint(), and MAXLEVEL.
Referenced by SwTextShell::ExecEnterNum(), SwTextShell::ExecSetNumber(), SwListShell::GetState(), SwTextShell::GetState(), SwEditWin::KeyInput(), and SwView::StateStatusLine().
const SwNumRule * SwEditShell::GetNumRuleAtCurrCursorPos | ( | ) | const |
Definition at line 694 of file ednumber.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwDoc::GetNumRuleAtPos(), and pos.
Referenced by ChangeIndentOfAllListLevels(), SwTextShell::ExecParaAttr(), SwListShell::Execute(), SwTextShell::Execute(), SwView::ExecuteStatusLine(), SwWrtShell::GetSelectionType(), SwTextShell::GetState(), SwEditWin::KeyInput(), SwDocShell::MakeByExample(), SwWrtShell::NumOrBulletOff(), SwWrtShell::NumOrBulletOn(), SwView::StateStatusLine(), SwDocShell::StateStyleSheet(), SwSvxNumBulletTabDialog::SwSvxNumBulletTabDialog(), and SwDocShell::UpdateStyle().
const SwNumRule * SwEditShell::GetNumRuleAtCurrentSelection | ( | ) | const |
Returns the numbering rule found at the paragraphs of the current selection, if all paragraphs of the current selection have the same or none numbering rule applied.
Definition at line 700 of file ednumber.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwDoc::GetNumRuleAtPos(), sw::Ring< SwViewShell >::GetRingContainer(), and pos.
Referenced by SwTextShell::ExecEnterNum(), SwTextShell::ExecSetNumber(), and SwTextShell::GetState().
svt::EmbeddedObjectRef & SwEditShell::GetOLEObject | ( | ) | const |
Get OLE object at pointer.
Returns a pointer to a SvInPlaceObjectRef if CurrentCursor->GetPoint() points to a SwOLENode and GetMark is not set or points to the same object reference. Gets this pointer from the Doc if the object should be searched by name.
Definition at line 358 of file editsh.cxx.
References CNT_OLE, GetCntType(), SwCursorShell::GetCursor(), GetNode(), SwOLEObj::GetObject(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwPaM::GetPointNode(), and SwCursorShell::HasMark().
Referenced by SwTextShell::ExecInsert(), SwFramePage::Init(), and SwWrtShell::LaunchOLEObj().
const SwNumRule * SwEditShell::GetOutlineNumRule | ( | ) | const |
Definition at line 117 of file ednumber.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetOutlineNumRule().
Referenced by SwCaptionDialog::DrawSample(), SwContentTree::FillTransferData(), HasNumber(), SwEditWin::KeyInput(), SwWrtShell::NumOrBulletOn(), SwOutlineTabDialog::Ok(), SelectionHasNumber(), and SwOutlineTabDialog::SwOutlineTabDialog().
SwPageDesc * SwEditShell::GetPageDescFromPool | ( | sal_uInt16 | nId | ) |
Definition at line 132 of file edfmt.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentStylePoolAccess(), IDocumentStylePoolAccess::GetPageDescFromPool(), and nId.
Referenced by SwFEShell::FindPageDescByName(), SwModule::InsertEnv(), and SwTitlePageDlg::SwTitlePageDlg().
bool SwEditShell::GetPaMAttr | ( | SwPaM * | pPaM, |
SfxItemSet & | rSet, | ||
const bool | bMergeIndentValuesOfNumRule = false |
||
) | const |
Apply / remove attributes.
Definition at line 59 of file edattr.cxx.
References SfxItemSet::ClearItem(), SfxItemSet::Count(), SwDoc::FindCharFormatByName(), SwNumRule::Get(), SwTextNode::GetActualListLevel(), SwFormat::GetAttrSet(), SwNumFormat::GetCharFormatName(), SwCursorShell::GetCursorCnt(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), getMaxLookup(), SwDoc::GetNodes(), SwNode::GetNodeType(), SwTextNode::GetNumRule(), sw::GetParaPropsNode(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SwNode::GetRedlineMergeFlag(), sw::Ring< value_type >::GetRingContainer(), SwTextNode::GetText(), SwNode::GetTextNode(), Grf, SwRootFrame::HasMergedParas(), SwNode::Hidden, SfxItemSet::InvalidateAllItems(), MAXLEVEL, SfxItemSet::MergeValues(), n, Ole, SfxItemSet::Put(), rSet, and Text.
Referenced by SwWrtShell::AutoUpdatePara(), SwTextShell::ExecCharAttrArgs(), SwTextShell::Execute(), and GetCurAttr().
void SwEditShell::GetPaMParAttr | ( | SwPaM * | pPaM, |
SfxItemSet & | rSet | ||
) | const |
Get the paragraph format attribute(s) of the selection(s) described by a SwPaM.
pPaM | input parameter - the selection where to look for the paragraph format. |
rSet | output parameter - the SfxItemSet where the automatic paragraph format attribute(s) will be store. The attributes aren't invalidated or cleared if the function reaches the getMaxLookup limit. |
Definition at line 182 of file edattr.cxx.
References SfxItemSet::ClearItem(), SfxItemSet::Count(), sw::GetAttrMerged(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), getMaxLookup(), SwDoc::GetNodes(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SwNode::GetRedlineMergeFlag(), sw::Ring< value_type >::GetRingContainer(), SwNode::GetTextNode(), SwNode::Hidden, SwNode::IsTextNode(), SfxItemSet::MergeValues(), n, and rSet.
Referenced by GetCurParAttr().
SwTextFormatColl * SwEditShell::GetPaMTextFormatColl | ( | SwPaM * | pPaM | ) | const |
Get the named paragraph format of the selection(s) described by a SwPaM.
pPaM | input parameter - the selection where to look for the paragraph format. |
Definition at line 243 of file edattr.cxx.
References SwViewShell::GetDoc(), SwViewShell::GetLayout(), getMaxLookup(), SwDoc::GetNodes(), sw::GetParaPropsNode(), sw::Ring< value_type >::GetRingContainer(), SwTextNode::GetTextColl(), SwNode::IsTextNode(), and n.
Referenced by GetCurTextFormatColl(), and sw_ParagraphDialogResult().
OUString SwEditShell::GetPrevAutoCorrWord | ( | SvxAutoCorrect & | rACorr | ) |
Definition at line 293 of file edws.cxx.
References SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SvxAutoCorrect::GetPrevAutoCorrWord(), SwCursorShell::getShellCursor(), SwTextFrame::GetText(), SwNode::GetTextNode(), SwTextFrame::MapModelToViewPos(), and nPos.
Referenced by SwEditWin::Command(), and SwEditWin::KeyInput().
const SwRangeRedline & SwEditShell::GetRedline | ( | SwRedlineTable::size_type | nPos | ) | const |
Definition at line 53 of file edredln.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), IDocumentRedlineAccess::GetRedlineTable(), and nPos.
Referenced by SwRedlineAcceptDlg::Activate(), SwRedlineAcceptDlg::CalcDiff(), SwRedlineAcceptDlg::CallAcceptReject(), GetCurrRedline(), IMPL_LINK(), IMPL_LINK_NOARG(), SwRedlineAcceptDlg::InitAuthors(), and SwRedlineAcceptDlg::InsertParents().
SwRedlineTable::size_type SwEditShell::GetRedlineCount | ( | ) | const |
Definition at line 48 of file edredln.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), IDocumentRedlineAccess::GetRedlineTable(), and SwRedlineTable::size().
Referenced by SwRedlineAcceptDlg::Activate(), SwRedlineAcceptDlg::CalcDiff(), SwFEShell::DeleteCol(), SwRedlineAcceptDlg::InitAuthors(), SwRedlineAcceptDlg::InsertParents(), and SwRedlineAcceptDlg::RemoveParents().
RedlineFlags SwEditShell::GetRedlineFlags | ( | ) | const |
For Redlining.
Definition at line 27 of file edredln.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), and IDocumentRedlineAccess::GetRedlineFlags().
Referenced by SwWrtShell::DelRight(), SwDocShell::IsChangeRecording(), SwDocShell::SetChangeRecording(), SetRedlineFlags(), and UpdateRedlineAttr().
const SwFormatRefMark * SwEditShell::GetRefMark | ( | std::u16string_view | rName | ) | const |
get the reference of a given name in the Doc
Definition at line 441 of file editsh.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetRefMark().
Referenced by SwFieldMgr::CanInsertRefMark().
sal_uInt16 SwEditShell::GetRefMarks | ( | std::vector< OUString > * | pStrings = nullptr | ) | const |
get the names of all references in a Doc
Definition at line 447 of file editsh.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetRefMarks().
Referenced by SwContentType::FillMemberList(), and SwFieldMgr::GetSubTypes().
SwUndoId SwEditShell::GetRepeatInfo | ( | OUString *const | o_pStr | ) | const |
Definition at line 251 of file edws.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetIDocumentUndoRedo().
Referenced by SwWrtShell::GetRepeatString(), and SwBaseShell::StateUndo().
sal_uInt16 SwEditShell::GetScalingOfSelectedText | ( | ) | const |
Definition at line 821 of file edattr.cxx.
References SwPaM::End(), sw::FrameContainsNode(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwTextFrame::GetScalingOfSelectedText(), SwTextFrame::GetText(), SwNode::GetTextNode(), SwTextFrame::MapModelToViewPos(), and SwPaM::Start().
Referenced by sw_CharDialog().
SvtScriptType SwEditShell::GetScriptType | ( | ) | const |
returns the script type of the selection
Definition at line 662 of file edattr.cxx.
References CH_TXTATR_BREAKWORD, Chars, COMPLETE_STRING, g_pBreakIt, GetAppLanguage(), SwBreakIt::GetBreakIter(), SwCursorShell::GetCursor(), SvtLanguageOptions::GetI18NScriptTypeOfLanguage(), SwContentIndex::GetIndex(), SwNodeIndex::GetIndex(), SwViewShell::GetLayout(), SwNodeIndex::GetNode(), sw::Ring< SwViewShell >::GetRingContainer(), SwScriptInfo::GetScriptInfo(), SvtLanguageOptions::GetScriptTypeOfLanguage(), SwTextNode::GetText(), SwTextFrame::GetText(), SwNode::GetTextNode(), SwContentNode::GoPrevious(), SwNode::IsTextNode(), LANGUAGE_SYSTEM, lcl_IsNoEndTextAttrAtPos(), lcl_SetScriptFlags(), SwTextNode::Len(), SwTextFrame::MapModelToView(), SwTextFrame::MapViewToModel(), SwTextFrame::MapViewToModelPos(), SwScriptInfo::NextScriptChg(), nPos, and SwScriptInfo::ScriptType().
Referenced by ApplyChangedSentence(), SwTextShell::ExecCharAttrArgs(), SwBaseShell::ExecTextCtrl(), SwTextShell::GetAttrState(), SwLangHelper::GetCurrentLanguage(), SwTextShell::GetState(), SwBaseShell::GetTextFontCtrlState(), SwTextShell::InsertSymbol(), lcl_GetLanguage(), and SwIndexMarkPane::UpdateLanguageDependenciesForPhoneticReading().
const SwSectionFormat & SwEditShell::GetSectionFormat | ( | size_t | nFormat | ) | const |
Definition at line 142 of file edsect.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetSections().
Referenced by SwContentType::FillMemberList(), SwEditRegionDlg::FindArrPos(), lcl_FillList(), lcl_RemoveSectionLinks(), and SwEditRegionDlg::RecurseList().
size_t SwEditShell::GetSectionFormatCount | ( | ) | const |
Definition at line 114 of file edsect.cxx.
References SwViewShell::GetDoc(), SwDoc::GetSections(), and SwVectorModifyBase< Value >::size().
Referenced by SwContentType::FillMemberList(), SwEditRegionDlg::FindArrPos(), lcl_FillList(), lcl_RemoveSectionLinks(), SwDBManager::MergeMailFiles(), and SwEditRegionDlg::RecurseList().
size_t SwEditShell::GetSectionFormatPos | ( | const SwSectionFormat & | rFormat | ) | const |
Definition at line 136 of file edsect.cxx.
References SwViewShell::GetDoc(), SwFormatsModifyBase< Value >::GetPos(), and SwDoc::GetSections().
Referenced by SwView::ExecTabWin(), SwWrtShell::NavigatorPaste(), and SetTOXBaseReadonly().
void SwEditShell::GetSelectedText | ( | OUString & | rBuf, |
ParaBreakType | nHndlParaBreak = ParaBreakType::ToBlank |
||
) |
Query text within selection.
Get text in a Selection.
Definition at line 249 of file edglss.cxx.
References FILTER_TEXT, SwCursorShell::GetCursor(), SvMemoryStream::GetData(), SwViewShell::GetLayout(), SwCursorShell::GetSelText(), SvMemoryStream::GetSize(), SwReaderWriter::GetWriter(), tools::SvRef< typename T >::is(), ErrCode::IsError(), SwRootFrame::IsHideRedlines(), SwCursorShell::IsSelection(), SwCursorShell::IsSelFullPara(), SwCursorShell::IsSelOnePara(), o3tl::make_unsigned(), p, SvStream::ReadBytes(), SvMemoryStream::ResetError(), SAL_MAX_INT32, SAL_NEWLINE_STRING, SvStream::Seek(), SwAsciiOptions::SetCharSet(), SvStream::SetEndian(), ToBlank, ToOnlyCR, SwWriter::Write(), and SvStream::WriteUInt16().
Referenced by SwView::GetSelectionTextParam(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), SwGlossaryDlg::Init(), BookmarkTable::InsertBookmark(), SwWrtShell::InsertOleObject(), SwGlossaryHdl::NewGlossary(), and SaveGlossaryDoc().
size_t SwEditShell::GetSeqFootnoteList | ( | SwSeqFieldList & | rList, |
bool | bEndNotes = false |
||
) |
Give a List of all footnotes and their beginning texts.
Definition at line 443 of file edattr.cxx.
References SwSeqFieldList::Clear(), SwSeqFieldList::Count(), SwTextNode::GetExpandText(), SwTextAttr::GetFootnote(), SwViewShell::GetLayout(), SwNodeIndex::GetNode(), SwTextFootnote::GetSeqRefNo(), SwTextFootnote::GetStartNode(), SwNode::GetTextNode(), SwFormatFootnote::GetViewNumStr(), SwSeqFieldList::InsertSort(), SwFormatFootnote::IsEndNote(), sw::IsFootnoteDeleted(), SwRootFrame::IsHideRedlines(), SwViewShell::mxDoc, n, and SeqFieldLstElem::sDlgEntry.
Referenced by SwFieldRefPage::FillItemSet(), and SwFieldRefPage::UpdateSubType().
bool SwEditShell::GetTableBoxFormulaAttrs | ( | SfxItemSet & | rSet | ) | const |
Definition at line 300 of file edtab.cxx.
References SfxItemSet::Count(), SwNode::FindTableNode(), SwFormat::GetAttrSet(), SwCursorShell::GetCurrFrame(), SwTableBox::GetFrameFormat(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), GetTableSelCrs(), SwFrame::GetUpper(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwFrame::IsCellFrame(), SwCursorShell::IsTableMode(), SfxItemSet::MergeValues(), n, SfxItemSet::Put(), rSet, and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwTableShell::Execute(), and SwInputWindow::ShowWin().
OUString SwEditShell::GetTableBoxText | ( | ) | const |
Definition at line 409 of file edtab.cxx.
References SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), SwDoc::GetNodes(), SwFrame::GetUpper(), SwFrame::IsCellFrame(), SwCursorShell::IsTableMode(), SwTableBox::IsValidNumTextNd(), and NODE_OFFSET_MAX().
Referenced by SwTableShell::Execute().
TableChgMode SwEditShell::GetTableChgMode | ( | ) | const |
Definition at line 274 of file edtab.cxx.
References eMode, SwTableNode::GetTable(), GetTableChgDefaultMode(), SwTable::GetTableChgMode(), and SwCursorShell::IsCursorInTable().
Referenced by SwTableShell::GetState().
SwFrameFormat * SwEditShell::GetTableFormat | ( | ) |
Definition at line 183 of file edws.cxx.
References SwTable::GetFrameFormat(), SwTableNode::GetTable(), and SwCursorShell::IsCursorInTable().
Referenced by EndUndo(), SwTextShell::ExecInsert(), SwView::ExecTabWin(), SwBaseShell::Execute(), SwXTextView::getSelection(), SwBaseShell::GetState(), SwTableShell::GetState(), SwTextShell::GetState(), SwTableFUNC::InsertChart(), SwMailMergeLayoutPage::InsertGreeting(), InsertTableImpl(), ItemSetToTableParam(), SwEditWin::KeyInput(), lcl_TableParamToItemSet(), SwWebView::SelectShell(), SwInsertDBColAutoPilot::SetTabSet(), SwInputWindow::ShowWin(), SwView::StateStatusLine(), SwView::StateTabWin(), SwInsertChart::SwInsertChart(), SwInsertDBColAutoPilot::SwInsertDBColAutoPilot(), SwTableFUNC::UpdateChart(), and SwContentTree::UpdateTracking().
SwFrameFormat & SwEditShell::GetTableFrameFormat | ( | size_t | nFormat, |
bool | bUsed = false |
||
) | const |
Definition at line 104 of file edfmt.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetTableFrameFormat().
Referenced by SwWrtShell::GetTableStyle().
size_t SwEditShell::GetTableFrameFormatCount | ( | bool | bUsed = false | ) | const |
TABLE.
Definition at line 99 of file edfmt.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetTableFrameFormatCount().
Referenced by SwContentTree::BringEntryToAttention(), SwContentType::FillMemberList(), and SwWrtShell::GetTableStyle().
SwTextFormatColl * SwEditShell::GetTextCollFromPool | ( | sal_uInt16 | nId | ) |
Definition at line 121 of file edfmt.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentStylePoolAccess(), IDocumentStylePoolAccess::GetTextCollFromPool(), and nId.
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwEnvFormatPage::Edit(), SwDocShell::Edit(), SwStdFontTabPage::FillItemSet(), SwWrtShell::GetParaStyle(), SwView::InsertCaption(), SwModule::InsertEnv(), SwMultiTOXTabDialog::IsNoNum(), lcl_CopyCollAttr(), lcl_InsertBCText(), lcl_InsertLabText(), lcl_SetColl(), SwEnvDlg::Ok(), SwOutlineTabDialog::Ok(), and SwStdFontTabPage::Reset().
SwTextFormatColl & SwEditShell::GetTextFormatColl | ( | sal_uInt16 | nTextFormatColl | ) | const |
Definition at line 699 of file edfcol.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetTextFormatColls().
Referenced by SwTOXStylesTabPage::ActivatePage(), SwTOXSelectTabPage::ApplyTOXDescription(), lcl_CopyCollAttr(), MakeTextFormatColl(), SwOutlineTabDialog::Ok(), SwOutlineSettingsTabPage::SetWrtShell(), and SwOutlineTabDialog::SwOutlineTabDialog().
sal_uInt16 SwEditShell::GetTextFormatCollCount | ( | ) | const |
Definition at line 694 of file edfcol.cxx.
References SwViewShell::GetDoc(), SwDoc::GetTextFormatColls(), and SwVectorModifyBase< Value >::size().
Referenced by SwTOXStylesTabPage::ActivatePage(), SwTOXSelectTabPage::ApplyTOXDescription(), lcl_CopyCollAttr(), SwOutlineTabDialog::Ok(), SwOutlineSettingsTabPage::SetWrtShell(), and SwOutlineTabDialog::SwOutlineTabDialog().
OUString const & SwEditShell::GetTOIAutoMarkURL | ( | ) | const |
AutoMark file.
Definition at line 258 of file edtox.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetTOIAutoMarkURL().
Referenced by ApplyAutoMark(), SwMultiTOXTabDialog::CreateTOXDescFromTOXBase(), and SwTOXSelectTabPage::Reset().
void SwEditShell::GetTOIKeys | ( | SwTOIKeyType | eTyp, |
std::vector< OUString > & | rArr | ||
) | const |
Key for managing index.
Definition at line 210 of file edtox.cxx.
References SwViewShell::GetDoc(), SwViewShell::GetLayout(), and SwDoc::GetTOIKeys().
Referenced by SwIndexMarkPane::InitControls().
const SwTOXBase * SwEditShell::GetTOX | ( | sal_uInt16 | nPos | ) | const |
Definition at line 229 of file edtox.cxx.
References SwViewShell::GetDoc(), SwSection::GetFormat(), SwSectionFormat::GetSectionNode(), SwDoc::GetSections(), SwSection::GetType(), nPos, and ToxContent.
Referenced by SwContentType::FillMemberList().
sal_uInt16 SwEditShell::GetTOXCount | ( | ) | const |
Definition at line 215 of file edtox.cxx.
References SwViewShell::GetDoc(), SwSection::GetFormat(), SwSectionFormat::GetSectionNode(), SwDoc::GetSections(), SwSection::GetType(), n, SwVectorModifyBase< Value >::size(), and ToxContent.
Referenced by SwContentType::FillMemberList().
Definition at line 203 of file edtox.cxx.
References SwViewShell::mxDoc, and nId.
Referenced by ApplyAutoMark(), SwMultiTOXTabDialog::GetTOXDescription(), SwTOXMgr::GetTOXType(), SwTOXMgr::GetUserTypeID(), SwIndexMarkPane::InitControls(), SwTOXMgr::InsertTOXMark(), SwTOXSelectTabPage::SetWrtShell(), SwMultiTOXTabDialog::SwMultiTOXTabDialog(), and SwTOXMgr::UpdateOrInsertTOX().
sal_uInt16 SwEditShell::GetTOXTypeCount | ( | TOXTypes | eTyp | ) | const |
Manage types of content tables.
Definition at line 190 of file edws.cxx.
References SwViewShell::mxDoc.
Referenced by SwTOXMgr::GetUserTypeID(), SwIndexMarkPane::InitControls(), SwTOXSelectTabPage::SetWrtShell(), SwMultiTOXTabDialog::SwMultiTOXTabDialog(), and SwTOXMgr::UpdateOrInsertTOX().
OUString SwEditShell::GetUniqueNumRuleName | ( | ) | const |
Definition at line 780 of file ednumber.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetUniqueNumRuleName().
Referenced by SwWrtShell::NumOrBulletOn().
OUString SwEditShell::GetUniqueSectionName | ( | const OUString * | pChkStr = nullptr | ) | const |
Definition at line 166 of file edsect.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetUniqueSectionName().
Referenced by SwModule::InsertLab(), SwBaseShell::InsertRegionDialog(), SwWrtShell::NavigatorPaste(), and SwInsertSectionTabPage::SetWrtShell().
OUString SwEditShell::GetUniqueTableName | ( | ) | const |
Definition at line 109 of file edfmt.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetUniqueTableName().
Referenced by IMPL_LINK_NOARG(), and SwInsTableDlg::SwInsTableDlg().
const SwDocStat & SwEditShell::GetUpdatedDocStat | ( | ) |
Definition at line 432 of file editsh.cxx.
References EndAllAction(), SwViewShell::GetDoc(), SwDoc::getIDocumentStatistics(), IDocumentStatistics::GetUpdatedDocStat(), and StartAllAction().
Referenced by SwWordCountFloatDlg::UpdateCounts().
SfxWatermarkItem SwEditShell::GetWatermark | ( | ) | const |
Definition at line 1392 of file edfcol.cxx.
References SfxObjectShell::GetBaseModel(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), lcl_GetAngle(), SfxWatermarkItem::SetAngle(), SfxWatermarkItem::SetColor(), SfxWatermarkItem::SetFont(), SfxWatermarkItem::SetText(), SfxWatermarkItem::SetTransparency(), UNO_NAME_CHAR_FONT_NAME, UNO_NAME_FILL_TRANSPARENCE, UNO_NAME_FILLCOLOR, UNO_NAME_HEADER_IS_ON, UNO_NAME_HEADER_TEXT, and xModel.
Referenced by SwDocShell::StateStyleSheet().
void SwEditShell::GotoGlobalDocContent | ( | const SwGlblDocContent & | rPos | ) |
Definition at line 327 of file edglbldc.cxx.
References SwPosition::Assign(), SwCursorShell::ClearMark(), SwCursorShell::EndCursorMove(), sw::proofreadingiterator::get(), SwNode::GetContentNode(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwGlblDocContent::GetDocPos(), SwViewShell::getIDocumentSettingAccess(), SwPaM::GetNext(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), GLOBAL_DOCUMENT, SwNodes::GoNext(), SwCursorShell::IsTableMode(), and SwCursorShell::SttCursorMove().
Referenced by SwGlobalTree::GotoContent().
void SwEditShell::HandleCorrectionError | ( | const OUString & | aText, |
SwPosition | aPos, | ||
sal_Int32 | nBegin, | ||
sal_Int32 | nLen, | ||
const Point * | pPt, | ||
SwRect & | rSelectRect | ||
) |
Definition at line 836 of file edlingu.cxx.
References CH_TXTATR_INWORD, SwCursorShell::DeleteCurrent, SwPaM::DeleteMark(), SwCursorShell::ExtendSelection(), SwFrame::GetCharRect(), SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), GetNode(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwNode::GetTextNode(), SwCursorShell::LeftMargin(), SwTextNode::Len(), SwCursorMoveState::m_bRealWidth, pChar, SwCursorShell::Pop(), SwCursorShell::Push(), SwCursorShell::RightMargin(), SwPosition::SetContent(), SwPaM::SetMark(), and SwRect::Union().
Referenced by GetCorrection(), and GetGrammarCorrection().
void SwEditShell::HandleUndoRedoContext | ( | ::sw::UndoRedoContext & | rContext | ) |
set selections to those contained in the UndoRedoContext should only be called by sw::UndoManager!
Definition at line 49 of file edundo.cxx.
References tools::Rectangle::Center(), SwTextBoxHelper::changeAnchor(), CursorsLocked(), SwAnchoredObject::FindPageFrameOfAnchor(), SwFrameFormat::FindSdrObject(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SdrObject::GetCurrentBoundRect(), SwCursorShell::GetCursor(), SwFrameFormat::GetOtherTextBoxFormats(), sw::UndoRedoContext::GetSelections(), SwCursorShell::GoNextCursor(), SwPageFrame::InvalidateContent(), SwPageFrame::InvalidateFlyLayout(), lcl_SelectSdrMarkList(), RES_DRAWFRMFMT(), SwTextBoxHelper::synchronizeGroupTextBoxProperty(), and SwFormat::Which().
Referenced by sw::UndoManager::impl_DoUndoRedo().
bool SwEditShell::HasBullet | ( | ) | const |
Definition at line 233 of file ednumber.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetLayout(), GetNode(), sw::GetParaPropsNode(), and SwTextNode::HasBullet().
|
static |
Is text conversion active somewhere else?
Definition at line 615 of file edlingu.cxx.
References g_pConvIter.
Referenced by SwView::StartTextConversion().
bool SwEditShell::HasFootnotes | ( | bool | bEndNotes = false | ) | const |
Definition at line 430 of file edattr.cxx.
References SwFormatFootnote::IsEndNote(), and SwViewShell::mxDoc.
Referenced by SwFieldRefPage::Reset().
|
static |
Is hyphenation active somewhere else?
Definition at line 620 of file edlingu.cxx.
References g_pHyphIter.
Referenced by SwView::HyphenateDocument().
|
static |
Check SwSpellIter data to see if the last sentence got grammar checked.
Definition at line 597 of file edlingu.cxx.
References g_pSpellIter, and i.
Referenced by SwSpellDialogChildWindow::ApplyChangedSentence().
bool SwEditShell::HasNumber | ( | ) | const |
Definition at line 211 of file ednumber.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), GetNode(), SwTextNode::GetNumRule(), GetOutlineNumRule(), sw::GetParaPropsNode(), SwTextNode::HasNumber(), and SwTextNode::IsCountedInList().
bool SwEditShell::HasOLEObj | ( | std::u16string_view | rName | ) | const |
Is there an OLEObject with this name (SwFormat)?
Definition at line 372 of file editsh.cxx.
References SwNodeIndex::Assign(), SwNode::EndOfSectionNode(), SwOLENode::GetChartTableName(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwViewShell::GetNodes(), SwNode::GetStartNode(), and SwNode::IsOLENode().
Referenced by SwTableFUNC::UpdateChart().
bool SwEditShell::HasOtherCnt | ( | ) | const |
Are there frames, footnotes, etc.
Definition at line 144 of file edws.cxx.
References SwViewShell::GetDoc(), SwNodes::GetEndOfAutotext(), SwNodes::GetEndOfInserts(), SwNode::GetIndex(), SwDoc::GetNodes(), and SwNode::StartOfSectionIndex().
Referenced by SwHHCWrapper::ConvNext_impl(), and SwSpellDialogChildWindow::GetNextWrongSentence().
uno::Reference< uno::XInterface > SwEditShell::HyphContinue | ( | sal_uInt16 * | pPageCnt, |
sal_uInt16 * | pPageSt | ||
) |
Definition at line 781 of file edlingu.cxx.
References g_pHyphIter, SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwRootFrame::GetPageNum(), SwViewShell::mnStartAction, and StartProgress().
void SwEditShell::HyphEnd | ( | ) |
restore selections.
restore selections
Definition at line 768 of file edlingu.cxx.
References g_pHyphIter.
void SwEditShell::HyphIgnore | ( | ) |
ignore hyphenation
Definition at line 824 of file edlingu.cxx.
References g_pHyphIter, and SwViewShell::mnStartAction.
void SwEditShell::HyphStart | ( | SwDocPositions | eStart, |
SwDocPositions | eEnd | ||
) |
|
static |
Definition at line 1716 of file edlingu.cxx.
References COMPLETE_STRING, SwPaM::End(), SwPosition::GetContentIndex(), SwTextNode::GetGrammarCheck(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwNode::GetTextNode(), SwTextNode::GetWrong(), SwWrongList::RemoveEntry(), SwTextFrame::repaintTextFrames(), and SwPaM::Start().
Referenced by ApplyChangedSentence(), and SwTextShell::Execute().
|
inlinevirtual |
Selected area has readonly content.
Reimplemented in SwWrtShell.
Definition at line 628 of file editsh.hxx.
Referenced by Delete().
void SwEditShell::Insert | ( | const SwTOXMark & | rMark | ) |
Definition at line 54 of file edtox.cxx.
References DONTEXPAND, EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), sw::Ring< SwViewShell >::GetRingContainer(), IDocumentContentOperations::InsertPoolItem(), SwTOXMark::IsAlternativeText(), and StartAllAction().
void SwEditShell::Insert | ( | sal_Unicode | c, |
bool | bOnlyCurrCursor = false |
||
) |
Edit (all selected ranges).
Definition at line 62 of file editsh.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), sw::Ring< SwViewShell >::GetRingContainer(), IDocumentContentOperations::InsertString(), SwCursorShell::SaveTableBoxContent(), and StartAllAction().
Referenced by ApplyAutoMark().
void SwEditShell::Insert2 | ( | const OUString & | rStr, |
const bool | bForceExpandHints = false |
||
) |
Definition at line 79 of file editsh.cxx.
References COMPLETE_STRING, SwScriptInfo::DirType(), EMPTYEXPAND, FORCEHINTEXPAND, SwPosition::GetContentIndex(), SwCursorShell::GetCursor_(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwScriptInfo::GetInvalidityA(), SwViewShell::GetLayout(), SwTextFrame::GetMergedPara(), SwPosition::GetNode(), SwPaM::GetPoint(), sw::Ring< value_type >::GetRingContainer(), SwScriptInfo::GetScriptInfo(), SwCursorShell::getShellCursor(), SwNode::GetTextNode(), SwScriptInfo::InitScriptInfo(), IDocumentContentOperations::InsertString(), SwFrame::IsRightToLeft(), SwNode::IsTextNode(), SwTextNode::Len(), SwTextFrame::MapModelToView(), SwCursorShell::SaveTableBoxContent(), SwCursor::SetCursorBidiLevel(), IDocumentContentOperations::SetIME(), SwCursorShell::SetInFrontOfLabel(), StartAllAction(), SwDoc::UpdateParRsid(), and SwDoc::UpdateRsid().
Referenced by SwTextShell::Execute(), SwWrtShell::Insert(), and InsertURL().
void SwEditShell::InsertDDETable | ( | const SwInsertTableOptions & | rInsTableOpts, |
SwDDEFieldType * | pDDEType, | ||
sal_uInt16 | nRows, | ||
sal_uInt16 | nCols | ||
) |
rInsTableOpts | HeadlineNoBorder |
Definition at line 223 of file edtab.cxx.
References DefaultBorder, END, EndAllAction(), EndUndo(), SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwPaM::GetPoint(), SwTable::GetTabSortBoxes(), SwDoc::InsertTable(), SwInsertTableOptions::mnInsMode, SwInsertTableOptions::mnRowsToRepeat, SwTableNode::SetNewTable(), IDocumentContentOperations::SplitNode(), START, StartAllAction(), and StartUndo().
Referenced by SwTransferable::PasteDDE().
bool SwEditShell::InsertField | ( | SwField const & | rField, |
const bool | bForceExpandHints | ||
) |
add a field at the cursor position
Definition at line 142 of file edfld.cxx.
References DEFAULT, EndAllAction(), FORCEHINTEXPAND, SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), sw::Ring< SwViewShell >::GetRingContainer(), IDocumentContentOperations::InsertPoolItem(), and StartAllAction().
Referenced by SwWrtShell::InsertField2().
SwFieldType * SwEditShell::InsertFieldType | ( | const SwFieldType & | rFieldType | ) |
insert field type
Definition at line 339 of file edfld.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentFieldsAccess(), and IDocumentFieldsAccess::InsertFieldType().
Referenced by SwFieldPage::InsertField(), SwFieldMgr::InsertField(), SwFieldMgr::InsertFieldType(), SwTransferable::PasteDDE(), SwInsertDBColAutoPilot::SplitTextToColArr(), and SwTOXMgr::UpdateOrInsertTOX().
bool SwEditShell::InsertGlobalDocContent | ( | const SwGlblDocContent & | rPos | ) |
Definition at line 207 of file edglbldc.cxx.
References IDocumentContentOperations::AppendTextNode(), SwPosition::Assign(), SwCursorShell::ClearMark(), EndAllAction(), sw::proofreadingiterator::get(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwGlblDocContent::GetDocPos(), SwDoc::getIDocumentContentOperations(), SwViewShell::getIDocumentSettingAccess(), SwPaM::GetNext(), SwPaM::GetPoint(), GLOBAL_DOCUMENT, SwCursorShell::IsTableMode(), and StartAllAction().
bool SwEditShell::InsertGlobalDocContent | ( | const SwGlblDocContent & | rPos, |
const SwTOXBase & | rTOX | ||
) |
Definition at line 168 of file edglbldc.cxx.
References SwPosition::Adjust(), IDocumentContentOperations::AppendTextNode(), SwPosition::Assign(), SwCursorShell::ClearMark(), END, EndAllAction(), sw::proofreadingiterator::get(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwGlblDocContent::GetDocPos(), SwNodes::GetEndOfContent(), SwDoc::getIDocumentContentOperations(), SwViewShell::getIDocumentSettingAccess(), SwDoc::GetIDocumentUndoRedo(), SwNode::GetIndex(), SwPaM::GetNext(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwTextNode::GetText(), SwNode::GetTextNode(), GLOBAL_DOCUMENT, InsertTableOf(), SwCursorShell::IsTableMode(), START, and StartAllAction().
void SwEditShell::InsertGlobalDocContent | ( | const SwGlblDocContent & | rPos, |
SwSectionData & | rNew | ||
) |
Definition at line 131 of file edglbldc.cxx.
References SwPosition::Adjust(), IDocumentContentOperations::AppendTextNode(), SwPosition::Assign(), SwCursorShell::ClearMark(), END, EndAllAction(), sw::proofreadingiterator::get(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwGlblDocContent::GetDocPos(), SwDoc::getIDocumentContentOperations(), SwViewShell::getIDocumentSettingAccess(), SwDoc::GetIDocumentUndoRedo(), SwPaM::GetNext(), SwPosition::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), GLOBAL_DOCUMENT, InsertSection(), SwCursorShell::IsTableMode(), SwPaM::SetMark(), START, and StartAllAction().
Referenced by SwGlobalTree::ExecuteContextMenuAction().
void SwEditShell::InsertGlossary | ( | SwTextBlocks & | rGlossary, |
const OUString & | rStr | ||
) |
Glossary from glossary document in current document.
Styles only if not already existent.
Definition at line 39 of file edglss.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::InsertGlossary(), and StartAllAction().
Referenced by SwGlossaryHdl::Expand(), and SwGlossaryHdl::InsertGlossary().
SwSection const * SwEditShell::InsertSection | ( | SwSectionData & | rNewData, |
SfxItemSet const * const | pAttr = nullptr |
||
) |
Definition at line 35 of file edsect.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), sw::Ring< SwViewShell >::GetRingContainer(), SwDoc::InsertSwSection(), INSSECTION, SwCursorShell::IsTableMode(), and StartAllAction().
Referenced by InsertGlobalDocContent(), SwModule::InsertLab(), SwBaseShell::InsertRegionDialog(), SwWrtShell::NavigatorPaste(), SwInsertSectionTabDialog::Ok(), and SwTransferable::PasteDDE().
|
static |
For Inserting SoftHyphen. Position is offset within the syllabificated word.
Insert soft hyphen.
nHyphPos | Offset in the to be separated word |
Definition at line 817 of file edlingu.cxx.
References g_pHyphIter.
Referenced by SwHyphWrapper::InsertHyphen().
const SwTable & SwEditShell::InsertTable | ( | const SwInsertTableOptions & | rInsTableOpts, |
sal_uInt16 | nRows, | ||
sal_uInt16 | nCols, | ||
const SwTableAutoFormat * | pTAFormat = nullptr |
||
) |
Inserts an nRows x nCols table to the document at the current position.
Unlike the UI, this function does not move the user's cursor to the first cell of the just inserted table, use MoveTable(GotoPrevTable, fnTableStart)
to do that.
rInsTableOpts | All |
Definition at line 101 of file edtab.cxx.
References END, EndAllAction(), EndUndo(), SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwPaM::GetPoint(), SwDoc::InsertTable(), IDocumentContentOperations::SplitNode(), START, StartAllAction(), and StartUndo().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), and InsertTableImpl().
void SwEditShell::InsertTableOf | ( | const SwTOXBase & | rTOX, |
const SfxItemSet * | pSet = nullptr |
||
) |
Insert content table. Renew if required.
Insert listing and create content.
Definition at line 122 of file edtox.cxx.
References CalcLayout(), EndAllAction(), EndProgress(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwViewShell::GetLayout(), SwPaM::GetPoint(), SwViewShell::InvalidateWindows(), SwViewShell::maVisArea, SwViewShell::mxDoc, SwTOXBaseSection::SetPosAtStartEnd(), StartAllAction(), and StartProgress().
Referenced by InsertGlobalDocContent(), and SwWrtShell::InsertTableOf().
void SwEditShell::InsertTOXType | ( | const SwTOXType & | rTyp | ) |
Definition at line 195 of file edws.cxx.
References SwViewShell::mxDoc.
Referenced by SwTOXMgr::GetUserTypeID().
bool SwEditShell::InsertURL | ( | const SwFormatINetFormat & | rFormat, |
const OUString & | rStr, | ||
bool | bKeepSelection = false |
||
) |
Definition at line 633 of file editsh.cxx.
References SwCursorShell::ClearMark(), Delete(), DontExpandFormat(), EndAllAction(), SwCursorShell::ExtendSelection(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), SwPaM::GetMark(), SwPaM::GetPoint(), SwCursorShell::GetSelText(), SwFormatINetFormat::GetValue(), SwPaM::HasMark(), SwCursorShell::HasSelection(), Insert2(), SwCursorShell::IsCursorPtAtEnd(), SwPaM::IsMultiSelection(), SetAttrItem(), SwCursorShell::SetMark(), StartAllAction(), comphelper::string::stripEnd(), SwCursorShell::SwapPam(), and UI_INSERT_URLTXT.
Referenced by SwFieldMgr::InsertField(), SwTextShell::InsertHyperlink(), SwWrtShell::NavigatorPaste(), SwTransferable::PasteAsHyperlink(), SwTransferable::PasteData(), and SwTransferable::PasteFileName().
bool SwEditShell::IsAnyDatabaseFieldInDoc | ( | ) | const |
Definition at line 384 of file edfld.cxx.
References Database, DbNextSet, DbNumSet, DbSetNumber, SwViewShell::GetDoc(), IDocumentFieldsAccess::GetFieldTypes(), SwDoc::getIDocumentFieldsAccess(), and IsUsed().
Referenced by SwView::Execute(), SwView::ExecutePrint(), SwView::GenerateFormLetter(), and SwModule::InsertLab().
bool SwEditShell::IsAnySectionInDoc | ( | ) | const |
Definition at line 119 of file edsect.cxx.
References SwViewShell::GetDoc(), SwDoc::GetSections(), ToxContent, and ToxHeader.
Referenced by SwBaseShell::GetState().
bool SwEditShell::IsCursorInParagraphMetadataField | ( | ) | const |
Returns true iff the cursor is within a paragraph metadata field.
Currently there are two variants: signature and classification.
Definition at line 2057 of file edfcol.cxx.
References SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwPosition::GetNode(), SwNode::GetTextNode(), index, lcl_GetParagraphMetadataFieldAtIndex(), Start, and SwPaM::Start().
Referenced by SwEditWin::KeyInput().
bool SwEditShell::IsExpFieldsLocked | ( | ) | const |
Definition at line 354 of file edfld.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentFieldsAccess(), and IDocumentFieldsAccess::IsExpFieldsLocked().
Referenced by SwDBManager::MergeMailFiles().
bool SwEditShell::IsFieldDataSourceAvailable | ( | OUString & | rUsedDataSource | ) | const |
Check whether DB fields point to an available data source and returns it.
Definition at line 31 of file edfldexp.cxx.
References Database, GetDBData(), SwViewShell::GetDoc(), IDocumentFieldsAccess::GetFieldTypes(), SwDoc::getIDocumentFieldsAccess(), IsUsed(), and SwDBData::sDataSource.
bool SwEditShell::IsFirstOfNumRuleAtCursorPos | ( | ) | const |
Definition at line 304 of file ednumber.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetLayout(), and SwDoc::IsFirstOfNumRuleAtPos().
Referenced by SetIndent().
bool SwEditShell::IsGlblDocSaveLinks | ( | ) | const |
Definition at line 48 of file edglbldc.cxx.
References IDocumentSettingAccess::get(), SwViewShell::getIDocumentSettingAccess(), and GLOBAL_DOCUMENT_SAVE_LINKS.
Referenced by SwView::ExecutePrint(), IMPL_LINK(), SwNavigationPI::NotifyItemUpdate(), and SwNavigationPI::SwNavigationPI().
bool SwEditShell::IsGlobalDoc | ( | ) | const |
Interfaces for GlobalDocument.
Definition at line 33 of file edglbldc.cxx.
References IDocumentSettingAccess::get(), SwViewShell::getIDocumentSettingAccess(), and GLOBAL_DOCUMENT.
Referenced by SwView::ExecutePrint(), SwNavigationPI::IsGlobalDoc(), and SwReadOnlyPopup::SwReadOnlyPopup().
bool SwEditShell::IsInsRegionAvailable | ( | ) | const |
Definition at line 58 of file edsect.cxx.
References SwCursorShell::GetCursor(), SwPaM::GetNext(), SwPaM::HasMark(), SwDoc::IsInsRegionAvailable(), and SwCursorShell::IsTableMode().
Referenced by SwBaseShell::GetState(), SwTextShell::StateInsert(), and SwColumnDlg::SwColumnDlg().
bool SwEditShell::IsLabelDoc | ( | ) | const |
Definition at line 374 of file edfld.cxx.
References IDocumentSettingAccess::get(), SwViewShell::getIDocumentSettingAccess(), and LABEL_DOCUMENT.
Referenced by lcl_CreateWorkingDocument(), and SwDBManager::MergeMailFiles().
bool SwEditShell::IsLinkedGrfSwapOut | ( | ) | const |
Definition at line 249 of file editsh.cxx.
References GetGrfNode_(), SwGrfNode::GetGrfObj(), GraphicObject::GetType(), and SwGrfNode::IsLinkedFile().
Referenced by SwGrfShell::GetAttrState(), and SwBaseShell::GetState().
bool SwEditShell::IsModified | ( | ) | const |
Changes in document?
Definition at line 65 of file edws.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentState(), and IDocumentState::IsModified().
Referenced by SwModelessRedlineAcceptDlg::Activate(), SwReadOnlyPopup::Execute(), SwView::ExecViewOptions(), SwPagePreview::Init(), and SetGlblDocSaveLinks().
bool SwEditShell::IsMoveLeftMargin | ( | bool | bRight, |
bool | bModulus = true |
||
) | const |
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 490 of file edattr.cxx.
References constTwips_5mm, SvxTabStopItem::Count(), SwContentNode::GetAttr(), SwCursorShell::GetCursor(), SwDoc::GetDefault(), SwViewShell::GetDoc(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwDoc::GetNodes(), sw::GetParaPropsNode(), sw::Ring< SwViewShell >::GetRingContainer(), SvxLRSpaceItem::GetTextLeft(), SwRect::Height(), SwFrame::IsVertical(), o3tl::mm, n, RES_LR_SPACE(), RES_PARATR_TABSTOP(), o3tl::toTwips(), and SwRect::Width().
Referenced by SwTextShell::GetState().
|
inline |
Definition at line 1011 of file editsh.hxx.
Referenced by SwEditWin::KeyInput().
bool SwEditShell::IsNoNum | ( | bool | bChkStart = true | ) | const |
Definition at line 650 of file ednumber.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetLayout(), GetNode(), sw::GetParaPropsNode(), SwCursorShell::HasSelection(), SwTextNode::IsCountedInList(), SwCursorShell::IsMultiSelection(), and SwCursorShell::IsSttPara().
Referenced by SwBaseShell::ExecDelete(), SwListShell::Execute(), and SwEditWin::KeyInput().
bool SwEditShell::IsNumRuleStart | ( | SwPaM * | pPaM = nullptr | ) | const |
Definition at line 825 of file ednumber.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetLayout(), SwPosition::GetNode(), sw::GetParaPropsNode(), SwPaM::GetPoint(), and SwTextNode::IsListRestart().
Referenced by SwTextShell::Execute(), and SwTextShell::GetState().
bool SwEditShell::IsOutlineCopyable | ( | SwOutlineNodes::size_type | nIdx | ) | const |
Definition at line 627 of file ednumber.cxx.
References lcl_IsOutlineMoveAndCopyable().
Referenced by SwContentTree::FillTransferData().
bool SwEditShell::IsOutlineMovable | ( | SwOutlineNodes::size_type | nIdx | ) | const |
May an outline be moved or copied? Check whether it's in text body, not in table, and not read-only (move).
Definition at line 622 of file ednumber.cxx.
References lcl_IsOutlineMoveAndCopyable().
Referenced by SwContentType::FillMemberList(), lcl_OutlineUpDownWithSubPoints(), and SwNavigationPI::MoveOutline().
|
inline |
Returns true iff paragraph signature validation is enabled.
Definition at line 995 of file editsh.hxx.
Referenced by RestoreMetadataFieldsAndValidateParagraphSignatures(), ValidateAllParagraphSignatures(), ValidateCurrentParagraphSignatures(), and ValidateParagraphSignatures().
bool SwEditShell::IsProtectedOutlinePara | ( | ) | const |
Definition at line 552 of file ednumber.cxx.
References SwTextNode::GetAttrOutlineLevel(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwPosition::GetNode(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), SwNode::GetTextNode(), sw::IsParaPropsNode(), SwNode::IsProtect(), SwNode::IsTextNode(), MAXLEVEL, nPos, SwOutlineNodes::Seek_Entry(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and SwPaM::Start().
bool SwEditShell::IsRedlineOn | ( | ) | const |
Definition at line 43 of file edredln.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), and IDocumentRedlineAccess::IsRedlineOn().
Referenced by SwWrtShell::DelRight(), SwFEShell::Insert(), SwWrtShell::InsertGraphic(), SwWrtShell::SetRedlineFlagsAndCheckInsMode(), SetTextFormatColl(), SwView::StateStatusLine(), and sw::annotation::SwAnnotationWin::ToggleInsMode().
bool SwEditShell::IsTableBoxTextFormat | ( | ) | const |
Definition at line 371 of file edtab.cxx.
References SwFormat::GetAttrSet(), SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), SwTableBox::GetFrameFormat(), SfxItemSet::GetItemIfSet(), SwDoc::GetNodes(), SwDoc::GetNumberFormatter(), SwFrame::GetUpper(), SwFrame::IsCellFrame(), SwDoc::IsNumberFormat(), SwCursorShell::IsTableMode(), SvNumberFormatter::IsTextFormat(), SwTableBox::IsValidNumTextNd(), NODE_OFFSET_MAX(), and RES_BOXATR_FORMAT().
Referenced by SwEditWin::KeyInput().
bool SwEditShell::IsTextToTableAvailable | ( | ) | const |
Definition at line 195 of file edtab.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::GetNodes(), and sw::Ring< SwViewShell >::GetRingContainer().
Referenced by SwBaseShell::GetState().
|
static |
Definition at line 92 of file edtox.cxx.
References SwSection::IsProtect().
Referenced by SwContentTree::ExecuteContextMenuAction(), and IMPL_LINK().
bool SwEditShell::IsUpdateTOX | ( | ) | const |
Definition at line 253 of file edtox.cxx.
References SwViewShell::GetDoc(), and SwDoc::IsUpdateTOX().
bool SwEditShell::IsUsed | ( | const sw::BroadcastingModify & | rModify | ) | const |
Query if the paragraph-/character-/frame-/page-style is used.
Definition at line 137 of file edfmt.cxx.
References SwViewShell::mxDoc.
Referenced by SwWrtShell::GetTableStyle(), IMPL_LINK_NOARG(), IsAnyDatabaseFieldInDoc(), IsFieldDataSourceAvailable(), SwFieldRefPage::Reset(), and SwCaptionDialog::SwCaptionDialog().
void SwEditShell::LockExpFields | ( | ) |
Definition at line 344 of file edfld.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentFieldsAccess(), and IDocumentFieldsAccess::LockExpFields().
Referenced by SwMailMergeLayoutPage::InsertGreeting(), and SwDBManager::MergeMailFiles().
SwCharFormat * SwEditShell::MakeCharFormat | ( | const OUString & | rName | ) |
Definition at line 114 of file edfmt.cxx.
References SwDoc::GetDfltCharFormat(), SwViewShell::GetDoc(), and SwDoc::MakeCharFormat().
Referenced by SwNumRulesWithName::SwNumFormatGlobal::MakeNumFormat().
sal_uInt16 SwEditShell::MakeGlossary | ( | SwTextBlocks & | rToFill, |
const OUString & | rName, | ||
const OUString & | rShortName, | ||
bool | bSaveRelFile, | ||
const OUString * | pOnlyText | ||
) |
Make current selection glossary and insert into glossary document including styles.
convert current selection into text block and add to the text block document, incl. templates
Definition at line 47 of file edglss.cxx.
References aURL, SwTextBlocks::BeginPutDoc(), SwTextBlocks::ClearDoc(), CopySelToDoc(), DeleteRedlines, SwTextBlocks::GetDoc(), SwTextBlocks::GetFileName(), SwDoc::getIDocumentRedlineAccess(), INetURLObject::NONE, NONE, SwTextBlocks::PutDoc(), SwTextBlocks::PutText(), SwTextBlocks::SetBaseURL(), and IDocumentRedlineAccess::SetRedlineFlags_intern().
Referenced by SwGlossaryHdl::NewGlossary().
SwTextFormatColl * SwEditShell::MakeTextFormatColl | ( | const OUString & | rFormatCollName, |
SwTextFormatColl * | pDerivedFrom = nullptr |
||
) |
Definition at line 2271 of file edfcol.cxx.
References SwViewShell::GetDoc(), GetTextFormatColl(), and SwDoc::MakeTextFormatColl().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), and SwView::InsertCaption().
tools::Long SwEditShell::MergeDoc | ( | const SwDoc & | rDoc | ) |
Merge two documents.
Definition at line 893 of file editsh.cxx.
References EndAllAction(), SwViewShell::GetDoc(), SwDoc::MergeDoc(), and StartAllAction().
bool SwEditShell::MergeTable | ( | bool | bWithPrev | ) |
Definition at line 447 of file edtab.cxx.
References ClearFEShellTabCols(), EMPTY, EndAllAction(), SwNode::FindTableNode(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwDoc::MergeTable(), and StartAllAction().
Referenced by SwTableShell::Execute().
|
static |
Moves the continuation position to the end of the currently checked sentence.
Definition at line 1081 of file edlingu.cxx.
References g_pSpellIter.
Referenced by SwSpellDialogChildWindow::GetNextWrongSentence().
bool SwEditShell::MoveGlobalDocContent | ( | const SwGlblDocContents & | rArr, |
size_t | nFromPos, | ||
size_t | nToPos, | ||
size_t | nNewPos | ||
) |
Definition at line 290 of file edglbldc.cxx.
References SwNodeRange::aEnd, SwCursorShell::ClearMark(), CREATEUNDOOBJ, EndAllAction(), sw::proofreadingiterator::get(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwNodes::GetEndOfContent(), SwDoc::getIDocumentContentOperations(), SwViewShell::getIDocumentSettingAccess(), SwPaM::GetNext(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), GLOBAL_DOCUMENT, SwCursorShell::IsTableMode(), IDocumentContentOperations::MoveNodeRange(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and StartAllAction().
Referenced by SwGlobalTree::ExecCommand(), and SwGlobalTree::MoveSelectionTo().
void SwEditShell::MoveLeftMargin | ( | bool | bRight, |
bool | bModulus = true |
||
) |
Definition at line 543 of file edattr.cxx.
References SwPamRanges::Count(), END, EndAllAction(), EndUndo(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwPaM::GetNext(), SwPaM::GetPoint(), SwDoc::MoveLeftMargin(), n, SwPamRanges::SetPam(), START, StartAllAction(), and StartUndo().
Referenced by SwTextShell::Execute().
bool SwEditShell::MoveNumParas | ( | bool | bUpperLower, |
bool | bUpperLeft | ||
) |
Definition at line 398 of file ednumber.cxx.
References Count, SwPaM::End(), EndAllAction(), fnMoveBackward, SwTextNode::GetActualListLevel(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), sw::GetFirstAndLastNode(), SwDoc::getIDocumentState(), SwViewShell::GetLayout(), SwPaM::GetMark(), SwPaM::GetMarkNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwViewShell::GetNodes(), SwTextNode::GetNumRule(), sw::GetParaPropsNode(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwNode::GetTextNode(), GoInNode(), SwDoc::GotoNextNum(), SwDoc::GotoPrevNum(), SwPaM::HasMark(), SwNode::IsEndNode(), sw::IsParaPropsNode(), SwNode::IsSectionNode(), SwNode::IsTextNode(), MAXLEVEL, SwPaM::Move(), SwDoc::MoveParagraph(), SwDoc::NumUpDown(), SwPaM::SetMark(), IDocumentState::SetModified(), SwPaM::Start(), StartAllAction(), and SwNode::StartOfSectionNode().
Referenced by SwListShell::Execute().
bool SwEditShell::MoveOutlinePara | ( | SwOutlineNodes::difference_type | nOffset | ) |
Definition at line 543 of file ednumber.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::MoveOutlinePara(), and StartAllAction().
Referenced by lcl_OutlineUpDownWithSubPoints(), and SwNavigationPI::MoveOutline().
bool SwEditShell::MoveParagraph | ( | SwNodeOffset | nOffset = SwNodeOffset(1) | ) |
Definition at line 364 of file ednumber.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentState(), SwDoc::MoveParagraph(), IDocumentState::SetModified(), and StartAllAction().
Referenced by SwTextShell::Execute(), and SwMailMergeLayoutPage::InsertGreeting().
void SwEditShell::NoNum | ( | ) |
Paragraphs without enumeration but with indents.
Definition at line 126 of file ednumber.cxx.
References SwPamRanges::Count(), END, EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), SwPaM::GetNext(), SwPaM::GetPoint(), n, SwDoc::NoNum(), SwPamRanges::SetPam(), START, and StartAllAction().
Referenced by SwListShell::Execute(), and SwEditWin::KeyInput().
bool SwEditShell::NumOrNoNum | ( | bool | bDelete = false , |
bool | bChkStart = true |
||
) |
Switch on/off of numbering via Delete/Backspace.
Definition at line 632 of file ednumber.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), sw::GetParaPropsPos(), SwCursorShell::HasSelection(), SwCursorShell::IsMultiSelection(), SwCursorShell::IsSttPara(), SwDoc::NumOrNoNum(), pos, and StartAllAction().
Referenced by SwListShell::Execute(), and SwEditWin::KeyInput().
void SwEditShell::NumUpDown | ( | bool | bDown = true | ) |
Definition at line 277 of file ednumber.cxx.
References SwCursorShell::CallChgLnk(), SwPamRanges::Count(), END, EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwPaM::GetPoint(), SwCursorShell::IsInFrontOfLabel(), SwPaM::IsMultiSelection(), n, SwDoc::NumUpDown(), IDocumentState::SetModified(), SwPamRanges::SetPam(), START, StartAllAction(), and SwCursorShell::UpdateMarkedListLevel().
Referenced by SwListShell::Execute(), SwTextShell::Execute(), and SwEditWin::KeyInput().
|
privatedelete |
bool SwEditShell::OutlineUpDown | ( | short | nOffset = 1 | ) |
Definition at line 520 of file ednumber.cxx.
References SwPamRanges::Count(), END, EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwPaM::GetPoint(), SwPaM::IsMultiSelection(), n, SwDoc::OutlineUpDown(), IDocumentState::SetModified(), SwPamRanges::SetPam(), START, and StartAllAction().
Referenced by SwEditWin::KeyInput(), and lcl_OutlineUpDownWithSubPoints().
void SwEditShell::Overwrite | ( | const OUString & | rStr | ) |
Definition at line 168 of file editsh.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::getIDocumentContentOperations(), sw::Ring< SwViewShell >::GetRingContainer(), Overwrite(), SwCursorShell::SaveTableBoxContent(), and StartAllAction().
Referenced by IMPL_LINK(), SwWrtShell::Insert(), Overwrite(), and ReplaceDropText().
|
static |
Make SpellIter start with the current sentence when called next time.
make SpellIter start with the current sentence when called next time
Definition at line 1067 of file edlingu.cxx.
References g_pSpellIter.
Referenced by SwSpellDialogChildWindow::SetGrammarChecking().
void SwEditShell::Redo | ( | sal_uInt16 const | nCount = 1 | ) |
Definition at line 162 of file edundo.cxx.
References a, SwCursorShell::ClearMark(), SwCursorShell::ClearTableBoxContent(), IDocumentRedlineAccess::CompressRedlines(), SwCursorShell::DeleteCurrent, SwCursorShell::DeleteStack, EMPTY, EndAllAction(), SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetIDocumentUndoRedo(), IDocumentRedlineAccess::GetRedlineFlags(), i, SwCursorShell::KillPams(), nCount, SwCursorShell::Pop(), SwCursorShell::Push(), SwCursorShell::SaveTableBoxContent(), SETDEFTATTR, SwCursorShell::SetMark(), IDocumentRedlineAccess::SetRedlineFlags(), StartAllAction(), and TOOLS_WARN_EXCEPTION.
Referenced by SwWrtShell::Do().
bool SwEditShell::RejectRedline | ( | SwRedlineTable::size_type | nPos | ) |
Definition at line 78 of file edredln.cxx.
References EndAllAction(), SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), IsExtraData(), lcl_InvalidateAll(), nPos, IDocumentRedlineAccess::RejectRedline(), and StartAllAction().
Referenced by SwRedlineAcceptDlg::CallAcceptReject().
bool SwEditShell::RejectRedlinesInSelection | ( | ) |
Definition at line 119 of file edredln.cxx.
References EndAllAction(), SwNode::EndOfSectionIndex(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwNode::GetNodes(), SwTableCursor::GetSelectedBoxes(), SwCursorShell::GetTableCursor(), i, SwCursorShell::IsTableMode(), IDocumentRedlineAccess::RejectRedline(), and StartAllAction().
void SwEditShell::RemoveFieldType | ( | size_t | nField | ) |
delete field type
Definition at line 94 of file edfld.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentFieldsAccess(), and IDocumentFieldsAccess::RemoveFieldType().
Referenced by SwTransferable::PasteDDE(), and SwFieldMgr::RemoveFieldType().
void SwEditShell::RemoveFieldType | ( | SwFieldIds | nResId, |
const OUString & | rName | ||
) |
delete field type based on its name
Definition at line 100 of file edfld.cxx.
References GetAppCharClass(), SwViewShell::GetDoc(), IDocumentFieldsAccess::GetFieldTypes(), SwDoc::getIDocumentFieldsAccess(), SwFieldType::GetName(), i, CharClass::lowercase(), IDocumentFieldsAccess::RemoveFieldType(), and SwFieldType::Which().
bool SwEditShell::RemoveParagraphMetadataFieldAtCursor | ( | ) |
Removes the paragraph metadata field at the current cursor, if any.
Returns true iff a paragraph metadata field was removed. Currently there are two variants: signature and classification.
Definition at line 2070 of file edfcol.cxx.
References SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwPosition::GetNode(), SwNode::GetTextNode(), index, lcl_GetParagraphMetadataFieldAtIndex(), Start, and SwPaM::Start().
Referenced by Delete().
void SwEditShell::Repeat | ( | sal_uInt16 const | nCount | ) |
Definition at line 214 of file edundo.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), nCount, StartAllAction(), and TOOLS_WARN_EXCEPTION.
Referenced by SwWrtShell::Do().
bool SwEditShell::Replace | ( | const OUString & | rNewStr, |
bool | bRegExpRplc | ||
) |
Replace a selected range in a TextNode by given string.
Replace a selected area in a text node with a given string.
Meant for Search & Replace. bRegExpRplc - replace tabs (\t) and insert found string (not &). E.g.: Fnd: "zzz", Repl: "xx\t\\t..&..\&" --> "xx\t<Tab>..zzz..&"
Intended for "search & replace".
bRegExpRplc | if <true> replace tabs (\t) and replace with found string (not &). E.g. [Fnd: "zzz", Repl: "xx\t\\t..&..\&"] --> "xx\t<Tab>..zzz..&" |
Definition at line 335 of file eddel.cxx.
References EMPTY, EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), sw::Ring< SwViewShell >::GetRingContainer(), SwCursorShell::HasReadonlySel(), sw::ReplaceImpl(), SwCursorShell::SaveTableBoxContent(), and StartAllAction().
Referenced by SwSpellPopup::Execute(), and SwTextShell::Execute().
void SwEditShell::ReplaceDropText | ( | const OUString & | rStr, |
SwPaM * | pPaM = nullptr |
||
) |
Definition at line 503 of file editsh.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::getIDocumentContentOperations(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwTextFrame::GetText(), SwNode::GetTextNode(), SwNode::IsTextNode(), SwTextFrame::MapViewToModelPos(), min(), Overwrite(), and StartAllAction().
Referenced by SwTextShell::ExecParaAttrArgs(), and sw_ParagraphDialogResult().
void SwEditShell::ReplaceNumRule | ( | const OUString & | rOldRule, |
const OUString & | rNewRule | ||
) |
Definition at line 792 of file ednumber.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), sw::GetParaPropsPos(), pos, SwDoc::ReplaceNumRule(), and StartAllAction().
Referenced by SwDocShell::MakeByExample().
void SwEditShell::ReRead | ( | const OUString & | rGrfName, |
const OUString & | rFltName, | ||
const Graphic * | pGraphic = nullptr |
||
) |
Re-read if graphic is not ok. Current graphic is replaced by the new one.
Read again if graphic is not OK and replace old one.
Definition at line 294 of file editsh.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::mxDoc, and StartAllAction().
Referenced by SwGrfShell::ExecAttr(), SwBaseShell::Execute(), SwGrfShell::Execute(), SwView::InsertGraphic(), SwTransferable::PasteDDE(), SwTransferable::PasteGrf(), SwTransferable::PasteTargetURL(), SwTransferable::PrivateDrop(), and SwGrfShell::SwExternalToolEdit::Update().
void SwEditShell::ResetAttr | ( | const o3tl::sorted_vector< sal_uInt16 > & | attrs = o3tl::sorted_vector<sal_uInt16>() , |
SwPaM * | pCursor = nullptr |
||
) |
Definition at line 32 of file edatmisc.cxx.
References SwCursorShell::CallChgLnk(), EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwPaM::GetNext(), sw::Ring< value_type >::GetRingContainer(), RESETATTR, SwDoc::ResetAttrs(), and StartAllAction().
Referenced by SwWrtShell::AutoUpdatePara(), SwHHCWrapper::ChangeText_impl(), SwTextShell::Execute(), lcl_SetAllTextToDefaultLanguage(), SwFormatClipboard::Paste(), SwLangHelper::ResetLanguages(), and SwLangHelper::SetLanguage_None().
void SwEditShell::ResetModified | ( | ) |
Definition at line 75 of file edws.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentState(), and IDocumentState::ResetModified().
Referenced by SwModelessRedlineAcceptDlg::Activate(), SwReadOnlyPopup::Execute(), SwView::ExecViewOptions(), SwPagePreview::Init(), and lcl_Save().
void SwEditShell::RestoreMetadataFieldsAndValidateParagraphSignatures | ( | ) |
Restore the metadata fields, if missing, from the RDF metadata and validate the signatures and update the signature metadata fields.
Needed since deleting the metadata field doesn't remove the RDF and editing docs using software that don't support paragraph signing.
Definition at line 1923 of file edfcol.cxx.
References SwRDFHelper::addStatement(), svx::CATEGORY, SfxObjectShell::GetBaseModel(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwRDFHelper::getGraphNames(), SfxClassificationHelper::getPolicyType(), SwRDFHelper::getStatements(), index, svx::INTELLECTUAL_PROPERTY_PART, sfx::ClassificationKeyCreator::isCategoryIdentifierKey(), sfx::ClassificationKeyCreator::isCategoryNameKey(), sfx::ClassificationKeyCreator::isIntellectualPropertyPartKey(), sfx::ClassificationKeyCreator::isMarkingKey(), sfx::ClassificationKeyCreator::isMarkingTextKey(), IsParagraphSignatureValidationEnabled(), lcl_ApplyParagraphClassification(), svx::MARKING, nIndex, SetParagraphSignatureValidation(), sName, sSuffix, svx::TEXT, type, u, and xModel.
Referenced by SwEditShell().
sal_uInt16 SwEditShell::SaveGlossaryDoc | ( | SwTextBlocks & | rGlossary, |
const OUString & | rName, | ||
const OUString & | rShortName, | ||
bool | bSaveRelFile, | ||
bool | bOnlyText | ||
) |
Save complete content of doc as glossary.
Definition at line 75 of file edglss.cxx.
References SwPosition::Assign(), aURL, SwTextBlocks::BeginPutDoc(), CheckPosInFly, SwTextBlocks::ClearDoc(), IDocumentContentOperations::CopyRange(), EndAllAction(), SwNode::FindTableNode(), SwCursorShell::GetCursor(), SwTextBlocks::GetDoc(), SwViewShell::GetDoc(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), SwTextBlocks::GetFileName(), SwDoc::getIDocumentContentOperations(), SwNode::GetIndex(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), GetSelectedText(), SwNodes::GoNext(), SwCursorShell::KillPams(), SwContentNode::Len(), INetURLObject::NONE, SwTextBlocks::PutDoc(), SwTextBlocks::PutText(), SwTextBlocks::SetBaseURL(), SwPosition::SetContent(), SwPaM::SetMark(), StartAllAction(), and ToOnlyCR.
Referenced by lcl_Save().
const SwNumRule * SwEditShell::SearchNumRule | ( | const bool | bNum, |
OUString & | sListId | ||
) |
Searches for a text node with a numbering rule.
in case a list style is found, <sListId> holds the list id, to which the text node belongs, which applies the found list style.
Definition at line 872 of file ednumber.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwDoc::SearchNumRule(), and Start.
Referenced by SwTextShell::Execute(), and SwTextShell::GetState().
bool SwEditShell::SelectionHasBullet | ( | ) | const |
Definition at line 183 of file ednumber.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetLayout(), sw::GetParaPropsNode(), sw::Ring< SwViewShell >::GetRingContainer(), SwTextNode::HasBullet(), SwTextNode::Len(), SwViewShell::mxDoc, and nPos.
Referenced by SwTextShell::ExecEnterNum(), and SwTextShell::GetState().
bool SwEditShell::SelectionHasNumber | ( | ) | const |
Definition at line 148 of file ednumber.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwTextNode::GetNumRule(), GetOutlineNumRule(), sw::GetParaPropsNode(), sw::Ring< SwViewShell >::GetRingContainer(), SwTextNode::HasNumber(), SwTextNode::IsCountedInList(), SwTextNode::Len(), SwViewShell::mxDoc, and nPos.
Referenced by SwTextShell::ExecEnterNum(), and SwTextShell::GetState().
void SwEditShell::SetAttrItem | ( | const SfxPoolItem & | rHint, |
SetAttrMode | nFlags = SetAttrMode::DEFAULT , |
||
const bool | bParagraphSetting = false |
||
) |
Definition at line 98 of file edatmisc.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwPaM::GetNext(), sw::Ring< SwViewShell >::GetRingContainer(), SwCursorShell::HasSelection(), INSATTR, IDocumentContentOperations::InsertPoolItem(), SwCursorShell::IsTableMode(), StartAllAction(), and SwCursorShell::UpdateAttr().
Referenced by ApplyChangedSentence(), ApplyCharBackground(), SwDocShell::ApplyStyles(), SwTextShell::ExecCharAttr(), SwTextShell::ExecCharAttrArgs(), SwTextShell::ExecField(), SwTextShell::ExecParaAttrArgs(), SwView::ExecTabWin(), SwBaseShell::Execute(), SwTextShell::Execute(), SwGrfShell::Execute(), SwBaseShell::ExecuteGallery(), SwEditWin::FlushInBuffer(), IMPL_LINK_NOARG(), SwWrtShell::InsertColumnBreak(), SwWrtShell::InsertContentControl(), SwFieldMgr::InsertField(), SwWrtShell::InsertFootnote(), SwWrtShell::InsertLineBreak(), SwWrtShell::InsertPageBreak(), InsertURL(), SwDocShell::MakeByExample(), SwEditWin::MouseButtonUp(), SwVirtFlyDrawObj::NbcCrop(), SwFormatClipboard::Paste(), SwHHCWrapper::ReplaceUnit(), SwLangHelper::SetLanguage(), and SwFlyFrameAttrMgr::SetRotation().
void SwEditShell::SetAttrSet | ( | const SfxItemSet & | rSet, |
SetAttrMode | nFlags = SetAttrMode::DEFAULT , |
||
SwPaM * | pCursor = nullptr , |
||
const bool | bParagraphSetting = false |
||
) |
Definition at line 129 of file edatmisc.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwPaM::GetNext(), sw::Ring< value_type >::GetRingContainer(), SwCursorShell::HasSelection(), INSATTR, IDocumentContentOperations::InsertItemSet(), SwCursorShell::IsTableMode(), rSet, StartAllAction(), and SwCursorShell::UpdateAttr().
Referenced by SwInsFootNoteDlg::Apply(), SwWrtShell::AutoUpdatePara(), SwHHCWrapper::ChangeText_impl(), SwGrfShell::ExecAttr(), SwBaseShell::ExecBckCol(), SwTextShell::ExecCharAttrArgs(), SwBaseShell::ExecDlg(), SwTextShell::ExecParaAttr(), SwTextShell::ExecParaAttrArgs(), SwBaseShell::ExecTextCtrl(), SwBaseShell::Execute(), SwTextShell::Execute(), SwGrfShell::Execute(), SwTextShell::InsertSymbol(), SwFormatClipboard::Paste(), SwHHCWrapper::ReplaceUnit(), SwLangHelper::SetLanguage(), SwLangHelper::SetLanguage_None(), sw_CharDialogResult(), sw_ParagraphDialogResult(), and SwWrtShell::TryRemoveIndent().
|
static |
Definition at line 2821 of file autofmt.cxx.
References SvxSwAutoFormatFlags::aBulletFont, SvxSwAutoFormatFlags::aByInputBulletFont, SvxSwAutoFormatFlags::bAFormatByInpDelSpacesAtSttEnd, SvxSwAutoFormatFlags::bAFormatByInpDelSpacesBetweenLines, SvxSwAutoFormatFlags::bChgEnumNum, SvxSwAutoFormatFlags::bCreateTable, SvxSwAutoFormatFlags::bReplaceStyles, SvxSwAutoFormatFlags::bSetBorder, SvxSwAutoFormatFlags::bSetNumRule, SvxSwAutoFormatFlags::cBullet, SvxSwAutoFormatFlags::cByInputBullet, and GetAutoFormatFlags().
Referenced by SwDocShell::Execute(), and SwAutoCorrect::SwAutoCorrect().
void SwEditShell::SetChartName | ( | const OUString & | rName | ) |
Definition at line 390 of file editsh.cxx.
References SwCursorShell::GetCursor(), SwNode::GetOLENode(), SwPaM::GetPointNode(), and SwOLENode::SetChartTableName().
Referenced by SwTableFUNC::InsertChart().
void SwEditShell::SetClassification | ( | const OUString & | rName, |
SfxClassificationPolicyType | eType | ||
) |
Definition at line 1076 of file edfcol.cxx.
References aHelper, sfx::BAF_POLICY, eType, SfxObjectShell::GetBaseModel(), SwViewShell::GetDoc(), SfxObjectShell::getDocProperties(), SwDoc::GetDocShell(), SfxClassificationHelper::getPolicyType(), svx::classification::insertCreationOrigin(), SfxClassificationHelper::PROP_DOCFOOTER(), SfxClassificationHelper::PROP_DOCHEADER(), SfxClassificationHelper::PROP_PREFIX_INTELLECTUALPROPERTY(), SfxWatermarkItem::SetText(), SetWatermark(), UNO_NAME_FOOTER_IS_ON, UNO_NAME_FOOTER_TEXT, UNO_NAME_HEADER_IS_ON, UNO_NAME_HEADER_TEXT, UNO_NAME_NAME, and xModel.
Referenced by ClassifyDocPerHighestParagraphClass(), and SwDocShell::Execute().
bool SwEditShell::SetCurFootnote | ( | const SwFormatFootnote & | rFillFootnote | ) |
Definition at line 414 of file edattr.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwFormatFootnote::GetNumStr(), sw::Ring< SwViewShell >::GetRingContainer(), SwFormatFootnote::IsEndNote(), SwViewShell::mxDoc, and StartAllAction().
Referenced by SwInsFootNoteDlg::Apply().
void SwEditShell::SetCurNumRule | ( | const SwNumRule & | rRule, |
const bool | bCreateNewList, | ||
const OUString & | sContinuedListId = OUString() , |
||
const bool | bResetIndentAttrs = false |
||
) |
Optional parameter <bResetIndentAttrs> (default value false).
If <bResetIndentAttrs> equals true, the indent attributes "before text" and "first line indent" are additionally reset at the current selection, if the list style makes use of the new list level attributes. Parameters <bCreateNewList> and <sContinuedListId> <bCreateNewList> indicates, if a new list is created by applying the given list style. If <bCreateNewList> equals false, <sContinuedListId> may contain the list Id of a list, which has to be continued by applying the given list style
Definition at line 738 of file ednumber.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), sw::Ring< value_type >::GetRingContainer(), INSATTR, SwCursorShell::IsMultiSelection(), SwDoc::SetCounted(), SwDoc::SetNumRule(), and StartAllAction().
Referenced by SwDocShell::ApplyStyles(), ChangeIndentOfAllListLevels(), SwTextShell::ExecEnterNum(), SwTextShell::ExecParaAttr(), SwTextShell::ExecSetNumber(), SwTextShell::Execute(), SwEditWin::MouseButtonUp(), SwWrtShell::NumOrBulletOff(), and SwWrtShell::NumOrBulletOn().
void SwEditShell::SetDefault | ( | const SfxPoolItem & | rFormatHint | ) |
Set attribute as new default attribute in document.
Set the attribute as new default attribute in the document.
Definition at line 84 of file edatmisc.cxx.
References EndAllAction(), SwViewShell::GetDoc(), SwDoc::SetDefault(), and StartAllAction().
Referenced by SwModule::ApplyItemSet(), SwEnvFormatPage::Edit(), SwTextShell::Execute(), SwStdFontTabPage::FillItemSet(), SwLangHelper::SetLanguage(), and SwLangHelper::SetLanguage_None().
void SwEditShell::SetDefaultTOXBase | ( | const SwTOXBase & | rBase | ) |
Definition at line 116 of file edtox.cxx.
References SwViewShell::GetDoc(), and SwDoc::SetDefaultTOXBase().
Referenced by SwMultiTOXTabDialog::Ok().
void SwEditShell::SetEndNoteInfo | ( | const SwEndNoteInfo & | rInfo | ) |
Definition at line 920 of file editsh.cxx.
References EndAllAction(), SwViewShell::GetDoc(), SwDoc::SetEndNoteInfo(), and StartAllAction().
Referenced by SwEndNoteOptionPage::FillItemSet().
void SwEditShell::SetExtTextInputData | ( | const CommandExtTextInputData & | rData | ) |
Definition at line 995 of file editsh.cxx.
References abs(), Chars, EndAllAction(), SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), CommandExtTextInputData::GetCursorPos(), SwViewShell::GetDoc(), SwDoc::GetExtTextInput(), SwPosition::GetNode(), SwPaM::GetPoint(), SwCursorShell::HideCursor(), CommandExtTextInputData::IsCursorOverwrite(), CommandExtTextInputData::IsCursorVisible(), CommandExtTextInputData::IsOnlyCursorChanged(), SwCursorShell::Left(), SwCursorShell::Right(), SAL_WARN, SwExtTextInput::SetInputData(), SwCursorShell::SetOverwriteCursor(), SwCursorShell::ShowCursor(), SwPaM::Start(), and StartAllAction().
Referenced by SwEditWin::Command(), and QuickHelpData::Start().
void SwEditShell::SetFieldUpdateFlags | ( | SwFieldUpdateFlags | eFlags | ) |
Definition at line 359 of file edfld.cxx.
References SwViewShell::getIDocumentSettingAccess(), and IDocumentSettingAccess::setFieldUpdateFlags().
Referenced by SwLoadOptPage::FillItemSet().
void SwEditShell::SetFootnoteInfo | ( | const SwFootnoteInfo & | rInfo | ) |
Definition at line 906 of file editsh.cxx.
References SwCursorShell::CallChgLnk(), EndAllAction(), SwViewShell::GetDoc(), SwDoc::SetFootnoteInfo(), and StartAllAction().
Referenced by SwEndNoteOptionPage::FillItemSet().
void SwEditShell::SetGlblDocSaveLinks | ( | bool | bFlag | ) |
Definition at line 38 of file edglbldc.cxx.
References SwViewShell::GetDoc(), SwViewShell::getIDocumentSettingAccess(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), GLOBAL_DOCUMENT_SAVE_LINKS, IsModified(), IDocumentSettingAccess::set(), and IDocumentState::SetModified().
Referenced by IMPL_LINK().
void SwEditShell::SetGraphicPolygon | ( | const tools::PolyPolygon * | pPoly | ) |
Definition at line 324 of file editsh.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwFlyFrame::GetFormat(), SwDoc::getIDocumentState(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNode::GetNoTextNode(), SwPaM::GetPointNode(), SwFormat::GetSurround(), SwFrame::GetUpper(), SwNoTextNode::SetContour(), IDocumentState::SetModified(), and StartAllAction().
Referenced by SwBaseShell::Execute().
void SwEditShell::SetIndent | ( | short | nIndent, |
const SwPosition & | rPos | ||
) |
Definition at line 332 of file ednumber.cxx.
References EndAllAction(), SwTextNode::GetActualListLevel(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwDoc::GetNumRuleAtPos(), IsFirstOfNumRuleAtCursorPos(), SwCursorShell::IsMultiSelection(), pos, SwNumRule::SetIndent(), SwNumRule::SetIndentOfFirstListLevelAndChangeOthers(), SwDoc::SetNumRule(), and StartAllAction().
Referenced by SwView::ExecTabWin().
void SwEditShell::SetLabelDoc | ( | bool | bFlag | ) |
Labels: Synchronize ranges.
Definition at line 369 of file edfld.cxx.
References SwViewShell::GetDoc(), SwDoc::GetDocumentSettingManager(), LABEL_DOCUMENT, and sw::DocumentSettingManager::set().
Referenced by SwModule::InsertLab(), and lcl_RemoveSectionLinks().
void SwEditShell::SetLineNumberInfo | ( | const SwLineNumberInfo & | rInfo | ) |
Definition at line 933 of file editsh.cxx.
References SwViewShell::AddPaintRect(), EndAllAction(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwDoc::SetLineNumberInfo(), and StartAllAction().
void SwEditShell::SetLinguRange | ( | SwDocPositions | eStart, |
SwDocPositions | eEnd | ||
) |
Definition at line 625 of file edlingu.cxx.
References SwPaM::Exchange(), SwCursorShell::GetCursor(), SwPaM::GetMark(), SwPaM::GetPoint(), and SwCursorShell::MakeFindRange().
void SwEditShell::SetLinkUpdMode | ( | sal_uInt16 | nMode | ) |
Definition at line 947 of file editsh.cxx.
References SwViewShell::getIDocumentSettingAccess(), and IDocumentSettingAccess::setLinkUpdateMode().
Referenced by SwLoadOptPage::FillItemSet().
void SwEditShell::SetModified | ( | ) |
Definition at line 70 of file edws.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentState(), and IDocumentState::SetModified().
Referenced by SwSortDlg::Apply(), SwEditWin::ChangeDrawing(), SwTOXMgr::DeleteTOXMark(), SwAnnotationShell::Exec(), SwDrawTextShell::ExecDraw(), SwDrawShell::ExecDrawAttrArgs(), SwDrawShell::ExecDrawDlg(), SwDrawShell::ExecFormText(), SwMediaShell::ExecMedia(), SwDrawShell::Execute(), SwDrawTextShell::Execute(), SwFrameShell::Execute(), SwBezierShell::Execute(), SwDrawBaseShell::Execute(), SwNavigationShell::Execute(), SwContentTree::ExecuteContextMenuAction(), SwXTextDocument::executeFromFieldEvent(), SwLoadOptPage::FillItemSet(), SwStdFontTabPage::FillItemSet(), IMPL_LINK(), SwEditWin::KeyInput(), lcl_FoldedOutlineNodeEndOfParaSplit(), SwDBManager::Merge(), SwView::SetPrinter(), SwPagePreview::SetPrinter(), SwEditWin::ToggleOutlineContentVisibility(), SwFieldMgr::UpdateCurField(), SwFlyFrameAttrMgr::UpdateFlyFrame_(), and SwTOXMgr::UpdateTOXMark().
void SwEditShell::SetNewDoc | ( | ) |
Optimizing UI.
Definition at line 288 of file edws.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentState(), and IDocumentState::SetNewDoc().
Referenced by SwDocShell::Execute(), SwModule::InsertEnv(), and SwModule::InsertLab().
void SwEditShell::SetNodeNumStart | ( | sal_uInt16 | nStt | ) |
Definition at line 832 of file ednumber.cxx.
References SwPamRanges::Count(), END, EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), sw::GetParaPropsPos(), SwPaM::GetPoint(), SwPaM::IsMultiSelection(), n, pos, SwDoc::SetNodeNumStart(), SwPamRanges::SetPam(), START, and StartAllAction().
Referenced by sw_ParagraphDialogResult().
void SwEditShell::SetNumberingRestart | ( | ) |
Set all numbering start points to a fixed value - mailmerge support.
Definition at line 769 of file editsh.cxx.
References SwCursorShell::DeleteCurrent, End, SwPaM::End(), EndAllAction(), SwNode::EndOfSectionIndex(), SwNumRule::Get(), SwTextNode::GetActualListLevel(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwNode::GetNodeType(), SwTextNode::GetNum(), SwNumberTreeNode::GetNumber(), SwTextNode::GetNumRule(), SwNode::GetTextNode(), SwTextNode::HasBullet(), SwTextNode::HasNumber(), i, SwTextNode::IsCountedInList(), IsHidden(), SwTextFrame::IsHiddenNow(), SwTextNode::IsListRestart(), SwCursorShell::MakeFindRange(), MAXLEVEL, OtherEnd, OtherStart, SwCursorShell::Pop(), SwCursorShell::Push(), Section, SwDoc::SetNumRuleStart(), Start, SwPaM::Start(), StartAllAction(), and Text.
Referenced by SwDBManager::MergeMailFiles().
void SwEditShell::SetNumRuleStart | ( | bool | bFlag, |
SwPaM * | pCursor | ||
) |
Set (and query if) a numbering with StartFlag starts at current PointPos.
Definition at line 800 of file ednumber.cxx.
References SwPamRanges::Count(), END, EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), sw::GetParaPropsPos(), SwPaM::GetPoint(), SwPaM::IsMultiSelection(), n, pos, SwDoc::SetNumRuleStart(), SwPamRanges::SetPam(), START, and StartAllAction().
Referenced by sw_ParagraphDialogResult().
void SwEditShell::SetOutlineNumRule | ( | const SwNumRule & | rRule | ) |
Definition at line 110 of file ednumber.cxx.
References EndAllAction(), SwViewShell::GetDoc(), SwDoc::SetOutlineNumRule(), and StartAllAction().
Referenced by SwOutlineTabDialog::Ok().
|
inline |
Enable/Disable paragraph signature validation and return the previous value.
Definition at line 997 of file editsh.hxx.
Referenced by ApplyParagraphClassification(), ClassifyDocPerHighestParagraphClass(), SwUndoParagraphSigning::Insert(), SwUndoParagraphSigning::Remove(), RestoreMetadataFieldsAndValidateParagraphSignatures(), SignParagraph(), ValidateAllParagraphSignatures(), and ValidateParagraphSignatures().
bool SwEditShell::SetRedlineComment | ( | const OUString & | rS | ) |
Set comment to Redline at position.
Definition at line 150 of file edredln.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), sw::Ring< SwViewShell >::GetRingContainer(), and IDocumentRedlineAccess::SetRedlineComment().
Referenced by SwTextShell::ExecField(), and IMPL_LINK().
void SwEditShell::SetRedlineFlags | ( | RedlineFlags | eMode | ) |
Definition at line 32 of file edredln.cxx.
References eMode, EndAllAction(), SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwViewShell::getIDocumentRedlineAccess(), GetRedlineFlags(), IDocumentRedlineAccess::SetRedlineFlags(), and StartAllAction().
Referenced by SwWrtShell::DelRight(), and SwWrtShell::SetRedlineFlagsAndCheckInsMode().
void SwEditShell::SetSectionAttr | ( | const SfxItemSet & | rSet, |
SwSectionFormat * | pSectFormat = nullptr |
||
) |
Set attributes.
Definition at line 171 of file edsect.cxx.
References SwNode::EndOfSectionIndex(), SwNode::FindSectionNode(), SwCursorShell::GetCursor(), SwSection::GetFormat(), SwNodeIndex::GetNode(), sw::Ring< SwViewShell >::GetRingContainer(), SwSectionNode::GetSection(), SwNode::GetSectionNode(), SwNode::IsEndNode(), rSet, and SetSectionAttr_().
Referenced by SwView::ExecTabWin().
|
private |
Definition at line 224 of file edsect.cxx.
References SwCursorShell::CallChgLnk(), SfxItemSet::ClearItem(), EndAllAction(), SwViewShell::GetDoc(), SfxItemSet::GetItemState(), RES_CNTNT(), rSet, SwDoc::SetAttr(), and StartAllAction().
Referenced by SetSectionAttr().
void SwEditShell::SetTableBoxFormulaAttrs | ( | const SfxItemSet & | rSet | ) |
Definition at line 336 of file edtab.cxx.
References SwCursorShell::ClearTableBoxContent(), END, EndAllAction(), SwCursorShell::GetCurrFrame(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), SfxItemSet::GetItemState(), GetTableSelCrs(), SwFrame::GetUpper(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwFrame::IsCellFrame(), SwCursorShell::IsTableMode(), n, RES_BOXATR_FORMULA(), rSet, SwDoc::SetTableBoxFormulaAttrs(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), START, and StartAllAction().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwTableShell::ExecNumberFormat(), SwTableShell::Execute(), SwTextShell::Execute(), and SwFieldMgr::InsertField().
void SwEditShell::SetTableChgMode | ( | TableChgMode | eMode | ) |
Definition at line 285 of file edtab.cxx.
References eMode, SwViewShell::GetDoc(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwTableNode::GetTable(), SwCursorShell::IsCursorInTable(), IDocumentState::IsModified(), IDocumentState::SetModified(), and SetTableChgMode().
Referenced by SwTableShell::Execute(), SwTableOptionsTabPage::FillItemSet(), and SetTableChgMode().
void SwEditShell::SetTableName | ( | SwFrameFormat & | rTableFormat, |
const OUString & | rNewName | ||
) |
change table name
Definition at line 403 of file editsh.cxx.
References SwViewShell::GetDoc(), and SwDoc::SetTableName().
Referenced by ItemSetToTableParam().
void SwEditShell::SetTextFormatColl | ( | SwTextFormatColl * | pFormat, |
const bool | bResetListAttrs = false |
||
) |
Add 2nd optional parameter <bResetListAttrs> - see also <SwDoc::SetTextFormatColl(..)>
Definition at line 2202 of file edfcol.cxx.
References SwRewriter::AddRule(), SwPaM::End(), EndAllAction(), SwNode::GetContentNode(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwViewShell::getIDocumentRedlineAccess(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwFormat::GetName(), SwPosition::GetNode(), SwFormat::GetPoolFormatId(), sw::Ring< SwViewShell >::GetRingContainer(), SwTextNode::GetTextColl(), SwDoc::GetTextFormatColls(), SwNode::GetTextNode(), SwViewShell::GetViewOptions(), IDocumentRedlineAccess::IGNORED, IsRedlineOn(), RES_POOLCOLL_STANDARD, result, SwDoc::RstTextAttrs(), SwPosition::SetContent(), SwRangeRedline::SetExtraData(), SETFMTCOLL, SwDoc::SetTextFormatColl(), SwPaM::Start(), StartAllAction(), and UndoArg1.
Referenced by SwDocShell::ApplyStyles(), SwInsertDBColAutoPilot::DataToDoc(), SwModule::InsertEnv(), lcl_InsertBCText(), lcl_InsertLabText(), SwDocShell::MakeByExample(), SwEditWin::MouseButtonUp(), SwFormatClipboard::Paste(), SwWrtShell::QuickUpdateStyle(), and SwDocShell::UpdateStyle().
void SwEditShell::SetTOIAutoMarkURL | ( | const OUString & | rSet | ) |
Definition at line 263 of file edtox.cxx.
References SwViewShell::GetDoc(), rSet, and SwDoc::SetTOIAutoMarkURL().
Referenced by SwTOXMgr::UpdateOrInsertTOX().
void SwEditShell::SetTOXBaseReadonly | ( | const SwTOXBase & | rTOXBase, |
bool | bReadonly | ||
) |
Definition at line 99 of file edtox.cxx.
References SwSection::GetFormat(), GetSectionFormatPos(), SwSectionData::SetProtectFlag(), ToxContent, and UpdateSection().
Referenced by SwContentTree::ExecuteContextMenuAction().
void SwEditShell::SetUndoNoResetModified | ( | ) |
Definition at line 80 of file edws.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), and IDocumentState::SetModified().
Referenced by SwFieldInputDlg::Apply(), SwTextShell::ExecField(), and SwFieldPage::InsertField().
void SwEditShell::SetUpdateTOX | ( | bool | bFlag | ) |
After reading file update all content tables.
Update of all listings after reading-in a file.
Definition at line 248 of file edtox.cxx.
References SwViewShell::GetDoc(), and SwDoc::SetUpdateTOX().
void SwEditShell::SetWatermark | ( | const SfxWatermarkItem & | rText | ) |
Definition at line 1619 of file edfcol.cxx.
References SfxObjectShell::GetBaseModel(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SfxWatermarkItem::GetText(), lcl_placeWatermarkInHeader(), UNO_NAME_HEADER_HEIGHT, UNO_NAME_HEADER_IS_DYNAMIC_HEIGHT, UNO_NAME_HEADER_IS_ON, UNO_NAME_HEADER_TEXT, UNO_NAME_HEADER_TEXT_FIRST, UNO_NAME_HEADER_TEXT_LEFT, UNO_NAME_HEADER_TEXT_RIGHT, and xModel.
Referenced by ApplyAdvancedClassification(), SwDocShell::Execute(), and SetClassification().
void SwEditShell::SignParagraph | ( | ) |
Sign the paragraph at the cursor.
Definition at line 1764 of file edfcol.cxx.
References svl::crypto::Signing::AddDataRange(), aProperties, begin, SwXParagraph::CreateXParagraph(), end, SwNode::FindTableNode(), SfxObjectShell::GetBaseModel(), SwCursorShell::GetCursor(), SwNode::GetDoc(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwDoc::GetIDocumentUndoRedo(), SwPosition::GetNode(), comphelper::getProcessComponentContext(), SwNode::GetTextNode(), PARA_SIGN_ADD, SetParagraphSignatureValidation(), svl::crypto::Signing::Sign(), Start, SwPaM::Start(), and xModel.
Referenced by SwFieldMgr::InsertField().
uno::Any SwEditShell::SpellContinue | ( | sal_uInt16 * | pPageCnt, |
sal_uInt16 * | pPageSt, | ||
SwConversionArgs const * | pConvArgs | ||
) |
Definition at line 687 of file edlingu.cxx.
References SwCursorShell::EndAction(), g_pConvIter, g_pSpellIter, SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwRootFrame::GetPageNum(), SwViewShell::mnStartAction, SwCursorShell::StartAction(), and StartProgress().
Referenced by SwHHCWrapper::ConvContinue_impl().
void SwEditShell::SpellEnd | ( | SwConversionArgs const * | pConvArgs = nullptr , |
bool | bRestoreSelection = true |
||
) |
Restore selections.
Definition at line 670 of file edlingu.cxx.
References g_pConvIter, and g_pSpellIter.
Referenced by SwSpellDialogChildWindow::GetNextWrongSentence(), SwSpellDialogChildWindow::InvalidateSpellDialog(), and SwSpellDialogChildWindow::~SwSpellDialogChildWindow().
bool SwEditShell::SpellSentence | ( | svx::SpellPortions & | rToFill, |
bool | bIsGrammarCheck | ||
) |
Spells on a sentence basis - the SpellPortions are needed.
Definition at line 1052 of file edlingu.cxx.
References SwCursorShell::EndAction(), g_pSpellIter, and SwCursorShell::StartAction().
Referenced by SwSpellDialogChildWindow::GetNextWrongSentence().
void SwEditShell::SpellStart | ( | SwDocPositions | eStart, |
SwDocPositions | eEnd, | ||
SwDocPositions | eCurr, | ||
SwConversionArgs * | pConvArgs = nullptr |
||
) |
Functions used for spell checking and text conversion.
Save selections.
Definition at line 633 of file edlingu.cxx.
References SwCursor::FillFindPos(), g_pConvIter, g_pSpellIter, SwCursorShell::GetCursor(), and SwPaM::GetPoint().
Referenced by SwSpellDialogChildWindow::GetNextWrongSentence().
void SwEditShell::SplitNode | ( | bool | bAutoFormat = false , |
bool | bCheckTableStart = true |
||
) |
Definition at line 182 of file editsh.cxx.
References AutoFormatBySplitNode(), SwDoc::ClearBoxNumAttrs(), SwCursorShell::ClearTableBoxContent(), EMPTY, EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwDoc::GetIDocumentUndoRedo(), sw::Ring< SwViewShell >::GetRingContainer(), IDocumentContentOperations::SplitNode(), and StartAllAction().
Referenced by SwWrtShell::InsertColumnBreak(), SwWrtShell::InsertOleObject(), SwWrtShell::InsertPageBreak(), and SwWrtShell::SplitNode().
void SwEditShell::SplitTable | ( | SplitTable_HeadlineOption | eMode | ) |
Split table at cursor position.
Definition at line 431 of file edtab.cxx.
References ClearFEShellTabCols(), eMode, EMPTY, EndAllAction(), SwNode::FindTableNode(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetIDocumentUndoRedo(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwDoc::SplitTable(), and StartAllAction().
Referenced by SwSplitTableDlg::Apply(), and SwTableShell::Execute().
void SwEditShell::StartAllAction | ( | ) |
For all views of this document.
Definition at line 86 of file edws.cxx.
References sw::Ring< SwViewShell >::GetRingContainer().
Referenced by AcceptRedline(), AcceptRedlinesInSelection(), SwFEShell::AdjustCellWidth(), SwFEShell::AlignAllFormulasToBaseline(), SwDoc::AppendDoc(), AppendTextNode(), SwFieldInputDlg::Apply(), SwSortDlg::Apply(), ApplyAutoMark(), SwDocShell::ApplyStyles(), AutoCorrect(), SwWrtShell::AutoCorrect(), AutoFormat(), AutoFormatBySplitNode(), SwFEShell::BalanceRowHeight(), CalcLayout(), SwFEShell::Chain(), SwEditWin::ChangeDrawing(), SwEditWin::ChangeFly(), SwWrtShell::ChangeHeaderOrFooter(), ChangeIndentOfAllListLevels(), SwFEShell::CheckUnboundObjects(), SwFEShell::ChgAnchor(), SwFEShell::ChgCurPageDesc(), ChgNumRuleFormats(), SwFEShell::ChgPageDesc(), ClearAutomaticContour(), SwOneExampleFrame::ClearDocument(), SwWrtShell::ClickToField(), CompareDoc(), ConvertFieldsToText(), SwDocShell::ConvertTo(), SwFEShell::Copy(), SwInsertDBColAutoPilot::DataToDoc(), SwInputWindow::DelBoxContent(), Delete(), SwPostItMgr::Delete(), SwDocShell::Delete(), SwFEShell::DeleteCol(), SwPostItMgr::DeleteCommentThread(), DeleteExtTextInput(), DeleteGlobalDocContent(), SwFEShell::DeleteRow(), SwFEShell::DeleteTableSel(), DeleteTOXMark(), DelFullPara(), DelNumRules(), DelSectionFormat(), SwFEShell::DelSelectedObj(), SwWrtShell::Do(), SwDocShell::DoFlushDocInfo(), DoSpecialInsert(), SwTransferable::DragFinished(), SwFEShell::EndTextEdit(), SwFieldMgr::EvalExpFields(), SwTextShell::ExecEnterNum(), SwTextShell::ExecField(), SwTextShell::ExecInsert(), SwView::ExecTabWin(), SwDocShell::Execute(), SwBaseShell::Execute(), SwFrameShell::Execute(), SwTextShell::Execute(), SwGrfShell::Execute(), SwDrawBaseShell::Execute(), SwEditWin::ExecuteDrop(), SwGlossaryHdl::Expand(), FieldToText(), SwStdFontTabPage::FillItemSet(), SwFEShell::FindAnchorPos(), SwPostItMgr::FormatAll(), GetUpdatedDocStat(), SwInputFieldList::GotoFieldPos(), sw::AccessibilityIssue::gotoIssue(), SwNavigationMgr::GotoSwPosition(), SwFEShell::GroupSelection(), SwHHCWrapper::HandleNewUnit(), SwDocShell::Hide(), SwFEShell::ImpEndCreate(), IMPL_LINK(), IMPL_LINK_NOARG(), SwDBManager::ImportFromConnection(), SwWrtShell::Insert(), SwFEShell::Insert(), Insert(), Insert2(), SwView::InsertCaption(), SwTableFUNC::InsertChart(), SwFEShell::InsertCol(), InsertDDETable(), SwModule::InsertEnv(), InsertField(), SwFieldPage::InsertField(), SwFieldMgr::InsertField(), SwWrtShell::InsertField2(), SwFlyFrameAttrMgr::InsertFlyFrame(), InsertGlobalDocContent(), SwGlossaryHdl::InsertGlossary(), InsertGlossary(), SwWrtShell::InsertGraphic(), SwModule::InsertLab(), SwFEShell::InsertLabel(), SwIndexMarkPane::InsertMark(), SwFEShell::InsertObject(), SwWrtShell::InsertOleObject(), SwFEShell::InsertRow(), InsertSection(), SwTextShell::InsertSymbol(), InsertTable(), InsertTableImpl(), InsertTableOf(), SwTOXMgr::InsertTOXMark(), SwIndexMarkPane::InsertUpdate(), InsertURL(), ItemSetToTableParam(), lcl_SetAPageOffset(), lcl_TableParamToItemSet(), SwDocShell::LoadStyles_(), SwDocShell::LoadStylesFromFile(), SwDocShell::MakeByExample(), SwDBManager::Merge(), MergeDoc(), SwFEShell::MergeTab(), MergeTable(), SwFEShell::MoveAnchor(), MoveGlobalDocContent(), MoveLeftMargin(), MoveNumParas(), SwContentTree::MoveOutline(), MoveOutlinePara(), MoveParagraph(), SwVirtFlyDrawObj::NbcCrop(), SwFEShell::NewFlyFrame(), NoNum(), SwDocShell::Notify(), SwURLStateChanged::Notify(), NumOrNoNum(), NumUpDown(), SwWrtShell::OpenMark(), OutlineUpDown(), Overwrite(), SwFEShell::Paste(), SwFEShell::PastePages(), SwPostItMgr::PrepareView(), SwFEShell::ProtectCells(), Redo(), RejectRedline(), RejectRedlinesInSelection(), Repeat(), Replace(), ReplaceDropText(), ReplaceNumRule(), SwFEShell::ReplaceSdrObj(), SwHHCWrapper::ReplaceUnit(), SwOleClient::RequestNewObjectArea(), SwFEShell::RequestObjectResize(), ReRead(), ResetAttr(), SwFEShell::ResetFlyFrameAttr(), SaveGlossaryDoc(), SwFEShell::SelectionToBottom(), SwFEShell::SelectionToTop(), SetAttrItem(), SetAttrSet(), SwFEShell::SetBoxAlign(), SwFEShell::SetBoxBackground(), SwFEShell::SetBoxDirection(), SwFEShell::SetColRowWidthHeight(), SwTableFUNC::SetColWidth(), SetCurFootnote(), SetCurNumRule(), SetDefault(), SwFEShell::SetDrawingAttr(), SetEndNoteInfo(), SetExtTextInputData(), SwFEShell::SetFlyFrameAttr(), SetFootnoteInfo(), SwFEShell::SetFrameFormat(), SetGraphicPolygon(), SetIndent(), SetLineNumberInfo(), SwFEShell::SetMouseTabCols(), SwFEShell::SetMouseTabRows(), SetNodeNumStart(), SetNumberingRestart(), SetNumRuleStart(), SwFEShell::SetObjAttr(), SetOutlineNumRule(), SwFEShell::SetPageObjsNewPage(), SwView::SetPrinter(), SwPagePreview::SetPrinter(), SetRedlineFlags(), SwFEShell::SetRowBackground(), SwFEShell::SetRowHeight(), SwFEShell::SetRowSplit(), SwFEShell::SetRowsToRepeat(), SetSectionAttr_(), SwFEShell::SetTabBackground(), SwFEShell::SetTabBorders(), SwFEShell::SetTabCols(), SwFEShell::SetTableAttr(), SetTableBoxFormulaAttrs(), SwFEShell::SetTabLineStyle(), SwFEShell::SetTabRows(), SetTextFormatColl(), SwFEShell::Sort(), SplitNode(), SwFEShell::SplitTab(), SplitTable(), TableToText(), TextToTable(), SwPostItMgr::ToggleResolved(), SwPostItMgr::ToggleResolvedForThread(), TransliterateText(), SwFEShell::Unchain(), Undo(), SwFEShell::UnGroupSelection(), SwFEShell::UnProtectCells(), SwFEShell::UnProtectTables(), SwTableFUNC::UpdateChart(), SwFieldMgr::UpdateCurField(), SwDDEFieldType::UpdateDDE(), UpdateDocStat(), UpdateExpFields(), SwChangeDBDlg::UpdateFields(), SwFlyFrameAttrMgr::UpdateFlyFrame(), UpdateOneField(), UpdateRedlineAttr(), UpdateSection(), SwDocShell::UpdateStyle(), UpdateTable(), UpdateTableOf(), SwFEShell::UpdateTableStyleFormatting(), SwTOXMgr::UpdateTOXMark(), SwOleClient::ViewChanged(), and SwWriter::Write().
SwUndoId SwEditShell::StartUndo | ( | SwUndoId | eUndoId = SwUndoId::EMPTY , |
const SwRewriter * | pRewriter = nullptr |
||
) |
Undo: set up Undo parenthesis, return nUndoId of this parenthesis.
open undo container
Definition at line 223 of file edws.cxx.
References SwViewShell::GetDoc(), and SwDoc::GetIDocumentUndoRedo().
Referenced by SwInsFootNoteDlg::Apply(), ApplyCharBackground(), SwWrtShell::AutoCorrect(), AutoFormat(), AutoFormatBySplitNode(), SwRedlineAcceptDlg::CallAcceptReject(), SwEditWin::ChangeDrawing(), SwWrtShell::ChangeHeaderOrFooter(), SwWrtShell::ClickToField(), SwInsertDBColAutoPilot::DataToDoc(), SwPostItMgr::Delete(), SwFEShell::DeleteCol(), DeleteGlobalDocContent(), SwContentTree::DeleteOutlineSelections(), SwFEShell::DeleteRow(), SwTransferable::DeleteSelection(), SwTransferable::DragFinished(), SwDocShell::Edit(), SwContentTree::EditEntry(), SwFEShell::EndDrag(), SwTextShell::ExecCharAttrArgs(), SwTextShell::ExecInsert(), SwTextShell::ExecParaAttrArgs(), SwSpellPopup::Execute(), SwView::Execute(), SwBaseShell::Execute(), SwDrawShell::Execute(), SwTableShell::Execute(), SwTextShell::Execute(), SwGrfShell::Execute(), SwDrawBaseShell::Execute(), SwGlossaryHdl::Expand(), FieldToText(), SwPostItMgr::FormatAll(), SwFEShell::GroupSelection(), IMPL_LINK_NOARG(), SwDBManager::ImportFromConnection(), SwWrtShell::Insert(), SwAutoCorrDoc::Insert(), SwMailMergeLayoutPage::InsertAddressAndGreeting(), SwTableFUNC::InsertChart(), SwWrtShell::InsertColumnBreak(), SwWrtShell::InsertContentControl(), InsertDDETable(), SwModule::InsertEnv(), SwWrtShell::InsertField2(), SwWrtShell::InsertGraphic(), SwView::InsertGraphicDlg(), SwFEShell::InsertLabel(), SwWrtShell::InsertOleObject(), SwWrtShell::InsertPageBreak(), SwDrawShell::InsertPictureFromFile(), SwTextShell::InsertSymbol(), InsertTable(), SwBaseShell::InsertTable(), InsertTableImpl(), SwIndexMarkPane::InsertUpdate(), SwBaseShell::InsertURLButton(), ItemSetToTableParam(), SwEditWin::KeyInput(), SwDrawBase::MouseButtonUp(), SwEditWin::MouseButtonUp(), MoveLeftMargin(), SwContentTree::MoveOutline(), SwWrtShell::NumOrBulletOn(), SwFEShell::Paste(), SwFormatClipboard::Paste(), SwFEShell::PastePages(), SwTransferable::PrivateDrop(), SwAutoCorrDoc::ReplaceRange(), SwFEShell::ReplaceSdrObj(), SwHHCWrapper::ReplaceUnit(), SwFEShell::SetDrawingAttr(), SwFEShell::SetObjAttr(), SwFEShell::SetPageObjsNewPage(), SwInputWindow::ShowWin(), SwWrtShell::SplitNode(), sw_ParagraphDialogResult(), TableToText(), SwFEShell::UnGroupSelection(), SwDocShell::UpdateStyle(), and UpdateTable().
bool SwEditShell::TableToText | ( | sal_Unicode | cCh | ) |
Definition at line 149 of file edtab.cxx.
References SwPosition::Assign(), SwCursorShell::ClearMark(), ConvertTableToText(), IDocumentChartDataProviderAccess::CreateChartInternalDataProviders(), SwPaM::DeleteMark(), EndAllAction(), SwNode::EndOfSectionNode(), EndUndo(), fnMoveForward, SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentChartDataProviderAccess(), SwPaM::GetNext(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwTableNode::GetTable(), GoInContent(), SwDoc::IsInTable(), SwCursorShell::IsTableMode(), SwPaM::Move(), SwPaM::SetMark(), StartAllAction(), and StartUndo().
Referenced by SwBaseShell::Execute().
bool SwEditShell::TextToTable | ( | const SwInsertTableOptions & | rInsTableOpts, |
sal_Unicode | cCh, | ||
const SwTableAutoFormat * | pTAFormat = nullptr |
||
) |
rInsTableOpts | All |
Definition at line 132 of file edtab.cxx.
References EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), sw::Ring< SwViewShell >::GetRingContainer(), StartAllAction(), and SwDoc::TextToTable().
Referenced by SwBaseShell::Execute(), and SwBaseShell::InsertTable().
void SwEditShell::TransliterateText | ( | TransliterationFlags | nType | ) |
Change text to Upper/Lower/Hiragana/Katakana/...
Definition at line 1058 of file editsh.cxx.
References EMPTY, EndAllAction(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwDoc::GetIDocumentUndoRedo(), SwPaM::GetNext(), sw::Ring< SwViewShell >::GetRingContainer(), nType, StartAllAction(), and IDocumentContentOperations::TransliterateText().
Referenced by SwTextShell::ExecRotateTransliteration(), and SwTextShell::ExecTransliteration().
void SwEditShell::Undo | ( | sal_uInt16 const | nCount = 1 , |
sal_uInt16 | nOffset = 0 |
||
) |
Definition at line 105 of file edundo.cxx.
References a, AUTOCORRECT, AUTOFORMAT, SwCursorShell::ClearMark(), SwCursorShell::ClearTableBoxContent(), IDocumentRedlineAccess::CompressRedlines(), SwCursorShell::DeleteCurrent, SwCursorShell::DeleteStack, EMPTY, EndAllAction(), SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetIDocumentUndoRedo(), GetLastUndoInfo(), IDocumentRedlineAccess::GetRedlineFlags(), i, SwCursorShell::KillPams(), nCount, SwCursorShell::Pop(), SwCursorShell::Push(), SwCursorShell::SaveTableBoxContent(), SETDEFTATTR, SwCursorShell::SetMark(), IDocumentRedlineAccess::SetRedlineFlags(), StartAllAction(), and TOOLS_WARN_EXCEPTION.
Referenced by SwInputWindow::CleanupUglyHackWithUndo(), SwWrtShell::Do(), IMPL_STATIC_LINK(), SwEditWin::MouseButtonUp(), SwFEShell::PastePages(), SwWrtShell::SearchAttr(), SwWrtShell::SearchPattern(), and SwWrtShell::SearchTempl().
void SwEditShell::UnlockExpFields | ( | ) |
Definition at line 349 of file edfld.cxx.
References SwViewShell::GetDoc(), SwDoc::getIDocumentFieldsAccess(), and IDocumentFieldsAccess::UnlockExpFields().
Referenced by SwMailMergeLayoutPage::InsertGreeting(), and SwDBManager::MergeMailFiles().
void SwEditShell::UpdateCharts | ( | const OUString & | rName | ) |
Update content of all charts for table with given name.
Definition at line 397 of file editsh.cxx.
References SwViewShell::GetDoc(), and SwDoc::UpdateCharts().
Referenced by SwTableFUNC::UpdateChart().
void SwEditShell::UpdateDocStat | ( | ) |
Document - Statistics.
Definition at line 425 of file editsh.cxx.
References EndAllAction(), SwViewShell::GetDoc(), SwDoc::getIDocumentStatistics(), StartAllAction(), and IDocumentStatistics::UpdateDocStat().
Referenced by SwBaseShell::Execute().
void SwEditShell::UpdateExpFields | ( | bool | bCloseDB = false | ) |
only every expression fields update
Update all expression fields.
Definition at line 315 of file edfld.cxx.
References SwDBManager::CloseAll(), EndAllAction(), SwDoc::GetDBManager(), SwViewShell::GetDoc(), SwDoc::getIDocumentFieldsAccess(), StartAllAction(), and IDocumentFieldsAccess::UpdateExpFields().
Referenced by SwFieldMgr::EvalExpFields(), SwView::InsertCaption(), and SwFieldMgr::InsertField().
|
private |
Forces update of each field.
It notifies all fields with pNewHt. If that is 0 (default), the field type is sent (???).
[in] | bCloseDB | Passed in to GetDoc()->UpdateFields. [TODO] Purpose??? |
Definition at line 398 of file viewsh.cxx.
void SwEditShell::UpdateOneField | ( | SwField & | rField | ) |
One single field.
Definition at line 200 of file edfld.cxx.
References SwPosition::AdjustContent(), sw::Default, SwPaM::End(), EndAllAction(), sw::FindAttrImpl(), fnMoveForward, SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwFormatField::GetField(), SwTextAttr::GetFormatField(), SwDoc::getIDocumentFieldsAccess(), SwDoc::getIDocumentState(), SwViewShell::GetLayout(), sw::Ring< SwViewShell >::GetRingContainer(), SwCursorShell::GetTextFieldAtPos(), SwField::GetTyp(), SwPaM::HasMark(), SwPaM::IsMultiSelection(), lcl_FindInputField(), RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), RES_TXTATR_INPUTFIELD(), IDocumentState::SetModified(), SwPaM::Start(), StartAllAction(), IDocumentFieldsAccess::UpdateField(), and SwFieldType::Which().
Referenced by SwTextShell::ExecField(), and SwFieldMgr::InsertField().
void SwEditShell::UpdateRedlineAttr | ( | ) |
Redline attributes have been changed. Updated views.
Definition at line 169 of file edredln.cxx.
References EndAllAction(), SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwViewShell::getIDocumentRedlineAccess(), GetRedlineFlags(), IDocumentRedlineAccess::IsShowChanges(), StartAllAction(), and IDocumentRedlineAccess::UpdateRedlineAttr().
Referenced by SwRedlineOptionsTabPage::FillItemSet().
void SwEditShell::UpdateSection | ( | size_t const | nSect, |
SwSectionData & | rNewData, | ||
SfxItemSet const * const | pAttr = nullptr |
||
) |
Definition at line 156 of file edsect.cxx.
References SwCursorShell::CallChgLnk(), EndAllAction(), SwViewShell::GetDoc(), StartAllAction(), and SwDoc::UpdateSection().
Referenced by SwView::ExecTabWin(), lcl_RemoveSectionLinks(), SwWrtShell::NavigatorPaste(), and SetTOXBaseReadonly().
void SwEditShell::UpdateTable | ( | ) |
update fields of a listing
Definition at line 255 of file edtab.cxx.
References DoesUndo(), EndAllAction(), SwCursorShell::EndAllTableBoxEdit(), EndUndo(), SwViewShell::GetDoc(), SwDoc::getIDocumentFieldsAccess(), SwTableNode::GetTable(), SwCursorShell::IsCursorInTable(), StartAllAction(), StartUndo(), and IDocumentFieldsAccess::UpdateTableFields().
Referenced by SwTableShell::Execute(), SwTextShell::Execute(), SwFieldMgr::InsertField(), SwWebView::SelectShell(), and SwWebTableShell::SwWebTableShell().
void SwEditShell::UpdateTableOf | ( | const SwTOXBase & | rTOX, |
const SfxItemSet * | pSet = nullptr |
||
) |
update tables of content
Definition at line 150 of file edtox.cxx.
References CalcLayout(), EndAllAction(), EndProgress(), SwCursorShell::GetCursor(), GetCurTOX(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwSection::GetFormat(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwSectionFormat::GetSectionNode(), SwTOXBaseSection::SetPosAtStartEnd(), SwRootFrame::SetTableUpdateInProgress(), StartAllAction(), StartProgress(), TOXCHANGE, SwTOXBaseSection::Update(), and SwTOXBaseSection::UpdatePageNum().
Referenced by SwWrtShell::UpdateTableOf().
void SwEditShell::ValidateAllParagraphSignatures | ( | bool | updateDontRemove | ) |
Validate all paragraph signatures.
Definition at line 1868 of file edfcol.cxx.
References SfxObjectShell::GetBaseModel(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), IsParagraphSignatureValidationEnabled(), SetParagraphSignatureValidation(), and xModel.
Referenced by SwDocShell::SaveAs().
void SwEditShell::ValidateCurrentParagraphSignatures | ( | bool | updateDontRemove | ) |
Validate the current paragraph signatures, if any, at the cursor start.
Definition at line 1856 of file edfcol.cxx.
References SwCursorShell::GetCursor(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwPosition::GetNode(), SwNode::GetTextNode(), IsParagraphSignatureValidationEnabled(), Start, SwPaM::Start(), and ValidateParagraphSignatures().
void SwEditShell::ValidateParagraphSignatures | ( | SwTextNode * | pNode, |
bool | updateDontRemove | ||
) |
Validate the paragraph signatures, if any, of the current text node.
Definition at line 1837 of file edfcol.cxx.
References SwXParagraph::CreateXParagraph(), SwNode::FindTableNode(), SwViewShell::GetDoc(), IsParagraphSignatureValidationEnabled(), and SetParagraphSignatureValidation().
Referenced by ValidateCurrentParagraphSignatures().
|
inlinevirtual |
Selected area has hidden content.
Reimplemented in SwWrtShell.
Definition at line 634 of file editsh.hxx.
Referenced by Delete().
|
inlinevirtual |
Switch to Design mode for Forms.
Reimplemented in SwWrtShell.
Definition at line 641 of file editsh.hxx.
|
friend |
For the private methods DelRange and those of AutoCorrect.
Definition at line 145 of file editsh.hxx.
Referenced by AutoFormat().
|
friend |
For the PamCorrAbs/-Rel methods.
Definition at line 149 of file editsh.hxx.
|
private |
Prevent nested calls of ValidateParagraphSignatures.
Definition at line 1033 of file editsh.hxx.
|
private |
NO-BREAK SPACE state flag passed to and maintained by SvxAutoCorrect::DoAutoCorrect()
Definition at line 1032 of file editsh.hxx.
Referenced by AutoCorrect().
|
staticprivate |
Definition at line 142 of file editsh.hxx.
Referenced by GetAutoFormatFlags().