LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwLayCacheImpl Class Reference

#include <layhelp.hxx>

Public Member Functions

 SwLayCacheImpl ()
 
size_t size () const
 
bool Read (SvStream &rStream)
 
SwNodeOffset GetBreakIndex (size_t nIdx) const
 
sal_Int32 GetBreakOfst (size_t nIdx) const
 
sal_uInt16 GetBreakType (size_t nIdx) const
 
size_t GetFlyCount () const
 
SwFlyCacheGetFlyCache (size_t nIdx)
 
bool IsUseFlyCache () const
 

Private Member Functions

void Insert (sal_uInt16 nType, SwNodeOffset nIndex, sal_Int32 nOffset)
 

Private Attributes

std::vector< SwNodeOffsetmIndices
 
std::deque< sal_Int32 > m_aOffset
 either a textframe character offset, or a row index inside a table More...
 
std::vector< sal_uInt16 > m_aType
 
SwPageFlyCache m_FlyCache
 
bool m_bUseFlyCache
 

Detailed Description

Definition at line 56 of file layhelp.hxx.

Constructor & Destructor Documentation

◆ SwLayCacheImpl()

SwLayCacheImpl::SwLayCacheImpl ( )
inline

Definition at line 219 of file layhelp.hxx.

Member Function Documentation

◆ GetBreakIndex()

SwNodeOffset SwLayCacheImpl::GetBreakIndex ( size_t  nIdx) const
inline

Definition at line 73 of file layhelp.hxx.

References mIndices.

Referenced by SwLayHelper::CheckInsert().

◆ GetBreakOfst()

sal_Int32 SwLayCacheImpl::GetBreakOfst ( size_t  nIdx) const
inline

Definition at line 74 of file layhelp.hxx.

References m_aOffset.

Referenced by SwLayHelper::CheckInsert().

◆ GetBreakType()

sal_uInt16 SwLayCacheImpl::GetBreakType ( size_t  nIdx) const
inline

Definition at line 75 of file layhelp.hxx.

References m_aType.

Referenced by SwLayHelper::CheckInsert().

◆ GetFlyCache()

SwFlyCache & SwLayCacheImpl::GetFlyCache ( size_t  nIdx)
inline

Definition at line 223 of file layhelp.hxx.

References m_FlyCache.

Referenced by SwLayHelper::CheckFlyCache_().

◆ GetFlyCount()

size_t SwLayCacheImpl::GetFlyCount ( ) const
inline

Definition at line 221 of file layhelp.hxx.

References m_FlyCache.

Referenced by SwLayHelper::CheckFlyCache_().

◆ Insert()

void SwLayCacheImpl::Insert ( sal_uInt16  nType,
SwNodeOffset  nIndex,
sal_Int32  nOffset 
)
private

Definition at line 80 of file laycache.cxx.

References m_aOffset, m_aType, mIndices, nIndex, and nType.

Referenced by Read().

◆ IsUseFlyCache()

bool SwLayCacheImpl::IsUseFlyCache ( ) const
inline

Definition at line 80 of file layhelp.hxx.

References m_bUseFlyCache.

Referenced by SwLayHelper::CheckFlyCache_().

◆ Read()

bool SwLayCacheImpl::Read ( SvStream rStream)

◆ size()

size_t SwLayCacheImpl::size ( ) const
inline

Definition at line 69 of file layhelp.hxx.

References mIndices.

Referenced by SwLayHelper::CalcPageCount().

Member Data Documentation

◆ m_aOffset

std::deque<sal_Int32> SwLayCacheImpl::m_aOffset
private

either a textframe character offset, or a row index inside a table

Definition at line 60 of file layhelp.hxx.

Referenced by GetBreakOfst(), and Insert().

◆ m_aType

std::vector<sal_uInt16> SwLayCacheImpl::m_aType
private

Definition at line 61 of file layhelp.hxx.

Referenced by GetBreakType(), and Insert().

◆ m_bUseFlyCache

bool SwLayCacheImpl::m_bUseFlyCache
private

Definition at line 63 of file layhelp.hxx.

Referenced by IsUseFlyCache(), and Read().

◆ m_FlyCache

SwPageFlyCache SwLayCacheImpl::m_FlyCache
private

Definition at line 62 of file layhelp.hxx.

Referenced by GetFlyCache(), GetFlyCount(), and Read().

◆ mIndices

std::vector<SwNodeOffset> SwLayCacheImpl::mIndices
private

Definition at line 58 of file layhelp.hxx.

Referenced by GetBreakIndex(), Insert(), and size().


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