LibreOffice Module sw (master)  1
Classes | 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/unolingu.hxx>
#include <editeng/svxacorr.hxx>
#include <editeng/langitem.hxx>
#include <editeng/SpellPortions.hxx>
#include <editeng/scripttypeitem.hxx>
#include <charatr.hxx>
#include <editsh.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <rootfrm.hxx>
#include <pam.hxx>
#include <pamtyp.hxx>
#include <swundo.hxx>
#include <ndtxt.hxx>
#include <viewopt.hxx>
#include <viscrs.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.

Classes

class  SwLinguIter
 
struct  SpellContentPosition
 
class  SwSpellIter
 
class  SwConvIter
 used for text conversion More...
 
class  SwHyphIter
 

Namespaces

 sw
 Dialog to specify the properties of date form field.
 

Typedefs

typedef std::vector< SpellContentPositionSpellContentPositions
 

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 SwSpellIterg_pSpellIter = nullptr
 
static SwConvIterg_pConvIter = nullptr
 
static SwHyphIterg_pHyphIter = nullptr
 

Typedef Documentation

Definition at line 109 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 1049 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 1257 of file edlingu.cxx.

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

Referenced by SwSpellIter::SpellSentence().

static SpellContentPosition lcl_FindNextDeletedRedline ( const SpellContentPositions rDeletedRedlines,
sal_Int32  nSearchFrom 
)
static
static LanguageType lcl_GetLanguage ( SwEditShell rSh)
static

Variable Documentation

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

Definition at line 182 of file edlingu.cxx.

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

SwSpellIter* g_pSpellIter = nullptr
static

Definition at line 180 of file edlingu.cxx.

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