LibreOffice Module android (master) 1
Classes | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
org.libreoffice.overlay.DocumentOverlay Class Reference

The DocumentOverlay is an overlay over the document. More...

Collaboration diagram for org.libreoffice.overlay.DocumentOverlay:
[legend]

Classes

class  DocumentOverlayLayer
 DocumentOverlayLayer responsibility is to get the changes to the viewport and report them to DocumentOverlayView. More...
 

Public Member Functions

 DocumentOverlay (LibreOfficeMainActivity context, LayerView layerView)
 
void setPartPageRectangles (List< RectF > rectangles)
 
void showCursor ()
 Show the cursor at the defined cursor position on the overlay. More...
 
void hideCursor ()
 Hide the cursor at the defined cursor position on the overlay. More...
 
void showPageNumberRect ()
 Show the page number rectangle on the overlay. More...
 
void hidePageNumberRect ()
 Hide the page number rectangle on the overlay. More...
 
void positionCursor (final RectF position)
 Position the cursor to the input position on the overlay. More...
 
void showSelections ()
 Show selections on the overlay. More...
 
void hideSelections ()
 Hide selections on the overlay. More...
 
void changeSelections (final List< RectF > selections)
 Change the list of selections. More...
 
void showGraphicSelection ()
 Show the graphic selection on the overlay. More...
 
void hideGraphicSelection ()
 Hide the graphic selection. More...
 
void changeGraphicSelection (final RectF rectangle)
 Change the graphic selection rectangle to the input rectangle. More...
 
void showHandle (final SelectionHandle.HandleType type)
 Show the handle (of input type) on the overlay. More...
 
void hideHandle (final SelectionHandle.HandleType type)
 Hide the handle (of input type). More...
 
void positionHandle (final SelectionHandle.HandleType type, final RectF rectangle)
 Position the handle (of input type) position to the input rectangle. More...
 
RectF getCurrentCursorPosition ()
 
void setCalcHeadersController (CalcHeadersController calcHeadersController)
 
void showCellSelection (final RectF cellCursorRect)
 
void showHeaderSelection (final RectF cellCursorRect)
 
void showAdjustLengthLine (final boolean isRow, final CalcHeadersView view)
 

Private Attributes

final DocumentOverlayView mDocumentOverlayView
 
final DocumentOverlayLayer mDocumentOverlayLayer
 
final long hidePageNumberRectDelayInMilliseconds = 500
 

Static Private Attributes

static final String LOGTAG = DocumentOverlay.class.getSimpleName()
 

Detailed Description

The DocumentOverlay is an overlay over the document.

This class is responsible to setup the document overlay view, report visibility and position of its elements when they change and report any changes to the viewport.

Definition at line 29 of file DocumentOverlay.java.

Constructor & Destructor Documentation

◆ DocumentOverlay()

org.libreoffice.overlay.DocumentOverlay.DocumentOverlay ( LibreOfficeMainActivity  context,
LayerView  layerView 
)
inline

Member Function Documentation

◆ changeGraphicSelection()

void org.libreoffice.overlay.DocumentOverlay.changeGraphicSelection ( final RectF  rectangle)
inline

◆ changeSelections()

void org.libreoffice.overlay.DocumentOverlay.changeSelections ( final List< RectF >  selections)
inline

◆ getCurrentCursorPosition()

RectF org.libreoffice.overlay.DocumentOverlay.getCurrentCursorPosition ( )
inline

◆ hideCursor()

void org.libreoffice.overlay.DocumentOverlay.hideCursor ( )
inline

◆ hideGraphicSelection()

void org.libreoffice.overlay.DocumentOverlay.hideGraphicSelection ( )
inline

◆ hideHandle()

void org.libreoffice.overlay.DocumentOverlay.hideHandle ( final SelectionHandle.HandleType  type)
inline

◆ hidePageNumberRect()

void org.libreoffice.overlay.DocumentOverlay.hidePageNumberRect ( )
inline

◆ hideSelections()

void org.libreoffice.overlay.DocumentOverlay.hideSelections ( )
inline

◆ positionCursor()

void org.libreoffice.overlay.DocumentOverlay.positionCursor ( final RectF  position)
inline

◆ positionHandle()

void org.libreoffice.overlay.DocumentOverlay.positionHandle ( final SelectionHandle.HandleType  type,
final RectF  rectangle 
)
inline

◆ setCalcHeadersController()

void org.libreoffice.overlay.DocumentOverlay.setCalcHeadersController ( CalcHeadersController  calcHeadersController)
inline

◆ setPartPageRectangles()

void org.libreoffice.overlay.DocumentOverlay.setPartPageRectangles ( List< RectF >  rectangles)
inline

◆ showAdjustLengthLine()

void org.libreoffice.overlay.DocumentOverlay.showAdjustLengthLine ( final boolean  isRow,
final CalcHeadersView  view 
)
inline

◆ showCellSelection()

void org.libreoffice.overlay.DocumentOverlay.showCellSelection ( final RectF  cellCursorRect)
inline

◆ showCursor()

void org.libreoffice.overlay.DocumentOverlay.showCursor ( )
inline

◆ showGraphicSelection()

void org.libreoffice.overlay.DocumentOverlay.showGraphicSelection ( )
inline

◆ showHandle()

void org.libreoffice.overlay.DocumentOverlay.showHandle ( final SelectionHandle.HandleType  type)
inline

◆ showHeaderSelection()

void org.libreoffice.overlay.DocumentOverlay.showHeaderSelection ( final RectF  cellCursorRect)
inline

◆ showPageNumberRect()

void org.libreoffice.overlay.DocumentOverlay.showPageNumberRect ( )
inline

◆ showSelections()

void org.libreoffice.overlay.DocumentOverlay.showSelections ( )
inline

Member Data Documentation

◆ hidePageNumberRectDelayInMilliseconds

final long org.libreoffice.overlay.DocumentOverlay.hidePageNumberRectDelayInMilliseconds = 500
private

◆ LOGTAG

final String org.libreoffice.overlay.DocumentOverlay.LOGTAG = DocumentOverlay.class.getSimpleName()
staticprivate

◆ mDocumentOverlayLayer

final DocumentOverlayLayer org.libreoffice.overlay.DocumentOverlay.mDocumentOverlayLayer
private

◆ mDocumentOverlayView

final DocumentOverlayView org.libreoffice.overlay.DocumentOverlay.mDocumentOverlayView
private

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