AppTool.java (f46d12a6) | AppTool.java (c37bcbf4) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 90 unchanged lines hidden (view full) --- 99 alienFormatDlg.ok(); 100 app.waitSlot(5 * 60); // 10 minutes 101 } 102 103 public static void close() { 104 app.dispatch(".uno:CloseDoc"); 105 } 106 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 90 unchanged lines hidden (view full) --- 99 alienFormatDlg.ok(); 100 app.waitSlot(5 * 60); // 10 minutes 101 } 102 103 public static void close() { 104 app.dispatch(".uno:CloseDoc"); 105 } 106 |
107 public static void saveAndReopen(String path){ 108 saveAs(path); 109 close(); 110 open(path); 111 } 112 |
|
107 public static void discard() { 108 app.dispatch(".uno:CloseDoc"); 109 if (activeMsgBox.exists(2)) 110 activeMsgBox.no(); 111 } 112 113 public static void typeKeys(String keys) { 114 Tester.typeKeys(keys); --- 118 unchanged lines hidden --- | 113 public static void discard() { 114 app.dispatch(".uno:CloseDoc"); 115 if (activeMsgBox.exists(2)) 116 activeMsgBox.no(); 117 } 118 119 public static void typeKeys(String keys) { 120 Tester.typeKeys(keys); --- 118 unchanged lines hidden --- |