summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/general.hxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-10-22 06:31:42 +0000
committerFrank Schönheit <fs@openoffice.org>2001-10-22 06:31:42 +0000
commit24af368cd68988fa2a1d76d3e0624d4cd4f287ec (patch)
treed252d75b026f21755f76cbbb45bb0e405a77a422 /extensions/source/bibliography/general.hxx
parentd85806d699e6a7044a1a36c3a55bc77395e04c3d (diff)
#92852# changes to have the controls in alive mode only when loaded / some optimizations
Diffstat (limited to 'extensions/source/bibliography/general.hxx')
-rw-r--r--extensions/source/bibliography/general.hxx35
1 files changed, 20 insertions, 15 deletions
diff --git a/extensions/source/bibliography/general.hxx b/extensions/source/bibliography/general.hxx
index 4131f271b66e..7bd8782a97f9 100644
--- a/extensions/source/bibliography/general.hxx
+++ b/extensions/source/bibliography/general.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: general.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: os $ $Date: 2000-11-13 11:41:26 $
+ * last change: $Author: fs $ $Date: 2001-10-22 07:31:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -161,14 +161,14 @@ class BibGeneralPage:
FixedText aCustom4FT;
FixedText aCustom5FT;
- ScrollBar aHoriScroll;
- ScrollBar aVertScroll;
+ ScrollBar aHoriScroll;
+ ScrollBar aVertScroll;
- FixedText* aFixedTexts[FIELD_COUNT];
- ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow> aControls[FIELD_COUNT];
+ FixedText* aFixedTexts[FIELD_COUNT];
+ ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow> aControls[FIELD_COUNT];
- Size aStdSize;
- Point aBasePos;
+ Size aStdSize;
+ Point aBasePos;
String aBibTypeArr[TYPE_COUNT];
String sErrorPrefix;
@@ -196,27 +196,32 @@ class BibGeneralPage:
String aColumnUIName, sal_uInt16 nHelpId);
void AdjustScrollbars();
- DECL_LINK(ScrollHdl, ScrollBar*);
+ DECL_LINK(ScrollHdl, ScrollBar*);
protected:
- virtual void Resize();
+ virtual void Resize();
+
public:
BibGeneralPage(Window* pParent, BibDataManager* pDatMan);
virtual ~BibGeneralPage();
const String& GetErrorString() const {return sTableErrorString;}
- ::com::sun::star::uno::Reference< ::com::sun::star::form::XBoundComponent > GetTypeListBoxModel() {return xLBModel;}
+ const ::com::sun::star::uno::Reference< ::com::sun::star::form::XBoundComponent >&
+ GetTypeListBoxModel() const { return xLBModel; }
+ const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer >&
+ GetControlContainer() const { return xCtrlContnr; }
+
BibDataManager* GetDataManager() {return pDatMan;}
void CommitActiveControl();
- virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( com::sun::star::uno::RuntimeException );
- void SAL_CALL focusGained(const ::com::sun::star::awt::FocusEvent& e) throw( com::sun::star::uno::RuntimeException );
- void SAL_CALL focusLost(const ::com::sun::star::awt::FocusEvent& e) throw( com::sun::star::uno::RuntimeException );
+ void SAL_CALL focusGained(const ::com::sun::star::awt::FocusEvent& e) throw( com::sun::star::uno::RuntimeException );
+ void SAL_CALL focusLost(const ::com::sun::star::awt::FocusEvent& e) throw( com::sun::star::uno::RuntimeException );
- void RemoveListeners();
+ void RemoveListeners();
};