Skip to content

Commit

Permalink
iTextSharp 5.5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-alay committed Mar 16, 2016
2 parents 8691242 + ddefc15 commit 75f05dd
Show file tree
Hide file tree
Showing 1,359 changed files with 2,963 additions and 1,581 deletions.
2 changes: 1 addition & 1 deletion src/core/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("5.5.8")]
[assembly: AssemblyVersion("5.5.9")]
2 changes: 1 addition & 1 deletion src/core/System/util/FilterStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/System/util/ListIterator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
3 changes: 2 additions & 1 deletion src/core/System/util/Properties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -119,6 +119,7 @@ virtual public void Clear() {
}

virtual public void Load(Stream inStream) {
if (inStream == null) return;
StreamReader inp = new StreamReader(inStream, Encoding.GetEncoding(1252));
while (true) {
// Get next line
Expand Down
2 changes: 1 addition & 1 deletion src/core/System/util/PushbackStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/System/util/RectangleJ.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/System/util/StringTokenizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* $Id$
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/System/util/Util.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/System/util/collections/HashSet2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/System/util/collections/LinkedDictionary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/System/util/collections/OrderedTree.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* $Id$
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/System/util/collections/ReadOnlyDictionary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/System/util/zlib/ZDeflaterOutputStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* $Id$
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/System/util/zlib/ZInflaterInputStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* $Id$
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/awt/geom/AffineTransform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/awt/geom/Point.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/awt/geom/Point2D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
44 changes: 34 additions & 10 deletions src/core/iTextSharp/testutils/CompareTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
using System.util;
/*
* $Id: CompareTool.cs 318 2012-02-27 22:46:07Z eugenemark $
*
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -443,7 +443,7 @@ private String Compare(String outPath, String differenceImagePrefix, IDictionary
Process p = new Process();
p.StartInfo.FileName = @gsExec;
p.StartInfo.Arguments = @gsParams;
p.StartInfo.UseShellExecute = false;
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardError = true;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.CreateNoWindow = true;
Expand Down Expand Up @@ -525,7 +525,7 @@ private String Compare(String outPath, String differenceImagePrefix, IDictionary
".png for more details.";
} else {
differentPagesFail =
"File " + outPdf + " differs.\nPlease, examine difference images for more details.";
"File " + outPdf + " differs.\nPlease, examine difference images for more details.";
}
}
else
Expand Down Expand Up @@ -841,11 +841,11 @@ private bool CompareDictionariesExtended(PdfDictionary outDict, PdfDictionary cm
return dictsAreSame;
}

public bool ÑompareContentStreamsByParsing(PdfObject outObj, PdfObject cmpObj) {
public bool CompareContentStreamsByParsing(PdfObject outObj, PdfObject cmpObj) {
return CompareContentStreamsByParsingExtended(outObj, cmpObj, null, null, null, null);
}

public bool ÑompareContentStreamsByParsing(PdfObject outObj, PdfObject cmpObj, PdfDictionary outResources, PdfDictionary cmpResources) {
public bool CompareContentStreamsByParsing(PdfObject outObj, PdfObject cmpObj, PdfDictionary outResources, PdfDictionary cmpResources) {
return CompareContentStreamsByParsingExtended(outObj, cmpObj, outResources, cmpResources, null, null);
}

Expand Down Expand Up @@ -895,7 +895,7 @@ private bool CompareContentStreamsByParsingExtended(PdfObject outObj, PdfObject
outResources = (PdfDictionary) outStr.GetDirectObject(PdfName.RESOURCES);
cmpResources = (PdfDictionary) cmpStr.GetDirectObject(PdfName.RESOURCES);
}
if (!ÑompareInlineImagesExtended(outPs, cmpPs, outResources, cmpResources, currentPath, compareResult)) {
if (!CompareInlineImagesExtended(outPs, cmpPs, outResources, cmpResources, currentPath, compareResult)) {
return false;
}
continue;
Expand All @@ -909,7 +909,7 @@ private bool CompareContentStreamsByParsingExtended(PdfObject outObj, PdfObject
return true;
}

private bool ÑompareInlineImagesExtended(PdfContentParser outPs, PdfContentParser cmpPs, PdfDictionary outDict, PdfDictionary cmpDict, ObjectPath currentPath, CompareResult compareResult) {
private bool CompareInlineImagesExtended(PdfContentParser outPs, PdfContentParser cmpPs, PdfDictionary outDict, PdfDictionary cmpDict, ObjectPath currentPath, CompareResult compareResult) {
InlineImageInfo cmpInfo = InlineImageUtils.ParseInlineImage(cmpPs, cmpDict);
InlineImageInfo outInfo = InlineImageUtils.ParseInlineImage(outPs, outDict);
return CompareObjects(outInfo.ImageDictionary, cmpInfo.ImageDictionary, currentPath, compareResult) &&
Expand Down Expand Up @@ -1096,7 +1096,31 @@ private bool CompareBooleansExtended(PdfBoolean outBoolean, PdfBoolean cmpBoolea
return false;
}
}


public String CompareXmp(byte[] xmp1, byte[] xmp2)
{
throw new NotImplementedException("Comparing xmls hasn't implemented");
}

public String CompareXmp(byte[] xmp1, byte[] xmp2, bool ignoreDateAndProducerProperties)
{
throw new NotImplementedException("Comparing xmls hasn't implemented");
}

public String CompareXmp(String outPdf, String cmpPdf)
{
throw new NotImplementedException("Comparing xmls hasn't implemented");
}

public String CompareXmp(String outPdf, String cmpPdf, bool ignoreDateAndProducerProperties)
{
throw new NotImplementedException("Comparing xmls hasn't implemented");
}

public bool CompareXmls(byte[] xml1, byte[] xml2) {
throw new NotImplementedException("Comparing xmls in c# hasn't implemented yet. We don't want to make references to external libraries.");
}

private void Init(String outPdf, String cmpPdf) {
this.outPdf = outPdf;
this.cmpPdf = cmpPdf;
Expand Down Expand Up @@ -1158,7 +1182,7 @@ public virtual String CompareDocumentInfo(String outPdf, String cmpPdf) {
return message;
}



private bool LinksAreSame(PdfAnnotation.PdfImportedLink cmpLink, PdfAnnotation.PdfImportedLink outLink) {
// Compare link boxes, page numbers the links refer to, and simple parameters (non-indirect, non-arrays, non-dictionaries)
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/testutils/ITextTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/AccessibleElementId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/Anchor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/Annotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/BadElementException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/BaseColor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* $Id$
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/Chapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/ChapterAutoNumber.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/Chunk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/DocWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/Document.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/DocumentException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/Element.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/Font.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion src/core/iTextSharp/text/FontFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
*
* This file is part of the iText project.
* Copyright (c) 1998-2015 iText Group NV
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
Expand Down
Loading

0 comments on commit 75f05dd

Please sign in to comment.