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 ( )

Definition at line 25 of file SwRewriter.cxx.

Member Function Documentation

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

Definition at line 29 of file SwRewriter.cxx.

References a.

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

OUString SwRewriter::Apply ( const OUString &  rStr) const
OUString SwRewriter::GetPlaceHolder ( SwUndoArg  eId)
static

Definition at line 55 of file SwRewriter.cxx.

References UndoArg1, UndoArg2, and UndoArg3.

Referenced by DenoteSpecialCharacters(), SwUndoDelete::GetRewriter(), and lcl_DenotedPortion().

Member Data Documentation

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

Definition at line 38 of file SwRewriter.hxx.


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