@@ -1005,7 +1005,9 @@ public List<PdfPage> copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocumen
1005
1005
* @param pageTo 1-based end of the range of pages to be copied.
1006
1006
* @param toDocument a document to copy pages to.
1007
1007
* @param insertBeforePage a position where to insert copied pages.
1008
- * @param copier a copier which bears a special copy logic. May be NULL
1008
+ * @param copier a copier which bears a special copy logic. May be null.
1009
+ * It is recommended to use the same instance of {@link IPdfPageExtraCopier}
1010
+ * for the same output document.
1009
1011
* @return list of new copied pages
1010
1012
*/
1011
1013
public List <PdfPage > copyPagesTo (int pageFrom , int pageTo , PdfDocument toDocument , int insertBeforePage , IPdfPageExtraCopier copier ) {
@@ -1039,6 +1041,8 @@ public List<PdfPage> copyPagesTo(int pageFrom, int pageTo, PdfDocument toDocumen
1039
1041
* @param pageTo 1-based end of the range of pages to be copied.
1040
1042
* @param toDocument a document to copy pages to.
1041
1043
* @param copier a copier which bears a special copy logic. May be null.
1044
+ * It is recommended to use the same instance of {@link IPdfPageExtraCopier}
1045
+ * for the same output document.
1042
1046
* @return list of new copied pages.
1043
1047
*/
1044
1048
public List <PdfPage > copyPagesTo (int pageFrom , int pageTo , PdfDocument toDocument , IPdfPageExtraCopier copier ) {
@@ -1067,7 +1071,9 @@ public List<PdfPage> copyPagesTo(List<Integer> pagesToCopy, PdfDocument toDocume
1067
1071
* @param pagesToCopy list of pages to be copied. TreeSet for the order of the pages to be natural.
1068
1072
* @param toDocument a document to copy pages to.
1069
1073
* @param insertBeforePage a position where to insert copied pages.
1070
- * @param copier a copier which bears a special copy logic. May be NULL
1074
+ * @param copier a copier which bears a special copy logic. May be null.
1075
+ * It is recommended to use the same instance of {@link IPdfPageExtraCopier}
1076
+ * for the same output document.
1071
1077
* @return list of new copied pages
1072
1078
*/
1073
1079
public List <PdfPage > copyPagesTo (List <Integer > pagesToCopy , PdfDocument toDocument , int insertBeforePage , IPdfPageExtraCopier copier ) {
@@ -1166,7 +1172,9 @@ public List<PdfPage> copyPagesTo(List<Integer> pagesToCopy, PdfDocument toDocume
1166
1172
*
1167
1173
* @param pagesToCopy list of pages to be copied. TreeSet for the order of the pages to be natural.
1168
1174
* @param toDocument a document to copy pages to.
1169
- * @param copier a copier which bears a special copy logic
1175
+ * @param copier a copier which bears a special copy logic. May be null.
1176
+ * It is recommended to use the same instance of {@link IPdfPageExtraCopier}
1177
+ * for the same output document.
1170
1178
* @return list of copied pages
1171
1179
*/
1172
1180
public List <PdfPage > copyPagesTo (List <Integer > pagesToCopy , PdfDocument toDocument , IPdfPageExtraCopier copier ) {
0 commit comments