aboutsummaryrefslogtreecommitdiff
path: root/dw/alignedtablecell.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/alignedtablecell.cc')
-rw-r--r--dw/alignedtablecell.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/dw/alignedtablecell.cc b/dw/alignedtablecell.cc
index 1fba7588..a9f091f3 100644
--- a/dw/alignedtablecell.cc
+++ b/dw/alignedtablecell.cc
@@ -50,6 +50,18 @@ bool AlignedTableCell::isBlockLevel ()
return false;
}
+int AlignedTableCell::applyPerWidth (int containerWidth,
+ core::style::Length perWidth)
+{
+ return core::style::multiplyWithPerLength (containerWidth, perWidth);
+}
+
+int AlignedTableCell::applyPerHeight (int containerHeight,
+ core::style::Length perHeight)
+{
+ return core::style::multiplyWithPerLength (containerHeight, perHeight);
+}
+
int AlignedTableCell::wordWrap(int wordIndex, bool wrapAll)
{
Textblock::Word *word;