19#ifndef INCLUDED_REPORTDESIGN_SOURCE_UI_INC_REPORTSECTION_HXX
20#define INCLUDED_REPORTDESIGN_SOURCE_UI_INC_REPORTSECTION_HXX
24#include <com/sun/star/beans/NamedValue.hpp>
43 ,
public DropTargetHelper
77 virtual void _propertyChanged(
const css::beans::PropertyChangeEvent& _rEvent)
override;
81 virtual void dispose()
override;
90 void Copy(css::uno::Sequence< css::beans::NamedValue >& _rAllreadyCopiedObjects);
92 void Copy(css::uno::Sequence< css::beans::NamedValue >& _rAllreadyCopiedObjects,
bool _bEraseAnddNoClone);
98 void Paste(
const css::uno::Sequence< css::beans::NamedValue >& _aAllreadyCopiedObjects,
bool _bForce =
false);
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
OReportSection(OReportSection const &)=delete
void deactivateOle()
deactivate the current active ole object if any
bool handleKeyEvent(const KeyEvent &_rEvent)
checks if the keycode is known by the child windows
css::uno::Reference< css::report::XReportComponent > getCurrentControlModel() const
returns the current control report model or <NULL>
virtual void Command(const CommandEvent &rCEvt) override
void Paste(const css::uno::Sequence< css::beans::NamedValue > &_aAllreadyCopiedObjects, bool _bForce=false)
paste a new control in this section
virtual void dispose() override
OReportSection(OSectionWindow *_pParent, css::uno::Reference< css::report::XSection > _xSection)
sal_Int32 m_nPaintEntranceCount
void SetMode(DlgEdMode m_eMode)
std::shared_ptr< OReportModel > m_pModel
void SetGridVisible(bool _bVisible)
makes the grid visible
virtual sal_Int8 ExecuteDrop(const ExecuteDropEvent &_rEvt) override
virtual ~OReportSection() override
OReportPage * getPage() const
virtual void MouseButtonDown(const MouseEvent &rMEvt) override
::rtl::Reference< comphelper::OPropertyChangeMultiplexer > m_pReportListener
const css::uno::Reference< css::report::XSection > & getSection() const
css::uno::Reference< css::report::XSection > m_xSection
void operator=(OReportSection const &)=delete
OSectionView & getSectionView() const
void createDefault(const OUString &_sType)
creates a default object (custom shape)
::std::unique_ptr< DlgEdFunc > m_pFunc
virtual void MouseButtonUp(const MouseEvent &rMEvt) override
void SelectAll(const SdrObjKind _nObjectType)
All objects will be marked.
virtual void _propertyChanged(const css::beans::PropertyChangeEvent &_rEvent) override
void Copy(css::uno::Sequence< css::beans::NamedValue > &_rAllreadyCopiedObjects, bool _bEraseAnddNoClone)
void fillControlModelSelection(::std::vector< css::uno::Reference< css::uno::XInterface > > &_rSelection) const
fills the vector with all selected control models /param _rSelection The vector will be filled and wi...
bool isUiActive() const
returns true when an ole object is currently active
::rtl::Reference< comphelper::OPropertyChangeMultiplexer > m_pMulti
void Copy(css::uno::Sequence< css::beans::NamedValue > &_rAllreadyCopiedObjects)
copies the current selection in this section
void fill()
fills the section with all control from the report section
virtual void MouseMove(const MouseEvent &rMEvt) override
virtual sal_Int8 AcceptDrop(const AcceptDropEvent &_rEvt) override
VclPtr< OSectionWindow > m_pParent
void Delete()
Deletes the current selection in this section.
OSectionWindow * getSectionWindow() const
void impl_adjustObjectSizePosition(sal_Int32 i_nPaperWidth, sal_Int32 i_nLeftMargin, sal_Int32 i_nRightMargin)
checks all objects if they fit in the new paper width.