glib/poppler-page.cc | 6 +++ glib/poppler-structure-element.cc | 2 - glib/poppler.h | 9 ++++ glib/reference/poppler-docs.sgml | 2 + glib/reference/poppler-sections.txt | 65 +++++++++++++++++++++++------------- 5 files changed, 61 insertions(+), 23 deletions(-)
New commits: commit 1b705331019b155f2138d4b9f5a5bd03ec59193d Author: Hib Eris <[email protected]> Date: Sun Jun 8 17:07:15 2014 +0200 [glib] doc: Move poppler_date_parse to utility functions section https://bugs.freedesktop.org/show_bug.cgi?id=79798 diff --git a/glib/reference/poppler-docs.sgml b/glib/reference/poppler-docs.sgml index 4dd1338..50de9e7 100644 --- a/glib/reference/poppler-docs.sgml +++ b/glib/reference/poppler-docs.sgml @@ -25,6 +25,7 @@ <xi:include href="xml/poppler-movie.xml"/> <xi:include href="xml/poppler-structure-element.xml"/> <xi:include href="xml/poppler-color.xml"/> + <xi:include href="xml/poppler-pdf-utility-functions.xml"/> <xi:include href="xml/poppler-features.xml"/> </chapter> diff --git a/glib/reference/poppler-sections.txt b/glib/reference/poppler-sections.txt index 3f68aa8..04ecb7e 100644 --- a/glib/reference/poppler-sections.txt +++ b/glib/reference/poppler-sections.txt @@ -345,7 +345,6 @@ poppler_form_text_type_get_type POPPLER_ERROR PopplerError PopplerOrientation -poppler_date_parse <SUBSECTION Standard> POPPLER_TYPE_ERROR @@ -730,6 +729,12 @@ poppler_color_get_type </SECTION> <SECTION> +<FILE>poppler-pdf-utility-functions</FILE> +<TITLE>PDF Utility functions</TITLE> +poppler_date_parse +</SECTION> + +<SECTION> <FILE>poppler-features</FILE> POPPLER_HAS_CAIRO POPPLER_MAJOR_VERSION commit d661553b0a13855aa5a1240e9c04a0e49dafd910 Author: Hib Eris <[email protected]> Date: Sun Jun 8 16:11:26 2014 +0200 [glib] doc: Document PopplerFindFlags:POPPLER_FIND_DEFAULT Fixes warning: DOC Building XML ../../glib/poppler.h:157: warning: Value description for PopplerFindFlags::POPPLER_FIND_DEFAULT is missing in source code comment block. https://bugs.freedesktop.org/show_bug.cgi?id=79798 diff --git a/glib/poppler.h b/glib/poppler.h index 699aaa9..61c1a8e 100644 --- a/glib/poppler.h +++ b/glib/poppler.h @@ -155,6 +155,7 @@ typedef enum /*< flags >*/ /** * PopplerFindFlags: + * @POPPLER_FIND_DEFAULT: use default search settings * @POPPLER_FIND_CASE_SENSITIVE: do case sensitive search * @POPPLER_FIND_BACKWARDS: search backwards * @POPPLER_FIND_WHOLE_WORDS_ONLY: search only whole words commit 237a1402ab836d10eb5fdc1aa6ceccabea10a316 Author: Hib Eris <[email protected]> Date: Sun Jun 8 16:07:14 2014 +0200 [glib] doc: Use <emphasis> instead of <em> Fixes: DOC Building HTML Element em in namespace '' encountered in para, but no template matches. https://bugs.freedesktop.org/show_bug.cgi?id=79798 diff --git a/glib/poppler-structure-element.cc b/glib/poppler-structure-element.cc index 25edece..fdde41e 100644 --- a/glib/poppler-structure-element.cc +++ b/glib/poppler-structure-element.cc @@ -641,7 +641,7 @@ poppler_structure_element_get_alt_text (PopplerStructureElement *poppler_structu * * Obtains the actual text enclosed by the element (and its child elements). * The actual text is mostly used for non-text elements like images and - * figures which <em>do</em> have the graphical appearance of text, like + * figures which <emphasis>do</emphasis> have the graphical appearance of text, like * a logo. For those the actual text is the equivalent text to those * graphical elements which look like text when rendered. * commit 66abf3992228be2559542e9d2753f45f06ae7728 Author: Hib Eris <[email protected]> Date: Sun Jun 8 16:02:01 2014 +0200 [glib] doc: Add PopplerBackend documentation https://bugs.freedesktop.org/show_bug.cgi?id=79798 diff --git a/glib/poppler.h b/glib/poppler.h index f5c9563..699aaa9 100644 --- a/glib/poppler.h +++ b/glib/poppler.h @@ -212,6 +212,14 @@ typedef struct _PopplerStructureElement PopplerStructureElement; typedef struct _PopplerStructureElementIter PopplerStructureElementIter; typedef struct _PopplerTextSpan PopplerTextSpan; +/** + * PopplerBackend: + * @POPPLER_BACKEND_UNKNOWN: Unknown backend + * @POPPLER_BACKEND_SPLASH: Splash backend + * @POPPLER_BACKEND_CAIRO: Cairo backend + * + * Backend codes returned by poppler_get_backend(). + */ typedef enum { POPPLER_BACKEND_UNKNOWN, commit a30ec8e4abe3875aad068c83265b47f9beea33d1 Author: Hib Eris <[email protected]> Date: Sun Jun 8 15:05:52 2014 +0200 [glib] doc: Add missing POPPLER_TYPE_POINT And while we are here, also move poppler_point_get_type() and poppler_quadrilateral_get_type() to private subsection. https://bugs.freedesktop.org/show_bug.cgi?id=79798 diff --git a/glib/reference/poppler-sections.txt b/glib/reference/poppler-sections.txt index f55618a..3f68aa8 100644 --- a/glib/reference/poppler-sections.txt +++ b/glib/reference/poppler-sections.txt @@ -444,14 +444,12 @@ poppler_annot_line_set_vertices poppler_annot_square_new poppler_annot_square_get_interior_color poppler_annot_square_set_interior_color +poppler_point_new poppler_point_copy poppler_point_free -poppler_point_get_type -poppler_point_new +poppler_quadrilateral_new poppler_quadrilateral_copy poppler_quadrilateral_free -poppler_quadrilateral_get_type -poppler_quadrilateral_new <SUBSECTION Standard> POPPLER_ANNOT @@ -494,6 +492,7 @@ POPPLER_TYPE_ANNOT_TEXT_STATE POPPLER_TYPE_ANNOT_TEXT_MARKUP POPPLER_TYPE_ANNOT_FREE_TEXT_QUADDING POPPLER_TYPE_ANNOT_TYPE +POPPLER_TYPE_POINT POPPLER_TYPE_QUADRILATERAL <SUBSECTION Private> @@ -515,6 +514,8 @@ poppler_annot_free_text_quadding_get_type poppler_annot_line_get_type poppler_annot_circle_get_type poppler_annot_square_get_type +poppler_point_get_type +poppler_quadrilateral_get_type </SECTION> <SECTION> commit 6eb0537ac5163356c8e8f689d2408fa695e99423 Author: Hib Eris <[email protected]> Date: Sun Jun 8 14:59:15 2014 +0200 [glib] doc: Fix typo https://bugs.freedesktop.org/show_bug.cgi?id=79798 diff --git a/glib/reference/poppler-sections.txt b/glib/reference/poppler-sections.txt index bcb3754..f55618a 100644 --- a/glib/reference/poppler-sections.txt +++ b/glib/reference/poppler-sections.txt @@ -709,7 +709,7 @@ poppler_structure_glyph_orientation_get_type poppler_structure_list_numbering_get_type poppler_structure_form_state_get_type poppler_structure_form_role_get_type -poppler_structure_scope_get_type +poppler_structure_table_scope_get_type poppler_text_span_get_type </SECTION> commit 96adcad85d76409cb8ed4266a08ae776b42661e4 Author: Hib Eris <[email protected]> Date: Sun Jun 8 14:53:42 2014 +0200 [glib] doc: Add poppler_annot_set_flags() to documentation https://bugs.freedesktop.org/show_bug.cgi?id=79798 diff --git a/glib/reference/poppler-sections.txt b/glib/reference/poppler-sections.txt index e6deb4d..bcb3754 100644 --- a/glib/reference/poppler-sections.txt +++ b/glib/reference/poppler-sections.txt @@ -382,6 +382,7 @@ PopplerPoint PopplerQuadrilateral poppler_annot_get_annot_type poppler_annot_get_flags +poppler_annot_set_flags poppler_annot_get_name poppler_annot_get_page_index poppler_annot_get_color commit f3519352c70537009cc6bd660c0bd3e727db8b8a Author: Hib Eris <[email protected]> Date: Sun Jun 8 14:38:13 2014 +0200 [glib] doc: Move PopplerFindFlags to PopplerPage section And also add the missing POPPLER_TYPE_FIND_FLAGS and poppler_find_flags_get_type. https://bugs.freedesktop.org/show_bug.cgi?id=79798 diff --git a/glib/reference/poppler-sections.txt b/glib/reference/poppler-sections.txt index a44cb54..e6deb4d 100644 --- a/glib/reference/poppler-sections.txt +++ b/glib/reference/poppler-sections.txt @@ -16,6 +16,7 @@ PopplerPageTransitionDirection PopplerSelectionStyle PopplerTextAttributes PopplerPrintFlags +PopplerFindFlags poppler_page_get_index poppler_page_get_label poppler_page_get_size @@ -91,6 +92,7 @@ POPPLER_TYPE_PAGE_TRANSITION_DIRECTION POPPLER_TYPE_PAGE_TRANSITION_TYPE POPPLER_TYPE_SELECTION_STYLE POPPLER_TYPE_PRINT_FLAGS +POPPLER_TYPE_FIND_FLAGS <SUBSECTION Private> poppler_page_get_type poppler_rectangle_get_type @@ -105,6 +107,7 @@ poppler_page_transition_type_get_type poppler_selection_style_get_type poppler_text_attributes_get_type poppler_print_flags_get_type +poppler_find_flags_get_type </SECTION> <SECTION> @@ -342,7 +345,6 @@ poppler_form_text_type_get_type POPPLER_ERROR PopplerError PopplerOrientation -PopplerFindFlags poppler_date_parse <SUBSECTION Standard> commit 45b0d49330d9d089b2480b91e418924a490c82ce Author: Hib Eris <[email protected]> Date: Sun Jun 8 14:22:28 2014 +0200 [glib] doc: Move PopplerPrintFlags to PopplerPage section https://bugs.freedesktop.org/show_bug.cgi?id=79798 diff --git a/glib/reference/poppler-sections.txt b/glib/reference/poppler-sections.txt index d682c7b..a44cb54 100644 --- a/glib/reference/poppler-sections.txt +++ b/glib/reference/poppler-sections.txt @@ -15,6 +15,7 @@ PopplerPageTransitionAlignment PopplerPageTransitionDirection PopplerSelectionStyle PopplerTextAttributes +PopplerPrintFlags poppler_page_get_index poppler_page_get_label poppler_page_get_size @@ -89,6 +90,7 @@ POPPLER_TYPE_PAGE_TRANSITION_ALIGNMENT POPPLER_TYPE_PAGE_TRANSITION_DIRECTION POPPLER_TYPE_PAGE_TRANSITION_TYPE POPPLER_TYPE_SELECTION_STYLE +POPPLER_TYPE_PRINT_FLAGS <SUBSECTION Private> poppler_page_get_type poppler_rectangle_get_type @@ -102,6 +104,7 @@ poppler_page_transition_direction_get_type poppler_page_transition_type_get_type poppler_selection_style_get_type poppler_text_attributes_get_type +poppler_print_flags_get_type </SECTION> <SECTION> @@ -339,20 +342,17 @@ poppler_form_text_type_get_type POPPLER_ERROR PopplerError PopplerOrientation -PopplerPrintFlags PopplerFindFlags poppler_date_parse <SUBSECTION Standard> POPPLER_TYPE_ERROR POPPLER_TYPE_ORIENTATION -POPPLER_TYPE_PRINT_FLAGS <SUBSECTION Private> POPPLER_DEFINE_BOXED_TYPE poppler_error_get_type poppler_error_quark -poppler_print_flags_get_type </SECTION> <SECTION> commit ce357147d17004a2772ca3b32d106da511bba360 Author: Hib Eris <[email protected]> Date: Sun Jun 8 13:22:51 2014 +0200 [glib] doc: Move poppler_get_{version, backend} documentation to features section https://bugs.freedesktop.org/show_bug.cgi?id=79798 diff --git a/glib/reference/poppler-sections.txt b/glib/reference/poppler-sections.txt index de5d902..d682c7b 100644 --- a/glib/reference/poppler-sections.txt +++ b/glib/reference/poppler-sections.txt @@ -339,15 +339,11 @@ poppler_form_text_type_get_type POPPLER_ERROR PopplerError PopplerOrientation -PopplerBackend PopplerPrintFlags PopplerFindFlags -poppler_get_backend -poppler_get_version poppler_date_parse <SUBSECTION Standard> -POPPLER_TYPE_BACKEND POPPLER_TYPE_ERROR POPPLER_TYPE_ORIENTATION POPPLER_TYPE_PRINT_FLAGS @@ -356,8 +352,6 @@ POPPLER_TYPE_PRINT_FLAGS POPPLER_DEFINE_BOXED_TYPE poppler_error_get_type poppler_error_quark -poppler_backend_get_type -poppler_orientation_get_type poppler_print_flags_get_type </SECTION> @@ -738,4 +732,13 @@ POPPLER_MAJOR_VERSION POPPLER_MINOR_VERSION POPPLER_MICRO_VERSION POPPLER_CHECK_VERSION +PopplerBackend +poppler_get_version +poppler_get_backend + +<SUBSECTION Standard> +POPPLER_TYPE_BACKEND + +<SUBSECTION Private> +poppler_backend_get_type </SECTION> commit 1bfd6b69e7e98d4b3e6e891a46b58c9109b8c14c Author: Hib Eris <[email protected]> Date: Sun Jun 8 12:57:25 2014 +0200 [glib] doc: Move PopplerColor documentation to it's own section https://bugs.freedesktop.org/show_bug.cgi?id=79798 diff --git a/glib/poppler-page.cc b/glib/poppler-page.cc index a4c9681..167640d 100644 --- a/glib/poppler-page.cc +++ b/glib/poppler-page.cc @@ -1772,6 +1772,12 @@ poppler_text_attributes_free (PopplerTextAttributes *text_attrs) g_slice_free (PopplerTextAttributes, text_attrs); } +/** + * SECTION:poppler-color + * @short_description: Colors + * @title: PopplerColor + */ + /* PopplerColor type */ POPPLER_DEFINE_BOXED_TYPE (PopplerColor, poppler_color, poppler_color_copy, poppler_color_free) diff --git a/glib/reference/poppler-docs.sgml b/glib/reference/poppler-docs.sgml index 6dcc658..4dd1338 100644 --- a/glib/reference/poppler-docs.sgml +++ b/glib/reference/poppler-docs.sgml @@ -24,6 +24,7 @@ <xi:include href="xml/poppler-media.xml"/> <xi:include href="xml/poppler-movie.xml"/> <xi:include href="xml/poppler-structure-element.xml"/> + <xi:include href="xml/poppler-color.xml"/> <xi:include href="xml/poppler-features.xml"/> </chapter> diff --git a/glib/reference/poppler-sections.txt b/glib/reference/poppler-sections.txt index 742065a..de5d902 100644 --- a/glib/reference/poppler-sections.txt +++ b/glib/reference/poppler-sections.txt @@ -340,18 +340,13 @@ POPPLER_ERROR PopplerError PopplerOrientation PopplerBackend -PopplerColor PopplerPrintFlags PopplerFindFlags poppler_get_backend poppler_get_version poppler_date_parse -poppler_color_new -poppler_color_copy -poppler_color_free <SUBSECTION Standard> -POPPLER_TYPE_COLOR POPPLER_TYPE_BACKEND POPPLER_TYPE_ERROR POPPLER_TYPE_ORIENTATION @@ -362,7 +357,6 @@ POPPLER_DEFINE_BOXED_TYPE poppler_error_get_type poppler_error_quark poppler_backend_get_type -poppler_color_get_type poppler_orientation_get_type poppler_print_flags_get_type </SECTION> @@ -723,6 +717,21 @@ poppler_text_span_get_type </SECTION> <SECTION> +<FILE>poppler-color</FILE> +<TITLE>PopplerColor</TITLE> +PopplerColor +poppler_color_new +poppler_color_copy +poppler_color_free + +<SUBSECTION Standard> +POPPLER_TYPE_COLOR + +<SUBSECTION Private> +poppler_color_get_type +</SECTION> + +<SECTION> <FILE>poppler-features</FILE> POPPLER_HAS_CAIRO POPPLER_MAJOR_VERSION _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
