Repository: pdfbox-docs
Updated Branches:
  refs/heads/asf-site 93589dbf2 -> 3ceeb331c


Site checkin for project Apache PDFBox Website


Project: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/commit/3ceeb331
Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/tree/3ceeb331
Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/diff/3ceeb331

Branch: refs/heads/asf-site
Commit: 3ceeb331c1dccd47887404c03f61da0d87dd1cd5
Parents: 93589db
Author: Maruan Sahyoun <sahy...@fileaffairs.de>
Authored: Fri Apr 22 21:11:55 2016 +0200
Committer: Maruan Sahyoun <sahy...@fileaffairs.de>
Committed: Fri Apr 22 21:11:55 2016 +0200

----------------------------------------------------------------------
 content/2.0/migration.html | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/3ceeb331/content/2.0/migration.html
----------------------------------------------------------------------
diff --git a/content/2.0/migration.html b/content/2.0/migration.html
index 6789951..0aa7acc 100644
--- a/content/2.0/migration.html
+++ b/content/2.0/migration.html
@@ -316,7 +316,7 @@ in PDFBox 2.0 you can extend 
<code>PDFTextStripper</code>and add the following <
 </code></pre></div>
 <h3 id="interactive-forms">Interactive Forms</h3>
 
-<p>Large parts of the support for interactive forms (AcroForms) has been 
rewritten. The most notable change from 1.8.x is that
+<p>Large parts of the support for interactive forms (AcroForms) have been 
rewritten. The most notable change from 1.8.x is that
 there is a clear distinction between fields and the annotations representing 
them visually. Intermediate nodes in a field 
 tree are now represented by the <code>PDNonTerminalField</code> class.</p>
 
@@ -330,6 +330,11 @@ tree are now represented by the 
<code>PDNonTerminalField</code> class.</p>
 </code></pre></div>
 <p>Most <code>PDField</code> subclasses now accept Java generic types such as 
<code>String</code> as parameters instead of the former <code>COSBase</code> 
subclasses.</p>
 
+<h4 id="pdfield-getwidget-removed">PDField.getWidget() removed</h4>
+
+<p>As form fields do support multiple annotations 
<code>PDField.getWidget()</code> has been removed in favour of 
<code>PDField.getWidgets()</code>which returns all
+annotations associated with a field.</p>
+
 <h3 id="document-outline">Document Outline</h3>
 
 <p>The method <code>PDOutlineNode.appendChild()</code> has been renamed to 
<code>PDOutlineNode.addLast()</code>. There is now also a complementary method 
<code>PDOutlineNode.addFirst()</code>.</p>

Reply via email to