aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r--dw/textblock.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh
index 2bd85917..be8cdfee 100644
--- a/dw/textblock.hh
+++ b/dw/textblock.hh
@@ -262,6 +262,8 @@ protected:
void getRefArea (int *xRef, int *yRef, int *widthRef, int *heightRef);
core::style::Style *getStyle ();
void draw (int x, int y, int width, int height);
+
+ virtual void print ();
};
class SpaceImgRenderer: public WordImgRenderer
@@ -272,6 +274,8 @@ protected:
void getBgArea (int *x, int *y, int *width, int *height);
core::style::Style *getStyle ();
+
+ void print ();
};
struct Paragraph
@@ -519,6 +523,11 @@ protected:
Word *addWord (int width, int ascent, int descent, short flags,
core::style::Style *style);
+ void initWord (int wordNo);
+ void removeWordImgRenderer (int wordNo);
+ void setWordImgRenderer (int wordNo);
+ void removeSpaceImgRenderer (int wordNo);
+ void setSpaceImgRenderer (int wordNo);
void fillWord (int wordNo, int width, int ascent, int descent,
short flags, core::style::Style *style);
void fillSpace (int wordNo, core::style::Style *style);