Browse Source

Merge pull request #34 in CORE/base-third from ~KERRY/base-third:feature/10.0 to feature/10.0

* commit '8d8bc3dedf7ef29e6aa334bedc32e646c7c0f71e':
  REPORT-6702 解析html中的元素, 获取样式并绘制, 计算分页
10.0
superman 7 years ago
parent
commit
043838a9ce
  1. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/Anchor.java
  2. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/Annotation.java
  3. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/BadElementException.java
  4. 48
      fine-itext/src/com/fr/third/v2/lowagie/text/Cell.java
  5. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/Chapter.java
  6. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/ChapterAutoNumber.java
  7. 14
      fine-itext/src/com/fr/third/v2/lowagie/text/Chunk.java
  8. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/DocListener.java
  9. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/DocWriter.java
  10. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/Document.java
  11. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/DocumentException.java
  12. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/Element.java
  13. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/ElementListener.java
  14. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/ElementTags.java
  15. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/ExceptionConverter.java
  16. 6
      fine-itext/src/com/fr/third/v2/lowagie/text/Font.java
  17. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/FontFactory.java
  18. 6
      fine-itext/src/com/fr/third/v2/lowagie/text/FontFactoryImp.java
  19. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/GreekList.java
  20. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/Header.java
  21. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/HeaderFooter.java
  22. 46
      fine-itext/src/com/fr/third/v2/lowagie/text/Image.java
  23. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/ImgCCITT.java
  24. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/ImgJBIG2.java
  25. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/ImgRaw.java
  26. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/ImgTemplate.java
  27. 8
      fine-itext/src/com/fr/third/v2/lowagie/text/ImgWMF.java
  28. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/Jpeg.java
  29. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/Jpeg2000.java
  30. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/LargeElement.java
  31. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/List.java
  32. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/ListItem.java
  33. 0
      fine-itext/src/com/fr/third/v2/lowagie/text/MPL-1.1.txt
  34. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/MarkedObject.java
  35. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/MarkedSection.java
  36. 28
      fine-itext/src/com/fr/third/v2/lowagie/text/Meta.java
  37. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/PageSize.java
  38. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/Paragraph.java
  39. 42
      fine-itext/src/com/fr/third/v2/lowagie/text/Phrase.java
  40. 6
      fine-itext/src/com/fr/third/v2/lowagie/text/Rectangle.java
  41. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/RectangleReadOnly.java
  42. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/RomanList.java
  43. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/Row.java
  44. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/RtfElementInterface.java
  45. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/Section.java
  46. 10
      fine-itext/src/com/fr/third/v2/lowagie/text/SimpleCell.java
  47. 10
      fine-itext/src/com/fr/third/v2/lowagie/text/SimpleTable.java
  48. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/SpecialSymbol.java
  49. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/SplitCharacter.java
  50. 26
      fine-itext/src/com/fr/third/v2/lowagie/text/Table.java
  51. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/TextElementArray.java
  52. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/Utilities.java
  53. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/ZapfDingbatsList.java
  54. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/ZapfDingbatsNumberList.java
  55. 0
      fine-itext/src/com/fr/third/v2/lowagie/text/apache_license.txt
  56. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/exceptions/BadPasswordException.java
  57. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/exceptions/IllegalPdfSyntaxException.java
  58. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/exceptions/InvalidPdfException.java
  59. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/exceptions/UnsupportedPdfException.java
  60. 40
      fine-itext/src/com/fr/third/v2/lowagie/text/factories/ElementFactory.java
  61. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/factories/GreekAlphabetFactory.java
  62. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/factories/RomanAlphabetFactory.java
  63. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/factories/RomanNumberFactory.java
  64. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/html/HtmlEncoder.java
  65. 9
      fine-itext/src/com/fr/third/v2/lowagie/text/html/HtmlParser.java
  66. 6
      fine-itext/src/com/fr/third/v2/lowagie/text/html/HtmlPeer.java
  67. 6
      fine-itext/src/com/fr/third/v2/lowagie/text/html/HtmlTagMap.java
  68. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/html/HtmlTags.java
  69. 56
      fine-itext/src/com/fr/third/v2/lowagie/text/html/HtmlWriter.java
  70. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/html/Markup.java
  71. 18
      fine-itext/src/com/fr/third/v2/lowagie/text/html/SAXmyHtmlHandler.java
  72. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/html/WebColors.java
  73. 5
      fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/ALink.java
  74. 5
      fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/ChainedProperties.java
  75. 28
      fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/FactoryProperties.java
  76. 44
      fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/HTMLWorker.java
  77. 7
      fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/ImageProvider.java
  78. 6
      fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/Img.java
  79. 14
      fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/IncCell.java
  80. 6
      fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/IncTable.java
  81. 5
      fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/StyleSheet.java
  82. 0
      fine-itext/src/com/fr/third/v2/lowagie/text/lgpl.txt
  83. 0
      fine-itext/src/com/fr/third/v2/lowagie/text/misc_licenses.txt
  84. 15
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/AcroFields.java
  85. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/ArabicLigaturizer.java
  86. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/AsianFontMapper.java
  87. 2
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BadPdfFormatException.java
  88. 9
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/Barcode.java
  89. 10
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/Barcode128.java
  90. 8
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/Barcode39.java
  91. 8
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodeCodabar.java
  92. 8
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodeDatamatrix.java
  93. 6
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodeEAN.java
  94. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodeEANSUPP.java
  95. 8
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodeInter25.java
  96. 8
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodePDF417.java
  97. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodePostnet.java
  98. 8
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BaseField.java
  99. 6
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BaseFont.java
  100. 6
      fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BidiLine.java
  101. Some files were not shown because too many files have changed in this diff Show More

4
fine-itext/src/com/third/v2/lowagie/text/Anchor.java → fine-itext/src/com/fr/third/v2/lowagie/text/Anchor.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import java.net.URL; import java.net.URL;
@ -246,7 +246,7 @@ public class Anchor extends Phrase {
* @return a type * @return a type
*/ */
public int type() { public int type() {
return Element.ANCHOR; return ANCHOR;
} }
// methods // methods

2
fine-itext/src/com/third/v2/lowagie/text/Annotation.java → fine-itext/src/com/fr/third/v2/lowagie/text/Annotation.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.net.URL; import java.net.URL;
import java.util.ArrayList; import java.util.ArrayList;

2
fine-itext/src/com/third/v2/lowagie/text/BadElementException.java → fine-itext/src/com/fr/third/v2/lowagie/text/BadElementException.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* Signals an attempt to create an <CODE>Element</CODE> that hasn't got the right form. * Signals an attempt to create an <CODE>Element</CODE> that hasn't got the right form.

48
fine-itext/src/com/third/v2/lowagie/text/Cell.java → fine-itext/src/com/fr/third/v2/lowagie/text/Cell.java

@ -47,12 +47,12 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import com.third.v2.lowagie.text.pdf.PdfPCell; import com.fr.third.v2.lowagie.text.pdf.PdfPCell;
/** /**
* A <CODE>Cell</CODE> is a <CODE>Rectangle</CODE> containing other * A <CODE>Cell</CODE> is a <CODE>Rectangle</CODE> containing other
@ -100,10 +100,10 @@ public class Cell extends Rectangle implements TextElementArray {
protected ArrayList arrayList = null; protected ArrayList arrayList = null;
/** The horizontal alignment of the cell content. */ /** The horizontal alignment of the cell content. */
protected int horizontalAlignment = Element.ALIGN_UNDEFINED; protected int horizontalAlignment = ALIGN_UNDEFINED;
/** The vertical alignment of the cell content. */ /** The vertical alignment of the cell content. */
protected int verticalAlignment = Element.ALIGN_UNDEFINED; protected int verticalAlignment = ALIGN_UNDEFINED;
/** /**
* The width of the cell as a String. * The width of the cell as a String.
@ -239,7 +239,7 @@ public class Cell extends Rectangle implements TextElementArray {
* @return a type * @return a type
*/ */
public int type() { public int type() {
return Element.CELL; return CELL;
} }
/** /**
@ -560,13 +560,13 @@ public class Cell extends Rectangle implements TextElementArray {
case 1: case 1:
Element element = (Element) arrayList.get(0); Element element = (Element) arrayList.get(0);
switch (element.type()) { switch (element.type()) {
case Element.CHUNK: case CHUNK:
return ((Chunk) element).isEmpty(); return ((Chunk) element).isEmpty();
case Element.ANCHOR: case ANCHOR:
case Element.PHRASE: case PHRASE:
case Element.PARAGRAPH: case PARAGRAPH:
return ((Phrase) element).isEmpty(); return ((Phrase) element).isEmpty();
case Element.LIST: case LIST:
return ((List) element).isEmpty(); return ((List) element).isEmpty();
} }
return false; return false;
@ -591,7 +591,7 @@ public class Cell extends Rectangle implements TextElementArray {
*/ */
public boolean isTable() { public boolean isTable() {
return (size() == 1) return (size() == 1)
&& (((Element)arrayList.get(0)).type() == Element.TABLE); && (((Element)arrayList.get(0)).type() == TABLE);
} }
/** /**
@ -613,11 +613,11 @@ public class Cell extends Rectangle implements TextElementArray {
return; return;
} }
switch(element.type()) { switch(element.type()) {
case Element.LISTITEM: case LISTITEM:
case Element.ROW: case ROW:
case Element.CELL: case CELL:
throw new BadElementException("You can't add listitems, rows or cells to a cell."); throw new BadElementException("You can't add listitems, rows or cells to a cell.");
case Element.LIST: case LIST:
List list = (List)element; List list = (List)element;
if (Float.isNaN(leading)) { if (Float.isNaN(leading)) {
setLeading(list.getTotalLeading()); setLeading(list.getTotalLeading());
@ -625,9 +625,9 @@ public class Cell extends Rectangle implements TextElementArray {
if (list.isEmpty()) return; if (list.isEmpty()) return;
arrayList.add(element); arrayList.add(element);
return; return;
case Element.ANCHOR: case ANCHOR:
case Element.PARAGRAPH: case PARAGRAPH:
case Element.PHRASE: case PHRASE:
Phrase p = (Phrase)element; Phrase p = (Phrase)element;
if (Float.isNaN(leading)) { if (Float.isNaN(leading)) {
setLeading(p.getLeading()); setLeading(p.getLeading());
@ -635,24 +635,24 @@ public class Cell extends Rectangle implements TextElementArray {
if (p.isEmpty()) return; if (p.isEmpty()) return;
arrayList.add(element); arrayList.add(element);
return; return;
case Element.CHUNK: case CHUNK:
if (((Chunk) element).isEmpty()) return; if (((Chunk) element).isEmpty()) return;
arrayList.add(element); arrayList.add(element);
return; return;
case Element.TABLE: case TABLE:
Table table = new Table(3); Table table = new Table(3);
float[] widths = new float[3]; float[] widths = new float[3];
widths[1] = ((Table)element).getWidth(); widths[1] = ((Table)element).getWidth();
switch(((Table)element).getAlignment()) { switch(((Table)element).getAlignment()) {
case Element.ALIGN_LEFT: case ALIGN_LEFT:
widths[0] = 0f; widths[0] = 0f;
widths[2] = 100f - widths[1]; widths[2] = 100f - widths[1];
break; break;
case Element.ALIGN_CENTER: case ALIGN_CENTER:
widths[0] = (100f - widths[1]) / 2f; widths[0] = (100f - widths[1]) / 2f;
widths[2] = widths[0]; widths[2] = widths[0];
break; break;
case Element.ALIGN_RIGHT: case ALIGN_RIGHT:
widths[0] = 100f - widths[1]; widths[0] = 100f - widths[1];
widths[2] = 0f; widths[2] = 0f;
} }
@ -737,7 +737,7 @@ public class Cell extends Rectangle implements TextElementArray {
cell.setNoWrap(getMaxLines() == 1); cell.setNoWrap(getMaxLines() == 1);
for (Iterator i = getElements(); i.hasNext(); ) { for (Iterator i = getElements(); i.hasNext(); ) {
Element e = (Element)i.next(); Element e = (Element)i.next();
if (e.type() == Element.PHRASE || e.type() == Element.PARAGRAPH) { if (e.type() == PHRASE || e.type() == PARAGRAPH) {
Paragraph p = new Paragraph((Phrase)e); Paragraph p = new Paragraph((Phrase)e);
p.setAlignment(horizontalAlignment); p.setAlignment(horizontalAlignment);
e = p; e = p;

2
fine-itext/src/com/third/v2/lowagie/text/Chapter.java → fine-itext/src/com/fr/third/v2/lowagie/text/Chapter.java

@ -48,7 +48,7 @@
* *
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.util.ArrayList; import java.util.ArrayList;

2
fine-itext/src/com/third/v2/lowagie/text/ChapterAutoNumber.java → fine-itext/src/com/fr/third/v2/lowagie/text/ChapterAutoNumber.java

@ -45,7 +45,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* Chapter with auto numbering. * Chapter with auto numbering.

14
fine-itext/src/com/third/v2/lowagie/text/Chunk.java → fine-itext/src/com/fr/third/v2/lowagie/text/Chunk.java

@ -47,18 +47,18 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.awt.Color; import java.awt.Color;
import java.net.URL; import java.net.URL;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import com.third.v2.lowagie.text.pdf.HyphenationEvent; import com.fr.third.v2.lowagie.text.pdf.PdfAction;
import com.third.v2.lowagie.text.pdf.PdfAction; import com.fr.third.v2.lowagie.text.pdf.PdfContentByte;
import com.third.v2.lowagie.text.pdf.PdfAnnotation; import com.fr.third.v2.lowagie.text.pdf.HyphenationEvent;
import com.third.v2.lowagie.text.pdf.PdfContentByte; import com.fr.third.v2.lowagie.text.pdf.PdfAnnotation;
import com.third.v2.lowagie.text.pdf.draw.DrawInterface; import com.fr.third.v2.lowagie.text.pdf.draw.DrawInterface;
/** /**
* This is the smallest significant part of text that can be added to a * This is the smallest significant part of text that can be added to a
@ -307,7 +307,7 @@ public class Chunk implements Element {
* @return a type * @return a type
*/ */
public int type() { public int type() {
return CHUNK; return Element.CHUNK;
} }
/** /**

2
fine-itext/src/com/third/v2/lowagie/text/DocListener.java → fine-itext/src/com/fr/third/v2/lowagie/text/DocListener.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* A class that implements <CODE>DocListener</CODE> will perform some * A class that implements <CODE>DocListener</CODE> will perform some

4
fine-itext/src/com/third/v2/lowagie/text/DocWriter.java → fine-itext/src/com/fr/third/v2/lowagie/text/DocWriter.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.io.BufferedOutputStream; import java.io.BufferedOutputStream;
import java.io.IOException; import java.io.IOException;
@ -55,7 +55,7 @@ import java.io.OutputStream;
import java.util.Iterator; import java.util.Iterator;
import java.util.Properties; import java.util.Properties;
import com.third.v2.lowagie.text.pdf.OutputStreamCounter; import com.fr.third.v2.lowagie.text.pdf.OutputStreamCounter;
/** /**
* An abstract <CODE>Writer</CODE> class for documents. * An abstract <CODE>Writer</CODE> class for documents.

2
fine-itext/src/com/third/v2/lowagie/text/Document.java → fine-itext/src/com/fr/third/v2/lowagie/text/Document.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.ArrayList; import java.util.ArrayList;

2
fine-itext/src/com/third/v2/lowagie/text/DocumentException.java → fine-itext/src/com/fr/third/v2/lowagie/text/DocumentException.java

@ -48,7 +48,7 @@
* *
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* Signals that an error has occurred in a <CODE>Document</CODE>. * Signals that an error has occurred in a <CODE>Document</CODE>.

2
fine-itext/src/com/third/v2/lowagie/text/Element.java → fine-itext/src/com/fr/third/v2/lowagie/text/Element.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.util.ArrayList; import java.util.ArrayList;

2
fine-itext/src/com/third/v2/lowagie/text/ElementListener.java → fine-itext/src/com/fr/third/v2/lowagie/text/ElementListener.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.util.EventListener; import java.util.EventListener;

2
fine-itext/src/com/third/v2/lowagie/text/ElementTags.java → fine-itext/src/com/fr/third/v2/lowagie/text/ElementTags.java

@ -50,7 +50,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* A class that contains all the possible tagnames and their attributes. * A class that contains all the possible tagnames and their attributes.

2
fine-itext/src/com/third/v2/lowagie/text/ExceptionConverter.java → fine-itext/src/com/fr/third/v2/lowagie/text/ExceptionConverter.java

@ -51,7 +51,7 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* The ExceptionConverter changes a checked exception into an * The ExceptionConverter changes a checked exception into an

6
fine-itext/src/com/third/v2/lowagie/text/Font.java → fine-itext/src/com/fr/third/v2/lowagie/text/Font.java

@ -47,12 +47,12 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.awt.Color; import java.awt.Color;
import com.third.v2.lowagie.text.html.Markup; import com.fr.third.v2.lowagie.text.html.Markup;
import com.third.v2.lowagie.text.pdf.BaseFont; import com.fr.third.v2.lowagie.text.pdf.BaseFont;
/** /**
* Contains all the specifications of a font: fontfamily, size, style and color. * Contains all the specifications of a font: fontfamily, size, style and color.

4
fine-itext/src/com/third/v2/lowagie/text/FontFactory.java → fine-itext/src/com/fr/third/v2/lowagie/text/FontFactory.java

@ -47,13 +47,13 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.awt.Color; import java.awt.Color;
import java.util.Properties; import java.util.Properties;
import java.util.Set; import java.util.Set;
import com.third.v2.lowagie.text.pdf.BaseFont; import com.fr.third.v2.lowagie.text.pdf.BaseFont;
/** /**
* If you are using True Type fonts, you can declare the paths of the different ttf- and ttc-files * If you are using True Type fonts, you can declare the paths of the different ttf- and ttc-files

6
fine-itext/src/com/third/v2/lowagie/text/FontFactoryImp.java → fine-itext/src/com/fr/third/v2/lowagie/text/FontFactoryImp.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.awt.Color; import java.awt.Color;
import java.io.File; import java.io.File;
@ -59,8 +59,8 @@ import java.util.Iterator;
import java.util.Properties; import java.util.Properties;
import java.util.Set; import java.util.Set;
import com.third.v2.lowagie.text.html.Markup; import com.fr.third.v2.lowagie.text.html.Markup;
import com.third.v2.lowagie.text.pdf.BaseFont; import com.fr.third.v2.lowagie.text.pdf.BaseFont;
/** /**
* If you are using True Type fonts, you can declare the paths of the different ttf- and ttc-files * If you are using True Type fonts, you can declare the paths of the different ttf- and ttc-files

4
fine-itext/src/com/third/v2/lowagie/text/GreekList.java → fine-itext/src/com/fr/third/v2/lowagie/text/GreekList.java

@ -44,9 +44,9 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import com.third.v2.lowagie.text.factories.GreekAlphabetFactory; import com.fr.third.v2.lowagie.text.factories.GreekAlphabetFactory;
/** /**
* *

2
fine-itext/src/com/third/v2/lowagie/text/Header.java → fine-itext/src/com/fr/third/v2/lowagie/text/Header.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* This is an <CODE>Element</CODE> that contains * This is an <CODE>Element</CODE> that contains

2
fine-itext/src/com/third/v2/lowagie/text/HeaderFooter.java → fine-itext/src/com/fr/third/v2/lowagie/text/HeaderFooter.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**

46
fine-itext/src/com/third/v2/lowagie/text/Image.java → fine-itext/src/com/fr/third/v2/lowagie/text/Image.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.awt.Graphics2D; import java.awt.Graphics2D;
import java.awt.color.ICC_Profile; import java.awt.color.ICC_Profile;
@ -58,26 +58,26 @@ import java.lang.reflect.Constructor;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import java.net.URL; import java.net.URL;
import com.third.v2.lowagie.text.pdf.PRIndirectReference; import com.fr.third.v2.lowagie.text.pdf.PRIndirectReference;
import com.third.v2.lowagie.text.pdf.PdfArray; import com.fr.third.v2.lowagie.text.pdf.PdfArray;
import com.third.v2.lowagie.text.pdf.PdfContentByte; import com.fr.third.v2.lowagie.text.pdf.PdfContentByte;
import com.third.v2.lowagie.text.pdf.PdfDictionary; import com.fr.third.v2.lowagie.text.pdf.PdfDictionary;
import com.third.v2.lowagie.text.pdf.PdfIndirectReference; import com.fr.third.v2.lowagie.text.pdf.PdfName;
import com.third.v2.lowagie.text.pdf.PdfName; import com.fr.third.v2.lowagie.text.pdf.PdfNumber;
import com.third.v2.lowagie.text.pdf.PdfNumber; import com.fr.third.v2.lowagie.text.pdf.PdfOCG;
import com.third.v2.lowagie.text.pdf.PdfOCG; import com.fr.third.v2.lowagie.text.pdf.PdfObject;
import com.third.v2.lowagie.text.pdf.PdfObject; import com.fr.third.v2.lowagie.text.pdf.PdfStream;
import com.third.v2.lowagie.text.pdf.PdfReader; import com.fr.third.v2.lowagie.text.pdf.PdfTemplate;
import com.third.v2.lowagie.text.pdf.PdfStream; import com.fr.third.v2.lowagie.text.pdf.RandomAccessFileOrArray;
import com.third.v2.lowagie.text.pdf.PdfTemplate; import com.fr.third.v2.lowagie.text.pdf.codec.CCITTG4Encoder;
import com.third.v2.lowagie.text.pdf.PdfWriter; import com.fr.third.v2.lowagie.text.pdf.codec.GifImage;
import com.third.v2.lowagie.text.pdf.RandomAccessFileOrArray; import com.fr.third.v2.lowagie.text.pdf.codec.JBIG2Image;
import com.third.v2.lowagie.text.pdf.codec.BmpImage; import com.fr.third.v2.lowagie.text.pdf.codec.PngImage;
import com.third.v2.lowagie.text.pdf.codec.CCITTG4Encoder; import com.fr.third.v2.lowagie.text.pdf.codec.TiffImage;
import com.third.v2.lowagie.text.pdf.codec.GifImage; import com.fr.third.v2.lowagie.text.pdf.PdfIndirectReference;
import com.third.v2.lowagie.text.pdf.codec.JBIG2Image; import com.fr.third.v2.lowagie.text.pdf.PdfReader;
import com.third.v2.lowagie.text.pdf.codec.PngImage; import com.fr.third.v2.lowagie.text.pdf.PdfWriter;
import com.third.v2.lowagie.text.pdf.codec.TiffImage; import com.fr.third.v2.lowagie.text.pdf.codec.BmpImage;
/** /**
* An <CODE>Image</CODE> is the representation of a graphic element (JPEG, PNG * An <CODE>Image</CODE> is the representation of a graphic element (JPEG, PNG
@ -576,8 +576,8 @@ public abstract class Image extends Rectangle {
"Transparency length must be equal to (componentes * 2)"); "Transparency length must be equal to (componentes * 2)");
if (components == 1 && bpc == 1) { if (components == 1 && bpc == 1) {
byte g4[] = CCITTG4Encoder.compress(data, width, height); byte g4[] = CCITTG4Encoder.compress(data, width, height);
return Image.getInstance(width, height, false, CCITTG4, return Image.getInstance(width, height, false, Image.CCITTG4,
CCITT_BLACKIS1, g4, transparency); Image.CCITT_BLACKIS1, g4, transparency);
} }
Image img = new ImgRaw(width, height, components, bpc, data); Image img = new ImgRaw(width, height, components, bpc, data);
img.transparency = transparency; img.transparency = transparency;

4
fine-itext/src/com/third/v2/lowagie/text/ImgCCITT.java → fine-itext/src/com/fr/third/v2/lowagie/text/ImgCCITT.java

@ -47,9 +47,9 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import com.third.v2.lowagie.text.pdf.codec.TIFFFaxDecoder; import com.fr.third.v2.lowagie.text.pdf.codec.TIFFFaxDecoder;
import java.net.URL; import java.net.URL;
/** /**

2
fine-itext/src/com/third/v2/lowagie/text/ImgJBIG2.java → fine-itext/src/com/fr/third/v2/lowagie/text/ImgJBIG2.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.net.URL; import java.net.URL;
import java.security.MessageDigest; import java.security.MessageDigest;

2
fine-itext/src/com/third/v2/lowagie/text/ImgRaw.java → fine-itext/src/com/fr/third/v2/lowagie/text/ImgRaw.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.net.URL; import java.net.URL;

4
fine-itext/src/com/third/v2/lowagie/text/ImgTemplate.java → fine-itext/src/com/fr/third/v2/lowagie/text/ImgTemplate.java

@ -47,11 +47,11 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.net.URL; import java.net.URL;
import com.third.v2.lowagie.text.pdf.PdfTemplate; import com.fr.third.v2.lowagie.text.pdf.PdfTemplate;
/** /**
* PdfTemplate that has to be inserted into the document * PdfTemplate that has to be inserted into the document

8
fine-itext/src/com/third/v2/lowagie/text/ImgWMF.java → fine-itext/src/com/fr/third/v2/lowagie/text/ImgWMF.java

@ -47,16 +47,16 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import java.net.URL; import java.net.URL;
import com.third.v2.lowagie.text.pdf.PdfTemplate; import com.fr.third.v2.lowagie.text.pdf.PdfTemplate;
import com.third.v2.lowagie.text.pdf.codec.wmf.InputMeta; import com.fr.third.v2.lowagie.text.pdf.codec.wmf.MetaDo;
import com.third.v2.lowagie.text.pdf.codec.wmf.MetaDo; import com.fr.third.v2.lowagie.text.pdf.codec.wmf.InputMeta;
/** /**
* An <CODE>ImgWMF</CODE> is the representation of a windows metafile * An <CODE>ImgWMF</CODE> is the representation of a windows metafile

2
fine-itext/src/com/third/v2/lowagie/text/Jpeg.java → fine-itext/src/com/fr/third/v2/lowagie/text/Jpeg.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.awt.color.ICC_Profile; import java.awt.color.ICC_Profile;
import java.io.IOException; import java.io.IOException;

2
fine-itext/src/com/third/v2/lowagie/text/Jpeg2000.java → fine-itext/src/com/fr/third/v2/lowagie/text/Jpeg2000.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;

2
fine-itext/src/com/third/v2/lowagie/text/LargeElement.java → fine-itext/src/com/fr/third/v2/lowagie/text/LargeElement.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* Interface implemented by Element objects that can potentially consume * Interface implemented by Element objects that can potentially consume

4
fine-itext/src/com/third/v2/lowagie/text/List.java → fine-itext/src/com/fr/third/v2/lowagie/text/List.java

@ -47,12 +47,12 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import com.third.v2.lowagie.text.factories.RomanAlphabetFactory; import com.fr.third.v2.lowagie.text.factories.RomanAlphabetFactory;
/** /**
* A <CODE>List</CODE> contains several <CODE>ListItem</CODE>s. * A <CODE>List</CODE> contains several <CODE>ListItem</CODE>s.

2
fine-itext/src/com/third/v2/lowagie/text/ListItem.java → fine-itext/src/com/fr/third/v2/lowagie/text/ListItem.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* A <CODE>ListItem</CODE> is a <CODE>Paragraph</CODE> * A <CODE>ListItem</CODE> is a <CODE>Paragraph</CODE>

0
fine-itext/src/com/third/v2/lowagie/text/MPL-1.1.txt → fine-itext/src/com/fr/third/v2/lowagie/text/MPL-1.1.txt

2
fine-itext/src/com/third/v2/lowagie/text/MarkedObject.java → fine-itext/src/com/fr/third/v2/lowagie/text/MarkedObject.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Properties; import java.util.Properties;

2
fine-itext/src/com/third/v2/lowagie/text/MarkedSection.java → fine-itext/src/com/fr/third/v2/lowagie/text/MarkedSection.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.util.Collection; import java.util.Collection;
import java.util.Iterator; import java.util.Iterator;

28
fine-itext/src/com/third/v2/lowagie/text/Meta.java → fine-itext/src/com/fr/third/v2/lowagie/text/Meta.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.util.ArrayList; import java.util.ArrayList;
@ -181,17 +181,17 @@ public class Meta implements Element {
public String getName() { public String getName() {
switch (type) { switch (type) {
case SUBJECT: case Element.SUBJECT:
return ElementTags.SUBJECT; return ElementTags.SUBJECT;
case KEYWORDS: case Element.KEYWORDS:
return ElementTags.KEYWORDS; return ElementTags.KEYWORDS;
case AUTHOR: case Element.AUTHOR:
return ElementTags.AUTHOR; return ElementTags.AUTHOR;
case TITLE: case Element.TITLE:
return ElementTags.TITLE; return ElementTags.TITLE;
case PRODUCER: case Element.PRODUCER:
return ElementTags.PRODUCER; return ElementTags.PRODUCER;
case CREATIONDATE: case Element.CREATIONDATE:
return ElementTags.CREATIONDATE; return ElementTags.CREATIONDATE;
default: default:
return ElementTags.UNKNOWN; return ElementTags.UNKNOWN;
@ -206,24 +206,24 @@ public class Meta implements Element {
*/ */
public static int getType(String tag) { public static int getType(String tag) {
if (ElementTags.SUBJECT.equals(tag)) { if (ElementTags.SUBJECT.equals(tag)) {
return SUBJECT; return Element.SUBJECT;
} }
if (ElementTags.KEYWORDS.equals(tag)) { if (ElementTags.KEYWORDS.equals(tag)) {
return KEYWORDS; return Element.KEYWORDS;
} }
if (ElementTags.AUTHOR.equals(tag)) { if (ElementTags.AUTHOR.equals(tag)) {
return AUTHOR; return Element.AUTHOR;
} }
if (ElementTags.TITLE.equals(tag)) { if (ElementTags.TITLE.equals(tag)) {
return TITLE; return Element.TITLE;
} }
if (ElementTags.PRODUCER.equals(tag)) { if (ElementTags.PRODUCER.equals(tag)) {
return PRODUCER; return Element.PRODUCER;
} }
if (ElementTags.CREATIONDATE.equals(tag)) { if (ElementTags.CREATIONDATE.equals(tag)) {
return CREATIONDATE; return Element.CREATIONDATE;
} }
return HEADER; return Element.HEADER;
} }
} }

2
fine-itext/src/com/third/v2/lowagie/text/PageSize.java → fine-itext/src/com/fr/third/v2/lowagie/text/PageSize.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.lang.reflect.Field; import java.lang.reflect.Field;

2
fine-itext/src/com/third/v2/lowagie/text/Paragraph.java → fine-itext/src/com/fr/third/v2/lowagie/text/Paragraph.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* A <CODE>Paragraph</CODE> is a series of <CODE>Chunk</CODE>s and/or <CODE>Phrases</CODE>. * A <CODE>Paragraph</CODE> is a series of <CODE>Chunk</CODE>s and/or <CODE>Phrases</CODE>.

42
fine-itext/src/com/third/v2/lowagie/text/Phrase.java → fine-itext/src/com/fr/third/v2/lowagie/text/Phrase.java

@ -47,13 +47,13 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
import java.util.Iterator; import java.util.Iterator;
import com.third.v2.lowagie.text.pdf.HyphenationEvent; import com.fr.third.v2.lowagie.text.pdf.HyphenationEvent;
/** /**
* A <CODE>Phrase</CODE> is a series of <CODE>Chunk</CODE>s. * A <CODE>Phrase</CODE> is a series of <CODE>Chunk</CODE>s.
@ -227,7 +227,7 @@ public class Phrase extends ArrayList implements TextElementArray {
* @return a type * @return a type
*/ */
public int type() { public int type() {
return PHRASE; return Element.PHRASE;
} }
/** /**
@ -273,7 +273,7 @@ public class Phrase extends ArrayList implements TextElementArray {
if (o == null) return; if (o == null) return;
try { try {
Element element = (Element) o; Element element = (Element) o;
if (element.type() == CHUNK) { if (element.type() == Element.CHUNK) {
Chunk chunk = (Chunk) element; Chunk chunk = (Chunk) element;
if (!font.isStandardFont()) { if (!font.isStandardFont()) {
chunk.setFont(font.difference(chunk.getFont())); chunk.setFont(font.difference(chunk.getFont()));
@ -283,12 +283,12 @@ public class Phrase extends ArrayList implements TextElementArray {
} }
super.add(index, chunk); super.add(index, chunk);
} }
else if (element.type() == PHRASE || else if (element.type() == Element.PHRASE ||
element.type() == ANCHOR || element.type() == Element.ANCHOR ||
element.type() == ANNOTATION || element.type() == Element.ANNOTATION ||
element.type() == TABLE || // line added by David Freels element.type() == Element.TABLE || // line added by David Freels
element.type() == YMARK || element.type() == Element.YMARK ||
element.type() == MARKED) { element.type() == Element.MARKED) {
super.add(index, element); super.add(index, element);
} }
else { else {
@ -319,10 +319,10 @@ public class Phrase extends ArrayList implements TextElementArray {
try { try {
Element element = (Element) o; Element element = (Element) o;
switch(element.type()) { switch(element.type()) {
case CHUNK: case Element.CHUNK:
return addChunk((Chunk) o); return addChunk((Chunk) o);
case PHRASE: case Element.PHRASE:
case PARAGRAPH: case Element.PARAGRAPH:
Phrase phrase = (Phrase) o; Phrase phrase = (Phrase) o;
boolean success = true; boolean success = true;
Element e; Element e;
@ -336,14 +336,14 @@ public class Phrase extends ArrayList implements TextElementArray {
} }
} }
return success; return success;
case MARKED: case Element.MARKED:
case ANCHOR: case Element.ANCHOR:
case ANNOTATION: case Element.ANNOTATION:
case TABLE: // case added by David Freels case Element.TABLE: // case added by David Freels
case PTABLE: // case added by mr. Karen Vardanyan case Element.PTABLE: // case added by mr. Karen Vardanyan
// This will only work for PDF!!! Not for RTF/HTML // This will only work for PDF!!! Not for RTF/HTML
case LIST: case Element.LIST:
case YMARK: case Element.YMARK:
return super.add(o); return super.add(o);
default: default:
throw new ClassCastException(String.valueOf(element.type())); throw new ClassCastException(String.valueOf(element.type()));
@ -494,7 +494,7 @@ public class Phrase extends ArrayList implements TextElementArray {
return true; return true;
case 1: case 1:
Element element = (Element) get(0); Element element = (Element) get(0);
if (element.type() == CHUNK && ((Chunk) element).isEmpty()) { if (element.type() == Element.CHUNK && ((Chunk) element).isEmpty()) {
return true; return true;
} }
return false; return false;

6
fine-itext/src/com/third/v2/lowagie/text/Rectangle.java → fine-itext/src/com/fr/third/v2/lowagie/text/Rectangle.java

@ -47,12 +47,12 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.awt.Color; import java.awt.Color;
import java.util.ArrayList; import java.util.ArrayList;
import com.third.v2.lowagie.text.pdf.GrayColor; import com.fr.third.v2.lowagie.text.pdf.GrayColor;
/** /**
* A <CODE>Rectangle</CODE> is the representation of a geometric figure. * A <CODE>Rectangle</CODE> is the representation of a geometric figure.
@ -211,7 +211,7 @@ public class Rectangle implements Element {
* @return a type * @return a type
*/ */
public int type() { public int type() {
return RECTANGLE; return Element.RECTANGLE;
} }
/** /**

2
fine-itext/src/com/third/v2/lowagie/text/RectangleReadOnly.java → fine-itext/src/com/fr/third/v2/lowagie/text/RectangleReadOnly.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.awt.Color; import java.awt.Color;

4
fine-itext/src/com/third/v2/lowagie/text/RomanList.java → fine-itext/src/com/fr/third/v2/lowagie/text/RomanList.java

@ -44,9 +44,9 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import com.third.v2.lowagie.text.factories.RomanNumberFactory; import com.fr.third.v2.lowagie.text.factories.RomanNumberFactory;
/** /**
* *

2
fine-itext/src/com/third/v2/lowagie/text/Row.java → fine-itext/src/com/fr/third/v2/lowagie/text/Row.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.util.ArrayList; import java.util.ArrayList;

2
fine-itext/src/com/third/v2/lowagie/text/RtfElementInterface.java → fine-itext/src/com/fr/third/v2/lowagie/text/RtfElementInterface.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* The RTF jar depends on the iText jar, but the iText jar may not * The RTF jar depends on the iText jar, but the iText jar may not

2
fine-itext/src/com/third/v2/lowagie/text/Section.java → fine-itext/src/com/fr/third/v2/lowagie/text/Section.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;

10
fine-itext/src/com/third/v2/lowagie/text/SimpleCell.java → fine-itext/src/com/fr/third/v2/lowagie/text/SimpleCell.java

@ -46,15 +46,15 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import com.third.v2.lowagie.text.pdf.PdfContentByte; import com.fr.third.v2.lowagie.text.pdf.PdfContentByte;
import com.third.v2.lowagie.text.pdf.PdfPCell; import com.fr.third.v2.lowagie.text.pdf.PdfPCell;
import com.third.v2.lowagie.text.pdf.PdfPCellEvent; import com.fr.third.v2.lowagie.text.pdf.PdfPCellEvent;
import com.third.v2.lowagie.text.pdf.PdfPTable; import com.fr.third.v2.lowagie.text.pdf.PdfPTable;
/** /**
* Rectangle that can be used for Cells. * Rectangle that can be used for Cells.

10
fine-itext/src/com/third/v2/lowagie/text/SimpleTable.java → fine-itext/src/com/fr/third/v2/lowagie/text/SimpleTable.java

@ -46,14 +46,14 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import com.third.v2.lowagie.text.pdf.PdfContentByte; import com.fr.third.v2.lowagie.text.pdf.PdfContentByte;
import com.third.v2.lowagie.text.pdf.PdfPTable; import com.fr.third.v2.lowagie.text.pdf.PdfPTable;
import com.third.v2.lowagie.text.pdf.PdfPTableEvent; import com.fr.third.v2.lowagie.text.pdf.PdfPTableEvent;
/** /**
* Rectangle that can be used for Cells. * Rectangle that can be used for Cells.
@ -253,7 +253,7 @@ public class SimpleTable extends Rectangle implements PdfPTableEvent, TextElemen
Rectangle rect = new Rectangle(width[0], heights[heights.length - 1], width[width.length - 1], heights[0]); Rectangle rect = new Rectangle(width[0], heights[heights.length - 1], width[width.length - 1], heights[0]);
rect.cloneNonPositionParameters(this); rect.cloneNonPositionParameters(this);
int bd = rect.getBorder(); int bd = rect.getBorder();
rect.setBorder(Rectangle.NO_BORDER); rect.setBorder(NO_BORDER);
canvases[PdfPTable.BACKGROUNDCANVAS].rectangle(rect); canvases[PdfPTable.BACKGROUNDCANVAS].rectangle(rect);
rect.setBorder(bd); rect.setBorder(bd);
rect.setBackgroundColor(null); rect.setBackgroundColor(null);

2
fine-itext/src/com/third/v2/lowagie/text/SpecialSymbol.java → fine-itext/src/com/fr/third/v2/lowagie/text/SpecialSymbol.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* This class contains the symbols that correspond with special symbols. * This class contains the symbols that correspond with special symbols.

4
fine-itext/src/com/third/v2/lowagie/text/SplitCharacter.java → fine-itext/src/com/fr/third/v2/lowagie/text/SplitCharacter.java

@ -47,9 +47,9 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import com.third.v2.lowagie.text.pdf.PdfChunk; import com.fr.third.v2.lowagie.text.pdf.PdfChunk;
/** Interface for customizing the split character. /** Interface for customizing the split character.
* *

26
fine-itext/src/com/third/v2/lowagie/text/Table.java → fine-itext/src/com/fr/third/v2/lowagie/text/Table.java

@ -50,15 +50,15 @@
* Steve Ogryzek. Check the CVS repository. * Steve Ogryzek. Check the CVS repository.
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.awt.Dimension; import java.awt.Dimension;
import java.awt.Point; import java.awt.Point;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import com.third.v2.lowagie.text.pdf.PdfPCell; import com.fr.third.v2.lowagie.text.pdf.PdfPCell;
import com.third.v2.lowagie.text.pdf.PdfPTable; import com.fr.third.v2.lowagie.text.pdf.PdfPTable;
/** /**
* A <CODE>Table</CODE> is a <CODE>Rectangle</CODE> that contains <CODE>Cell</CODE>s, * A <CODE>Table</CODE> is a <CODE>Rectangle</CODE> that contains <CODE>Cell</CODE>s,
@ -170,7 +170,7 @@ public class Table extends Rectangle implements LargeElement {
private int lastHeaderRow = -1; private int lastHeaderRow = -1;
/** This is the horizontal alignment. */ /** This is the horizontal alignment. */
private int alignment = ALIGN_CENTER; private int alignment = Element.ALIGN_CENTER;
/** This is cellpadding. */ /** This is cellpadding. */
private float cellpadding; private float cellpadding;
@ -314,7 +314,7 @@ public class Table extends Rectangle implements LargeElement {
* @return a type * @return a type
*/ */
public int type() { public int type() {
return TABLE; return Element.TABLE;
} }
/** /**
@ -436,14 +436,14 @@ public class Table extends Rectangle implements LargeElement {
*/ */
public void setAlignment(String alignment) { public void setAlignment(String alignment) {
if (ElementTags.ALIGN_LEFT.equalsIgnoreCase(alignment)) { if (ElementTags.ALIGN_LEFT.equalsIgnoreCase(alignment)) {
this.alignment = ALIGN_LEFT; this.alignment = Element.ALIGN_LEFT;
return; return;
} }
if (ElementTags.RIGHT.equalsIgnoreCase(alignment)) { if (ElementTags.RIGHT.equalsIgnoreCase(alignment)) {
this.alignment = ALIGN_RIGHT; this.alignment = Element.ALIGN_RIGHT;
return; return;
} }
this.alignment = ALIGN_CENTER; this.alignment = Element.ALIGN_CENTER;
} }
/** /**
@ -1243,10 +1243,10 @@ public class Table extends Rectangle implements LargeElement {
if (aCell.getBackgroundColor() == null) { if (aCell.getBackgroundColor() == null) {
aCell.setBackgroundColor(defaultCell.getBackgroundColor()); aCell.setBackgroundColor(defaultCell.getBackgroundColor());
} }
if (aCell.getHorizontalAlignment() == ALIGN_UNDEFINED) { if (aCell.getHorizontalAlignment() == Element.ALIGN_UNDEFINED) {
aCell.setHorizontalAlignment(defaultCell.getHorizontalAlignment()); aCell.setHorizontalAlignment(defaultCell.getHorizontalAlignment());
} }
if (aCell.getVerticalAlignment() == ALIGN_UNDEFINED) { if (aCell.getVerticalAlignment() == Element.ALIGN_UNDEFINED) {
aCell.setVerticalAlignment(defaultCell.getVerticalAlignment()); aCell.setVerticalAlignment(defaultCell.getVerticalAlignment());
} }
} }
@ -1332,13 +1332,13 @@ public class Table extends Rectangle implements LargeElement {
} }
// the border at the left is calculated // the border at the left is calculated
switch(alignment) { switch(alignment) {
case ALIGN_LEFT: case Element.ALIGN_LEFT:
w[0] = left; w[0] = left;
break; break;
case ALIGN_RIGHT: case Element.ALIGN_RIGHT:
w[0] = left + (totalWidth * (100 - wPercentage)) / 100; w[0] = left + (totalWidth * (100 - wPercentage)) / 100;
break; break;
case ALIGN_CENTER: case Element.ALIGN_CENTER:
default: default:
w[0] = left + (totalWidth * (100 - wPercentage)) / 200; w[0] = left + (totalWidth * (100 - wPercentage)) / 200;
} }

2
fine-itext/src/com/third/v2/lowagie/text/TextElementArray.java → fine-itext/src/com/fr/third/v2/lowagie/text/TextElementArray.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* Interface for a text element to which other objects can be added. * Interface for a text element to which other objects can be added.

4
fine-itext/src/com/third/v2/lowagie/text/Utilities.java → fine-itext/src/com/fr/third/v2/lowagie/text/Utilities.java

@ -46,7 +46,7 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
@ -58,7 +58,7 @@ import java.util.Hashtable;
import java.util.Properties; import java.util.Properties;
import java.util.Set; import java.util.Set;
import com.third.v2.lowagie.text.pdf.PRTokeniser; import com.fr.third.v2.lowagie.text.pdf.PRTokeniser;
/** /**
* A collection of convenience methods that were present in many different iText * A collection of convenience methods that were present in many different iText

2
fine-itext/src/com/third/v2/lowagie/text/ZapfDingbatsList.java → fine-itext/src/com/fr/third/v2/lowagie/text/ZapfDingbatsList.java

@ -44,7 +44,7 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* *

2
fine-itext/src/com/third/v2/lowagie/text/ZapfDingbatsNumberList.java → fine-itext/src/com/fr/third/v2/lowagie/text/ZapfDingbatsNumberList.java

@ -44,7 +44,7 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text; package com.fr.third.v2.lowagie.text;
/** /**
* *

0
fine-itext/src/com/third/v2/lowagie/text/apache_license.txt → fine-itext/src/com/fr/third/v2/lowagie/text/apache_license.txt

2
fine-itext/src/com/third/v2/lowagie/text/exceptions/BadPasswordException.java → fine-itext/src/com/fr/third/v2/lowagie/text/exceptions/BadPasswordException.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.exceptions; package com.fr.third.v2.lowagie.text.exceptions;
import java.io.IOException; import java.io.IOException;

2
fine-itext/src/com/third/v2/lowagie/text/exceptions/IllegalPdfSyntaxException.java → fine-itext/src/com/fr/third/v2/lowagie/text/exceptions/IllegalPdfSyntaxException.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.exceptions; package com.fr.third.v2.lowagie.text.exceptions;
/** /**
* Typed exception used when creating PDF syntax that isn't valid. * Typed exception used when creating PDF syntax that isn't valid.

2
fine-itext/src/com/third/v2/lowagie/text/exceptions/InvalidPdfException.java → fine-itext/src/com/fr/third/v2/lowagie/text/exceptions/InvalidPdfException.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.exceptions; package com.fr.third.v2.lowagie.text.exceptions;
import java.io.IOException; import java.io.IOException;

2
fine-itext/src/com/third/v2/lowagie/text/exceptions/UnsupportedPdfException.java → fine-itext/src/com/fr/third/v2/lowagie/text/exceptions/UnsupportedPdfException.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.exceptions; package com.fr.third.v2.lowagie.text.exceptions;
/** /**
* Typed exception used when opening an existing PDF document. * Typed exception used when opening an existing PDF document.
* Gets thrown when the document isn't a valid PDF document according to iText, * Gets thrown when the document isn't a valid PDF document according to iText,

40
fine-itext/src/com/third/v2/lowagie/text/factories/ElementFactory.java → fine-itext/src/com/fr/third/v2/lowagie/text/factories/ElementFactory.java

@ -49,7 +49,7 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.factories; package com.fr.third.v2.lowagie.text.factories;
import java.awt.Color; import java.awt.Color;
import java.io.IOException; import java.io.IOException;
@ -58,25 +58,25 @@ import java.util.ArrayList;
import java.util.Properties; import java.util.Properties;
import java.util.StringTokenizer; import java.util.StringTokenizer;
import com.third.v2.lowagie.text.Anchor; import com.fr.third.v2.lowagie.text.Annotation;
import com.third.v2.lowagie.text.Annotation; import com.fr.third.v2.lowagie.text.ExceptionConverter;
import com.third.v2.lowagie.text.BadElementException; import com.fr.third.v2.lowagie.text.FontFactory;
import com.third.v2.lowagie.text.Cell; import com.fr.third.v2.lowagie.text.List;
import com.third.v2.lowagie.text.ChapterAutoNumber; import com.fr.third.v2.lowagie.text.html.Markup;
import com.third.v2.lowagie.text.Chunk; import com.fr.third.v2.lowagie.text.Anchor;
import com.third.v2.lowagie.text.ElementTags; import com.fr.third.v2.lowagie.text.BadElementException;
import com.third.v2.lowagie.text.ExceptionConverter; import com.fr.third.v2.lowagie.text.Cell;
import com.third.v2.lowagie.text.FontFactory; import com.fr.third.v2.lowagie.text.ChapterAutoNumber;
import com.third.v2.lowagie.text.Image; import com.fr.third.v2.lowagie.text.Chunk;
import com.third.v2.lowagie.text.List; import com.fr.third.v2.lowagie.text.ElementTags;
import com.third.v2.lowagie.text.ListItem; import com.fr.third.v2.lowagie.text.Image;
import com.third.v2.lowagie.text.Paragraph; import com.fr.third.v2.lowagie.text.ListItem;
import com.third.v2.lowagie.text.Phrase; import com.fr.third.v2.lowagie.text.Paragraph;
import com.third.v2.lowagie.text.Rectangle; import com.fr.third.v2.lowagie.text.Phrase;
import com.third.v2.lowagie.text.Section; import com.fr.third.v2.lowagie.text.Rectangle;
import com.third.v2.lowagie.text.Table; import com.fr.third.v2.lowagie.text.Section;
import com.third.v2.lowagie.text.Utilities; import com.fr.third.v2.lowagie.text.Table;
import com.third.v2.lowagie.text.html.Markup; import com.fr.third.v2.lowagie.text.Utilities;
/** /**
* This class is able to create Element objects based on a list of properties. * This class is able to create Element objects based on a list of properties.

4
fine-itext/src/com/third/v2/lowagie/text/factories/GreekAlphabetFactory.java → fine-itext/src/com/fr/third/v2/lowagie/text/factories/GreekAlphabetFactory.java

@ -46,9 +46,9 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.factories; package com.fr.third.v2.lowagie.text.factories;
import com.third.v2.lowagie.text.SpecialSymbol; import com.fr.third.v2.lowagie.text.SpecialSymbol;
/** /**
* This class can produce String combinations representing a number built with * This class can produce String combinations representing a number built with

2
fine-itext/src/com/third/v2/lowagie/text/factories/RomanAlphabetFactory.java → fine-itext/src/com/fr/third/v2/lowagie/text/factories/RomanAlphabetFactory.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.factories; package com.fr.third.v2.lowagie.text.factories;
/** /**
* This class can produce String combinations representing a number. * This class can produce String combinations representing a number.

2
fine-itext/src/com/third/v2/lowagie/text/factories/RomanNumberFactory.java → fine-itext/src/com/fr/third/v2/lowagie/text/factories/RomanNumberFactory.java

@ -46,7 +46,7 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.factories; package com.fr.third.v2.lowagie.text.factories;
/** /**
* This class can produce String combinations representing a roman number. * This class can produce String combinations representing a roman number.
*/ */

4
fine-itext/src/com/third/v2/lowagie/text/html/HtmlEncoder.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/HtmlEncoder.java

@ -47,11 +47,11 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html; package com.fr.third.v2.lowagie.text.html;
import java.awt.Color; import java.awt.Color;
import com.third.v2.lowagie.text.Element; import com.fr.third.v2.lowagie.text.Element;
/** /**
* This class converts a <CODE>String</CODE> to the HTML-format of a String. * This class converts a <CODE>String</CODE> to the HTML-format of a String.

9
fine-itext/src/com/third/v2/lowagie/text/html/HtmlParser.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/HtmlParser.java

@ -47,18 +47,19 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html; package com.fr.third.v2.lowagie.text.html;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.Reader; import java.io.Reader;
import com.third.v2.lowagie.text.DocListener; import com.fr.third.v2.lowagie.text.ExceptionConverter;
import com.third.v2.lowagie.text.ExceptionConverter;
import com.third.v2.lowagie.text.xml.XmlParser;
import org.xml.sax.InputSource; import org.xml.sax.InputSource;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;
import com.fr.third.v2.lowagie.text.DocListener;
import com.fr.third.v2.lowagie.text.xml.XmlParser;
/** /**
* This class can be used to parse some HTML files. * This class can be used to parse some HTML files.
*/ */

6
fine-itext/src/com/third/v2/lowagie/text/html/HtmlPeer.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/HtmlPeer.java

@ -47,14 +47,14 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html; package com.fr.third.v2.lowagie.text.html;
import java.util.Properties; import java.util.Properties;
import com.third.v2.lowagie.text.ElementTags; import com.fr.third.v2.lowagie.text.xml.XmlPeer;
import org.xml.sax.Attributes; import org.xml.sax.Attributes;
import com.third.v2.lowagie.text.xml.XmlPeer; import com.fr.third.v2.lowagie.text.ElementTags;
/** /**
* This interface is implemented by the peer of all the iText objects. * This interface is implemented by the peer of all the iText objects.

6
fine-itext/src/com/third/v2/lowagie/text/html/HtmlTagMap.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/HtmlTagMap.java

@ -50,12 +50,12 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html; package com.fr.third.v2.lowagie.text.html;
import java.util.HashMap; import java.util.HashMap;
import com.third.v2.lowagie.text.ElementTags; import com.fr.third.v2.lowagie.text.FontFactory;
import com.third.v2.lowagie.text.FontFactory; import com.fr.third.v2.lowagie.text.ElementTags;
/** /**
* The <CODE>Tags</CODE>-class maps several XHTML-tags to iText-objects. * The <CODE>Tags</CODE>-class maps several XHTML-tags to iText-objects.

4
fine-itext/src/com/third/v2/lowagie/text/html/HtmlTags.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/HtmlTags.java

@ -50,9 +50,9 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html; package com.fr.third.v2.lowagie.text.html;
import com.third.v2.lowagie.text.ElementTags; import com.fr.third.v2.lowagie.text.ElementTags;
/** /**
* A class that contains all the possible tagnames and their attributes. * A class that contains all the possible tagnames and their attributes.

56
fine-itext/src/com/third/v2/lowagie/text/html/HtmlWriter.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/HtmlWriter.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html; package com.fr.third.v2.lowagie.text.html;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;
@ -59,33 +59,33 @@ import java.util.Iterator;
import java.util.Properties; import java.util.Properties;
import java.util.Stack; import java.util.Stack;
import com.third.v2.lowagie.text.Anchor; import com.fr.third.v2.lowagie.text.Anchor;
import com.third.v2.lowagie.text.Annotation; import com.fr.third.v2.lowagie.text.Annotation;
import com.third.v2.lowagie.text.BadElementException; import com.fr.third.v2.lowagie.text.BadElementException;
import com.third.v2.lowagie.text.Cell; import com.fr.third.v2.lowagie.text.Cell;
import com.third.v2.lowagie.text.Chunk; import com.fr.third.v2.lowagie.text.Chunk;
import com.third.v2.lowagie.text.DocWriter; import com.fr.third.v2.lowagie.text.DocWriter;
import com.third.v2.lowagie.text.Document; import com.fr.third.v2.lowagie.text.Document;
import com.third.v2.lowagie.text.DocumentException; import com.fr.third.v2.lowagie.text.DocumentException;
import com.third.v2.lowagie.text.Element; import com.fr.third.v2.lowagie.text.Element;
import com.third.v2.lowagie.text.ExceptionConverter; import com.fr.third.v2.lowagie.text.ExceptionConverter;
import com.third.v2.lowagie.text.Font; import com.fr.third.v2.lowagie.text.Font;
import com.third.v2.lowagie.text.Header; import com.fr.third.v2.lowagie.text.Header;
import com.third.v2.lowagie.text.HeaderFooter; import com.fr.third.v2.lowagie.text.HeaderFooter;
import com.third.v2.lowagie.text.Image; import com.fr.third.v2.lowagie.text.Image;
import com.third.v2.lowagie.text.List; import com.fr.third.v2.lowagie.text.List;
import com.third.v2.lowagie.text.ListItem; import com.fr.third.v2.lowagie.text.ListItem;
import com.third.v2.lowagie.text.MarkedObject; import com.fr.third.v2.lowagie.text.MarkedSection;
import com.third.v2.lowagie.text.MarkedSection; import com.fr.third.v2.lowagie.text.Meta;
import com.third.v2.lowagie.text.Meta; import com.fr.third.v2.lowagie.text.Paragraph;
import com.third.v2.lowagie.text.Paragraph; import com.fr.third.v2.lowagie.text.Rectangle;
import com.third.v2.lowagie.text.Phrase; import com.fr.third.v2.lowagie.text.Row;
import com.third.v2.lowagie.text.Rectangle; import com.fr.third.v2.lowagie.text.Section;
import com.third.v2.lowagie.text.Row; import com.fr.third.v2.lowagie.text.SimpleTable;
import com.third.v2.lowagie.text.Section; import com.fr.third.v2.lowagie.text.Table;
import com.third.v2.lowagie.text.SimpleTable; import com.fr.third.v2.lowagie.text.MarkedObject;
import com.third.v2.lowagie.text.Table; import com.fr.third.v2.lowagie.text.Phrase;
import com.third.v2.lowagie.text.pdf.BaseFont; import com.fr.third.v2.lowagie.text.pdf.BaseFont;
/** /**
* A <CODE>DocWriter</CODE> class for HTML. * A <CODE>DocWriter</CODE> class for HTML.

2
fine-itext/src/com/third/v2/lowagie/text/html/Markup.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/Markup.java

@ -50,7 +50,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html; package com.fr.third.v2.lowagie.text.html;
import java.awt.Color; import java.awt.Color;
import java.util.Properties; import java.util.Properties;

18
fine-itext/src/com/third/v2/lowagie/text/html/SAXmyHtmlHandler.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/SAXmyHtmlHandler.java

@ -47,21 +47,21 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html; package com.fr.third.v2.lowagie.text.html;
import java.util.HashMap; import java.util.HashMap;
import java.util.Properties; import java.util.Properties;
import com.third.v2.lowagie.text.DocumentException; import com.fr.third.v2.lowagie.text.DocumentException;
import com.third.v2.lowagie.text.ElementTags; import com.fr.third.v2.lowagie.text.Element;
import com.fr.third.v2.lowagie.text.ExceptionConverter;
import com.fr.third.v2.lowagie.text.xml.SAXiTextHandler;
import com.fr.third.v2.lowagie.text.xml.XmlPeer;
import org.xml.sax.Attributes; import org.xml.sax.Attributes;
import com.third.v2.lowagie.text.DocListener; import com.fr.third.v2.lowagie.text.DocListener;
import com.third.v2.lowagie.text.Element; import com.fr.third.v2.lowagie.text.ElementTags;
import com.third.v2.lowagie.text.ExceptionConverter; import com.fr.third.v2.lowagie.text.pdf.BaseFont;
import com.third.v2.lowagie.text.pdf.BaseFont;
import com.third.v2.lowagie.text.xml.SAXiTextHandler;
import com.third.v2.lowagie.text.xml.XmlPeer;
/** /**
* The <CODE>Tags</CODE>-class maps several XHTML-tags to iText-objects. * The <CODE>Tags</CODE>-class maps several XHTML-tags to iText-objects.

2
fine-itext/src/com/third/v2/lowagie/text/html/WebColors.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/WebColors.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html; package com.fr.third.v2.lowagie.text.html;
import java.awt.Color; import java.awt.Color;
import java.util.HashMap; import java.util.HashMap;

5
fine-itext/src/com/third/v2/lowagie/text/html/simpleparser/ALink.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/ALink.java

@ -45,10 +45,9 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html.simpleparser; package com.fr.third.v2.lowagie.text.html.simpleparser;
import com.third.v2.lowagie.text.Paragraph;
import com.fr.third.v2.lowagie.text.Paragraph;
/** /**
* *
* @author psoares * @author psoares

5
fine-itext/src/com/third/v2/lowagie/text/html/simpleparser/ChainedProperties.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/ChainedProperties.java

@ -48,10 +48,9 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html.simpleparser; package com.fr.third.v2.lowagie.text.html.simpleparser;
import com.third.v2.lowagie.text.ElementTags;
import com.fr.third.v2.lowagie.text.ElementTags;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;

28
fine-itext/src/com/third/v2/lowagie/text/html/simpleparser/FactoryProperties.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/FactoryProperties.java

@ -48,7 +48,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html.simpleparser; package com.fr.third.v2.lowagie.text.html.simpleparser;
import java.awt.Color; import java.awt.Color;
import java.util.HashMap; import java.util.HashMap;
@ -56,19 +56,19 @@ import java.util.Iterator;
import java.util.Properties; import java.util.Properties;
import java.util.StringTokenizer; import java.util.StringTokenizer;
import com.third.v2.lowagie.text.Chunk; import com.fr.third.v2.lowagie.text.Font;
import com.third.v2.lowagie.text.Element; import com.fr.third.v2.lowagie.text.FontFactory;
import com.third.v2.lowagie.text.ElementTags; import com.fr.third.v2.lowagie.text.html.HtmlTags;
import com.third.v2.lowagie.text.Font; import com.fr.third.v2.lowagie.text.html.Markup;
import com.third.v2.lowagie.text.FontFactory; import com.fr.third.v2.lowagie.text.Chunk;
import com.third.v2.lowagie.text.FontFactoryImp; import com.fr.third.v2.lowagie.text.Element;
import com.third.v2.lowagie.text.ListItem; import com.fr.third.v2.lowagie.text.ElementTags;
import com.third.v2.lowagie.text.Paragraph; import com.fr.third.v2.lowagie.text.FontFactoryImp;
import com.third.v2.lowagie.text.html.Markup; import com.fr.third.v2.lowagie.text.ListItem;
import com.third.v2.lowagie.text.html.HtmlTags; import com.fr.third.v2.lowagie.text.Paragraph;
import com.third.v2.lowagie.text.pdf.BaseFont; import com.fr.third.v2.lowagie.text.pdf.BaseFont;
import com.third.v2.lowagie.text.pdf.HyphenationAuto; import com.fr.third.v2.lowagie.text.pdf.HyphenationAuto;
import com.third.v2.lowagie.text.pdf.HyphenationEvent; import com.fr.third.v2.lowagie.text.pdf.HyphenationEvent;
/** /**
* *

44
fine-itext/src/com/third/v2/lowagie/text/html/simpleparser/HTMLWorker.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/HTMLWorker.java

@ -48,7 +48,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html.simpleparser; package com.fr.third.v2.lowagie.text.html.simpleparser;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
@ -58,27 +58,27 @@ import java.util.HashMap;
import java.util.Stack; import java.util.Stack;
import java.util.StringTokenizer; import java.util.StringTokenizer;
import com.third.v2.lowagie.text.html.HtmlTags; import com.fr.third.v2.lowagie.text.ExceptionConverter;
import com.third.v2.lowagie.text.html.Markup; import com.fr.third.v2.lowagie.text.List;
import com.third.v2.lowagie.text.Chunk; import com.fr.third.v2.lowagie.text.html.HtmlTags;
import com.third.v2.lowagie.text.DocListener; import com.fr.third.v2.lowagie.text.html.Markup;
import com.third.v2.lowagie.text.DocumentException; import com.fr.third.v2.lowagie.text.pdf.draw.LineSeparator;
import com.third.v2.lowagie.text.Element; import com.fr.third.v2.lowagie.text.xml.simpleparser.SimpleXMLParser;
import com.third.v2.lowagie.text.ElementTags; import com.fr.third.v2.lowagie.text.Chunk;
import com.third.v2.lowagie.text.ExceptionConverter; import com.fr.third.v2.lowagie.text.DocListener;
import com.third.v2.lowagie.text.FontFactoryImp; import com.fr.third.v2.lowagie.text.DocumentException;
import com.third.v2.lowagie.text.HeaderFooter; import com.fr.third.v2.lowagie.text.Element;
import com.third.v2.lowagie.text.Image; import com.fr.third.v2.lowagie.text.ElementTags;
import com.third.v2.lowagie.text.ListItem; import com.fr.third.v2.lowagie.text.FontFactoryImp;
import com.third.v2.lowagie.text.Paragraph; import com.fr.third.v2.lowagie.text.HeaderFooter;
import com.third.v2.lowagie.text.Phrase; import com.fr.third.v2.lowagie.text.Image;
import com.third.v2.lowagie.text.Rectangle; import com.fr.third.v2.lowagie.text.ListItem;
import com.third.v2.lowagie.text.TextElementArray; import com.fr.third.v2.lowagie.text.Paragraph;
import com.third.v2.lowagie.text.pdf.PdfPTable; import com.fr.third.v2.lowagie.text.Phrase;
import com.third.v2.lowagie.text.pdf.draw.LineSeparator; import com.fr.third.v2.lowagie.text.Rectangle;
import com.third.v2.lowagie.text.xml.simpleparser.SimpleXMLDocHandler; import com.fr.third.v2.lowagie.text.TextElementArray;
import com.third.v2.lowagie.text.xml.simpleparser.SimpleXMLParser; import com.fr.third.v2.lowagie.text.pdf.PdfPTable;
import com.third.v2.lowagie.text.List; import com.fr.third.v2.lowagie.text.xml.simpleparser.SimpleXMLDocHandler;
public class HTMLWorker implements SimpleXMLDocHandler, DocListener { public class HTMLWorker implements SimpleXMLDocHandler, DocListener {

7
fine-itext/src/com/third/v2/lowagie/text/html/simpleparser/ImageProvider.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/ImageProvider.java

@ -46,11 +46,10 @@
*/ */
package com.third.v2.lowagie.text.html.simpleparser; package com.fr.third.v2.lowagie.text.html.simpleparser;
import com.third.v2.lowagie.text.DocListener;
import com.third.v2.lowagie.text.Image;
import com.fr.third.v2.lowagie.text.DocListener;
import com.fr.third.v2.lowagie.text.Image;
import java.util.HashMap; import java.util.HashMap;
public interface ImageProvider { public interface ImageProvider {

6
fine-itext/src/com/third/v2/lowagie/text/html/simpleparser/Img.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/Img.java

@ -45,12 +45,12 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html.simpleparser; package com.fr.third.v2.lowagie.text.html.simpleparser;
import java.util.HashMap; import java.util.HashMap;
import com.third.v2.lowagie.text.DocListener; import com.fr.third.v2.lowagie.text.DocListener;
import com.third.v2.lowagie.text.Image; import com.fr.third.v2.lowagie.text.Image;
/** /**
* *

14
fine-itext/src/com/third/v2/lowagie/text/html/simpleparser/IncCell.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/IncCell.java

@ -45,16 +45,16 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html.simpleparser; package com.fr.third.v2.lowagie.text.html.simpleparser;
import java.util.ArrayList; import java.util.ArrayList;
import com.third.v2.lowagie.text.Element; import com.fr.third.v2.lowagie.text.Element;
import com.third.v2.lowagie.text.ElementListener; import com.fr.third.v2.lowagie.text.ElementListener;
import com.third.v2.lowagie.text.Phrase; import com.fr.third.v2.lowagie.text.TextElementArray;
import com.third.v2.lowagie.text.TextElementArray; import com.fr.third.v2.lowagie.text.html.Markup;
import com.third.v2.lowagie.text.html.Markup; import com.fr.third.v2.lowagie.text.pdf.PdfPCell;
import com.third.v2.lowagie.text.pdf.PdfPCell; import com.fr.third.v2.lowagie.text.Phrase;
/** /**
* *

6
fine-itext/src/com/third/v2/lowagie/text/html/simpleparser/IncTable.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/IncTable.java

@ -45,14 +45,14 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html.simpleparser; package com.fr.third.v2.lowagie.text.html.simpleparser;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;
import java.util.HashMap; import java.util.HashMap;
import com.third.v2.lowagie.text.pdf.PdfPCell; import com.fr.third.v2.lowagie.text.pdf.PdfPTable;
import com.third.v2.lowagie.text.pdf.PdfPTable; import com.fr.third.v2.lowagie.text.pdf.PdfPCell;
/** /**
* *

5
fine-itext/src/com/third/v2/lowagie/text/html/simpleparser/StyleSheet.java → fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/StyleSheet.java

@ -48,10 +48,9 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.html.simpleparser; package com.fr.third.v2.lowagie.text.html.simpleparser;
import com.third.v2.lowagie.text.html.Markup;
import com.fr.third.v2.lowagie.text.html.Markup;
import java.util.HashMap; import java.util.HashMap;
public class StyleSheet { public class StyleSheet {

0
fine-itext/src/com/third/v2/lowagie/text/lgpl.txt → fine-itext/src/com/fr/third/v2/lowagie/text/lgpl.txt

0
fine-itext/src/com/third/v2/lowagie/text/misc_licenses.txt → fine-itext/src/com/fr/third/v2/lowagie/text/misc_licenses.txt

15
fine-itext/src/com/third/v2/lowagie/text/pdf/AcroFields.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/AcroFields.java

@ -44,7 +44,7 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.awt.Color; import java.awt.Color;
import java.io.IOException; import java.io.IOException;
@ -57,14 +57,15 @@ import java.util.Iterator;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import com.third.v2.lowagie.text.DocumentException; import com.fr.third.v2.lowagie.text.DocumentException;
import com.third.v2.lowagie.text.Element; import com.fr.third.v2.lowagie.text.Element;
import com.third.v2.lowagie.text.ExceptionConverter; import com.fr.third.v2.lowagie.text.ExceptionConverter;
import com.third.v2.lowagie.text.Image;
import com.third.v2.lowagie.text.Rectangle;
import com.third.v2.lowagie.text.pdf.codec.Base64;
import org.w3c.dom.Node; import org.w3c.dom.Node;
import com.fr.third.v2.lowagie.text.Image;
import com.fr.third.v2.lowagie.text.Rectangle;
import com.fr.third.v2.lowagie.text.pdf.codec.Base64;
/** /**
* Query and change fields in existing documents either by method * Query and change fields in existing documents either by method
* calls or by FDF merging. * calls or by FDF merging.

2
fine-itext/src/com/third/v2/lowagie/text/pdf/ArabicLigaturizer.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/ArabicLigaturizer.java

@ -44,7 +44,7 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
/** /**
* Shape arabic characters. This code was inspired by an LGPL'ed C library: * Shape arabic characters. This code was inspired by an LGPL'ed C library:

2
fine-itext/src/com/third/v2/lowagie/text/pdf/AsianFontMapper.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/AsianFontMapper.java

@ -44,7 +44,7 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.awt.Font; import java.awt.Font;

2
fine-itext/src/com/third/v2/lowagie/text/pdf/BadPdfFormatException.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BadPdfFormatException.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
/** /**
* Signals that a bad PDF format has been used to construct a <CODE>PdfObject</CODE>. * Signals that a bad PDF format has been used to construct a <CODE>PdfObject</CODE>.

9
fine-itext/src/com/third/v2/lowagie/text/pdf/Barcode.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/Barcode.java

@ -46,14 +46,13 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.awt.Color; import java.awt.Color;
import com.third.v2.lowagie.text.ExceptionConverter; import com.fr.third.v2.lowagie.text.ExceptionConverter;
import com.third.v2.lowagie.text.Image; import com.fr.third.v2.lowagie.text.Image;
import com.third.v2.lowagie.text.Rectangle; import com.fr.third.v2.lowagie.text.Rectangle;
/** Base class containing properties and methods common to all /** Base class containing properties and methods common to all
* barcode types. * barcode types.
* *

10
fine-itext/src/com/third/v2/lowagie/text/pdf/Barcode128.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/Barcode128.java

@ -46,15 +46,15 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.awt.Canvas; import java.awt.Canvas;
import java.awt.Color; import java.awt.Color;
import java.awt.Image; import java.awt.Image;
import java.awt.image.MemoryImageSource; import java.awt.image.MemoryImageSource;
import com.third.v2.lowagie.text.Element; import com.fr.third.v2.lowagie.text.Element;
import com.third.v2.lowagie.text.ExceptionConverter; import com.fr.third.v2.lowagie.text.ExceptionConverter;
import com.third.v2.lowagie.text.Rectangle; import com.fr.third.v2.lowagie.text.Rectangle;
/** /**
* Implements the code 128 and UCC/EAN-128. Other symbologies are allowed in raw mode.<p> * Implements the code 128 and UCC/EAN-128. Other symbologies are allowed in raw mode.<p>
@ -732,7 +732,7 @@ public class Barcode128 extends Barcode{
* @param code the code to generate * @param code the code to generate
*/ */
public void setCode(String code) { public void setCode(String code) {
if (getCodeType() == CODE128_UCC && code.startsWith("(")) { if (getCodeType() == Barcode128.CODE128_UCC && code.startsWith("(")) {
int idx = 0; int idx = 0;
String ret = ""; String ret = "";
while (idx >= 0) { while (idx >= 0) {

8
fine-itext/src/com/third/v2/lowagie/text/pdf/Barcode39.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/Barcode39.java

@ -46,16 +46,16 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.awt.Canvas; import java.awt.Canvas;
import java.awt.Color; import java.awt.Color;
import java.awt.Image; import java.awt.Image;
import java.awt.image.MemoryImageSource; import java.awt.image.MemoryImageSource;
import com.third.v2.lowagie.text.Element; import com.fr.third.v2.lowagie.text.ExceptionConverter;
import com.third.v2.lowagie.text.ExceptionConverter; import com.fr.third.v2.lowagie.text.Element;
import com.third.v2.lowagie.text.Rectangle; import com.fr.third.v2.lowagie.text.Rectangle;
/** Implements the code 39 and code 39 extended. The default parameters are: /** Implements the code 39 and code 39 extended. The default parameters are:
* <pre> * <pre>

8
fine-itext/src/com/third/v2/lowagie/text/pdf/BarcodeCodabar.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodeCodabar.java

@ -46,16 +46,16 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.awt.Canvas; import java.awt.Canvas;
import java.awt.Color; import java.awt.Color;
import java.awt.Image; import java.awt.Image;
import java.awt.image.MemoryImageSource; import java.awt.image.MemoryImageSource;
import com.third.v2.lowagie.text.Element; import com.fr.third.v2.lowagie.text.ExceptionConverter;
import com.third.v2.lowagie.text.ExceptionConverter; import com.fr.third.v2.lowagie.text.Element;
import com.third.v2.lowagie.text.Rectangle; import com.fr.third.v2.lowagie.text.Rectangle;
/** Implements the code codabar. The default parameters are: /** Implements the code codabar. The default parameters are:
* <pre> * <pre>

8
fine-itext/src/com/third/v2/lowagie/text/pdf/BarcodeDatamatrix.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodeDatamatrix.java

@ -46,11 +46,11 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import com.third.v2.lowagie.text.BadElementException; import com.fr.third.v2.lowagie.text.BadElementException;
import com.third.v2.lowagie.text.Image; import com.fr.third.v2.lowagie.text.Image;
import com.third.v2.lowagie.text.pdf.codec.CCITTG4Encoder; import com.fr.third.v2.lowagie.text.pdf.codec.CCITTG4Encoder;
import java.awt.Canvas; import java.awt.Canvas;
import java.awt.Color; import java.awt.Color;

6
fine-itext/src/com/third/v2/lowagie/text/pdf/BarcodeEAN.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodeEAN.java

@ -44,7 +44,7 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.awt.Canvas; import java.awt.Canvas;
import java.awt.Color; import java.awt.Color;
@ -52,8 +52,8 @@ import java.awt.Image;
import java.awt.image.MemoryImageSource; import java.awt.image.MemoryImageSource;
import java.util.Arrays; import java.util.Arrays;
import com.third.v2.lowagie.text.ExceptionConverter; import com.fr.third.v2.lowagie.text.ExceptionConverter;
import com.third.v2.lowagie.text.Rectangle; import com.fr.third.v2.lowagie.text.Rectangle;
/** Generates barcodes in several formats: EAN13, EAN8, UPCA, UPCE, /** Generates barcodes in several formats: EAN13, EAN8, UPCA, UPCE,
* supplemental 2 and 5. The default parameters are: * supplemental 2 and 5. The default parameters are:

4
fine-itext/src/com/third/v2/lowagie/text/pdf/BarcodeEANSUPP.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodeEANSUPP.java

@ -44,10 +44,10 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.awt.Color; import java.awt.Color;
import com.third.v2.lowagie.text.Rectangle; import com.fr.third.v2.lowagie.text.Rectangle;
/** This class takes 2 barcodes, an EAN/UPC and a supplemental /** This class takes 2 barcodes, an EAN/UPC and a supplemental
* and creates a single barcode with both combined in the * and creates a single barcode with both combined in the

8
fine-itext/src/com/third/v2/lowagie/text/pdf/BarcodeInter25.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodeInter25.java

@ -46,16 +46,16 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.awt.Canvas; import java.awt.Canvas;
import java.awt.Color; import java.awt.Color;
import java.awt.Image; import java.awt.Image;
import java.awt.image.MemoryImageSource; import java.awt.image.MemoryImageSource;
import com.third.v2.lowagie.text.Element; import com.fr.third.v2.lowagie.text.ExceptionConverter;
import com.third.v2.lowagie.text.ExceptionConverter; import com.fr.third.v2.lowagie.text.Element;
import com.third.v2.lowagie.text.Rectangle; import com.fr.third.v2.lowagie.text.Rectangle;
/** Implements the code interleaved 2 of 5. The text can include /** Implements the code interleaved 2 of 5. The text can include
* non numeric characters that are printed but do not generate bars. * non numeric characters that are printed but do not generate bars.

8
fine-itext/src/com/third/v2/lowagie/text/pdf/BarcodePDF417.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodePDF417.java

@ -46,16 +46,16 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.awt.Canvas; import java.awt.Canvas;
import java.awt.Color; import java.awt.Color;
import java.awt.image.MemoryImageSource; import java.awt.image.MemoryImageSource;
import java.util.ArrayList; import java.util.ArrayList;
import com.third.v2.lowagie.text.BadElementException; import com.fr.third.v2.lowagie.text.BadElementException;
import com.third.v2.lowagie.text.Image; import com.fr.third.v2.lowagie.text.Image;
import com.third.v2.lowagie.text.pdf.codec.CCITTG4Encoder; import com.fr.third.v2.lowagie.text.pdf.codec.CCITTG4Encoder;
/** Generates the 2D barcode PDF417. Supports dimensioning auto-sizing, fixed /** Generates the 2D barcode PDF417. Supports dimensioning auto-sizing, fixed
* and variable sizes, automatic and manual error levels, raw codeword input, * and variable sizes, automatic and manual error levels, raw codeword input,

4
fine-itext/src/com/third/v2/lowagie/text/pdf/BarcodePostnet.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BarcodePostnet.java

@ -44,13 +44,13 @@
* you aren't using an obsolete version: * you aren't using an obsolete version:
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.awt.Canvas; import java.awt.Canvas;
import java.awt.Color; import java.awt.Color;
import java.awt.Image; import java.awt.Image;
import java.awt.image.MemoryImageSource; import java.awt.image.MemoryImageSource;
import com.third.v2.lowagie.text.Rectangle; import com.fr.third.v2.lowagie.text.Rectangle;
/** Implements the Postnet and Planet barcodes. The default parameters are: /** Implements the Postnet and Planet barcodes. The default parameters are:
* <pre> * <pre>

8
fine-itext/src/com/third/v2/lowagie/text/pdf/BaseField.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BaseField.java

@ -45,7 +45,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.awt.Color; import java.awt.Color;
import java.io.IOException; import java.io.IOException;
@ -53,9 +53,9 @@ import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.Iterator; import java.util.Iterator;
import com.third.v2.lowagie.text.DocumentException; import com.fr.third.v2.lowagie.text.DocumentException;
import com.third.v2.lowagie.text.Element; import com.fr.third.v2.lowagie.text.Element;
import com.third.v2.lowagie.text.Rectangle; import com.fr.third.v2.lowagie.text.Rectangle;
/** Common field variables. /** Common field variables.
* @author Paulo Soares (psoares@consiste.pt) * @author Paulo Soares (psoares@consiste.pt)

6
fine-itext/src/com/third/v2/lowagie/text/pdf/BaseFont.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BaseFont.java

@ -47,7 +47,7 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
@ -56,7 +56,7 @@ import java.util.HashMap;
import java.util.Iterator; import java.util.Iterator;
import java.util.StringTokenizer; import java.util.StringTokenizer;
import com.third.v2.lowagie.text.DocumentException; import com.fr.third.v2.lowagie.text.DocumentException;
/** /**
* Base class for the several font types supported * Base class for the several font types supported
@ -234,7 +234,7 @@ public abstract class BaseFont {
public static final boolean NOT_CACHED = false; public static final boolean NOT_CACHED = false;
/** The path to the font resources. */ /** The path to the font resources. */
public static final String RESOURCE_PATH = "com/third/v2/text/pdf/fonts/"; public static final String RESOURCE_PATH = "com/fr/third/v2/text/pdf/fonts/";
/** The fake CID code that represents a newline. */ /** The fake CID code that represents a newline. */
public static final char CID_NEWLINE = '\u7fff'; public static final char CID_NEWLINE = '\u7fff';

6
fine-itext/src/com/third/v2/lowagie/text/pdf/BidiLine.java → fine-itext/src/com/fr/third/v2/lowagie/text/pdf/BidiLine.java

@ -46,12 +46,12 @@
* http://www.lowagie.com/iText/ * http://www.lowagie.com/iText/
*/ */
package com.third.v2.lowagie.text.pdf; package com.fr.third.v2.lowagie.text.pdf;
import java.util.ArrayList; import java.util.ArrayList;
import com.third.v2.lowagie.text.Chunk; import com.fr.third.v2.lowagie.text.Chunk;
import com.third.v2.lowagie.text.Utilities; import com.fr.third.v2.lowagie.text.Utilities;
/** Does all the line bidirectional processing with PdfChunk assembly. /** Does all the line bidirectional processing with PdfChunk assembly.
* *

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save