/[public]/psiconv/trunk/examples/Word
ViewVC logotype

Contents of /psiconv/trunk/examples/Word

Parent Directory Parent Directory | Revision Log Revision Log


Revision 239 - (show annotations)
Thu Mar 4 21:55:40 2004 UTC (20 years, 9 months ago) by frodo
File size: 7822 byte(s)
(Frodo) Bug fixes
  * Image colors correction (scale 0.0 to 1.0, instead of 0.0 to less-than 1.0)
  * Bullet and indentation docs update
  * Update version number

1 7mþŸU].
2 ”
3 dÈ"Times New RomanN123&Heading 1L"Times New Roman ð
4 < &Heading 2Lð"Times New Roman ð
5 < &Heading 3L ÿÿÿ:h3r h3r 
6 %*J%:1%T%B%D%M%Y%/0%1%/1%2%/2%3%/3_h
7 _vh3r ÐÐ   \cûefdvThis is the header, centered.This line is bold and italic\c’efºd$1:21am 03-02-2004ý‚.ÆA 5This is an example Word file. This first paragraph has no special lay-out: it uses style Normal, which is the base style.This is a Heading 1Heading 1 is 14 points bold, with some space before and after, and 'keep with next' on (this paragraph is in Normal style again)This paragraph has several character layouts. It contains bold, italic, underline and strikethrough in several combinations, and is quite unreadable...Now we will illustrate the fonts. Font handling is not yet optimal; if a font is unknown to AbiWord, there is no fall-back to another font. Psion font support depends on the printer driver. Here we have Times New Roman, Arial and Courier New fonts, all in 10 points. From another printerdriver, I got Courier, univers and CGTimes.Of course, many font sizes are supported. small fonts (4 pts), 6 points, 8 points, 10 points, 12, 14, 16, 18, 20, 22, 24, 38, 50 points. Note that the set of fontsizes supported by Psion Word and the fontsizes supported by AbiWord are not the same, so we use the nearest equivalent.Dark grey, light grey, even white text can easily be generated; but though the Word application does not support other colors (except black), the file format can handle 24 bit colors in RGBencoding.Finally, we have superscriptand subscript text. Now we have had all character-level encodings - except background color, a feature that is not available in the Word application, but again supported in the file format. Sorry, no example.Now it is time to show you some special character. Most Psions use the IBM 1252 encoding internally, so we have to translate all character. Let's try character 170 to 180 decimal: ª « ¬ ­ ® ¯ ° ± ² ³ ´ (high a, double <, hook, small minus, reserved sign, high line, degrees, plusminus, squared, cubed and accent acute). We also have many accents: äàáãâåLet's go to paragraphs. This one is centeredThis one is flushed rightThis one is fully justified, but I don't think this line is long enough to display it - or is it?Anyway, the previous text was left justifiedThis text is indented 6 cm left and 3 cm right, except for the first line which is indented 7 cm. 2 left, 3 centered, 4 right 3 normal tabs...Tabs in the above line. Psion only knows about left, centered and right tabs, but you can define their position and add regular spaced ones.Line spacing tricks. 4 pts above, 10 pts below, spacing at least 10 pts, keep together, keep with next, widow protection and start newpage.Borders. This is not yet possible in AbiWord, but we have a left black solid border, a right dark grey double border, a dotdashed light grey top bottom and a white dotdotdashed bottom border, all 1 cm around the text, on a light grey background!Bullet. This is a normal bulletThis is a Euro-sign bullet in dark grey, 10 pts, without indentation behind it. A 22 point reserved sign bullet, combined with indentations.No more bullets. Note that there are no numbered lists in the Psion world. Bullets are supported in AbiWord, but always represented as a filled dot. Left of this is an inserted sketch (picture).This line has a line breakthat does not end the paragraphas well as hard spacesA page break above here.By the way, this document has a header and a footer. In the footer, things like page numbers are used that should be translated into fields. That is not yet implemented.That's all folks!YqSketchôô–žÊOÓ^(žÿÿóÿþÿÿÿÿÀÿþÿÿþÿ?ÿÿÀ
8 ÿüü ÿþÿÿýÿüÿÿÀ ÿÿÿÿð ÿþÿÿþÿÿÿÀÿ÷?üÿÿü ÿþÿÿþ?ÀÿÿÀÿþÿÿü ÿþÏÿþüÿÿÿýðÿþ?ðÿÿüÿÿüÿþÿþüÿÿÿÿüÿþÀÿÿÀÿú?ðÿÿ?ðÿþÿÿÿÿÿþ?ðÿÿÿÿÿúüÿÿ?ðÿþüÿÿÿÿúðÿÿ?ðÿþüÿúüÿÿ?ðÿþüÿÀÿÿÿúðÿÿ?ðÿÿÿÿÿþ?ðÿþüÿÿÿÿúüÿÿüÿÿÿÿÀÿþ?ðÿþ?ðþüÿöÿÿ?üÿÿüÿÿÀÿÿÀÿû?üÿþ?ðþÿöÿÿ üÿÿüÿÿÀÿþ?ðÿÿ?ÿÀþ?ðü?ðÿöÿÿüÿÿüÿÿÀÿþüÿÿ?þ?ðüÿÀÿöÿÿÀüÿÿüÿÿÀÿÿÿû?ðÿÀþ?ðüÿÿðÿûÿ?ðÿüðüÿÿÀÿÿÿþüÿþ?ðüÿÿ?ðÿûÀÿüÿüððÿÿÀÿÿÀÿþüÿþ?ðüÿÿüÿûÀÿÿÿü?ðüÿþ?ðÿÿÀÿÿ?ÿþ?ðüÿÿüÿûÀÿÀÿÿþ?Àÿú?ðÿÿ?ðÿþ?ðýÿÿÿöÀ?ðÿüÿÿ?Àÿûüÿÿ?ðÿþüýÿÿÿöÀüÿüÿÿ?À ÿþ?ðÿþüýÿÿÀÿöÀüÿüÿÿ?À ÿþüÿþ?ÿýÿÿÀÿöÀÿÿ?ðÿÿ?ð ÿþüÿþÿÿýÿ?ðÿöÀÀÿÿ?ðÿÿ?ð ÿþ?ðÿþÿÿýÿÿüÿþðÿûüÿÿ?ð
9 ÿÿÀÿþÿÿÿþüÿþ?
10 ÿÿóÿþÿÿÿþüÿþüÿþÿÿÿÿÿÿÿþÿÿÿÿÀÿþÿÿÿÿóÿþÿÿèè}&Paint.app}‰ˆFý*
11 DÿÈ"Times New RomanÈ"Times New RomanÈ"Times New RomanÈ"Times New RomanJ
12 ¥7È"Times New Roman(kn¥ÜÈ"Times New Roman kÈ"Times New Roman
13 ( P
14 È  
15 kÈ"Times New Roman Yªªª
16 d
17 7ªªªÿÿÿUUUkÈ"Times New Roman kÿÿÿ
18 d
19 ªªªÿÿÿUUUk³•SwissÈ"Times New Roman
20 kÿÿÿ
21 d
22 ªªªÿÿÿUUUkȀUUUSwissÈ"Times New RomanYÿÿÿ
23 d
24 ªªªÿÿÿUUUkÈ"Times New RomankÿÿÿnÜ7
25 d
26 ªªªÿÿÿUUUk¸®SwissÈ"Times New Romanz˜
27 L Èíb-b1 Œ
28 ö P
29 >•0Yÿÿÿ
30 d
31 ªªªÿÿÿUUUk[ª1!!   !  )Ë"Times New Roman"Arial " Courier New;
32 "Courier
33 "Univers " CG Times"Times New Roman*"Times New RomanP"Times New Roman x"Times New RomanP"Times New Roman
34  "Times New Roman È"Times New Romanð"Times New Roman"Times New Roman@"Times New Romanh"Times New Roman"Times New Roman¸"Times New Romanà"Times New Romanø"Times New Romanè"Times New RomanšÈ"Times New Roman UUUÈ"Times New Roman ªªªÈ"Times New RomanÿÿÿÈ"Times New Roman¡È"Times New RomanÈ"Times New Roman
35 È"Times New RomanÄÈ"Times New RomanÈ"Times New RomanQÀYq/È"Times New Roman"Word.app C"ç¹CÙ‰P

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26