LibreOffice Module sw (master) 1
Functions
txtedt.cxx File Reference
#include <config_wasm_strip.h>
#include <hintids.hxx>
#include <utility>
#include <vcl/svapp.hxx>
#include <svl/itemiter.hxx>
#include <svl/languageoptions.hxx>
#include <editeng/splwrap.hxx>
#include <editeng/langitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/hangulhanja.hxx>
#include <i18nutil/transliteration.hxx>
#include <SwSmartTagMgr.hxx>
#include <o3tl/safeint.hxx>
#include <osl/diagnose.h>
#include <officecfg/Office/Writer.hxx>
#include <unotools/transliterationwrapper.hxx>
#include <unotools/charclass.hxx>
#include <sal/log.hxx>
#include <swmodule.hxx>
#include <splargs.hxx>
#include <viewopt.hxx>
#include <acmplwrd.hxx>
#include <doc.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <docsh.hxx>
#include <txtfld.hxx>
#include <txatbase.hxx>
#include <charatr.hxx>
#include <pam.hxx>
#include <hints.hxx>
#include <ndtxt.hxx>
#include <txtfrm.hxx>
#include <SwGrammarMarkUp.hxx>
#include <rootfrm.hxx>
#include <swscanner.hxx>
#include <breakit.hxx>
#include <UndoOverwrite.hxx>
#include <txatritr.hxx>
#include <redline.hxx>
#include <docary.hxx>
#include <scriptinfo.hxx>
#include <docstat.hxx>
#include <editsh.hxx>
#include <unotextmarkup.hxx>
#include <txtatr.hxx>
#include <fmtautofmt.hxx>
#include <istyleaccess.hxx>
#include <unicode/uchar.h>
#include <DocumentSettingManager.hxx>
#include <com/sun/star/i18n/WordType.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <vector>
#include <unotextrange.hxx>
Include dependency graph for txtedt.cxx:

Go to the source code of this file.

Functions

static bool lcl_HasComments (const SwTextNode &rNode)
 
static bool lcl_IsDelim (const sal_Unicode c)
 
static bool lcl_IsURL (std::u16string_view rWord, SwTextNode &rNode, sal_Int32 nBegin, sal_Int32 nLen)
 
static sal_Int32 lcl_MaskRedlines (const SwTextNode &rNode, OUStringBuffer &rText, sal_Int32 nStt, sal_Int32 nEnd, const sal_Unicode cChar)
 
static bool lcl_MaskRedlinesAndHiddenText (const SwTextNode &rNode, OUStringBuffer &rText, sal_Int32 nStt, sal_Int32 nEnd, const sal_Unicode cChar=CH_TXTATR_INWORD)
 Used for spell checking. More...
 
static SwRect lcl_CalculateRepaintRect (const SwTextFrame &rTextFrame, const SwTextNode &rNode, sal_Int32 const nChgStart, sal_Int32 const nChgEnd)
 Used for spell checking. More...
 
static bool lcl_HaveCommonAttributes (IStyleAccess &rStyleAccess, const SfxItemSet *pSet1, sal_uInt16 nWhichId, const SfxItemSet &rSet2, std::shared_ptr< SfxItemSet > &pStyleHandle)
 Used for automatic styles. More...
 
static sal_Int32 clipIndexBounds (std::u16string_view aStr, sal_Int32 nPos)
 

Function Documentation

◆ clipIndexBounds()

static sal_Int32 clipIndexBounds ( std::u16string_view  aStr,
sal_Int32  nPos 
)
static

Definition at line 675 of file txtedt.cxx.

References aStr, and nPos.

Referenced by SwTextFrame::GetCurWord().

◆ lcl_CalculateRepaintRect()

static SwRect lcl_CalculateRepaintRect ( const SwTextFrame rTextFrame,
const SwTextNode rNode,
sal_Int32 const  nChgStart,
sal_Int32 const  nChgEnd 
)
static

◆ lcl_HasComments()

static bool lcl_HasComments ( const SwTextNode rNode)
static

◆ lcl_HaveCommonAttributes()

static bool lcl_HaveCommonAttributes ( IStyleAccess rStyleAccess,
const SfxItemSet pSet1,
sal_uInt16  nWhichId,
const SfxItemSet rSet2,
std::shared_ptr< SfxItemSet > &  pStyleHandle 
)
static

◆ lcl_IsDelim()

static bool lcl_IsDelim ( const sal_Unicode  c)
static

Definition at line 116 of file txtedt.cxx.

Referenced by lcl_IsURL().

◆ lcl_IsURL()

static bool lcl_IsURL ( std::u16string_view  rWord,
SwTextNode rNode,
sal_Int32  nBegin,
sal_Int32  nLen 
)
static

◆ lcl_MaskRedlines()

static sal_Int32 lcl_MaskRedlines ( const SwTextNode rNode,
OUStringBuffer &  rText,
sal_Int32  nStt,
sal_Int32  nEnd,
const sal_Unicode  cChar 
)
static

◆ lcl_MaskRedlinesAndHiddenText()

static bool lcl_MaskRedlinesAndHiddenText ( const SwTextNode rNode,
OUStringBuffer &  rText,
sal_Int32  nStt,
sal_Int32  nEnd,
const sal_Unicode  cChar = CH_TXTATR_INWORD 
)
static