LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SwRewriter Class Reference

#include <SwRewriter.hxx>

Public Member Functions

 SwRewriter ()
 
void AddRule (SwUndoArg eWhat, const OUString &rWith)
 
OUString Apply (const OUString &rStr) const
 

Static Public Member Functions

static OUString GetPlaceHolder (SwUndoArg eId)
 

Private Attributes

std::vector< SwRewriteRulemRules
 

Detailed Description

Definition at line 36 of file SwRewriter.hxx.

Constructor & Destructor Documentation

◆ SwRewriter()

SwRewriter::SwRewriter ( )

Definition at line 23 of file SwRewriter.cxx.

Member Function Documentation

◆ AddRule()

void SwRewriter::AddRule ( SwUndoArg  eWhat,
const OUString &  rWith 
)

Definition at line 25 of file SwRewriter.cxx.

References a, and mRules.

Referenced by sw::DocumentRedlineManager::AcceptAllRedline(), sw::DocumentRedlineManager::AcceptRedline(), SwWrtShell::AutoCorrect(), SwRedlineAcceptDlg::CallAcceptReject(), SwUndoInsertLabel::CreateRewriter(), SwEditShell::Delete(), SwPostItMgr::Delete(), SwPostItMgr::DeleteCommentThread(), SwContentTree::DeleteOutlineSelections(), SwEditShell::DeleteSel(), SwDocShell::Edit(), SwContentTree::EditEntry(), EndUndo(), SwTextShell::ExecInsert(), SwSpellPopup::Execute(), SwView::Execute(), SwTextShell::Execute(), SwCursor::FindFormat(), SwPostItMgr::FormatAll(), SwRangeRedline::GetDescr(), SwAnnotationShell::GetNoteState(), SwUndoDelLayFormat::GetRewriter(), SwUndoFormatCreate::GetRewriter(), SwUndoFormatDelete::GetRewriter(), SwUndoRenameFormat::GetRewriter(), SwUndoNumruleCreate::GetRewriter(), SwUndoNumruleDelete::GetRewriter(), SwUndoNumruleRename::GetRewriter(), SwUndoPageDesc::GetRewriter(), SwUndoPageDescCreate::GetRewriter(), SwUndoPageDescDelete::GetRewriter(), SwUndoFormatAttr::GetRewriter(), SwUndoBookmark::GetRewriter(), SwUndoRenameBookmark::GetRewriter(), SwUndoFormatColl::GetRewriter(), SwUndoSetFlyFormat::GetRewriter(), SwUndoDelete::GetRewriter(), SwUndoFlyStrAttr::GetRewriter(), SwUndoFlyDecorative::GetRewriter(), SwUndoInsert::GetRewriter(), SwUndoInsNum::GetRewriter(), SwUndoOverwrite::GetRewriter(), SwUndoRedlineDelete::GetRewriter(), SwUndoInsTable::GetRewriter(), SwUndoTableStyleMake::GetRewriter(), SwUndoTableStyleDelete::GetRewriter(), SwUndoTableStyleUpdate::GetRewriter(), SwWrtShell::GotoContentControl(), sw::annotation::SwAnnotationWin::InitAnswer(), sw::annotation::SwAnnotationWin::InitControls(), SwWrtShell::Insert(), SwWrtShell::InsertContentControl(), SwWrtShell::InsertField2(), SwWrtShell::InsertGraphic(), SwView::InsertGraphicDlg(), SwWrtShell::InsertOleObject(), SwTextShell::InsertSymbol(), SwXText::insertTextContentWithProperties(), SwIndexMarkPane::InsertUpdate(), lcl_DenotedPortion(), lcl_RewriterFromHistory(), MakeUndoReplaceRewriter(), SwDrawBase::MouseButtonUp(), SwTransferable::PrivateDrop(), sw::DocumentRedlineManager::RejectRedline(), SwView::Replace(), SwDocStyleSheet::SetItemSet(), SwEditShell::SetTextFormatColl(), SwPostItMgr::ToggleResolved(), SwPostItMgr::ToggleResolvedForThread(), and SwDocShell::UpdateStyle().

◆ Apply()

OUString SwRewriter::Apply ( const OUString &  rStr) const

◆ GetPlaceHolder()

OUString SwRewriter::GetPlaceHolder ( SwUndoArg  eId)
static

Member Data Documentation

◆ mRules

std::vector<SwRewriteRule> SwRewriter::mRules
private

Definition at line 38 of file SwRewriter.hxx.

Referenced by AddRule(), and Apply().


The documentation for this class was generated from the following files: