Protocols

The following protocols are available globally.

  • Protocol including all public methods and accessors available for generating documents

    See more

    Declaration

    Swift

    public protocol PDFGeneratorProtocol : AnyObject
  • Adds functionality to convert to a PDF table content

    See more

    Declaration

    Swift

    public protocol PDFTableContentable
  • Object implementing this protocol should offer the functionality to merge itself into a single value

    See more

    Declaration

    Swift

    public protocol PDFTableMergable
  • A protocol that objects adopt to provide functional copies of themselves.

    See more

    Declaration

    Swift

    public protocol PDFCopy
  • A object must implement this protocol to be serialized into a JSON

    See more

    Declaration

    Swift

    public protocol PDFJSONRepresentable
  • TODO: Documentation

    See more

    Declaration

    Swift

    public protocol PDFJSONSerializable : PDFJSONRepresentable
  • Protocol for adding attributes to an object

    See more

    Declaration

    Swift

    public protocol PDFAttributableObject