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 <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 dependency graph for edlingu.cxx:

Go to the source code of this file.

Namespaces

 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

typedef std::vector<SpellContentPosition> SpellContentPositions

Definition at line 108 of file edlingu.cxx.

Function Documentation

static SpellContentPositions lcl_CollectDeletedRedlines ( SwEditShell const *  pSh)
static
static sal_uInt32 lcl_CountRedlines ( const svx::SpellPortions rLastPortions)
static

Definition at line 1054 of file edlingu.cxx.

Referenced by SwEditShell::ApplyChangedSentence().

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

remove the redline positions after the current selection

Definition at line 1262 of file edlingu.cxx.

References SwPaM::End(), SwCursorShell::GetCursor(), SwIndex::GetIndex(), and SwPosition::nContent.

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

Definition at line 1277 of file edlingu.cxx.

References SAL_MAX_INT32.

static LanguageType lcl_GetLanguage ( SwEditShell rSh)
static

Variable Documentation

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

Definition at line 185 of file edlingu.cxx.

Referenced by SwEditShell::HasHyphIter(), and SwEditShell::HyphEnd().

SwSpellIter* g_pSpellIter = nullptr
static

Definition at line 183 of file edlingu.cxx.

Referenced by SwEditShell::SpellEnd(), and SwEditShell::SpellStart().