HTML to PDF / DOCX / RTF Java converter library Forums PD4ML Forums New feature requests Support for adding custom document meta data to existing PDF documents

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33991

    Currently, the PdfDocumentBase class allows you to change well-known document meta data, like .setTitle() to set the title, .setAuthor() to set the author, etc.
    But there is no way to set/add custom meta data to existing PDF documents.
    Could this be added?

    #33992

    The similar methods are available from com.pd4ml.PD4ML (v4 API) directly. There are setAuthorName(), setDocumentTitle() and addMetadata() for arbitrary meta data settings.

    https://pd4ml.tech/javadoc/com/pd4ml/PD4ML.html#addMetadata-java.lang.String-java.lang.String-boolean-

    Document creator property can be overridden only via dedicated environment variable.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.