summaryrefslogtreecommitdiff
path: root/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hprophelp.hxx
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2003-08-18 13:34:42 +0000
committerHans-Joachim Lankenau <hjs@openoffice.org>2003-08-18 13:34:42 +0000
commit92236b476c2761386f9fa069b037b1064af8b827 (patch)
treea88b7e2d5efcabacc119f3e5be79c533415bd7cc /lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hprophelp.hxx
parent576485066a465c1684b97904eae2a4a06da82977 (diff)
INTEGRATION: CWS geordi2q01 (1.3.24); FILE MERGED
2003/08/18 12:58:41 hr 1.3.24.1: #i18350#: join changes from CWS ooo11rc3
Diffstat (limited to 'lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hprophelp.hxx')
-rw-r--r--lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hprophelp.hxx42
1 files changed, 22 insertions, 20 deletions
diff --git a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hprophelp.hxx b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hprophelp.hxx
index f5f7593675e5..8b048b0cd807 100644
--- a/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hprophelp.hxx
+++ b/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hprophelp.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: hprophelp.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: hr $ $Date: 2003-03-26 13:02:06 $
+ * last change: $Author: hjs $ $Date: 2003-08-18 14:34:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -162,45 +162,47 @@ public:
///////////////////////////////////////////////////////////////////////////
-
class PropertyHelper_Hyphen :
public PropertyChgHelper
{
// default values
- BOOL bIsGermanPreReform;
- BOOL bIsIgnoreControlCharacters;
- BOOL bIsUseDictionaryList;
+ INT16 nHyphMinLeading;
+ INT16 nHyphMinTrailing;
+ INT16 nHyphMinWordLength;
// return values, will be set to default value or current temporary value
- BOOL bResIsGermanPreReform;
- BOOL bResIsIgnoreControlCharacters;
- BOOL bResIsUseDictionaryList;
+ INT16 nResHyphMinLeading;
+ INT16 nResHyphMinTrailing;
+ INT16 nResHyphMinWordLength;
// disallow use of copy-constructor and assignment-operator
PropertyHelper_Hyphen( const PropertyHelper_Hyphen & );
PropertyHelper_Hyphen & operator = ( const PropertyHelper_Hyphen & );
- void SetDefault();
+protected:
+ // PropertyChgHelper
+ virtual void SetDefault();
public:
PropertyHelper_Hyphen(
- const Reference< XInterface > &rxSource,
- Reference< XPropertySet > &rxPropSet );
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::uno::XInterface > &rxSource,
+ ::com::sun::star::uno::Reference<
+ ::com::sun::star::beans::XPropertySet > &rxPropSet);
virtual ~PropertyHelper_Hyphen();
+ virtual void SetTmpPropVals( const com::sun::star::beans::PropertyValues &rPropVals );
+
// XPropertyChangeListener
virtual void SAL_CALL
- propertyChange( const PropertyChangeEvent& rEvt )
- throw(RuntimeException);
-
- void SetTmpPropVals( const PropertyValues &rPropVals );
+ propertyChange( const ::com::sun::star::beans::PropertyChangeEvent& rEvt )
+ throw(::com::sun::star::uno::RuntimeException);
- BOOL IsGermanPreReform() const { return bResIsGermanPreReform; }
- BOOL IsIgnoreControlCharacters() const { return bResIsIgnoreControlCharacters; }
- BOOL IsUseDictionaryList() const { return bResIsUseDictionaryList; }
+ INT16 GetMinLeading() const { return nHyphMinLeading; }
+ INT16 GetMinTrailing() const { return nHyphMinTrailing; }
+ INT16 GetMinWordLength() const { return nHyphMinWordLength; }
};
///////////////////////////////////////////////////////////////////////////
#endif
-