aodl /AODLTest/TestClass.cs

Language C# Lines 587
MD5 Hash f0d6b2220c7a1537a925bc719027cbc2
Repository https://bitbucket.org/chrisc/aodl View Raw File
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
 * 
 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
 * 
 * Use is subject to license terms.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0. You can also
 * obtain a copy of the License at http://odftoolkit.org/docs/license.txt
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * 
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 ************************************************************************/


using System;
using NUnit.Framework;
using AODL.TextDocument.Style;
using AODL.TextDocument.Style.Properties;
using AODL.TextDocument;
using AODL.TextDocument.Content;
using AODL.Publish;
using System.Xml;
using System.IO;
using System.Reflection;

namespace AODLTest
{
	/// <summary>
	/// Zusammenfassung für Class1.
	/// </summary>
	[TestFixture]
	public class TestClass
	{

		[SetUp]
		public void SetUp()
		{
		}

		[Test]
		public void NewTextDocument()
		{
			TextDocument td = new TextDocument();
			td.New();
			Assert.IsNotNull(td.XmlDoc, "Must exist!");
			//Console.WriteLine("Doc: {0}", td.XmlDoc.OuterXml);
		}

		[Test]
		public void ParagraphTest()
		{
			TextDocument td = new TextDocument();
			td.New();
			Paragraph p = new Paragraph(td, "P1");
			Assert.IsNotNull(p.Style, "Style object must exist!");
			Assert.AreEqual(p.Style.GetType().Name, "ParagraphStyle", "IStyle object must be type of ParagraphStyle");
			Assert.IsNotNull(((ParagraphStyle)p.Style).Properties, "Properties object must exist!");
			//add text
			p.TextContent.Add(new SimpleText(p, "HallO"));
			//Add the Paragraph
			td.Content.Add((IContent)p);
			//Blank para
			td.Content.Add(new Paragraph(td, ParentStyles.Standard.ToString()));
			// new para
			p = new Paragraph(td, "P2");
			p.TextContent.Add(new SimpleText(p, "Hallo"));
			td.Content.Add(p);
			td.SaveTo("parablank.odt");
			//Console.WriteLine("Document: {0}", td.XmlDoc.OuterXml);
		}

		[Test]
		public void ParagraphAddRemoveTest()
		{
			TextDocument td = new TextDocument();
			td.New();
			Paragraph p = new Paragraph(td, "P1");
			Assert.IsNotNull(p.Style, "Style object must exist!");
			Assert.AreEqual(p.Style.GetType().Name, "ParagraphStyle", "IStyle object must be type of ParagraphStyle");
			Assert.IsNotNull(((ParagraphStyle)p.Style).Properties, "Properties object must exist!");
			//add text
			p.TextContent.Add(new SimpleText(p, "Hello"));
			IText itext		= p.TextContent[0];
			p.TextContent.Remove(itext);
			//Console.Write(p.Node.Value);
			Assert.IsTrue(p.Node.InnerXml.IndexOf("Hello") == -1, "Must be removed!");
			//Add the Paragraph
			td.Content.Add((IContent)p);
			//Blank para
			td.Content.Add(new Paragraph(td, ParentStyles.Standard.ToString()));
			// new para
			p = new Paragraph(td, "P2");
			p.TextContent.Add(new SimpleText(p, "Hello i'm still here"));
			td.Content.Add(p);
			td.SaveTo("pararemoved.odt");
			//Console.WriteLine("Document: {0}", td.XmlDoc.OuterXml);
		}

		[Test]
		public void ParagraphContentTest()
		{
			TextDocument td		= new TextDocument();
			td.New();

			Paragraph p			= new Paragraph(td, "P1");
			((ParagraphStyle)p.Style).Properties.Alignment = TextAlignments.end.ToString();
			//Add some content
			p.TextContent.Add( new SimpleText((IContent)p, "Hallo i'm simple text!"));
			Assert.IsTrue(p.TextContent.Count > 0, "Must be greater than zero!");
			FormatedText ft = new FormatedText((IContent)p, "T1", " \"And < > &     i'm formated text!");
			((TextStyle)ft.Style).Properties.Bold = "bold";
			((TextStyle)ft.Style).Properties.Italic = "italic";
			((TextStyle)ft.Style).Properties.SetUnderlineStyles( 
				LineStyles.wave, LineWidths.bold.ToString(), "#A1B1C2");
//			((TextStyle)ft.Style).Properties.Underline = LineStyles.dotted;
//			((TextStyle)ft.Style).Properties.UnderlineColor = "font-color";
//			((TextStyle)ft.Style).Properties.UnderlineWidth = LineWidths.auto.ToString();
			p.TextContent.Add(ft);			
			Assert.IsTrue(p.TextContent.Count == 2, "Must be two!");
			//Add as document content 
			td.Content.Add(p);
			//Console.WriteLine(td.XmlDoc.OuterXml);
			//Generate and save
			td.SaveTo("ParagraphTest.odt");
		}

		[Test]
		public void ParagraphTextPropertiesTest()
		{
			TextDocument td						= new TextDocument();
			td.New();

			Paragraph p							= new Paragraph(td, "P1");
			//justify
			((ParagraphStyle)p.Style).Properties.Alignment	= TextAlignments.justify.ToString();
			//Set complet paragraph to italic
			((ParagraphStyle)p.Style).Textproperties.Italic		= "italic";
			((ParagraphStyle)p.Style).Textproperties.FontName	= FontFamilies.BroadwayBT;
			((ParagraphStyle)p.Style).Textproperties.FontSize	= "18pt";

			//add simple text
			// use \n to insert a linebreak !!
			p.TextContent.Add( new SimpleText(p, @"A \nloooooooooooooooooooooooooooooooooooooooong texxxxxxxxxxxxxxxt. A reaaaaaaaaaaalllly looooooooong teeeeeeeeeexxxxxxt"));

			//add paragraph
			td.Content.Add(p);

			//Blank paragraph
			Paragraph p2						= new Paragraph(td, "P2");
			p2.TextContent.Add(new SimpleText(p2, ""));
			td.Content.Add(p2);

			Paragraph p3						= new Paragraph(td, "P3");
			p3.TextContent.Add(new SimpleText(p3, "Hello"));
			td.Content.Add(p3);

			td.SaveTo("ParagraphTextProp.odt");
		}

		[Test]
		public void ColorTest()
		{
			Assert.AreEqual("#0000ff", Colors.GetColor(System.Drawing.Color.Blue),
				"Must be equal");
			//Console.WriteLine("Blue : {0}", Colors.GetColor(System.Drawing.Color.Blue));
		}

		[Test]
		public void LetterTestLongVersion()
		{
			string[] address		= new string[] {"Max Mustermann","Mustermann Str. 300","22222 Hamburg"};
			string[] recipient  = new string[] {"Heinz Willi", "Dorfstr. 1", @"22225 Hamburg\n\n"};
			string betreff		= @"Offer for 200 Intel Pentium 4 CPU's\n\n";
			string bodyheader	= "Dear Mr. Willi,";
			string[] bodytext	= new string[] {
									  @"thank you for your request. We can offer you the 200 Intel Pentium IV 3 Ghz CPU's for a price of 79,80 € per unit.",
									  @"This special offer < & >; is valid to 31.10.2005. If you accept, we can deliver within 24 hours.\n\n\n"
								  };
			string regards		= @"Best regards \nMax Mustermann";

			TextDocument td		= new TextDocument();
			td.New();

			for(int i=0; i < address.Length; i++)
			{
				Paragraph p		= new Paragraph(td, "Pa"+i.ToString());				
				p.TextContent.Add(new SimpleText(p, address[i]));
				td.Content.Add(p);
			}

			td.Content.Add(new Paragraph(td, ParentStyles.Standard.ToString()));

			for(int i=0; i < recipient.Length; i++)
			{
				Paragraph p		= new Paragraph(td, "Pr"+i.ToString());				
				p.TextContent.Add(new SimpleText(p, recipient[i]));
				td.Content.Add(p);
			}

			td.Content.Add(new Paragraph(td, ParentStyles.Standard.ToString()));

			Paragraph pb		= new Paragraph(td, "Pb");
			pb.TextContent.Add(new SimpleText(pb, betreff));
			td.Content.Add(pb);

			pb		= new Paragraph(td, "Pan");
			pb.TextContent.Add(new SimpleText(pb, bodyheader));
			td.Content.Add(pb);

			for(int i=0; i < bodytext.Length; i++)
			{
				Paragraph p		= new Paragraph(td, "Pr"+i.ToString());
				((ParagraphStyle)p.Style).Properties.Alignment = TextAlignments.justify.ToString();
				p.TextContent.Add(new SimpleText(p, bodytext[i]));
				td.Content.Add(p);
			}

			td.Content.Add(new Paragraph(td, ParentStyles.Standard.ToString()));

			pb		= new Paragraph(td, "PReg");
			pb.TextContent.Add(new SimpleText(pb, regards));
			td.Content.Add(pb);

			td.SaveTo("OfferLongVersion.odt");

			MetaData metaData			= new MetaData();
			metaData.DisplyMetaData(td);
		}

		[Test]
		public void LetterTestShortVersion()
		{
			string[] address		= new string[] {"Max Mustermann","Mustermann Str. 300","22222 Hamburg"};
			string[] recipient  = new string[] {"Heinz Willi", "Dorfstr. 1", @"22225 Hamburg\n\n"};
			string betreff		= @"Offer for 200 Intel Pentium 4 CPU's\n\n";
			string bodyheader	= "Dear Mr. Willi,";
			string[] bodytext	= new string[] {
												   @"thank you for your request. We can offer you the 200 Intel Pentium IV 3 Ghz CPU's for a price of 79,80 € per unit.",
												   @"This special offer is valid to 31.10.2005. If you accept, we can deliver within 24 hours.\n\n\n"
											   };
			string regards		= @"Best regards \nMax Mustermann";

			TextDocument td		= new TextDocument();
			td.New();

			for(int i=0; i < address.Length; i++)
				td.Content.Add(new Paragraph(td, ParentStyles.Standard, address[i]));

			td.Content.Add(new Paragraph(td, ParentStyles.Standard.ToString()));

			for(int i=0; i < recipient.Length; i++)
				td.Content.Add(new Paragraph(td, ParentStyles.Standard, recipient[i]));

			td.Content.Add(new Paragraph(td, ParentStyles.Standard.ToString()));
			td.Content.Add(new Paragraph(td, ParentStyles.Standard, betreff));
			td.Content.Add(new Paragraph(td, ParentStyles.Standard, bodyheader));
			
			for(int i=0; i < bodytext.Length; i++)
			{
				Paragraph p		= new Paragraph(td, "Pb"+i.ToString());
				((ParagraphStyle)p.Style).Properties.Alignment = TextAlignments.justify.ToString();
				p.TextContent.Add(new SimpleText(p, bodytext[i]));
				td.Content.Add(p);
			}

			td.Content.Add(new Paragraph(td, ParentStyles.Standard.ToString()));
			td.Content.Add(new Paragraph(td, ParentStyles.Standard, regards));

			td.SaveTo("OfferShortVersion.odt");
		}

		[Test]
		public void AllFonts()
		{
			Type fontfamiliestype	= typeof(FontFamilies);
			foreach(MemberInfo mi in fontfamiliestype.GetMembers())
				Console.WriteLine(mi.Name+"<br>");
		}

		[Test]
		public void TabstopTest()
		{
			//Create new document
			TextDocument document		= new TextDocument();
			document.New();
			//Create new paragraph
			Paragraph par				= new Paragraph(document, "P1");
			//Create a new TabStopStyle collection
			TabStopStyleCollection tsc	= new TabStopStyleCollection(document);
			//Create TabStopStyles
			TabStopStyle ts				= new TabStopStyle(document, 4.98);
			ts.LeaderStyle				= TabStopLeaderStyles.Dotted;
			ts.LeaderText				= ".";
			ts.Type						= TabStopTypes.Center;
			//Add the tabstop
			tsc.Add(ts);
			//Append the TabStopStyleCollection
			((ParagraphStyle)par.Style).Properties.TabStopStyleCollection = tsc;
			//Add some text, use @ qualifier when ever you use control chars!
			string mytebstoptext		= @"Hello\tHello again";
			SimpleText stext			= new SimpleText(par, mytebstoptext);
			//the simple text
			par.TextContent.Add(stext);
			//Add the paragraph to the content container
			document.Content.Add(par);
			//Save
			document.SaveTo("tabstop.odt");
		}

		[Test]
		public void BookmarkTest()
		{
			//Create a new TextDocument
			TextDocument document		= new TextDocument();
			document.New();
			//Create a new Paragraph
			Paragraph para				= new Paragraph(document, "P1");
			//Create simple text
			SimpleText stext			= new SimpleText(para, "Some text here");
			//add the simple text
			para.TextContent.Add(stext);
			//add the paragraph
			document.Content.Add(para);
			//add a blank paragraph
			document.Content.Add(new Paragraph(document, ParentStyles.Standard.ToString()));
			//Create a new Paragraph
			para						= new Paragraph(document, "P2");
			//add some simple text
			para.TextContent.Add(new SimpleText(para, "some simple text"));
			//create a new standard bookmark
			Bookmark bookmark			= new Bookmark(para, BookmarkType.Standard, "address");
			//add bookmark to the paragraph
			para.TextContent.Add(bookmark);
			//add the paragraph to the document
			document.Content.Add(para);

			//create a paragraph, with a bookmark range Start -> End
			para						= new Paragraph(document, "P3");
			bookmark					= new Bookmark(para, BookmarkType.Start, "address2");
			//add bookmark to the paragraph
			para.TextContent.Add(bookmark);
			//add some simple text
			para.TextContent.Add(new SimpleText(para, "more text"));
			//create a new end bookmark
			bookmark			= new Bookmark(para, BookmarkType.End, "address2");
			//add bookmark to the paragraph, so the encapsulated bookmark text is "more text"
			para.TextContent.Add(bookmark);
			//add the paragraph to the document content
			document.Content.Add(para);
			//save
			document.SaveTo("bookmark.odt");
		}

		[Test]
		public void XLinkTest()
		{
			//Create new TextDocument
			TextDocument document		= new TextDocument();
			document.New();
			//Create a new Paragraph
			Paragraph para				= new Paragraph(document, "P1");
			//Create some simple text
			SimpleText stext			= new SimpleText(para, "Some simple text");
			//Create a XLink
			XLink xlink					= new XLink(para, "http://www.sourceforge.net", "Sourceforge");
			//Add the textcontent
			para.TextContent.Add(stext);
			para.TextContent.Add(xlink);
			//Add paragraph to the document content
			document.Content.Add(para);
			//Save
			document.SaveTo("XLink.odt");
		}

		[Test]
		public void FootnoteText()
		{
			//Create new TextDocument
			TextDocument document		= new TextDocument();
			document.New();
			//Create a new Paragph
			Paragraph para				= new Paragraph(document, "P1");
			//Create some simple Text
			SimpleText stext			= new SimpleText(para, "Some simple text. And I have a footnode");
			//Create a Footnote
			Footnote fnote				= new Footnote(para, "Footer \"     Text", "1", FootnoteType.footnode);
			//Add the text content
			para.TextContent.Add(stext);
			para.TextContent.Add(fnote);
			//Add the paragraph
			document.Content.Add(para);
			//Save
			document.SaveTo("footnote.odt");
		}

		[Test]
		public void FooterAndHeader()
		{
			//Create a new document
			TextDocument td		= new TextDocument();
			td.New();
			//Create a new paragraph
			Paragraph p			= new Paragraph(td, "P1");
			//Create some formated text
			FormatedText ftext	= new FormatedText(p, "F1", "Im the Header");
			((TextStyle)ftext.Style).Properties.Italic = "italic";
			//add the text
			p.TextContent.Add(ftext);
			//Insert paragraph as header
			td.InsertHeader(p);
			//New paragraph 
			p					= new Paragraph(td, ParentStyles.Standard,
				"I'm the Footer");
			//Insert paragraph as footer
			td.InsertFooter(p);
			//Save
			td.SaveTo("Header_Footer.odt");
		}

		[Test]
		public void NewTextAndParagraphProps()
		{
			//Create a new TextDocument
			TextDocument document		= new TextDocument();
			document.New();
			//Create new Paragraph
			Paragraph paragraph			= new Paragraph(document, "P1");
			//Create paragraph border
			((ParagraphStyle)paragraph.Style).Properties.Border =
				Border.MiddleSolid;
			//Set line spacing to double
			((ParagraphStyle)paragraph.Style).Properties.LineSpacing =
				ParagraphHelper.LineDouble;
			//Create some formated text
			FormatedText ftext			= new FormatedText(paragraph, "T1", @"Outline\n");
			//Set text as Outline
			((TextStyle)ftext.Style).Properties.Outline		= "true";
			//Add to paragraph
			paragraph.TextContent.Add(ftext);
			//Create some formated text
			ftext						= new FormatedText(paragraph, "T2", @"Colored\n");
			//Set font color
			((TextStyle)ftext.Style).Properties.FontColor	= Colors.GetColor(System.Drawing.Color.Cyan);
			//Add to paragraph
			paragraph.TextContent.Add(ftext);
			//Create some formated text
			ftext						= new FormatedText(paragraph, "T3", @"Backcolor\n");
			//Set background color
			((TextStyle)ftext.Style).Properties.BackgroundColor	= Colors.GetColor(System.Drawing.Color.Cyan);
			//Add to paragraph
			paragraph.TextContent.Add(ftext);
			//Create some formated text
			ftext						= new FormatedText(paragraph, "T4", @"Shadow\n");
			//Set shadow
			((TextStyle)ftext.Style).Properties.Shadow		= TextPropertieHelper.Shadowmidlle;
			//Add to paragraph
			paragraph.TextContent.Add(ftext);
			//Create some formated text
			ftext						= new FormatedText(paragraph, "T5", @"Subscript\n");
			//Set subscript
			((TextStyle)ftext.Style).Properties.Position	= TextPropertieHelper.Subscript;
			//Add to paragraph
			paragraph.TextContent.Add(ftext);
			//Create some formated text
			ftext						= new FormatedText(paragraph, "T6", @"Superscript\n");
			//Set superscript
			((TextStyle)ftext.Style).Properties.Position	= TextPropertieHelper.Superscript;
			//Add to paragraph
			paragraph.TextContent.Add(ftext);
			//Create some formated text
			ftext						= new FormatedText(paragraph, "T7", @"Strice through\n");
			//Set superscript
			((TextStyle)ftext.Style).Properties.TextLineThrough = LineStyles.solid;
			//Add to paragraph
			paragraph.TextContent.Add(ftext);
			//finally add paragraph to the document
			document.Content.Add(paragraph);
			//Save the document
			document.SaveTo("NewProperties.odt");
		}

		[Test]
		public void HeadingsTest()
		{
			//Create a new text document
			TextDocument document		= new TextDocument();
			document.New();
			//Create a new Heading
			Header header				= new Header(document, Headings.Heading, "\"I'm the\n first   Headline!\"");
			//Add header
			document.Content.Add(header);
			document.SaveTo("Heading.odt");
		}

		[Test]
		public void WhiteSpaceTest()
		{
			//Create new TextDocument
			TextDocument document		= new TextDocument();
			document.New();
			//Create a new Paragraph
			Paragraph para				= new Paragraph(document, "P1");
			//Create some simple text with whitespaces
			SimpleText stext			= new SimpleText(para, "Some simple text add 12 whitespace         \"and go on.");			
			//Add the textcontent
			para.TextContent.Add(stext);
			//Add paragraph to the document content
			document.Content.Add(para);
			//Save
			document.SaveTo("Whitespaces.odt");
		}

	}
}

/*
 * $Log: TestClass.cs,v $
 * Revision 1.2  2008/04/29 15:39:59  mt
 * new copyright header
 *
 * Revision 1.1  2007/02/25 09:01:28  larsbehr
 * initial checkin, import from Sourceforge.net to OpenOffice.org
 *
 * Revision 1.13  2005/12/18 18:29:46  larsbm
 * - AODC Gui redesign
 * - AODC HTML exporter refecatored
 * - Full Meta Data Support
 * - Increase textprocessing performance
 *
 * Revision 1.12  2005/12/12 19:39:16  larsbm
 * - Added Paragraph Header
 * - Added Table Row Header
 * - Fixed some bugs
 * - better whitespace handling
 * - Implmemenation of HTML Exporter
 *
 * Revision 1.11  2005/11/23 19:18:17  larsbm
 * - New Textproperties
 * - New Paragraphproperties
 * - New Border Helper
 * - Textproprtie helper
 *
 * Revision 1.10  2005/11/22 21:09:19  larsbm
 * - Add simple header and footer support
 *
 * Revision 1.9  2005/11/20 19:30:23  larsbm
 * - Added Foot- and Endnote support
 *
 * Revision 1.8  2005/11/20 17:31:20  larsbm
 * - added suport for XLinks, TabStopStyles
 * - First experimental of loading dcuments
 * - load and save via importer and exporter interfaces
 *
 * Revision 1.7  2005/10/23 16:47:48  larsbm
 * - Bugfix ListItem throws IStyleInterface not implemented exeption
 * - now. build the document after call saveto instead prepare the do at runtime
 * - add remove support for IText objects in the paragraph class
 *
 * Revision 1.6  2005/10/23 09:17:20  larsbm
 * - Release 1.0.3.0
 *
 * Revision 1.5  2005/10/22 15:52:10  larsbm
 * - Changed some styles from Enum to Class with statics
 * - Add full support for available OpenOffice fonts
 *
 * Revision 1.4  2005/10/09 15:52:47  larsbm
 * - Changed some design at the paragraph usage
 * - add list support
 *
 * Revision 1.3  2005/10/08 12:31:33  larsbm
 * - better usabilty of paragraph handling
 * - create paragraphs with text and blank paragraphs with one line of code
 *
 * Revision 1.2  2005/10/08 07:50:15  larsbm
 * - added cvs tags
 *
 */
Back to Top