LibreOffice Module vcl (master)
1
|
#include <ITiledRenderable.hxx>
Public Types | |
typedef std::map< const OUString, OUString > | StringMap |
Public Member Functions | |
virtual | ~ITiledRenderable () |
virtual void | paintTile (VirtualDevice &rDevice, int nOutputWidth, int nOutputHeight, int nTilePosX, int nTilePosY, tools::Long nTileWidth, tools::Long nTileHeight)=0 |
Paint a tile to a given VirtualDevice. More... | |
virtual Size | getDocumentSize ()=0 |
Get the document size in twips. More... | |
virtual void | setPart (int) |
Set the document "part", i.e. More... | |
virtual int | getParts () |
Get the number of parts – see setPart for further details. More... | |
virtual int | getPart () |
Get the currently displayed/selected part – see setPart for further details. More... | |
virtual OUString | getPartName (int) |
Get the name of the currently displayed part, i.e. More... | |
virtual VclPtr< vcl::Window > | getDocWindow ()=0 |
Get the vcl::Window for the document being edited. More... | |
virtual OUString | getPartHash (int nPart)=0 |
Get the hash of the currently displayed part, i.e. More... | |
virtual void | setPartMode (int) |
virtual void | initializeForTiledRendering (const css::uno::Sequence< css::beans::PropertyValue > &rArguments)=0 |
Setup various document properties that are needed for the document to be renderable via tiled rendering. More... | |
virtual void | postKeyEvent (int nType, int nCharCode, int nKeyCode)=0 |
Posts a keyboard event on the document. More... | |
virtual void | postMouseEvent (int nType, int nX, int nY, int nCount, int nButtons, int nModifier)=0 |
Posts a mouse event on the document. More... | |
virtual void | setTextSelection (int nType, int nX, int nY)=0 |
Sets the start or end of a text selection. More... | |
virtual css::uno::Reference< css::datatransfer::XTransferable > | getSelection ()=0 |
Gets the selection as a transferable for later processing. More... | |
virtual void | setGraphicSelection (int nType, int nX, int nY)=0 |
Adjusts the graphic selection. More... | |
virtual void | resetSelection ()=0 |
virtual OUString | getPartPageRectangles () |
virtual void | getRowColumnHeaders (const tools::Rectangle &, tools::JsonWriter &) |
Get position and content of row/column headers of Calc documents. More... | |
virtual OString | getSheetGeometryData (bool, bool, bool, bool, bool, bool) |
Generates a serialization of the active (Calc document) sheet's geometry data. More... | |
virtual void | getCellCursor (tools::JsonWriter &) |
Get position and size of cell cursor in Calc - as JSON in the current' views' co-ordinate system. More... | |
virtual PointerStyle | getPointer ()=0 |
virtual void | setClipboard (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &xClipboard)=0 |
Sets the clipboard of the component. More... | |
virtual bool | isMimeTypeSupported ()=0 |
If the current contents of the clipboard is something we can paste. More... | |
virtual void | setClientZoom (int, int, int, int) |
Save the client's view so that we can compute the right zoom level for the mouse events. More... | |
virtual void | setClientVisibleArea (const tools::Rectangle &) |
virtual void | setOutlineState (bool, int, int, bool) |
Show/Hide a single row/column header outline for Calc documents. More... | |
virtual void | getTrackedChanges (tools::JsonWriter &) |
Implementation for lok::Document::getCommandValues(".uno:AcceptTrackedChanges") when there is no matching UNO API. More... | |
virtual void | getTrackedChangeAuthors (tools::JsonWriter &) |
Implementation for lok::Document::getCommandValues(".uno:TrackedChangeAuthors"). More... | |
virtual void | getPostIts (tools::JsonWriter &) |
Implementation for lok::Document::getCommandValues(".uno:ViewAnnotations");. More... | |
virtual void | getPostItsPos (tools::JsonWriter &) |
Implementation for lok::Document::getCommandValues(".uno:ViewAnnotationsPosition");. More... | |
virtual void | getRulerState (tools::JsonWriter &) |
Implementation for lok::Document::getCommandValues(".uno:RulerState");. More... | |
virtual OUString | getPartInfo (int) |
virtual void | selectPart (int, int) |
Select/Unselect a document "part", i.e. More... | |
virtual void | moveSelectedParts (int, bool) |
Move selected pages/slides to a new position. More... | |
virtual void | completeFunction (const OUString &) |
virtual bool | isDisposed () const |
It can happen that the underlying implementation is being disposed, but somebody is trying to access the data... More... | |
virtual void | executeFromFieldEvent (const StringMap &) |
Execute a form field event in the document. More... | |
Definition at line 45 of file ITiledRenderable.hxx.
typedef std::map<const OUString, OUString> vcl::ITiledRenderable::StringMap |
Definition at line 49 of file ITiledRenderable.hxx.
|
virtual |
Definition at line 74 of file ITiledRenderable.cxx.
|
inlinevirtual |
Definition at line 309 of file ITiledRenderable.hxx.
Execute a form field event in the document.
E.g. select an item from a drop down field's list.
Definition at line 326 of file ITiledRenderable.hxx.
|
inlinevirtual |
Get position and size of cell cursor in Calc - as JSON in the current' views' co-ordinate system.
(This could maybe also be used for tables in Writer/Impress in future?)
Definition at line 210 of file ITiledRenderable.hxx.
|
pure virtual |
Get the document size in twips.
|
pure virtual |
Get the vcl::Window for the document being edited.
|
inlinevirtual |
Get the currently displayed/selected part – see setPart for further details.
Definition at line 90 of file ITiledRenderable.hxx.
|
pure virtual |
Get the hash of the currently displayed part, i.e.
sheet in a spreadsheet or slide in a presentation.
|
inlinevirtual |
Definition at line 289 of file ITiledRenderable.hxx.
|
inlinevirtual |
Get the name of the currently displayed part, i.e.
sheet in a spreadsheet or slide in a presentation.
Definition at line 99 of file ITiledRenderable.hxx.
|
inlinevirtual |
Definition at line 165 of file ITiledRenderable.hxx.
|
inlinevirtual |
Get the number of parts – see setPart for further details.
Definition at line 81 of file ITiledRenderable.hxx.
|
pure virtual |
|
inlinevirtual |
Implementation for lok::Document::getCommandValues(".uno:ViewAnnotations");.
Definition at line 269 of file ITiledRenderable.hxx.
|
inlinevirtual |
Implementation for lok::Document::getCommandValues(".uno:ViewAnnotationsPosition");.
Definition at line 275 of file ITiledRenderable.hxx.
|
inlinevirtual |
Get position and content of row/column headers of Calc documents.
rRectangle | - if not empty, then limit the output only to the area of this rectangle |
Definition at line 176 of file ITiledRenderable.hxx.
|
inlinevirtual |
Implementation for lok::Document::getCommandValues(".uno:RulerState");.
Definition at line 281 of file ITiledRenderable.hxx.
|
pure virtual |
Gets the selection as a transferable for later processing.
|
inlinevirtual |
Generates a serialization of the active (Calc document) sheet's geometry data.
bColumns | - if true, the column widths/hidden/filtered/groups data are included depending on the settings of the flags bSizes, bHidden, bFiltered and bGroups. |
bRows | - if true, the row heights/hidden/filtered/groups data are included depending on the settings of the flags bSizes, bHidden, bFiltered and bGroups. - if true, the column-widths and/or row-heights data (represented as a list of spans) are included depending on the settings of the flags bColumns and bRows. - if true, the hidden columns and/or rows data (represented as a list of spans) are included depending on the settings of the flags bColumns and bRows. - if true, the filtered columns and/or rows data (represented as a list of spans) are included depending on the settings of the flags bColumns and bRows. - if true, the column grouping and/or row grouping data are included depending on the settings of the flags bColumns and bRows. |
Definition at line 199 of file ITiledRenderable.hxx.
|
inlinevirtual |
Implementation for lok::Document::getCommandValues(".uno:TrackedChangeAuthors").
Definition at line 263 of file ITiledRenderable.hxx.
|
inlinevirtual |
Implementation for lok::Document::getCommandValues(".uno:AcceptTrackedChanges") when there is no matching UNO API.
Definition at line 257 of file ITiledRenderable.hxx.
|
pure virtual |
Setup various document properties that are needed for the document to be renderable via tiled rendering.
|
inlinevirtual |
It can happen that the underlying implementation is being disposed, but somebody is trying to access the data...
Definition at line 317 of file ITiledRenderable.hxx.
|
pure virtual |
If the current contents of the clipboard is something we can paste.
Move selected pages/slides to a new position.
nPosition: the new position to move to. bDuplicate: to copy (true), or to move (false).
Definition at line 306 of file ITiledRenderable.hxx.
|
pure virtual |
Paint a tile to a given VirtualDevice.
Output parameters are measured in pixels, tile parameters are in twips.
|
pure virtual |
Posts a keyboard event on the document.
|
pure virtual |
Posts a mouse event on the document.
|
pure virtual |
Select/Unselect a document "part", i.e.
slide for a slideshow, and tab for a spreadsheet(?). nSelect: 0 to deselect, 1 to select, and 2 to toggle.
Definition at line 299 of file ITiledRenderable.hxx.
|
inlinevirtual |
Definition at line 237 of file ITiledRenderable.hxx.
Save the client's view so that we can compute the right zoom level for the mouse events.
nTilePixelWidth | - tile width in pixels |
nTilePixelHeight | - tile height in pixels |
nTileTwipWidth | - tile width in twips |
nTileTwipHeight | - tile height in twips |
Definition at line 230 of file ITiledRenderable.hxx.
|
pure virtual |
Sets the clipboard of the component.
Adjusts the graphic selection.
Show/Hide a single row/column header outline for Calc documents.
bColumn | - if we are dealing with a column or row group |
nLevel | - the level to which the group belongs |
nIndex | - the group entry index |
bHidden | - the new group state (collapsed/expanded) |
Definition at line 249 of file ITiledRenderable.hxx.
Set the document "part", i.e.
slide for a slideshow, and tab for a spreadsheet.
Definition at line 76 of file ITiledRenderable.hxx.
Definition at line 116 of file ITiledRenderable.hxx.
Sets the start or end of a text selection.