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 (::rtl::Reference< PresenterScrollBar > xVerticalScrollBar)
 
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 74 of file PresenterSlideSorter.cxx.

Constructor & Destructor Documentation

◆ Layout()

sdext::presenter::PresenterSlideSorter::Layout::Layout ( ::rtl::Reference< PresenterScrollBar xVerticalScrollBar)
explicit

Definition at line 1052 of file PresenterSlideSorter.cxx.

Member Function Documentation

◆ ForAllVisibleSlides()

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

Definition at line 1313 of file PresenterSlideSorter.cxx.

◆ GetBoundingBox()

awt::Rectangle sdext::presenter::PresenterSlideSorter::Layout::GetBoundingBox ( const sal_Int32  nSlideIndex) const

◆ GetColumn() [1/2]

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::GetColumn ( const geometry::RealPoint2D &  rLocalPoint) const

◆ GetColumn() [2/2]

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::GetColumn ( const sal_Int32  nSlideIndex) const
private

Definition at line 1396 of file PresenterSlideSorter.cxx.

◆ GetFirstVisibleSlideIndex()

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

Definition at line 1328 of file PresenterSlideSorter.cxx.

◆ GetIndex()

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

Definition at line 1384 of file PresenterSlideSorter.cxx.

◆ GetLastVisibleSlideIndex()

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

Definition at line 1333 of file PresenterSlideSorter.cxx.

◆ GetLocalPosition()

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

Definition at line 1187 of file PresenterSlideSorter.cxx.

References AllSettings::GetLayoutRTL(), and mnVerticalOffset.

◆ GetPoint()

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

Definition at line 1271 of file PresenterSlideSorter.cxx.

◆ GetRow() [1/2]

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

◆ GetRow() [2/2]

sal_Int32 sdext::presenter::PresenterSlideSorter::Layout::GetRow ( const sal_Int32  nSlideIndex) const
private

Definition at line 1391 of file PresenterSlideSorter.cxx.

◆ GetSlideIndexForPosition()

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

◆ GetWindowPosition()

geometry::RealPoint2D sdext::presenter::PresenterSlideSorter::Layout::GetWindowPosition ( const geometry::RealPoint2D &  rLocalPoint) const

Definition at line 1204 of file PresenterSlideSorter.cxx.

References AllSettings::GetLayoutRTL(), and mnVerticalOffset.

◆ IsScrollBarNeeded()

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

Definition at line 1179 of file PresenterSlideSorter.cxx.

◆ SetHorizontalOffset()

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

Definition at line 1340 of file PresenterSlideSorter.cxx.

References round.

◆ SetupVisibleArea()

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

Definition at line 1167 of file PresenterSlideSorter.cxx.

◆ SetVerticalOffset()

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

Definition at line 1353 of file PresenterSlideSorter.cxx.

References mnVerticalOffset, and round.

◆ Update()

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

◆ UpdateScrollBars()

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

Member Data Documentation

◆ maBoundingBox

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

Definition at line 100 of file PresenterSlideSorter.cxx.

◆ maPreviewSize

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

Definition at line 101 of file PresenterSlideSorter.cxx.

◆ mnColumnCount

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

Definition at line 109 of file PresenterSlideSorter.cxx.

◆ mnFirstVisibleColumn

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

Definition at line 111 of file PresenterSlideSorter.cxx.

◆ mnFirstVisibleRow

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

Definition at line 113 of file PresenterSlideSorter.cxx.

◆ mnHorizontalBorder

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

Definition at line 106 of file PresenterSlideSorter.cxx.

◆ mnHorizontalGap

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

Definition at line 104 of file PresenterSlideSorter.cxx.

◆ mnHorizontalOffset

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

Definition at line 102 of file PresenterSlideSorter.cxx.

◆ mnLastVisibleColumn

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

Definition at line 112 of file PresenterSlideSorter.cxx.

◆ mnLastVisibleRow

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

Definition at line 114 of file PresenterSlideSorter.cxx.

◆ mnRowCount

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

Definition at line 108 of file PresenterSlideSorter.cxx.

◆ mnSlideCount

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

Definition at line 110 of file PresenterSlideSorter.cxx.

◆ mnVerticalBorder

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

Definition at line 107 of file PresenterSlideSorter.cxx.

◆ mnVerticalGap

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

Definition at line 105 of file PresenterSlideSorter.cxx.

◆ mnVerticalOffset

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

Definition at line 103 of file PresenterSlideSorter.cxx.

◆ mpVerticalScrollBar

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

Definition at line 117 of file PresenterSlideSorter.cxx.


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