From 31f896bb6ef922cf4250c6b971fb9d24a60592b5 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 21 Feb 2019 21:22:15 +0100 Subject: sw btlr writing mode shell: fix up/down cursor travelling By teaching SwEditWin::KeyInput() about 2 vertical modes: the existing tbrl one and the new btlr one. Up now correctly goes to the next character and down to the previous one. Change-Id: I71faebe62e5fa3892b37e8bea6c15d1fb84df5d1 Reviewed-on: https://gerrit.libreoffice.org/68183 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- sw/inc/crsrsh.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sw/inc') diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 423ed92fb1b4..e8144d4a52ba 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -258,8 +258,6 @@ private: SAL_DLLPRIVATE bool LRMargin( bool, bool bAPI = false ); SAL_DLLPRIVATE bool IsAtLRMargin( bool, bool bAPI = false ) const; - SAL_DLLPRIVATE SvxFrameDirection GetTextDirection( const Point* pPt = nullptr ) const; - SAL_DLLPRIVATE bool isInHiddenTextFrame(SwShellCursor* pShellCursor); SAL_DLLPRIVATE bool GoStartWordImpl(); @@ -811,6 +809,7 @@ public: const SwRangeRedline* SelPrevRedline(); const SwRangeRedline* GotoRedline( SwRedlineTable::size_type nArrPos, bool bSelect ); + SAL_DLLPRIVATE SvxFrameDirection GetTextDirection( const Point* pPt = nullptr ) const; // is cursor or the point in/over a vertical formatted text? bool IsInVerticalText( const Point* pPt = nullptr ) const; // is cursor or the point in/over a right to left formatted text? -- cgit