summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porrst.hxx
diff options
context:
space:
mode:
authorFrank Meies <fme@openoffice.org>2002-03-21 08:19:43 +0000
committerFrank Meies <fme@openoffice.org>2002-03-21 08:19:43 +0000
commit3a586af328c543ae2bcd4c3a17e1d106264dfb6a (patch)
tree25f1176e7914bf6301a4efa16db4d33f64ec1f8c /sw/source/core/text/porrst.hxx
parentde6be5830bad59c11c3ce8c5d60910c2f090ab66 (diff)
#98281# Bidi - Initial changes
Diffstat (limited to 'sw/source/core/text/porrst.hxx')
-rw-r--r--sw/source/core/text/porrst.hxx17
1 files changed, 15 insertions, 2 deletions
diff --git a/sw/source/core/text/porrst.hxx b/sw/source/core/text/porrst.hxx
index feb09f6c8ca8..224b16274eda 100644
--- a/sw/source/core/text/porrst.hxx
+++ b/sw/source/core/text/porrst.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: porrst.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: fme $ $Date: 2002-02-28 12:42:19 $
+ * last change: $Author: fme $ $Date: 2002-03-21 09:15:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -68,6 +68,12 @@
#include "porlay.hxx"
#include "porexp.hxx"
+#ifdef VERTICAL_LAYOUT
+#define RED_ARROW_WIDTH 240
+#define LINE_BREAK_WIDTH 150
+#define SPECIAL_FONT_HEIGHT 220
+#endif
+
class SwTxtFormatInfo;
/*************************************************************************
@@ -88,9 +94,16 @@ public:
class SwBreakPortion : public SwLinePortion
{
+#ifdef VERTICAL_LAYOUT
+ USHORT CalcViewWidth( const SwTxtSizeInfo &rInf );
+#else
void CalcViewWidth( const SwTxtSizeInfo &rInf );
+#endif
+
protected:
+#ifndef VERTICAL_LAYOUT
KSHORT nViewWidth;
+#endif
KSHORT nRestWidth;
public:
SwBreakPortion( const SwLinePortion &rPortion );