summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/output.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-04-06 16:00:05 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-04-06 16:01:56 -0400
commit181030a3a3d7abb5556ebacbaffe79980b071f7c (patch)
tree0566563af8e4ca09fcbf54441e265c166cbff63c /sc/source/ui/inc/output.hxx
parentc00869115d1b1fb8f1b99b3c6ccf9aa9b79c3980 (diff)
Fixed horizontal alignment issues for vertical text with text wrap on.
Diffstat (limited to 'sc/source/ui/inc/output.hxx')
-rw-r--r--sc/source/ui/inc/output.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/sc/source/ui/inc/output.hxx b/sc/source/ui/inc/output.hxx
index 99e7c09f29d2..a275c02924e2 100644
--- a/sc/source/ui/inc/output.hxx
+++ b/sc/source/ui/inc/output.hxx
@@ -132,6 +132,16 @@ private:
*/
bool isVerticallyOriented() const;
+ /**
+ * Calculate offset position for vertically oriented (either
+ * top-bottom or bottom-top orientation) text.
+ *
+ * @param rLogicStart initial position in pixels. When the call is
+ * finished, this parameter will store the new
+ * position.
+ */
+ void calcStartPosForVertical(Point& rLogicStart, long nCellWidth, long nEngineWidth, long nTopM, OutputDevice* pRefDevice);
+
void setAlignmentItems();
bool adjustHorAlignment(ScFieldEditEngine* pEngine);
void adjustForRTL();