diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-12-03 14:43:43 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-12-04 16:23:13 +0100 |
commit | 2437cf972a9dbf7ab11e18e7fd8b43ef5f6a63e0 (patch) | |
tree | 4ff4d6f7785b98e3c3cbf649db4b7fa951888fb8 /cui/source/options/personalization.hxx | |
parent | 14005c28404028a1fda3c9240f3f69bb90764378 (diff) |
Personas: Configuration entries for Personas and BacgroundImage.
Change-Id: I47b1a5bacaeb5bd54f11630e5d3f2652be2bdfb4
Diffstat (limited to 'cui/source/options/personalization.hxx')
-rw-r--r-- | cui/source/options/personalization.hxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cui/source/options/personalization.hxx b/cui/source/options/personalization.hxx index 89fc3fde28a0..bb70b33e1bb4 100644 --- a/cui/source/options/personalization.hxx +++ b/cui/source/options/personalization.hxx @@ -23,6 +23,7 @@ private: RadioButton *m_pDefaultBackground; ///< Use the built-in bitmap for Writer background RadioButton *m_pOwnBackground; ///< Use the user-defined bitmap PushButton *m_pSelectBackground; ///< Let the user select in the 'own' case + OUString m_aBackgroundURL; ///< URL of the the background image in the 'own' case RadioButton *m_pNoPersona; ///< Just the default look, without any bitmap RadioButton *m_pDefaultPersona; ///< Use the built-in bitmap @@ -35,10 +36,13 @@ public: static SfxTabPage* Create( Window *pParent, const SfxItemSet &rSet ); -private: - /// Maintain sane behavior of the m_pSelect(Background|Persona) buttons - DECL_LINK( EnableDisableSelectionButtons, RadioButton* ); + /// Apply the settings ([OK] button). + virtual sal_Bool FillItemSet( SfxItemSet &rSet ); + + /// Reset to default settings ([Revert] button). + virtual void Reset( const SfxItemSet &rSet ); +private: /// Handle the bacground selection DECL_LINK( SelectBackground, PushButton* ); |