diff options
author | Dennis Francis <dennis.francis@collabora.com> | 2021-11-11 16:23:43 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-01-11 11:18:06 +0100 |
commit | 1ebd27ac521f78f9cc2124573d85b03b533e8653 (patch) | |
tree | b9c44fe25def4c5c808a88a1e7f089c544381141 | |
parent | a9c473c3306e28462f9a1898a94277cf0adcbe5e (diff) |
lokCalcRTL: provide sheet RTL flags to client
Change-Id: If881fdea1c6bae10735cfde624ad6f4f3a34e389
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 0eb5f1fd73e1..bb3870ad4e3e 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -607,11 +607,14 @@ OUString ScModelObj::getPartInfo( int nPart ) const bool bIsVisible = pViewData->GetDocument().IsVisible(nPart); //FIXME: Implement IsSelected(). const bool bIsSelected = false; //pViewData->GetDocument()->IsSelected(nPart); + const bool bIsRTLLayout = pViewData->GetDocument().IsLayoutRTL(nPart); OUString aPartInfo = "{ \"visible\": \"" + OUString::number(static_cast<unsigned int>(bIsVisible)) + "\", \"selected\": \"" + OUString::number(static_cast<unsigned int>(bIsSelected)) + + "\", \"rtllayout\": \"" + + OUString::number(static_cast<unsigned int>(bIsRTLLayout)) + "\" }"; return aPartInfo; } |