LCOV - code coverage report
Current view: top level - frame - XLayoutManager.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2013-07-09 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_FRAME_XLAYOUTMANAGER_HDL
       2             : #define INCLUDED_COM_SUN_STAR_FRAME_XLAYOUTMANAGER_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/awt/Point.hdl"
       7             : #include "com/sun/star/awt/Rectangle.hdl"
       8             : #include "com/sun/star/awt/Size.hdl"
       9             : namespace com { namespace sun { namespace star { namespace frame { class XFrame; } } } }
      10             : #include "com/sun/star/ui/DockingArea.hdl"
      11             : namespace com { namespace sun { namespace star { namespace ui { class XDockingAreaAcceptor; } } } }
      12             : namespace com { namespace sun { namespace star { namespace ui { class XUIElement; } } } }
      13             : #include "com/sun/star/uno/RuntimeException.hdl"
      14             : #include "com/sun/star/uno/XInterface.hdl"
      15             : #include "com/sun/star/uno/Reference.h"
      16             : #include "com/sun/star/uno/Sequence.h"
      17             : #include "cppu/macros.hxx"
      18             : #include "rtl/ustring.hxx"
      19             : #include "sal/types.h"
      20             : 
      21             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      22             : 
      23             : namespace com { namespace sun { namespace star { namespace frame {
      24             : 
      25        1106 : class SAL_NO_VTABLE XLayoutManager : public css::uno::XInterface
      26             : {
      27             : public:
      28             : 
      29             :     // Methods
      30             :     virtual void SAL_CALL attachFrame( const ::com::sun::star::uno::Reference< css::frame::XFrame >& Frame ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      31             :     virtual void SAL_CALL reset() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      32             :     virtual css::awt::Rectangle SAL_CALL getCurrentDockingArea() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      33             :     virtual ::com::sun::star::uno::Reference< css::ui::XDockingAreaAcceptor > SAL_CALL getDockingAreaAcceptor() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      34             :     virtual void SAL_CALL setDockingAreaAcceptor( const ::com::sun::star::uno::Reference< css::ui::XDockingAreaAcceptor >& xDockingAreaAcceptor ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual void SAL_CALL createElement( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      36             :     virtual void SAL_CALL destroyElement( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      37             :     virtual ::sal_Bool SAL_CALL requestElement( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual ::com::sun::star::uno::Reference< css::ui::XUIElement > SAL_CALL getElement( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::ui::XUIElement > > SAL_CALL getElements() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual ::sal_Bool SAL_CALL showElement( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      41             :     virtual ::sal_Bool SAL_CALL hideElement( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      42             :     virtual ::sal_Bool SAL_CALL dockWindow( const ::rtl::OUString& ResourceURL, css::ui::DockingArea DockingArea, const css::awt::Point& Pos ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      43             :     virtual ::sal_Bool SAL_CALL dockAllWindows( ::sal_Int16 nElementType ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      44             :     virtual ::sal_Bool SAL_CALL floatWindow( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      45             :     virtual ::sal_Bool SAL_CALL lockWindow( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      46             :     virtual ::sal_Bool SAL_CALL unlockWindow( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      47             :     virtual void SAL_CALL setElementSize( const ::rtl::OUString& ResourceURL, const css::awt::Size& Size ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      48             :     virtual void SAL_CALL setElementPos( const ::rtl::OUString& ResourceURL, const css::awt::Point& Pos ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      49             :     virtual void SAL_CALL setElementPosSize( const ::rtl::OUString& ResourceURL, const css::awt::Point& Pos, const css::awt::Size& Size ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      50             :     virtual ::sal_Bool SAL_CALL isElementVisible( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      51             :     virtual ::sal_Bool SAL_CALL isElementFloating( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      52             :     virtual ::sal_Bool SAL_CALL isElementDocked( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      53             :     virtual ::sal_Bool SAL_CALL isElementLocked( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      54             :     virtual css::awt::Size SAL_CALL getElementSize( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      55             :     virtual css::awt::Point SAL_CALL getElementPos( const ::rtl::OUString& ResourceURL ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      56             :     virtual void SAL_CALL lock() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      57             :     virtual void SAL_CALL unlock() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      58             :     virtual void SAL_CALL doLayout() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      59             :     virtual void SAL_CALL setVisible( ::sal_Bool Visible ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      60             :     virtual ::sal_Bool SAL_CALL isVisible() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      61             : 
      62             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      63             : 
      64             : protected:
      65        1099 :     ~XLayoutManager() throw () {} // avoid warnings about virtual members and non-virtual dtor
      66             : };
      67             : 
      68             : 
      69             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::frame::XLayoutManager const *);
      70             : } } } }
      71             : 
      72             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::frame::XLayoutManager > *) SAL_THROW(());
      73             : 
      74             : #endif

Generated by: LCOV version 1.10