summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porhyph.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/porhyph.hxx')
-rw-r--r--sw/source/core/text/porhyph.hxx17
1 files changed, 13 insertions, 4 deletions
diff --git a/sw/source/core/text/porhyph.hxx b/sw/source/core/text/porhyph.hxx
index 555b4bae74d8..663f8538e9bf 100644
--- a/sw/source/core/text/porhyph.hxx
+++ b/sw/source/core/text/porhyph.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: porhyph.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: fme $ $Date: 2002-02-19 14:58:24 $
+ * last change: $Author: fme $ $Date: 2002-02-28 12:42:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -72,8 +72,11 @@ class SwHyphPortion : public SwExpandPortion
public:
inline SwHyphPortion( ) { SetWhichPor( POR_HYPH ); }
virtual sal_Bool GetExpTxt( const SwTxtSizeInfo &rInf, XubString &rTxt ) const;
- virtual void HandlePortion( SwPortionHandler& rPH ) const;
virtual sal_Bool Format( SwTxtFormatInfo &rInf );
+
+ // Accessibility: pass information about this portion to the PortionHandler
+ virtual void HandlePortion( SwPortionHandler& rPH ) const;
+
OUTPUT_OPERATOR
};
@@ -87,7 +90,10 @@ class SwHyphStrPortion : public SwHyphPortion
public:
inline SwHyphStrPortion( const XubString &rStr );
virtual sal_Bool GetExpTxt( const SwTxtSizeInfo &rInf, XubString &rTxt ) const;
+
+ // Accessibility: pass information about this portion to the PortionHandler
virtual void HandlePortion( SwPortionHandler& rPH ) const;
+
OUTPUT_OPERATOR
};
@@ -104,7 +110,6 @@ class SwSoftHyphPortion : public SwHyphPortion
public:
SwSoftHyphPortion();
virtual sal_Bool GetExpTxt( const SwTxtSizeInfo &rInf, XubString &rTxt ) const;
- virtual void HandlePortion( SwPortionHandler& rPH ) const;
virtual SwLinePortion *Compress();
virtual void Paint( const SwTxtPaintInfo &rInf ) const;
virtual sal_Bool Format( SwTxtFormatInfo &rInf );
@@ -113,6 +118,10 @@ public:
sal_Bool IsExpand() const { return bExpand; }
virtual KSHORT GetViewWidth( const SwTxtSizeInfo &rInf ) const;
+
+ // Accessibility: pass information about this portion to the PortionHandler
+ virtual void HandlePortion( SwPortionHandler& rPH ) const;
+
OUTPUT_OPERATOR
};