include/LibreOfficeKit/LibreOfficeKit.hxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
New commits: commit 42e94211ad6dc2125a411c1768d0b3a677dba34d Author: Tor Lillqvist <[email protected]> AuthorDate: Mon Mar 13 11:23:05 2023 +0200 Commit: Tor Lillqvist <[email protected]> CommitDate: Mon Mar 13 11:34:35 2023 +0000 Improve documentation of lok::Document::getPartPageRectangles() Change-Id: Ic507749064ff27b36cac8e01a54fb58dd10cdda5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148779 Tested-by: Tor Lillqvist <[email protected]> Reviewed-by: Tor Lillqvist <[email protected]> diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index bc3bbb98cc10..501b10bb61f9 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -84,10 +84,11 @@ public: } /** - * Get the logical rectangle of each part in the document. + * Get the extent of each page in the document. * - * A part refers to an individual page in Writer and has no relevant for - * Calc or Impress. + * This function is relevant for Writer documents only. It is a + * mistake that the API has "part" in its name as Writer documents + * don't have parts. * * @return a rectangle list, using the same format as * LOK_CALLBACK_TEXT_SELECTION.
