~ubuntu-branches/ubuntu/oneiric/koffice/oneiric-updates

« back to all changes in this revision

Viewing changes to libs/kotext/opendocument/tests/data/TextContents/Paragraph/basicContents.qs

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
cursor.setBlockFormat(textBlockFormat);
6
6
cursor.insertText("This is a simple test message for paragraph content test case");
7
7
cursor.insertBlock(defaultBlockFormat);
8
 
cursor.insertText("This is a new paragraph, different from the previous line\nbut these two lines are in the same\n paragraph as the second line of this document.");
 
8
cursor.insertText("This is a new paragraph, different from the previous line");
 
9
cursor.insertText(SoftLineFeed);
 
10
cursor.insertText("but these two lines are in the same");
 
11
cursor.insertText(SoftLineFeed);
 
12
cursor.insertText(" paragraph as the second line of this document.");
9
13
 
10
14
cursor.insertBlock(defaultBlockFormat);
11
15
 
32
36
cursor.insertText(" Three   spaces with <text:s /> and one each at the start and end ");
33
37
 
34
38
cursor.insertBlock(defaultBlockFormat);
35
 
cursor.insertText("\n");
 
39
cursor.insertText(SoftLineFeed);
36
40
 
37
41
cursor.insertBlock(defaultBlockFormat);
38
42
cursor.insertText("One\ttab with <text:tab text:tab-ref=\"3\" /> to hint its size only. No worries for a layouting word processor.");
41
45
cursor.insertText("Three\t\t\ttabs with <text:tab/>.");
42
46
 
43
47
cursor.insertBlock(defaultBlockFormat);
44
 
cursor.insertText("\n");
45
 
 
46
 
cursor.insertBlock(defaultBlockFormat);
47
 
cursor.insertText("Three line breaks\n\n\n with <text:line-break/> end here.");
48
 
 
49
 
cursor.insertBlock(defaultBlockFormat);
50
 
 
51
 
cursor.insertBlock(defaultBlockFormat);
52
 
cursor.insertText("To check the following features, you should try moving the last words to the edge of a laid out line by typing or deleting text from the line \n");
 
48
cursor.insertText(SoftLineFeed);
 
49
 
 
50
cursor.insertBlock(defaultBlockFormat);
 
51
cursor.insertText("Three line breaks" + SoftLineFeed + SoftLineFeed + SoftLineFeed +
 
52
        " with <text:line-break/> end here.");
 
53
 
 
54
cursor.insertBlock(defaultBlockFormat);
 
55
 
 
56
cursor.insertBlock(defaultBlockFormat);
 
57
cursor.insertText("To check the following features, you should try moving the last words to the edge of a laid out line by typing or deleting text from the line " + SoftLineFeed);
53
58
 
54
59
cursor.insertBlock(defaultBlockFormat);
55
60
cursor.insertText("Soft Hyphen: The last word has a minus sign after \"recrea\" but the last but one word has a soft-hyphen at the same location: recrea\u00ADtion recrea-tion");