# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-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/. # from uitest.uihelper.common import get_state_as_dict from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.framework import UITestCase from uitest.debug import time class ImpressDrawinglayerTest(UITestCase): def test_move_object(self): self.ui_test.create_doc_in_start_center("impress") xTemplateDlg = self.xUITest.getTopFocusWindow() xCancelBtn = xTemplateDlg.getChild("cancel") self.ui_test.close_dialog_through_button(xCancelBtn) xImpressDoc = self.xUITest.getTopFocusWindow() xEditWin = xImpressDoc.getChild("impress_win") xDrawinglayerObject = xEditWin.getChild("Unnamed Drawinglayer object 1") print(get_state_as_dict(xDrawinglayerObject)) xDrawinglayerObject.executeAction("MOVE", mkPropertyValues({"X": "1000", "Y":"1000"})) self.ui_test.close_doc() def test_resize_object(self): self.ui_test.create_doc_in_start_center("impress") xTemplateDlg = self.xUITest.getTopFocusWindow() xCancelBtn = xTemplateDlg.getChild("cancel") self.ui_test.close_dialog_through_button(xCancelBtn) xImpressDoc = self.xUITest.getTopFocusWindow() xEditWin = xImpressDoc.getChild("impress_win") xDrawinglayerObject = xEditWin.getChild("Unnamed Drawinglayer object 1") print(get_state_as_dict(xDrawinglayerObject)) xDrawinglayerObject.executeAction("RESIZE", mkPropertyValues({"X": "500", "Y":"4000", "FRAC_X": "0.5", "FRAC_Y": "0.5"})) self.ui_test.close_doc() # vim: set shiftwidth=4 softtabstop=4 expandtab: stro/cib/libreoffice-6-3'>distro/cib/libreoffice-6-3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/forms/inc
AgeCommit message (Expand)Author
2020-04-26update pchesCaolán McNamara
2020-04-22uiobject.hxx only needs forward declaresCaolán McNamara
2020-02-01make update_pch also consider files in <module>/src/**/incLuboš Luňák
2019-12-01Introduce o3tl::optional as an alias for std::optionalStephan Bergmann
2019-10-18make bin/update_pch.s always include code in trivial #if'sLuboš Luňák
2019-05-09regenerate PCH headers for the 4 new levelsLuboš Luňák
2019-02-13Pointer is pointlessNoel Grandin
2018-11-17Adapt to C++2a char_tStephan Bergmann
2017-09-22Fresh run of bin/update_pch.shMike Kaganski
2017-07-21migrate to boost::gettextCaolán McNamara
2017-04-27tools: move errcode.hxx to the vcl moduleChris Sherlock
2017-04-25errinf.hxx moved out of tools and into vcl moduleChris Sherlock
2016-02-06vcl: split exception types from input typesChris Sherlock
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian
2015-09-18boost->stdCaolán McNamara
2015-08-17o3tl: rename compat_functional headerThorsten Behrens
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara
2014-11-24unotools: Internalize ucblockbytes.hxx headerMatúš Kukan
2014-08-13update_pchThomas Arnhold
2014-05-09update_pch: add a bunch of pch filesThomas Arnhold
2011-11-27remove precompiled_xxx.hxx/cxxNorbert Thiebaud
2011-11-27remove include of pch header from formsNorbert Thiebaud
2011-11-14Removed comphelper -> unotools processfactory.hxx duplication.Stephan Bergmann
2011-04-03gbuildize formsDavid Tardon
2011-03-29drop bogus executable flag from [ch]xx/bas/asm filesFrancisco Saito
2011-03-09Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Norbert Thiebaud
2011-02-20Cleanup some #include <tools/list.hxx>Joseph Powers