Hello,
PdfConcatenate
of iTextSharp uses PdfSmartCopy and PdfCopy this way:
if (smart)
copy = new
PdfSmartCopy(document, os);
else
copy = new PdfCopy(document,
os);
But in
reality, CopyIndirect method of PdfSmartCopy won't be called at all.
protected
override PdfIndirectReference CopyIndirect(PRIndirectReference
inp)
Because
during the "copy.AddPage(copy.GetImportedPage(reader, i))" the
following overload will be called
protected
virtual PdfIndirectReference CopyIndirect(PRIndirectReference inp, bool
keepStructure, bool directRootKids)
And not
"PdfIndirectReference CopyIndirect(PRIndirectReference
inp)" which is present in the PdfSmartCopy.
So there
is no difference between the PdfSmartCopy and PdfCopy in action (during the
PdfConcatenate). Just its constructor will be called here.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php