LibreOffice Module unotest (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.openoffice.test.tools.OfficeDocumentView Class Reference

provides a small wrapper around a document view More...

Inheritance diagram for org.openoffice.test.tools.OfficeDocumentView:
[legend]
Collaboration diagram for org.openoffice.test.tools.OfficeDocumentView:
[legend]

Public Member Functions

final XController getController ()
 
 OfficeDocumentView (XMultiServiceFactory orb, XController controller)
 
boolean dispatch (String i_url) throws com.sun.star.uno.Exception
 dispatches the given URL into the view, if there's a dispatcher for it More...
 

Private Member Functions

XDispatch getDispatcher (URL[] aURL) throws com.sun.star.uno.Exception
 retrieves a dispatcher for the given URL, obtained at the current view of the document More...
 
boolean dispatch (final String i_url, final PropertyValue[] i_arguments) throws com.sun.star.uno.Exception
 

Private Attributes

final XMultiServiceFactory m_orb
 
final XController m_controller
 

Detailed Description

provides a small wrapper around a document view

Definition at line 34 of file OfficeDocumentView.java.

Constructor & Destructor Documentation

◆ OfficeDocumentView()

org.openoffice.test.tools.OfficeDocumentView.OfficeDocumentView ( XMultiServiceFactory  orb,
XController  controller 
)
inline

Member Function Documentation

◆ dispatch() [1/2]

boolean org.openoffice.test.tools.OfficeDocumentView.dispatch ( final String  i_url,
final PropertyValue[]  i_arguments 
) throws com.sun.star.uno.Exception
inlineprivate

◆ dispatch() [2/2]

boolean org.openoffice.test.tools.OfficeDocumentView.dispatch ( String  i_url) throws com.sun.star.uno.Exception
inline

dispatches the given URL into the view, if there's a dispatcher for it

Returns
<TRUE> if the URL was successfully dispatched

Definition at line 86 of file OfficeDocumentView.java.

References org.openoffice.test.tools.OfficeDocumentView.dispatch().

Referenced by org.openoffice.test.tools.OfficeDocumentView.dispatch().

◆ getController()

final XController org.openoffice.test.tools.OfficeDocumentView.getController ( )
inline

◆ getDispatcher()

XDispatch org.openoffice.test.tools.OfficeDocumentView.getDispatcher ( URL[]  aURL) throws com.sun.star.uno.Exception
inlineprivate

retrieves a dispatcher for the given URL, obtained at the current view of the document

Parameters
aURLa one-element array. The first element must contain a valid <member scope="com.sun.star.util">URL::Complete</member> value. Upon return, the URL is correctly parsed.
Returns
the dispatcher for the URL in question

Definition at line 61 of file OfficeDocumentView.java.

References aURL, org.openoffice.test.tools.OfficeDocumentView.m_controller, and org.openoffice.test.tools.OfficeDocumentView.m_orb.

Referenced by org.openoffice.test.tools.OfficeDocumentView.dispatch().

Member Data Documentation

◆ m_controller

final XController org.openoffice.test.tools.OfficeDocumentView.m_controller
private

◆ m_orb

final XMultiServiceFactory org.openoffice.test.tools.OfficeDocumentView.m_orb
private

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