summaryrefslogtreecommitdiff
path: root/sw/source/core/objectpositioning
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/objectpositioning')
-rw-r--r--sw/source/core/objectpositioning/anchoredobjectposition.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sw/source/core/objectpositioning/anchoredobjectposition.cxx b/sw/source/core/objectpositioning/anchoredobjectposition.cxx
index 99bbd7f49d5d..a547ddd01633 100644
--- a/sw/source/core/objectpositioning/anchoredobjectposition.cxx
+++ b/sw/source/core/objectpositioning/anchoredobjectposition.cxx
@@ -285,6 +285,14 @@ void SwAnchoredObjectPosition::GetVertAlignmentValues(
}
}
break;
+ case text::RelOrientation::PAGE_PRINT_AREA_BOTTOM:
+ {
+ nHeight = aRectFnSet.GetBottomMargin(_rPageAlignLayFrame);
+ nOffset = aRectFnSet.YDiff(
+ aRectFnSet.GetPrtBottom(_rPageAlignLayFrame),
+ nVertOrientTop);
+ }
+ break;
// #i22341# - vertical alignment at top of line
case text::RelOrientation::TEXT_LINE:
{