#100911# Added new property ActiveLayer.

This commit is contained in:
Andre Fischer 2002-08-02 10:59:45 +00:00
parent 54766ce17e
commit a4b5f9ca35

View file

@ -10,6 +10,9 @@
#ifndef _COM_SUN_STAR_VIEW_XSELECTIONSUPPLIER_HPP_
#include <com/sun/star/view/XSelectionSupplier.hpp>
#endif
#ifndef _COM_SUN_STAR_DRAWING_XLAYER_HPP_
#include <com/sun/star/drawing/XLayer.hpp>
#endif
#ifndef _SFX_SFXBASECONTROLLER_HXX_
#include <sfx2/sfxbasecontroller.hxx>
@ -164,6 +167,19 @@ protected:
sal_Bool getLayerMode(void) const throw();
void setLayerMode(sal_Bool LayerMode_) throw();
/** Return a reference to the active layer object.
@return
The returned value may be empty when the internal state of this
view is not valid (like during destruction.)
*/
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XLayer> getActiveLayer (void) throw ();
/** Make the specified object the active layer.
@param rxLayer
The new layer object.
*/
void setActiveLayer (const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XLayer>& rxLayer) throw ();
SdUnoDrawViewKind meKind;
private:
@ -181,4 +197,4 @@ private:
SdPage* mpCurrentPage;
};
#endif
#endif