User: hr Date: 2007-08-02 14:37:05+0000 Modified: dba/reportdesign/source/ui/inc/ReportController.hxx
Log: INTEGRATION: CWS rpt23fix01 (1.2.2); FILE MERGED 2007/07/11 10:52:06 lla 1.2.2.3: #i79080# help agent 2007/07/11 10:19:09 oj 1.2.2.2: #i78504# use own numberformatter 2007/07/11 09:58:17 oj 1.2.2.1: #i78520# allowd to add control with keyboard File Changes: Directory: /dba/reportdesign/source/ui/inc/ =========================================== File [changed]: ReportController.hxx Url: http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/ReportController.hxx?r1=1.2&r2=1.3 Delta lines: +19 -5 -------------------- --- ReportController.hxx 2007-07-09 11:56:30+0000 1.2 +++ ReportController.hxx 2007-08-02 14:37:02+0000 1.3 @@ -145,6 +145,7 @@ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext; ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet > m_xRowSet; ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener > m_xRowSetMediator; + ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter > m_xFormatter; // a number formatter working with the report's NumberFormatsSupplier ::boost::shared_ptr<rptui::OReportModel> m_aReportModel; @@ -290,17 +291,26 @@ */ void markSection(const bool _bNext); - OReportController(OReportController&); - void operator =(OReportController&); + OReportController(OReportController const&); + OReportController& operator =(OReportController const&); ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > getXFrame(); + // open the help agent of report designer at start time + void doOpenHelpAgent(); + + /** creates a new default control for the currently set type when the modifier KEY_MOD1 was pressed + * \param _aArgs must contain a properyvalue with name "KeyModifier" and value KEY_MOD1 when control should be created. + */ + void createDefaultControl(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& _aArgs); + protected: DECL_LINK( OnInvalidateClipboard, void* ); DECL_LINK( OnClipboardChanged, void* ); DECL_LINK( OnExecuteReport, void* ); DECL_LINK( OnSave, void* ); DECL_LINK( OnSaveAs, void* ); + DECL_LINK( OnOpenHelpAgent, void* ); short saveModified(); // all the features which should be handled by this class virtual void describeSupportedFeatures(); @@ -409,6 +419,10 @@ */ void displayDesignFloater(sal_Bool _bShow); + /** returns the number formatter + */ + ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter > getReportNumberFormatter() const; + /** return the SdrModel of the real model * * \return --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
