19#ifndef INCLUDED_REPORTDESIGN_SOURCE_UI_INC_SECTIONWINDOW_HXX
20#define INCLUDED_REPORTDESIGN_SOURCE_UI_INC_SECTIONWINDOW_HXX
22#include <com/sun/star/report/XSection.hpp>
28#include <UndoActions.hxx>
35 class OPropertyChangeMultiplexer;
65 const css::uno::Reference<css::report::XGroup>& _xGroup,
TranslateId pResId,
66 const ::std::function<css::uno::Reference<css::report::XSection>(
OGroupHelper*)>&
68 const ::std::function<
bool(
OGroupHelper*)>& _pIsSectionOn);
79 const css::uno::Reference<css::report::XReportDefinition>& _xReport,
TranslateId pResId,
80 const ::std::function<css::uno::Reference<css::report::XSection>(
OReportHelper*)>&
93 virtual void Resize()
override;
96 virtual void _propertyChanged(
const css::beans::PropertyChangeEvent& _rEvent)
override;
99 ,
const css::uno::Reference< css::report::XSection >& _xSection
100 ,
const OUString& _sColorEntry);
102 virtual void dispose()
override;
Defines the right side of a graphical section.
Helper class to allow std::mem_fun for SAL_CALL.
Helper class to allow std::mem_fun for SAL_CALL.
OSectionWindow(OViewsWindow *_pParent, const css::uno::Reference< css::report::XSection > &_xSection, const OUString &_sColorEntry)
virtual ~OSectionWindow() override
OSectionWindow(OSectionWindow const &)=delete
OReportSection & getReportSection()
OViewsWindow * getViewsWindow()
DECL_LINK(EndSplitHdl, Splitter *, void)
::rtl::Reference< comphelper::OPropertyChangeMultiplexer > m_pSectionMulti
void setCollapsed(bool _bCollapsed)
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
void zoom(const Fraction &_aZoom)
zoom the ruler and view windows
DECL_LINK(Collapsed, OColorListener &, void)
VclPtr< OReportSection > m_aReportSection
void setMarked(bool _bMark)
set the marker as marked or not marked
VclPtr< OViewsWindow > m_pParent
virtual void Resize() override
DECL_LINK(StartSplitHdl, Splitter *, void)
bool setGroupSectionTitle(const css::uno::Reference< css::report::XGroup > &_xGroup, TranslateId pResId, const ::std::function< css::uno::Reference< css::report::XSection >(OGroupHelper *)> &_pGetSection, const ::std::function< bool(OGroupHelper *)> &_pIsSectionOn)
set the title of the group header or footer
virtual void _propertyChanged(const css::beans::PropertyChangeEvent &_rEvent) override
::rtl::Reference< comphelper::OPropertyChangeMultiplexer > m_pGroupMulti
DECL_LINK(SplitHdl, Splitter *, void)
virtual void dispose() override
OStartMarker & getStartMarker()
void operator=(OSectionWindow const &)=delete
void showProperties()
triggers the property browser with the section
VclPtr< Splitter > m_aSplitter
bool setReportSectionTitle(const css::uno::Reference< css::report::XReportDefinition > &_xReport, TranslateId pResId, const ::std::function< css::uno::Reference< css::report::XSection >(OReportHelper *)> &_pGetSection, const ::std::function< bool(OReportHelper *)> &_pIsSectionOn)
set the title of the (report/page) header or footer
OEndMarker & getEndMarker()
VclPtr< OEndMarker > m_aEndMarker
void scrollChildren(tools::Long _nThumbPosX)
VclPtr< OStartMarker > m_aStartMarker