This is an automated email from the ASF dual-hosted git repository. tilman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pdfbox-docs.git
The following commit(s) were added to refs/heads/master by this push: new 5ef36da3 PDFBOX-5300: add "Why do I not get all fields when iterating?" segment 5ef36da3 is described below commit 5ef36da323e40bcbdab003f36c45726b7abea8ae Author: Tilman Hausherr <til...@apache.org> AuthorDate: Tue May 14 12:28:36 2024 +0200 PDFBOX-5300: add "Why do I not get all fields when iterating?" segment --- content/2.0/faq.md | 5 +++++ content/3.0/faq.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/content/2.0/faq.md b/content/2.0/faq.md index 60703998..2903fa7f 100644 --- a/content/2.0/faq.md +++ b/content/2.0/faq.md @@ -82,6 +82,11 @@ finally } ``` +### Why do I not get all fields when iterating? + +Call ``getFieldTree()`` instead of ``getFields()``. The later one only returns root-level fields. + + ## Font Handling <a name="fontencoding"></a> diff --git a/content/3.0/faq.md b/content/3.0/faq.md index c4cf1caa..f8505e58 100644 --- a/content/3.0/faq.md +++ b/content/3.0/faq.md @@ -82,6 +82,11 @@ finally } ``` +### Why do I not get all fields when iterating? + +Call ``getFieldTree()`` instead of ``getFields()``. The later one only returns root-level fields. + + ## Font Handling <a name="fontencoding"></a>