LibreOffice Module sdext (master)  1
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
sdext::presenter::PresenterSlideSorter::Layout Class Reference
Collaboration diagram for sdext::presenter::PresenterSlideSorter::Layout:
[legend]

Public Member Functions

 Layout (const ::rtl::Reference< PresenterScrollBar > &rpVerticalScrollBar)
 
void Update (const geometry::RealRectangle2D &rBoundingBox, const double nSlideAspectRatio)
 
void SetupVisibleArea ()
 
void UpdateScrollBars ()
 
bool IsScrollBarNeeded (const sal_Int32 nSlideCount)
 
geometry::RealPoint2D GetLocalPosition (const geometry::RealPoint2D &rWindowPoint) const
 
geometry::RealPoint2D GetWindowPosition (const geometry::RealPoint2D &rLocalPoint) const
 
sal_Int32 GetColumn (const geometry::RealPoint2D &rLocalPoint) const
 
sal_Int32 GetRow (const geometry::RealPoint2D &rLocalPoint, const bool bReturnInvalidValue=false) const
 
sal_Int32 GetSlideIndexForPosition (const css::geometry::RealPoint2D &rPoint) const
 
css::geometry::RealPoint2D GetPoint (const sal_Int32 nSlideIndex, const sal_Int32 nRelativeHorizontalPosition, const sal_Int32 nRelativeVerticalPosition) const
 
css::awt::Rectangle GetBoundingBox (const sal_Int32 nSlideIndex) const
 
void ForAllVisibleSlides (const ::std::function< void(sal_Int32)> &rAction)
 
sal_Int32 GetFirstVisibleSlideIndex () const
 
sal_Int32 GetLastVisibleSlideIndex () const
 
bool SetHorizontalOffset (const double nOffset)
 
bool SetVerticalOffset (const double nOffset)
 

Public Attributes

css::geometry::RealRectangle2D maBoundingBox
 
css::geometry::IntegerSize2D maPreviewSize
 
sal_Int32 mnHorizontalOffset
 
sal_Int32 mnVerticalOffset
 
sal_Int32 mnHorizontalGap
 
sal_Int32 mnVerticalGap
 
sal_Int32 mnHorizontalBorder
 
sal_Int32 mnVerticalBorder
 
sal_Int32 mnRowCount
 
sal_Int32 mnColumnCount
 
sal_Int32 mnSlideCount
 
sal_Int32 mnFirstVisibleColumn
 
sal_Int32 mnLastVisibleColumn
 
sal_Int32 mnFirstVisibleRow
 
sal_Int32 mnLastVisibleRow
 

Private Member Functions

sal_Int32 GetIndex (const sal_Int32 nRow, const sal_Int32 nColumn) const
 
sal_Int32 GetRow (const sal_Int32 nSlideIndex) const
 
sal_Int32 GetColumn (const sal_Int32 nSlideIndex) const
 

Private Attributes

::rtl::Reference< PresenterScrollBarmpVerticalScrollBar
 

Detailed Description

Definition at line 73 of file PresenterSlideSorter.cxx.

Constructor & Destructor Documentation

sdext::presenter::PresenterSlideSorter::Layout::Layout ( const ::rtl::Reference< PresenterScrollBar > &  rpVerticalScrollBar)
explicit

Definition at line 1066 of file PresenterSlideSorter.cxx.

Member Function Documentation

void sdext::presenter::PresenterSlideSorter::Layout::ForAllVisibleSlides ( const ::std::function< void(sal_Int32)> &  rAction)

Definition at line 1329 of file PresenterSlideSorter.cxx.

awt::Rectangle sdext::presenter::PresenterSlideSorter::Layout::GetBoundingBox ( const sal_Int32  nSlideIndex) const
sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::GetColumn ( const geometry::RealPoint2D &  rLocalPoint) const
sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::GetColumn ( const sal_Int32  nSlideIndex) const
private

Definition at line 1412 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::GetFirstVisibleSlideIndex ( ) const

Definition at line 1344 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::GetIndex ( const sal_Int32  nRow,
const sal_Int32  nColumn 
) const
private

Definition at line 1400 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::GetLastVisibleSlideIndex ( ) const

Definition at line 1349 of file PresenterSlideSorter.cxx.

geometry::RealPoint2D sdext::presenter::PresenterSlideSorter::Layout::GetLocalPosition ( const geometry::RealPoint2D &  rWindowPoint) const

Definition at line 1203 of file PresenterSlideSorter.cxx.

References AllSettings::GetLayoutRTL(), and mnVerticalOffset.

geometry::RealPoint2D sdext::presenter::PresenterSlideSorter::Layout::GetPoint ( const sal_Int32  nSlideIndex,
const sal_Int32  nRelativeHorizontalPosition,
const sal_Int32  nRelativeVerticalPosition 
) const

Definition at line 1287 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::GetRow ( const geometry::RealPoint2D &  rLocalPoint,
const bool  bReturnInvalidValue = false 
) const
sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::GetRow ( const sal_Int32  nSlideIndex) const
private

Definition at line 1407 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::GetSlideIndexForPosition ( const css::geometry::RealPoint2D &  rPoint) const
geometry::RealPoint2D sdext::presenter::PresenterSlideSorter::Layout::GetWindowPosition ( const geometry::RealPoint2D &  rLocalPoint) const

Definition at line 1220 of file PresenterSlideSorter.cxx.

References AllSettings::GetLayoutRTL(), and mnVerticalOffset.

bool sdext::presenter::PresenterSlideSorter::Layout::IsScrollBarNeeded ( const sal_Int32  nSlideCount)

Definition at line 1195 of file PresenterSlideSorter.cxx.

bool sdext::presenter::PresenterSlideSorter::Layout::SetHorizontalOffset ( const double  nOffset)

Definition at line 1356 of file PresenterSlideSorter.cxx.

void sdext::presenter::PresenterSlideSorter::Layout::SetupVisibleArea ( )

Definition at line 1183 of file PresenterSlideSorter.cxx.

bool sdext::presenter::PresenterSlideSorter::Layout::SetVerticalOffset ( const double  nOffset)

Definition at line 1369 of file PresenterSlideSorter.cxx.

References mnVerticalOffset.

void sdext::presenter::PresenterSlideSorter::Layout::Update ( const geometry::RealRectangle2D &  rBoundingBox,
const double  nSlideAspectRatio 
)
void sdext::presenter::PresenterSlideSorter::Layout::UpdateScrollBars ( )

Member Data Documentation

css::geometry::RealRectangle2D sdext::presenter::PresenterSlideSorter::Layout::maBoundingBox

Definition at line 99 of file PresenterSlideSorter.cxx.

css::geometry::IntegerSize2D sdext::presenter::PresenterSlideSorter::Layout::maPreviewSize

Definition at line 100 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::mnColumnCount

Definition at line 108 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::mnFirstVisibleColumn

Definition at line 110 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::mnFirstVisibleRow

Definition at line 112 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::mnHorizontalBorder

Definition at line 105 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::mnHorizontalGap

Definition at line 103 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::mnHorizontalOffset

Definition at line 101 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::mnLastVisibleColumn

Definition at line 111 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::mnLastVisibleRow

Definition at line 113 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::mnRowCount

Definition at line 107 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::mnSlideCount

Definition at line 109 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::mnVerticalBorder

Definition at line 106 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::mnVerticalGap

Definition at line 104 of file PresenterSlideSorter.cxx.

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::mnVerticalOffset

Definition at line 102 of file PresenterSlideSorter.cxx.

::rtl::Reference<PresenterScrollBar> sdext::presenter::PresenterSlideSorter::Layout::mpVerticalScrollBar
private

Definition at line 116 of file PresenterSlideSorter.cxx.


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