aboutsummaryrefslogtreecommitdiff
path: root/dw/outofflowmgr.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-08-21 11:34:33 +0200
committerSebastian Geerken <devnull@localhost>2013-08-21 11:34:33 +0200
commit1b9c7e87a56398814be78adea71e935f8a75b3cd (patch)
treea3355fb9cf3ed1c345644205c8d308ce404b6e7b /dw/outofflowmgr.hh
parentdda2892ca7a89459263a68726e25213ec1a2bec0 (diff)
Some work for the "clear" property.
Diffstat (limited to 'dw/outofflowmgr.hh')
-rw-r--r--dw/outofflowmgr.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dw/outofflowmgr.hh b/dw/outofflowmgr.hh
index 8bb6ed24..a97af4b9 100644
--- a/dw/outofflowmgr.hh
+++ b/dw/outofflowmgr.hh
@@ -235,6 +235,8 @@ private:
bool hasFloat (Textblock *textblock, Side side, int y, int h,
Textblock *lastGB, int lastExtIndex);
+ int getClearPosition (Textblock *tb, Side side);
+
void ensureFloatSize (Float *vloat);
int getBorderDiff (Textblock *textblock, Float *vloat, Side side);
@@ -340,6 +342,8 @@ public:
bool hasFloatRight (Textblock *textblock, int y, int h, Textblock *lastGB,
int lastExtIndex);
+ int getClearPosition (Textblock *tb, core::style::ClearType clear);
+
inline static bool isRefOutOfFlow (int ref)
{ return ref != -1 && (ref & 1) != 0; }
inline static int createRefNormalFlow (int lineNo) { return lineNo << 1; }