Podium.CoreProperties (Podium v0.3.0)

Copy Markdown View Source

Dublin Core metadata for presentation document properties.

Manages the docProps/core.xml part containing title, author, subject, keywords, and other Dublin Core / OPC core property fields.

Summary

Functions

Creates a CoreProperties struct from a keyword list.

Generates the Dublin Core XML for docProps/core.xml.

Types

t()

@type t() :: %Podium.CoreProperties{
  author: String.t() | nil,
  category: String.t() | nil,
  comments: String.t() | nil,
  content_status: String.t() | nil,
  created: DateTime.t() | nil,
  keywords: String.t() | nil,
  language: String.t() | nil,
  last_modified_by: String.t() | nil,
  last_printed: DateTime.t() | nil,
  modified: DateTime.t() | nil,
  revision: integer() | nil,
  subject: String.t() | nil,
  title: String.t() | nil,
  version: String.t() | nil
}

Functions

new(opts \\ [])

@spec new(keyword()) :: t()

Creates a CoreProperties struct from a keyword list.

to_xml(props)

@spec to_xml(t()) :: String.t()

Generates the Dublin Core XML for docProps/core.xml.