Document Metadata ================= The ```` section inside ```` sets PDF information fields (author, title, dates, etc.) that are embedded in the output file. Example ------- .. code-block:: xml Annual Report 2025 Docraft Team Financial summary finance, report, 2025 Docraft 1.0 Docraft/libharu 2025 12 31 Metadata Fields --------------- .. list-table:: :header-rows: 1 :widths: 25 75 * - Element - Description * - ```` - PDF title string. * - ```` - Author name. * - ```` - Application that created the content. * - ```` - Application that produced the PDF. * - ```` - Document subject. * - ```` - Comma-separated keyword list. * - ```` - Trapping flag (``True``, ``False``, ``Unknown``). * - ```` - GTS_PDFXVersion string. Date Elements ------------- ```` and ```` contain sub-elements: .. list-table:: :header-rows: 1 :widths: 20 15 65 * - Element - Type - Description * - ```` - int - Four-digit year. * - ```` - int - Month (1–12). * - ```` - int - Day (1–31). * - ```` - int - Hour (0–23). * - ```` - int - Minutes (0–59). * - ```` - int - Seconds (0–59). * - ```` - char - UTC indicator (``+``, ``-``, or ``Z``). * - ```` - int - UTC offset hours. * - ```` - int - UTC offset minutes. Automatic Keywords ------------------ Enable ```` to have the library automatically extract keywords from text nodes using term-frequency analysis. .. list-table:: :header-rows: 1 :widths: 20 15 65 * - Attribute - Type - Description * - ``enabled`` - bool - Enable/disable extraction. * - ``max_keywords`` - int - Maximum number of keywords (default ``10``). * - ``min_length`` - int - Minimum word length (default ``4``). * - ``language`` - string - Stop-word languages, comma-separated (``en,it,fr,de,es``).