summaryrefslogtreecommitdiff
path: root/testautomation/writer/optional/includes/formatparagraph/w_formatparagraph1.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/writer/optional/includes/formatparagraph/w_formatparagraph1.inc')
-rw-r--r--testautomation/writer/optional/includes/formatparagraph/w_formatparagraph1.inc56
1 files changed, 28 insertions, 28 deletions
diff --git a/testautomation/writer/optional/includes/formatparagraph/w_formatparagraph1.inc b/testautomation/writer/optional/includes/formatparagraph/w_formatparagraph1.inc
index 4fa007cfc4b0..7c31482e37af 100644
--- a/testautomation/writer/optional/includes/formatparagraph/w_formatparagraph1.inc
+++ b/testautomation/writer/optional/includes/formatparagraph/w_formatparagraph1.inc
@@ -366,8 +366,8 @@ testcase tParagraphIndent5
'/// Open the test file
'/// This file includes 2 paragraphs , and the end of 2nd paragraph is in 1st page
- Call hFileOpen(sTestFile)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile )
+
'Set the focus to 2nd paragraph
Kontext
@@ -426,8 +426,8 @@ testcase tParagraphIndent6
'/// Open the test file
'/// This file includes 2 paragraphs , and the end of 2nd paragraph is in 1st page
- Call hFileOpen(sTestFile)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile )
+
'Set the focus to 1st paragraph
Kontext
@@ -494,8 +494,8 @@ testcase tParagraphIndent7
'/// if the spacing is adopted 1cm ,2nd paragrahp will be in 1st page
'/// if the spacing is adopted 2cm ,2nd paragrahp part will be in 1st page , part will be in 2nd page
'/// if the spacing is adopted 3cm ,2nd paragrahp will be in 2nd page
- Call hFileOpen(sTestFile)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile )
+
'Set the focus to the end of the 1st paragraph
Kontext
@@ -582,8 +582,8 @@ testcase tParagraphIndent8
'/// if the spacing is adopted 1cm ,2nd paragrahp will be in 1st page
'/// if the spacing is adopted 2cm ,2nd paragrahp part will be in 1st page , part will be in 2nd page
'/// if the spacing is adopted 3cm ,2nd paragrahp will be in 2nd page
- Call hFileOpen(sTestFile)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile )
+
'Set the focus to the end of the 1st paragraph
Kontext
@@ -642,8 +642,8 @@ testcase tParagraphIndent9
'/// Open the test file
'/// This file includes 8 lines ,
'/// + when the spacing is single line , the 8 lines should be in 1 page as design.
- Call hFileOpen(sTestFile)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile )
+
'/// Format/Paragraph / Indents & Spacing , select single line in Line spacing
Call fFormatParagraph("TabEinzuegeUndAbstaende")
@@ -683,8 +683,8 @@ testcase tParagraphIndent10
'/// This file includes 8 lines
'/// when the spacing is 1.5 lines ,
'/// + the last 2(or 3) lines should be in 2nd page.
- Call hFileOpen(sTestFile)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile )
+
'/// Format/Paragraph / Indents & Spacing , select 1.5 lines in Line spacing
Call fFormatParagraph("TabEinzuegeUndAbstaende")
@@ -753,8 +753,8 @@ testcase tParagraphIndent11
'/// This file includes 8 lines
'/// when the spacing is Double lines , the first 4 lines should be in 1st page
'/// + the last 4 lines should be in 2nd page.
- Call hFileOpen(sTestFile)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile )
+
'/// Format/Paragraph / Indents & Spacing , select Double lines in Line spacing
Call fFormatParagraph("TabEinzuegeUndAbstaende")
@@ -833,8 +833,8 @@ testcase tParagraphIndent12
'/// This file includes 8 lines
'/// when the spacing Proportional is more than 200% ,
'/// + then it will change to be Double line automatically
- Call hFileOpen(sTestFile)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile )
+
'/// Format/Paragraph / Indents & Spacing ,
'/// + select Proportional in Line spacing , and input 300%
@@ -907,8 +907,8 @@ testcase tParagraphIndent13
'/// This file includes 8 lines and 1 pic is anchored as character in 1st line
'/// when the spacing is At least to 4cm, there should be 1 line/page
'/// + and the pic should move down
- Call hFileOpen(sTestFile)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile )
+
'Get the original coordinate-Y
Call wTypeKeys ( "<Shift F4>" )
@@ -976,8 +976,8 @@ testcase tParagraphIndent14
'/// This file includes 8 lines and 1 pic is anchored as character in 1st line
'/// when the spacing is leading to 4cm, there should be 1 line/page
'/// + and the pic should NOT move
- Call hFileOpen(sTestFile)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile )
+
'Get the original coordinate-Y
Call wTypeKeys ( "<Shift F4>" )
@@ -1042,8 +1042,8 @@ testcase tParagraphIndent15
'/// Open the test file
'/// + This file includes 8 lines , and font size is 12
- Call hFileOpen(sTestFile)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile )
+
'/// Format/Paragraph / Indents & Spacing ,
'/// + select Fixed lines in Line spacing
@@ -1112,8 +1112,8 @@ testcase tParagraphIndent16
'/// + You will find out the "He2 heard quiet steps"
'/// + isn't at the same line with the context left it .
'/// + There is a pic anchored "He2" .
- Call hFileOpen(sTestFile)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile )
+
'Get the original location for the pic
Call wTypeKeys ( "<Shift F4>" )
@@ -1171,8 +1171,8 @@ testcase tParagraphIndent17
'/// In Tools/Optionis/Text Document/Compatibility,
'/// + the 'Add spacing between paragarph and talbes'
'/// + should be checked
- Call hFileOpen(sTestFile1)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile1)
+
ToolsOptions
Call hToolsOptions("WRITER","COMPATIBILITY")
@@ -1193,8 +1193,8 @@ testcase tParagraphIndent17
'/// In Tools/Optionis/Text Document/Compatibility,
'/// + the 'Add spacing between paragarph and talbes'
'/// + should NOT be checked
- Call hFileOpen(sTestFile2)
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( sTestFile2)
+
ToolsOptions
Call hToolsOptions("WRITER","COMPATIBILITY")