pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1832560 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java
Date Wed, 30 May 2018 18:22:10 GMT
Author: tilman
Date: Wed May 30 18:22:10 2018
New Revision: 1832560

URL: http://svn.apache.org/viewvc?rev=1832560&view=rev
Log:
PDFBOX-3280: improve javadoc, ordinary users should not use this class, see https://stackoverflow.com/questions/50593597/pdfbox-clone-font

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java?rev=1832560&r1=1832559&r2=1832560&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java
(original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java
Wed May 30 18:22:10 2018
@@ -34,11 +34,13 @@ import org.apache.pdfbox.pdmodel.common.
 
 /**
  * Utility class used to clone PDF objects. It keeps track of objects it has already cloned.
- *
+ * Although this class is public, it is for PDFBox internal use and should not be used outside,
+ * except by very experienced users. The "public" modifier will be removed in 3.0. The class
should
+ * not be used on documents that are being generated because these can contain unfinished
parts,
+ * e.g. font subsetting information.
  */
 public class PDFCloneUtility
 {
-
     private final PDDocument destination;
     private final Map<Object,COSBase> clonedVersion = new HashMap<Object,COSBase>();
 



Mime
View raw message