import * as em from "./../Enums"; import * as ds from "./../Types"; import { ObjectManager } from "./../ObjectManager"; import { ObjectBase } from "./../ObjectBase"; /** * Represents XMP metadata associated with a PDF document. **/ export declare class Metadata extends ObjectBase { /** * Creates a new {@link Metadata} object with specified properties. * @param metadataProperties The optional settings for creating {@link Metadata}. **/ constructor(metadataProperties?: ds.MetadataProperties); /** * Creates a new {@link Metadata} object with specified properties. * @param om An object manager that controls the lifetime of the {@link Metadata} object. * @param metadataProperties The optional settings for creating {@link Metadata}. **/ constructor(om: ObjectManager, metadataProperties?: ds.MetadataProperties); /** * Gets or sets the PDF/A conformance version. **/ get pdfA(): em.PdfAConformanceLevel; /** * Gets or sets the PDF/A conformance version. **/ set pdfA(value: em.PdfAConformanceLevel); /** * Gets or sets the PDF/UA conformance version. * Null indicates that the document is not PDF/UA compliant. **/ get pdfUa(): number | null; /** * Gets or sets the PDF/UA conformance version. * Null indicates that the document is not PDF/UA compliant. **/ set pdfUa(value: number | null); /** * Gets or sets the document's producer. Maps to PDF 'Producer' property. **/ get producer(): string; /** * Gets or sets the document's producer. Maps to PDF 'Producer' property. **/ set producer(value: string); /** * Gets or sets the document's title. Maps to Dublin Core 'title' property. **/ get title(): string; /** * Gets or sets the document's title. Maps to Dublin Core 'title' property. **/ set title(value: string); /** * Gets or sets the document description. Maps to Dublin Core 'description' property. **/ get description(): string; /** * Gets or sets the document description. Maps to Dublin Core 'description' property. **/ set description(value: string); /** * Gets or sets the document coverage. Maps to Dublin Core 'coverage' property. **/ get coverage(): string; /** * Gets or sets the document coverage. Maps to Dublin Core 'coverage' property. **/ set coverage(value: string); /** * Gets or sets the document identifier. Maps to Dublin Core 'identifier' property. **/ get identifier(): string; /** * Gets or sets the document identifier. Maps to Dublin Core 'identifier' property. **/ set identifier(value: string); /** * Gets or sets the document copyright. Maps to Dublin Core 'rights' property. **/ get copyright(): string; /** * Gets or sets the document copyright. Maps to Dublin Core 'rights' property. **/ set copyright(value: string); /** * Gets or sets the document source. Maps to Dublin Core 'source' property. **/ get source(): string; /** * Gets or sets the document source. Maps to Dublin Core 'source' property. **/ set source(value: string); /** * Gets or sets the creation date. Maps to XMP 'CreateDate' property. * If null, the current date/time is used. **/ get createDate(): Date | null; /** * Gets or sets the creation date. Maps to XMP 'CreateDate' property. * If null, the current date/time is used. **/ set createDate(value: Date | null); /** * Gets or sets the modification date. Maps to XMP 'ModifyDate' property. * If null, the current date/time is used. **/ get modifyDate(): Date | null; /** * Gets or sets the modification date. Maps to XMP 'ModifyDate' property. * If null, the current date/time is used. **/ set modifyDate(value: Date | null); /** * Gets or sets the metadata date. Maps to XMP 'MetadataDate' property. * If null, the current date/time is used. **/ get metadataDate(): Date | null; /** * Gets or sets the metadata date. Maps to XMP 'MetadataDate' property. * If null, the current date/time is used. **/ set metadataDate(value: Date | null); /** * Gets or sets the creator tool. In PDF/A compatible documents this value * should be the same as {@link DocumentInfo.creator}. **/ get creatorTool(): string; /** * Gets or sets the creator tool. In PDF/A compatible documents this value * should be the same as {@link DocumentInfo.creator}. **/ set creatorTool(value: string); /** * Gets or sets a value indicating whether the metadata is marked as read-only. **/ get readOnly(): boolean; /** * Gets or sets a value indicating whether the metadata is marked as read-only. **/ set readOnly(value: boolean); /** * Gets or sets the list of document creators. Maps to Dublin Core 'creator' property. **/ get creators(): string[]; /** * Gets or sets the list of document creators. Maps to Dublin Core 'creator' property. **/ set creators(value: string[]); /** * Gets or sets the list of document keywords, or subjects. Maps to Dublin Core 'subject' property. **/ get keywords(): string[]; /** * Gets or sets the list of document keywords, or subjects. Maps to Dublin Core 'subject' property. **/ set keywords(value: string[]); /** * Gets or sets the list of document contributors. Maps to Dublin Core 'contributor' property. **/ get contributors(): string[]; /** * Gets or sets the list of document contributors. Maps to Dublin Core 'contributor' property. **/ set contributors(value: string[]); /** * Gets or sets the list of document languages. Maps to Dublin Core 'language' property. **/ get languages(): string[]; /** * Gets or sets the list of document languages. Maps to Dublin Core 'language' property. **/ set languages(value: string[]); /** * Gets or sets the list of document publishers. Maps to Dublin Core 'publisher' property. **/ get publishers(): string[]; /** * Gets or sets the list of document publishers. Maps to Dublin Core 'publisher' property. **/ set publishers(value: string[]); /** * Gets or sets the list of document relations. Maps to Dublin Core 'relation' property. **/ get relations(): string[]; /** * Gets or sets the list of document relations. Maps to Dublin Core 'relation' property. **/ set relations(value: string[]); /** * Gets or sets the list of document types. Maps to Dublin Core 'type' property. **/ get types(): string[]; /** * Gets or sets the list of document types. Maps to Dublin Core 'type' property. **/ set types(value: string[]); /** * Gets or sets the list of document dates. Maps to Dublin Core 'date' property. **/ get dates(): string[]; /** * Gets or sets the list of document dates. Maps to Dublin Core 'date' property. **/ set dates(value: string[]); /** * Gets or sets the list of document custom properties. **/ get userProps(): ds.MetadataUserProp[]; /** * Gets or sets the list of document custom properties. **/ set userProps(props: ds.MetadataUserProp[]); /** * Adds a property to metadata. * @param namespace The XML namespace. * @param name The property name. * @param value The property value. **/ addProperty(namespace: em.UserPropNamespace, name: string, value: string): void; }