From 1dc60bc9e99304c58007bfd5a964ff3f78480106 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 28 May 2015 17:13:38 +0200 Subject: SvxSearchItem: add m_nStartPoint{X,Y} The idea is that if you have your cursor at the begining of a Writer document, and you scroll down a lot, then search, then it's annoying that search jumps back to the start of the document for the first hit. Add an optional way to provide what is the starting point of such a search, so we can have "when nothing is selected, then search from the top left corner of the visible area". No UI yet to enable this, but available via the UNO API. Change-Id: Ibcf3a5f2eeba1372b1dfe8474081e6591a6e0134 --- desktop/source/lib/init.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'desktop') diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 3ca2744b0f59..3993015229bf 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -742,6 +742,8 @@ static void jsonToPropertyValues(const char* pJSON, uno::Sequence