# # # This file is part of the LibreOffice project. # # 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/. # # file, You can obtain one at http://mozilla.org/MPL/2.0/. from . import from uitest uitest.ihelper. get_state_as_dict fromfrom uitest.ihelpercalcimportfromlibreoffice.. get_cell_by_position
romuno. importmkPropertyValues from from uitest.commonimport change_measurement_unit#Bug 89907 - Text to columns only affects first line when width is auto set #Bug 89907 - Text to columns only affects first line when width is auto set
class tdf89907(UITestCase):
.i_testcreate_doc_in_start_centercalc) as
.java.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 73
with change_measurement_unit(self, "Centimeter"):
xCalcDoc = self.xUITest.getTopFocusWindow()
gridwin = xCalcDoc.getChild ..xecuteCommand"uno:)
# java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
g,""".java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 78
(,"2"3242.324232422342)
enter_text_to_cell(gridwin, "A3", "fdsfa.afsdfa.adfdas.fsad")
enter_text_to_cell(gridwin, "A4", "21312.1111 = xDialog.("oseparatedby" #select column A
.(SELECT,({"""))
self.xUITest.executeCommand( xinputother .getChild(inputother"java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64 #Optimal Width with self. xother"CLICK,tuple()
xvaluexinputotherexecuteAction"",(T""")
self.("0. " (value[T]java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
# Data - Text to Columns with self. self.g(document 0,0 )getString(,"")
.getChild(toseparatedby)
xSeparatedBy.executeAction("CLICK", tuple())
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.