LibreOffice Module sw (master) 1
Namespaces | Typedefs | Functions | Variables
edlingu.cxx File Reference
#include <com/sun/star/linguistic2/ProofreadingResult.hpp>
#include <com/sun/star/linguistic2/XProofreadingIterator.hpp>
#include <com/sun/star/linguistic2/XHyphenatedWord.hpp>
#include <com/sun/star/linguistic2/XLinguProperties.hpp>
#include <com/sun/star/text/XFlatParagraph.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <o3tl/any.hxx>
#include <unoflatpara.hxx>
#include <strings.hrc>
#include <hintids.hxx>
#include <osl/diagnose.h>
#include <unotools/linguprops.hxx>
#include <linguistic/lngprops.hxx>
#include <editeng/langitem.hxx>
#include <editeng/SpellPortions.hxx>
#include <svl/languageoptions.hxx>
#include <editsh.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <rootfrm.hxx>
#include <pam.hxx>
#include <swundo.hxx>
#include <ndtxt.hxx>
#include <viewopt.hxx>
#include <SwGrammarMarkUp.hxx>
#include <mdiexp.hxx>
#include <cntfrm.hxx>
#include <splargs.hxx>
#include <redline.hxx>
#include <docary.hxx>
#include <docsh.hxx>
#include <txatbase.hxx>
#include <txtfrm.hxx>
#include <comphelper/propertyvalue.hxx>
Include dependency graph for edlingu.cxx:

Go to the source code of this file.

Namespaces

namespace  sw
 Dialog to specify the properties of date form field.
 

Typedefs

typedef std::vector< SpellContentPosition > SpellContentPositions
 

Functions

SwTextFramesw::SwHyphIterCacheLastTextFrame (SwTextNode const *pNode, const sw::Creator &create)
 
static sal_uInt32 lcl_CountRedlines (const svx::SpellPortions &rLastPortions)
 
static SpellContentPositions lcl_CollectDeletedRedlines (SwEditShell const *pSh)
 Collect all deleted redlines of the current text node beginning at the start of the cursor position. More...
 
static void lcl_CutRedlines (SpellContentPositions &aDeletedRedlines, SwEditShell const *pSh)
 remove the redline positions after the current selection More...
 
static SpellContentPosition lcl_FindNextDeletedRedline (const SpellContentPositions &rDeletedRedlines, sal_Int32 nSearchFrom)
 
static LanguageType lcl_GetLanguage (SwEditShell &rSh)
 

Variables

static SwSpellIter * g_pSpellIter = nullptr
 
static SwConvIter * g_pConvIter = nullptr
 
static SwHyphIter * g_pHyphIter = nullptr
 

Typedef Documentation

◆ SpellContentPositions

typedef std::vector<SpellContentPosition> SpellContentPositions

Definition at line 111 of file edlingu.cxx.

Function Documentation

◆ lcl_CollectDeletedRedlines()

static SpellContentPositions lcl_CollectDeletedRedlines ( SwEditShell const *  pSh)
static

◆ lcl_CountRedlines()

static sal_uInt32 lcl_CountRedlines ( const svx::SpellPortions rLastPortions)
static

Definition at line 1075 of file edlingu.cxx.

Referenced by SwEditShell::ApplyChangedSentence().

◆ lcl_CutRedlines()

static void lcl_CutRedlines ( SpellContentPositions aDeletedRedlines,
SwEditShell const *  pSh 
)
static

remove the redline positions after the current selection

Definition at line 1298 of file edlingu.cxx.

References SwPaM::End(), SwPosition::GetContentIndex(), and SwCursorShell::GetCursor().

◆ lcl_FindNextDeletedRedline()

static SpellContentPosition lcl_FindNextDeletedRedline ( const SpellContentPositions rDeletedRedlines,
sal_Int32  nSearchFrom 
)
static

Definition at line 1313 of file edlingu.cxx.

References SAL_MAX_INT32.

◆ lcl_GetLanguage()

static LanguageType lcl_GetLanguage ( SwEditShell rSh)
static

Variable Documentation

◆ g_pConvIter

SwConvIter* g_pConvIter = nullptr
static

◆ g_pHyphIter

SwHyphIter* g_pHyphIter = nullptr
static

◆ g_pSpellIter

SwSpellIter* g_pSpellIter = nullptr
static