19#ifndef INCLUDED_SFX2_EVENT_HXX
20#define INCLUDED_SFX2_EVENT_HXX
29#include <rtl/ustring.hxx>
31#include <com/sun/star/uno/Sequence.hxx>
32#include <com/sun/star/frame/XController2.hpp>
33#include <com/sun/star/view/PrintableState.hpp>
78template<
typename charT,
typename traits >
79inline std::basic_ostream<charT, traits> &
operator <<(
80 std::basic_ostream<charT, traits> & stream,
const SvMacroItemId&
id )
110 default:
return stream <<
"unk(" << std::to_string(
int(
id)) <<
")";
151template<
typename charT,
typename traits >
152inline std::basic_ostream<charT, traits> &
operator <<(
153 std::basic_ostream<charT, traits> & stream,
const SfxEventHintId&
id )
188 default:
return stream <<
"unk(" << std::to_string(
int(
id)) <<
")";
209 {
return aEventName; }
212 {
return pObjShell; }
231 const css::uno::Reference< css::frame::XController2 >&
GetController()
const
232 {
return xViewController; }
238 css::uno::Sequence < css::beans::PropertyValue >
aOpts;
241 css::view::PrintableState nState,
242 const css::uno::Sequence < css::beans::PropertyValue >& rOpts,
244 const css::uno::Reference< css::frame::XController2 >& xController )
264 const css::uno::Sequence < css::beans::PropertyValue >&
GetOptions()
const {
return aOpts; }
const OUString & GetEventName() const
SfxEventHint(SfxEventHintId nId, OUString aName, SfxObjectShell *pObj)
SfxObjectShell * GetObjShell() const
SfxEventHintId GetEventId() const
SfxObjectShell * pObjShell
css::uno::Sequence< css::beans::PropertyValue > aOpts
SfxPrintingHint(css::view::PrintableState nState)
css::view::PrintableState GetWhich() const
css::view::PrintableState mnPrintableState
SfxPrintingHint(css::view::PrintableState nState, const css::uno::Sequence< css::beans::PropertyValue > &rOpts, SfxObjectShell *pObj, const css::uno::Reference< css::frame::XController2 > &xController)
const css::uno::Sequence< css::beans::PropertyValue > & GetOptions() const
SfxViewEventHint(SfxEventHintId nId, const OUString &aName, SfxObjectShell *pObj, css::uno::Reference< css::frame::XController2 > xController)
const css::uno::Reference< css::frame::XController2 > & GetController() const
SfxViewEventHint(SfxEventHintId nId, const OUString &aName, SfxObjectShell *pObj, const css::uno::Reference< css::frame::XController > &xController)
css::uno::Reference< css::frame::XController2 > xViewController
Reference< XOutputStream > stream
SvMacroItemId
these values get stored in streams in a 16-bit value
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &stream, const SvMacroItemId &id)
@ SwEventFieldMergeFinished
Reference< XController > xController