LibreOffice
LibreOffice 26.2 SDK API Reference
Loading...
Searching...
No Matches
Public Member Functions | List of all members
XToolkitExperimental Interface Reference

Work in progress, don't use unless you know what you are doing. More...

import <XToolkitExperimental.idl;

Inheritance diagram for XToolkitExperimental:
Inheritance graph
[legend]
Collaboration diagram for XToolkitExperimental:
Collaboration graph
[legend]

Public Member Functions

void processEventsToIdle ()
 Process all pending idle events.
 
hyper getOpenGLBufferSwapCounter ()
 Get the number of OpenGL buffer swaps.
 
void setDeterministicScheduling ([in] boolean bDeterministicMode)
 Turn on or off deterministic scheduling (off is the default).
 
void pause ([in] long nMilliseconds)
 Pause the main thread of LibreOffice for the requested amount of time.
 
void startRecording ()
 Start time logging.
 
void stopRecording ()
 Stop time logging.
 
sequence< string > getRecordingAndClear ()
 Query time logs and clear recording.
 
void waitUntilAllIdlesDispatched ()
 Wait until all idles dispatched.
 
- Public Member Functions inherited from XToolkit
com::sun::star::awt::XWindowPeer getDesktopWindow ()
 returns the desktop window.
 
com::sun::star::awt::Rectangle getWorkArea ()
 For LibreOffice versions < 4.1, this method just returned an empty rectangle.
 
com::sun::star::awt::XWindowPeer createWindow ([in] com::sun::star::awt::WindowDescriptor Descriptor) raises ( com::sun::star::lang::IllegalArgumentException )
 creates a new window using the given descriptor.
 
sequence< com::sun::star::awt::XWindowPeercreateWindows ([in] sequence< com::sun::star::awt::WindowDescriptor > Descriptors) raises ( com::sun::star::lang::IllegalArgumentException )
 returns a sequence of windows which are newly created using the given descriptors.
 
com::sun::star::awt::XDevice createScreenCompatibleDevice ([in] long Width, [in] long Height)
 creates a virtual device that is compatible with the screen.
 
com::sun::star::awt::XRegion createRegion ()
 creates a region.
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
 
void acquire ()
 increases the reference counter by one.
 
void release ()
 decreases the reference counter by one.
 
- Public Member Functions inherited from XDataTransferProviderAccess
com::sun::star::datatransfer::dnd::XDragGestureRecognizer getDragGestureRecognizer ([in] XWindow window)
 returns the drag gesture recognizer of the specified window.
 
com::sun::star::datatransfer::dnd::XDragSource getDragSource ([in] XWindow window)
 returns the drag source of the specified window.
 
com::sun::star::datatransfer::dnd::XDropTarget getDropTarget ([in] XWindow window)
 returns the drop target of the specified window.
 
com::sun::star::datatransfer::clipboard::XClipboard getClipboard ([in] string clipboardName)
 returns the specified clipboard.
 
- Public Member Functions inherited from XSystemChildFactory
XWindowPeer createSystemChild ([in] any Parent, [in] sequence< byte > ProcessId, [in] short SystemType)
 creates a system child window.
 
- Public Member Functions inherited from XMessageBoxFactory
XMessageBox createMessageBox ([in] com::sun::star::awt::XWindowPeer aParent, [in] MessageBoxType eType, [in] long nButtons, [in] string sTitle, [in] string sMessage)
 creates a message box.
 
- Public Member Functions inherited from XExtendedToolkit
long getTopWindowCount ()
 This function returns the number of currently existing top-level windows.
 
::com::sun::star::awt::XTopWindow getTopWindow ([in] long nIndex) raises (::com::sun::star::lang::IndexOutOfBoundsException)
 Return a reference to the specified top-level window.
 
::com::sun::star::awt::XTopWindow getActiveTopWindow ()
 Return the currently active top-level window, i.e.
 
void addTopWindowListener ([in] ::com::sun::star::awt::XTopWindowListener xListener)
 Add a new listener that is called for events that involve com::sun::star::awt::XTopWindow.
 
void removeTopWindowListener ([in] ::com::sun::star::awt::XTopWindowListener xListener)
 Remove the specified listener from the list of listeners.
 
void addKeyHandler ([in] ::com::sun::star::awt::XKeyHandler xHandler)
 Add a new listener that is called on com::sun::star::awt::KeyEvent.
 
void removeKeyHandler ([in] ::com::sun::star::awt::XKeyHandler xHandler)
 Remove the specified listener from the list of listeners.
 
void addFocusListener ([in] ::com::sun::star::awt::XFocusListener xListener)
 Add a new listener that is called on com::sun::star::awt::FocusEvent.
 
void removeFocusListener ([in] ::com::sun::star::awt::XFocusListener xListener)
 Remove the specified listener from the list of listeners.
 
void fireFocusGained ([in] ::com::sun::star::uno::XInterface source)
 Broadcasts the a focusGained on all registered focus listeners.
 
void fireFocusLost ([in] ::com::sun::star::uno::XInterface source)
 Broadcasts the a focusGained on all registered focus listeners.
 
- Public Member Functions inherited from XReschedule
void reschedule ()
 Allow the main thread to process some events.
 
- Public Member Functions inherited from XFontMappingUse
void startTrackingFontMappingUse ()
 Activate tracking of how requested fonts are mapped to available fonts.
 
sequence< XFontMappingUseItemfinishTrackingFontMappingUse ()
 Stop tracking of how requested fonts are mapped to available fonts and return the mappings that took place since the call to startTrackingFontMappingUse().
 

Additional Inherited Members

- Exported Interfaces inherited from XToolkit3
interface XToolkit2
 
interface com::sun::star::awt::XFontMappingUse
 
- Exported Interfaces inherited from XToolkit2
interface XToolkit
 
interface com::sun::star::awt::XDataTransferProviderAccess
 
interface com::sun::star::awt::XSystemChildFactory
 
interface com::sun::star::awt::XMessageBoxFactory
 
interface com::sun::star::awt::XExtendedToolkit
 
interface com::sun::star::awt::XReschedule
 

Detailed Description

Work in progress, don't use unless you know what you are doing.

Member Function Documentation

◆ getOpenGLBufferSwapCounter()

hyper getOpenGLBufferSwapCounter ( )

Get the number of OpenGL buffer swaps.

◆ getRecordingAndClear()

sequence< string > getRecordingAndClear ( )

Query time logs and clear recording.

First line is the time of the recorded operations in seconds, next ones are the log lines. A log line contains the thread ID, time stamp, profile zone ID and "start" or "stop".

Since
LibreOffice 6.0

◆ pause()

void pause ( [in] long  nMilliseconds)

Pause the main thread of LibreOffice for the requested amount of time.

◆ processEventsToIdle()

void processEventsToIdle ( )

Process all pending idle events.

◆ setDeterministicScheduling()

void setDeterministicScheduling ( [in] boolean  bDeterministicMode)

Turn on or off deterministic scheduling (off is the default).

◆ startRecording()

void startRecording ( )

Start time logging.

Since
LibreOffice 6.0

◆ stopRecording()

void stopRecording ( )

Stop time logging.

Since
LibreOffice 6.0

◆ waitUntilAllIdlesDispatched()

void waitUntilAllIdlesDispatched ( )

Wait until all idles dispatched.


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