com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class PagedTextPackage

  • All Implemented Interfaces:
    IXmlValue


    public final class PagedTextPackage
    extends XmpPackage

    Represents XMP Paged-Text namespace.

    • Constructor Detail

      • PagedTextPackage

        public PagedTextPackage()

        Initializes a new instance of the PagedTextPackage class.

    • Method Detail

      • getFonts

        public final Font[] getFonts()

        Gets the fonts.

        Returns:
        Fonts used in document.
      • getMaxPageSize

        public final Dimensions getMaxPageSize()

        Gets maximum page size.

        Returns:
        The maximum size of the page.
      • getNumberOfPages

        public final int getNumberOfPages()

        Gets number of pages in the document.

        Returns:
        The number of pages.
      • getPlateNames

        public final String[] getPlateNames()

        Gets or set plate names that are needed to print the document.

        Returns:
        The plate names.
      • addValue

        public void addValue(String key,
                    String value)

        Adds string property.

        Overrides:
        addValue in class XmpPackage
        Parameters:
        key - XMP metadata key.
        value - XMP metadata value.
      • setMaxPageSize

        public final void setMaxPageSize(Dimensions size)

        Sets the size of the largest page in the document (including any in contained documents).

        Parameters:
        size - Size of the largest page in document.
      • setNumberOfPages

        public final void setNumberOfPages(int pages)

        Sets the number of pages in the document.

        Parameters:
        pages - Number of pages in the document.
      • setPlateNames

        public final void setPlateNames(String[] names)

        Sets plate names that are needed to print the document.

        Parameters:
        names - Plate names needed to print the document.
      • setFonts

        public final void setFonts(Font[] fonts)

        Updates fonts.

        Parameters:
        fonts - Array of Font.