LibreOffice Module sw (master)  1
Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwScriptInfo Class Reference

#include <scriptinfo.hxx>

Collaboration diagram for SwScriptInfo:
[legend]

Classes

struct  CompressionChangeInfo
 Records a single change in compression. More...
 
struct  DirectionChangeInfo
 Records a single change in direction. More...
 
struct  ScriptChangeInfo
 Records a single change in script type. More...
 

Public Types

enum  CompType {
  KANA,
  SPECIAL_LEFT,
  SPECIAL_RIGHT,
  NONE,
  SPECIAL_MIDDLE
}
 

Public Member Functions

 SwScriptInfo ()
 
 ~SwScriptInfo ()
 
void InitScriptInfo (const SwTextNode &rNode, sw::MergedPara const *pMerged, bool bRTL)
 
void InitScriptInfo (const SwTextNode &rNode, sw::MergedPara const *pMerged)
 
void SetInvalidityA (const TextFrameIndex nPos)
 
TextFrameIndex GetInvalidityA () const
 
sal_uInt8 GetDefaultDir () const
 
size_t CountScriptChg () const
 
TextFrameIndex GetScriptChg (const size_t nCnt) const
 
sal_uInt8 GetScriptType (const size_t nCnt) const
 
size_t CountDirChg () const
 
TextFrameIndex GetDirChg (const size_t nCnt) const
 
sal_uInt8 GetDirType (const size_t nCnt) const
 
size_t CountKashida () const
 
TextFrameIndex GetKashida (const size_t nCnt) const
 
size_t CountCompChg () const
 
TextFrameIndex GetCompStart (const size_t nCnt) const
 
TextFrameIndex GetCompLen (const size_t nCnt) const
 
CompType GetCompType (const size_t nCnt) const
 
size_t CountHiddenChg () const
 
TextFrameIndex GetHiddenChg (const size_t nCnt) const
 
TextFrameIndex NextHiddenChg (TextFrameIndex nPos) const
 
TextFrameIndex NextScriptChg (TextFrameIndex nPos) const
 
sal_Int16 ScriptType (const TextFrameIndex nPos) const
 
TextFrameIndex NextDirChg (const TextFrameIndex nPos, const sal_uInt8 *pLevel=nullptr) const
 
sal_uInt8 DirType (const TextFrameIndex nPos) const
 
bool GetBoundsOfHiddenRange (TextFrameIndex nPos, TextFrameIndex &rnStartPos, TextFrameIndex &rnEndPos) const
 
long Compress (long *pKernArray, TextFrameIndex nIdx, TextFrameIndex nLen, const sal_uInt16 nCompress, const sal_uInt16 nFontHeight, const bool bCentered, Point *pPoint=nullptr) const
 
sal_Int32 KashidaJustify (long *pKernArray, long *pScrArray, TextFrameIndex nStt, TextFrameIndex nLen, long nSpaceAdd=0) const
 Performs a kashida justification on the kerning array. More...
 
void ClearKashidaInvalid (TextFrameIndex const nStt, TextFrameIndex const nLen)
 Clears array of kashidas marked as invalid. More...
 
void MarkKashidasInvalid (sal_Int32 nCnt, const TextFrameIndex *pKashidaPositions)
 Marks nCnt kashida positions as invalid pKashidaPositions: array of char indices relative to the paragraph. More...
 
bool MarkKashidasInvalid (sal_Int32 const nCnt, TextFrameIndex const nStt, TextFrameIndex const nLen)
 Marks nCnt kashida positions as invalid in the given text range. More...
 
void GetKashidaPositions (TextFrameIndex nStt, TextFrameIndex nLen, std::vector< TextFrameIndex > &rKashidaPosition)
 retrieves kashida opportunities for a given text range. More...
 
void SetNoKashidaLine (TextFrameIndex nStt, TextFrameIndex nLen)
 Use regular blank justification instead of kashdida justification for the given line of text. More...
 
void ClearNoKashidaLine (TextFrameIndex nStt, TextFrameIndex nLen)
 Clear forced blank justification for a given line. More...
 
SwFontScript WhichFont (TextFrameIndex nIdx) const
 

Static Public Member Functions

static void CalcHiddenRanges (const SwTextNode &rNode, MultiSelection &rHiddenMulti)
 
static void selectHiddenTextProperty (const SwTextNode &rNode, MultiSelection &rHiddenMulti)
 
static void selectRedLineDeleted (const SwTextNode &rNode, MultiSelection &rHiddenMulti, bool bSelect=true)
 
static bool GetBoundsOfHiddenRange (const SwTextNode &rNode, sal_Int32 nPos, sal_Int32 &rnStartPos, sal_Int32 &rnEndPos, std::vector< sal_Int32 > *pList=nullptr)
 Hidden text range information - static and non-version. More...
 
static bool IsInHiddenRange (const SwTextNode &rNode, sal_Int32 nPos)
 
static sal_Int32 MaskHiddenRanges (const SwTextNode &rNode, OUStringBuffer &rText, const sal_Int32 nStt, const sal_Int32 nEnd, const sal_Unicode cChar)
 Hidden text attribute handling. More...
 
static void DeleteHiddenRanges (SwTextNode &rNode)
 Hidden text attribute handling. More...
 
static bool IsArabicText (const OUString &rText, TextFrameIndex nStt, TextFrameIndex nLen)
 Checks if text is Arabic text. More...
 
static TextFrameIndex ThaiJustify (const OUString &rText, long *pKernArray, long *pScrArray, TextFrameIndex nIdx, TextFrameIndex nLen, TextFrameIndex nNumberOfBlanks=TextFrameIndex(0), long nSpaceAdd=0)
 Performs a thai justification on the kerning array. More...
 
static TextFrameIndex CountCJKCharacters (const OUString &rText, TextFrameIndex nPos, TextFrameIndex nEnd, LanguageType aLang)
 
static void CJKJustify (const OUString &rText, long *pKernArray, long *pScrArray, TextFrameIndex nStt, TextFrameIndex nLen, LanguageType aLang, long nSpaceAdd, bool bIsSpaceStop)
 
static SwScriptInfoGetScriptInfo (const SwTextNode &rNode, SwTextFrame const **o_pFrame=nullptr, bool bAllowInvalid=false)
 return a frame for the node, ScriptInfo is its member... More...
 
static SwFontScript WhichFont (sal_Int32 nIdx, OUString const &rText)
 

Private Member Functions

CompType DbgCompType (const TextFrameIndex nPos) const
 
void UpdateBidiInfo (const OUString &rText)
 
bool IsKashidaValid (size_t nKashPos) const
 
bool MarkKashidaInvalid (size_t nKashPos)
 
void ClearKashidaInvalid (size_t nKashPos)
 
bool MarkOrClearKashidaInvalid (TextFrameIndex nStt, TextFrameIndex nLen, bool bMark, sal_Int32 nMarkCount)
 
bool IsKashidaLine (TextFrameIndex nCharIdx) const
 
size_t HasKana (TextFrameIndex nStart, TextFrameIndex nEnd) const
 

Private Attributes

std::vector< ScriptChangeInfom_ScriptChanges
 
std::vector< DirectionChangeInfom_DirectionChanges
 
std::deque< TextFrameIndexm_Kashida
 
std::unordered_set< size_t > m_KashidaInvalid
 indexes into m_Kashida More...
 
std::deque< TextFrameIndexm_NoKashidaLine
 
std::deque< TextFrameIndexm_NoKashidaLineEnd
 
std::vector< TextFrameIndexm_HiddenChg
 
std::vector< CompressionChangeInfom_CompressionChanges
 
TextFrameIndex m_nInvalidityPos
 
sal_uInt8 m_nDefaultDir
 

Detailed Description

Definition at line 41 of file scriptinfo.hxx.

Member Enumeration Documentation

Enumerator
KANA 
SPECIAL_LEFT 
SPECIAL_RIGHT 
NONE 
SPECIAL_MIDDLE 

Definition at line 44 of file scriptinfo.hxx.

Constructor & Destructor Documentation

SwScriptInfo::SwScriptInfo ( )

Definition at line 698 of file porlay.cxx.

SwScriptInfo::~SwScriptInfo ( )

Definition at line 704 of file porlay.cxx.

Member Function Documentation

void SwScriptInfo::CalcHiddenRanges ( const SwTextNode rNode,
MultiSelection rHiddenMulti 
)
static
void SwScriptInfo::CJKJustify ( const OUString &  rText,
long *  pKernArray,
long *  pScrArray,
TextFrameIndex  nStt,
TextFrameIndex  nLen,
LanguageType  aLang,
long  nSpaceAdd,
bool  bIsSpaceStop 
)
static
void SwScriptInfo::ClearKashidaInvalid ( size_t  nKashPos)
private

Definition at line 1951 of file porlay.cxx.

References m_KashidaInvalid.

Referenced by SwTextAdjuster::CalcNewBlock(), and MarkOrClearKashidaInvalid().

void SwScriptInfo::ClearKashidaInvalid ( TextFrameIndex const  nStt,
TextFrameIndex const  nLen 
)
inline

Clears array of kashidas marked as invalid.

Definition at line 289 of file scriptinfo.hxx.

References MarkOrClearKashidaInvalid().

void SwScriptInfo::ClearNoKashidaLine ( TextFrameIndex  nStt,
TextFrameIndex  nLen 
)

Clear forced blank justification for a given line.

nStt Start char index of the line referring to the paragraph. nLen Number of characters in the line

Definition at line 2043 of file porlay.cxx.

References i, m_NoKashidaLine, and m_NoKashidaLineEnd.

Referenced by SwTextAdjuster::CalcNewBlock().

long SwScriptInfo::Compress ( long *  pKernArray,
TextFrameIndex  nIdx,
TextFrameIndex  nLen,
const sal_uInt16  nCompress,
const sal_uInt16  nFontHeight,
const bool  bCentered,
Point pPoint = nullptr 
) const
TextFrameIndex SwScriptInfo::CountCJKCharacters ( const OUString &  rText,
TextFrameIndex  nPos,
TextFrameIndex  nEnd,
LanguageType  aLang 
)
static

Definition at line 2357 of file porlay.cxx.

References g_pBreakIt, SwBreakIt::GetBreakIter(), and SwBreakIt::GetLocale().

Referenced by lcl_AddSpace().

size_t SwScriptInfo::CountCompChg ( ) const
inline
size_t SwScriptInfo::CountDirChg ( ) const
inline

Definition at line 135 of file scriptinfo.hxx.

Referenced by DirType(), NextDirChg(), and SwVisibleCursor::SetPosAndShow().

size_t SwScriptInfo::CountHiddenChg ( ) const
inline

Definition at line 175 of file scriptinfo.hxx.

Referenced by GetBoundsOfHiddenRange().

size_t SwScriptInfo::CountKashida ( ) const
inline
size_t SwScriptInfo::CountScriptChg ( ) const
inline
SwScriptInfo::CompType SwScriptInfo::DbgCompType ( const TextFrameIndex  nPos) const
private

Definition at line 1668 of file porlay.cxx.

References CountCompChg(), GetCompLen(), GetCompStart(), GetCompType(), and NONE.

Referenced by Compress().

void SwScriptInfo::DeleteHiddenRanges ( SwTextNode rNode)
static

Hidden text attribute handling.

Takes a SwTextNode and deletes the hidden ranges from the node.

Parameters
rNodeThe text node.

Definition at line 1526 of file porlay.cxx.

References IDocumentContentOperations::DeleteRange(), GetBoundsOfHiddenRange(), and SwNode::getIDocumentContentOperations().

Referenced by SwDoc::RemoveInvisibleContent().

sal_uInt8 SwScriptInfo::DirType ( const TextFrameIndex  nPos) const
bool SwScriptInfo::GetBoundsOfHiddenRange ( const SwTextNode rNode,
sal_Int32  nPos,
sal_Int32 &  rnStartPos,
sal_Int32 &  rnEndPos,
std::vector< sal_Int32 > *  pList = nullptr 
)
static

Hidden text range information - static and non-version.

Determines if a given position is inside a hidden text range. The static version tries to obtain a valid SwScriptInfo object via the SwTextNode, otherwise it calculates the values from scratch. The non-static version uses the internally cached informatio for the calculation.

Parameters
rNodeThe text node.
nPosThe given position that should be checked.
rnStartPosReturn parameter for the start position of the hidden range. COMPLETE_STRING if nPos is not inside a hidden range.
rnEndPosReturn parameter for the end position of the hidden range. 0 if nPos is not inside a hidden range.
rnEndPosReturn parameter that contains all the hidden text ranges. Optional.
Returns
returns true if there are any hidden characters in this paragraph.

Definition at line 1544 of file porlay.cxx.

References CalcHiddenRanges(), COMPLETE_STRING, GetBoundsOfHiddenRange(), GetScriptInfo(), SwTextNode::GetText(), SwTextNode::HasHiddenCharAttribute(), i, SwTextNode::IsCalcHiddenCharFlags(), Range::Max(), Range::Min(), and SwTextNode::SetHiddenCharAttribute().

Referenced by SwTextNode::CalcHiddenCharFlags(), DeleteHiddenRanges(), GetBoundsOfHiddenRange(), SwXTextField::getPropertyValue(), SwContentNode::GoNext(), SwContentNode::GoPrevious(), SwTextFrame::HideAndShowObjects(), SwTextFrame::IsHiddenNow(), IsInHiddenRange(), MaskHiddenRanges(), and SwCursorShell::SelectHiddenRange().

bool SwScriptInfo::GetBoundsOfHiddenRange ( TextFrameIndex  nPos,
TextFrameIndex rnStartPos,
TextFrameIndex rnEndPos 
) const

Definition at line 1633 of file porlay.cxx.

References COMPLETE_STRING, CountHiddenChg(), and GetHiddenChg().

TextFrameIndex SwScriptInfo::GetCompLen ( const size_t  nCnt) const
inline

Definition at line 164 of file scriptinfo.hxx.

Referenced by Compress(), DbgCompType(), HasKana(), and InitScriptInfo().

TextFrameIndex SwScriptInfo::GetCompStart ( const size_t  nCnt) const
inline

Definition at line 159 of file scriptinfo.hxx.

Referenced by Compress(), DbgCompType(), HasKana(), and InitScriptInfo().

CompType SwScriptInfo::GetCompType ( const size_t  nCnt) const
inline

Definition at line 169 of file scriptinfo.hxx.

Referenced by Compress(), and DbgCompType().

sal_uInt8 SwScriptInfo::GetDefaultDir ( ) const
inline

Definition at line 120 of file scriptinfo.hxx.

References m_nDefaultDir.

Referenced by SwFieldPortion::CheckScript().

TextFrameIndex SwScriptInfo::GetDirChg ( const size_t  nCnt) const
inline

Definition at line 136 of file scriptinfo.hxx.

Referenced by DirType(), InitScriptInfo(), and NextDirChg().

sal_uInt8 SwScriptInfo::GetDirType ( const size_t  nCnt) const
inline

Definition at line 141 of file scriptinfo.hxx.

Referenced by DirType(), InitScriptInfo(), and NextDirChg().

TextFrameIndex SwScriptInfo::GetHiddenChg ( const size_t  nCnt) const
inline

Definition at line 176 of file scriptinfo.hxx.

Referenced by GetBoundsOfHiddenRange().

TextFrameIndex SwScriptInfo::GetInvalidityA ( ) const
inline

Definition at line 114 of file scriptinfo.hxx.

References m_nInvalidityPos.

Referenced by SwAttrIter::CtorInitAttrIter(), GetScriptInfo(), and SwEditShell::Insert2().

TextFrameIndex SwScriptInfo::GetKashida ( const size_t  nCnt) const
inline
void SwScriptInfo::GetKashidaPositions ( TextFrameIndex  nStt,
TextFrameIndex  nLen,
std::vector< TextFrameIndex > &  rKashidaPosition 
)

retrieves kashida opportunities for a given text range.

rKashidaPositions: buffer to receive the char indices of the kashida opportunities relative to the paragraph

Definition at line 2002 of file porlay.cxx.

References CountKashida(), and GetKashida().

Referenced by lcl_CheckKashidaPositions().

TextFrameIndex SwScriptInfo::GetScriptChg ( const size_t  nCnt) const
inline
SwScriptInfo * SwScriptInfo::GetScriptInfo ( const SwTextNode rNode,
SwTextFrame const **  o_pFrame = nullptr,
bool  bAllowInvalid = false 
)
static
sal_uInt8 SwScriptInfo::GetScriptType ( const size_t  nCnt) const
inline

Definition at line 129 of file scriptinfo.hxx.

Referenced by SwAttrIter::InitFontAndAttrHandler(), InitScriptInfo(), and ScriptType().

size_t SwScriptInfo::HasKana ( TextFrameIndex  nStart,
TextFrameIndex  nEnd 
) const
private

Definition at line 1687 of file porlay.cxx.

References CountCompChg(), GetCompLen(), and GetCompStart().

Referenced by Compress().

void SwScriptInfo::InitScriptInfo ( const SwTextNode rNode,
sw::MergedPara const *  pMerged,
bool  bRTL 
)
void SwScriptInfo::InitScriptInfo ( const SwTextNode rNode,
sw::MergedPara const *  pMerged 
)

Definition at line 735 of file porlay.cxx.

References InitScriptInfo(), and m_nDefaultDir.

bool SwScriptInfo::IsArabicText ( const OUString &  rText,
TextFrameIndex  nStt,
TextFrameIndex  nLen 
)
static

Checks if text is Arabic text.

Checks if text is Arabic text.

Parameters
rTextThe text to check
nSttStart index of the text
Returns
Returns if the language is an Arabic language

Definition at line 1909 of file porlay.cxx.

References GetAppCharClass(), unicode::getUnicodeScriptType(), and CharClass::isLetterNumeric().

Referenced by SwFntObj::DrawText(), SwFntObj::GetCursorOfst(), lcl_AddSpace(), lcl_CheckKashidaPositions(), and lcl_CheckKashidaWidth().

bool SwScriptInfo::IsInHiddenRange ( const SwTextNode rNode,
sal_Int32  nPos 
)
static
bool SwScriptInfo::IsKashidaLine ( TextFrameIndex  nCharIdx) const
private

Definition at line 2033 of file porlay.cxx.

References i, m_NoKashidaLine, and m_NoKashidaLineEnd.

Referenced by KashidaJustify().

bool SwScriptInfo::IsKashidaValid ( size_t  nKashPos) const
private

Definition at line 1946 of file porlay.cxx.

References m_KashidaInvalid.

Referenced by KashidaJustify(), and MarkKashidasInvalid().

sal_Int32 SwScriptInfo::KashidaJustify ( long *  pKernArray,
long *  pScrArray,
TextFrameIndex  nStt,
TextFrameIndex  nLen,
long  nSpaceAdd = 0 
) const

Performs a kashida justification on the kerning array.

Add some extra space for kashida justification to the positions in the kerning array.

Parameters
pKernArrayThe printers kerning array. Optional.
pScrArrayThe screen kerning array. Optional.
nSttStart referring to the paragraph.
nLenThe number of characters to be considered.
nSpaceAddThe value which has to be added to a kashida opportunity.
Returns
The number of kashida opportunities in the given range

Definition at line 1824 of file porlay.cxx.

References CountKashida(), GetKashida(), i, IsKashidaLine(), IsKashidaValid(), and SAL_WARN_IF.

Referenced by SwFntObj::DrawText(), SwFntObj::GetCursorOfst(), lcl_AddSpace(), lcl_CheckKashidaPositions(), and lcl_CheckKashidaWidth().

bool SwScriptInfo::MarkKashidaInvalid ( size_t  nKashPos)
private

Definition at line 1996 of file porlay.cxx.

References m_KashidaInvalid.

Referenced by MarkKashidasInvalid(), and MarkOrClearKashidaInvalid().

void SwScriptInfo::MarkKashidasInvalid ( sal_Int32  nCnt,
const TextFrameIndex pKashidaPositions 
)

Marks nCnt kashida positions as invalid pKashidaPositions: array of char indices relative to the paragraph.

Definition at line 2059 of file porlay.cxx.

References CountKashida(), GetKashida(), IsKashidaValid(), MarkKashidaInvalid(), and SAL_WARN_IF.

Referenced by lcl_CheckKashidaPositions(), and lcl_CheckKashidaWidth().

bool SwScriptInfo::MarkKashidasInvalid ( sal_Int32 const  nCnt,
TextFrameIndex const  nStt,
TextFrameIndex const  nLen 
)
inline

Marks nCnt kashida positions as invalid in the given text range.

Definition at line 302 of file scriptinfo.hxx.

References MarkOrClearKashidaInvalid().

bool SwScriptInfo::MarkOrClearKashidaInvalid ( TextFrameIndex  nStt,
TextFrameIndex  nLen,
bool  bMark,
sal_Int32  nMarkCount 
)
private
sal_Int32 SwScriptInfo::MaskHiddenRanges ( const SwTextNode rNode,
OUStringBuffer &  rText,
const sal_Int32  nStt,
const sal_Int32  nEnd,
const sal_Unicode  cChar 
)
static

Hidden text attribute handling.

Takes a string and either deletes the hidden ranges or sets a given character in place of the hidden characters.

Parameters
rNodeThe text node.
rTextThe string to modify.
cCharThe character that should replace the hidden characters.
bDelIf set, the hidden ranges will be deleted from the text node.

Definition at line 1490 of file porlay.cxx.

References GetBoundsOfHiddenRange(), and SwTextNode::GetText().

Referenced by SwTextNode::CopyExpandText(), and lcl_MaskRedlinesAndHiddenText().

TextFrameIndex SwScriptInfo::NextDirChg ( const TextFrameIndex  nPos,
const sal_uInt8 pLevel = nullptr 
) const
TextFrameIndex SwScriptInfo::NextHiddenChg ( TextFrameIndex  nPos) const

Definition at line 1477 of file porlay.cxx.

References COMPLETE_STRING, and m_HiddenChg.

Referenced by SwTextFormatter::NewTextPortion().

TextFrameIndex SwScriptInfo::NextScriptChg ( TextFrameIndex  nPos) const
sal_Int16 SwScriptInfo::ScriptType ( const TextFrameIndex  nPos) const
void SwScriptInfo::selectHiddenTextProperty ( const SwTextNode rNode,
MultiSelection rHiddenMulti 
)
static
void SwScriptInfo::selectRedLineDeleted ( const SwTextNode rNode,
MultiSelection rHiddenMulti,
bool  bSelect = true 
)
static
void SwScriptInfo::SetInvalidityA ( const TextFrameIndex  nPos)
inline

Definition at line 109 of file scriptinfo.hxx.

Referenced by lcl_SetScriptInval().

void SwScriptInfo::SetNoKashidaLine ( TextFrameIndex  nStt,
TextFrameIndex  nLen 
)

Use regular blank justification instead of kashdida justification for the given line of text.

nStt Start char index of the line referring to the paragraph. nLen Number of characters in the line

Definition at line 2026 of file porlay.cxx.

References m_NoKashidaLine, and m_NoKashidaLineEnd.

Referenced by SwTextAdjuster::CalcNewBlock().

TextFrameIndex SwScriptInfo::ThaiJustify ( const OUString &  rText,
long *  pKernArray,
long *  pScrArray,
TextFrameIndex  nIdx,
TextFrameIndex  nLen,
TextFrameIndex  nNumberOfBlanks = TextFrameIndex(0),
long  nSpaceAdd = 0 
)
static

Performs a thai justification on the kerning array.

Add some extra space for thai justification to the positions in the kerning array.

Parameters
rTextThe String
pKernArrayThe printers kerning array. Optional.
pScrArrayThe screen kerning array. Optional.
nIdxStart referring to the paragraph.
nLenThe number of characters to be considered.
nSpaceAddThe value which has to be added to the cells.
Returns
The number of extra spaces in the given range

Definition at line 2083 of file porlay.cxx.

References SAL_WARN_IF, and SPACING_PRECISION_FACTOR.

Referenced by SwFntObj::DrawText(), SwFntObj::GetCursorOfst(), and lcl_AddSpace().

void SwScriptInfo::UpdateBidiInfo ( const OUString &  rText)
private

Definition at line 1389 of file porlay.cxx.

References m_DirectionChanges, and m_nDefaultDir.

Referenced by InitScriptInfo().

SwFontScript SwScriptInfo::WhichFont ( TextFrameIndex  nIdx) const
SwFontScript SwScriptInfo::WhichFont ( sal_Int32  nIdx,
OUString const &  rText 
)
static

Definition at line 728 of file porlay.cxx.

References g_pBreakIt, SwBreakIt::GetRealScriptOfText(), and lcl_ScriptToFont().

Member Data Documentation

std::vector<CompressionChangeInfo> SwScriptInfo::m_CompressionChanges
private

Definition at line 79 of file scriptinfo.hxx.

Referenced by InitScriptInfo().

std::vector<DirectionChangeInfo> SwScriptInfo::m_DirectionChanges
private

Definition at line 64 of file scriptinfo.hxx.

Referenced by InitScriptInfo(), and UpdateBidiInfo().

std::vector<TextFrameIndex> SwScriptInfo::m_HiddenChg
private

Definition at line 70 of file scriptinfo.hxx.

Referenced by InitScriptInfo(), and NextHiddenChg().

std::deque<TextFrameIndex> SwScriptInfo::m_Kashida
private

Definition at line 65 of file scriptinfo.hxx.

Referenced by InitScriptInfo().

std::unordered_set<size_t> SwScriptInfo::m_KashidaInvalid
private

indexes into m_Kashida

Definition at line 67 of file scriptinfo.hxx.

Referenced by ClearKashidaInvalid(), IsKashidaValid(), and MarkKashidaInvalid().

sal_uInt8 SwScriptInfo::m_nDefaultDir
private

Definition at line 85 of file scriptinfo.hxx.

Referenced by GetDefaultDir(), InitScriptInfo(), and UpdateBidiInfo().

TextFrameIndex SwScriptInfo::m_nInvalidityPos
private

Definition at line 84 of file scriptinfo.hxx.

Referenced by GetInvalidityA(), and InitScriptInfo().

std::deque<TextFrameIndex> SwScriptInfo::m_NoKashidaLine
private

Definition at line 68 of file scriptinfo.hxx.

Referenced by ClearNoKashidaLine(), IsKashidaLine(), and SetNoKashidaLine().

std::deque<TextFrameIndex> SwScriptInfo::m_NoKashidaLineEnd
private

Definition at line 69 of file scriptinfo.hxx.

Referenced by ClearNoKashidaLine(), IsKashidaLine(), and SetNoKashidaLine().

std::vector<ScriptChangeInfo> SwScriptInfo::m_ScriptChanges
private

Definition at line 56 of file scriptinfo.hxx.

Referenced by InitScriptInfo().


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