diff options
Diffstat (limited to 'uitest/libreoffice/calc/document.py')
-rw-r--r-- | uitest/libreoffice/calc/document.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/uitest/libreoffice/calc/document.py b/uitest/libreoffice/calc/document.py new file mode 100644 index 000000000000..356c5ec9954d --- /dev/null +++ b/uitest/libreoffice/calc/document.py @@ -0,0 +1,11 @@ +# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +def get_sheet_from_doc(document, index): + return document.getSheets().getByIndex(index) + +# vim:set shiftwidth=4 softtabstop=4 expandtab: */ |