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)
 
sal_uLong 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, sal_uLong nIndex, sal_Int32 nOffset)
 

Private Attributes

std::vector< sal_uLongmIndices
 
std::deque< sal_Int32 > aOffset
 either a textframe character offset, or a row index inside a table More...
 
std::vector< sal_uInt16 > aType
 
SwPageFlyCache m_FlyCache
 
bool bUseFlyCache
 

Detailed Description

Definition at line 53 of file layhelp.hxx.

Constructor & Destructor Documentation

SwLayCacheImpl::SwLayCacheImpl ( )
inline

Definition at line 64 of file layhelp.hxx.

Member Function Documentation

sal_uLong SwLayCacheImpl::GetBreakIndex ( size_t  nIdx) const
inline

Definition at line 70 of file layhelp.hxx.

Referenced by SwLayHelper::CheckInsert().

sal_Int32 SwLayCacheImpl::GetBreakOfst ( size_t  nIdx) const
inline

Definition at line 71 of file layhelp.hxx.

Referenced by SwLayHelper::CheckInsert().

sal_uInt16 SwLayCacheImpl::GetBreakType ( size_t  nIdx) const
inline

Definition at line 72 of file layhelp.hxx.

Referenced by SwLayHelper::CheckInsert().

SwFlyCache& SwLayCacheImpl::GetFlyCache ( size_t  nIdx)
inline

Definition at line 75 of file layhelp.hxx.

Referenced by SwLayHelper::CheckFlyCache_().

size_t SwLayCacheImpl::GetFlyCount ( ) const
inline

Definition at line 74 of file layhelp.hxx.

Referenced by SwLayHelper::CheckFlyCache_().

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

Definition at line 78 of file laycache.cxx.

References aOffset, aType, and mIndices.

Referenced by Read().

bool SwLayCacheImpl::IsUseFlyCache ( ) const
inline

Definition at line 77 of file layhelp.hxx.

References bUseFlyCache.

Referenced by SwLayHelper::CheckFlyCache_().

bool SwLayCacheImpl::Read ( SvStream rStream)
size_t SwLayCacheImpl::size ( ) const
inline

Definition at line 66 of file layhelp.hxx.

Referenced by SwLayHelper::CalcPageCount(), and SwLayHelper::CheckInsert().

Member Data Documentation

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

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

Definition at line 57 of file layhelp.hxx.

Referenced by Insert().

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

Definition at line 58 of file layhelp.hxx.

Referenced by Insert().

bool SwLayCacheImpl::bUseFlyCache
private

Definition at line 60 of file layhelp.hxx.

Referenced by IsUseFlyCache(), and Read().

SwPageFlyCache SwLayCacheImpl::m_FlyCache
private

Definition at line 59 of file layhelp.hxx.

Referenced by Read().

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

Definition at line 55 of file layhelp.hxx.

Referenced by Insert().


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