diff --git a/Examples.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Examples.xcworkspace/xcshareddata/swiftpm/Package.resolved index e5921572..380b0854 100644 --- a/Examples.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Examples.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -36,6 +36,24 @@ "revision": "8cce6acd38f965f5baa3167b939f86500314022b", "version": "3.1.2" } + }, + { + "package": "SwiftDocCPlugin", + "repositoryURL": "https://github.com/apple/swift-docc-plugin", + "state": { + "branch": null, + "revision": "26ac5758409154cc448d7ab82389c520fa8a8247", + "version": "1.3.0" + } + }, + { + "package": "SymbolKit", + "repositoryURL": "https://github.com/apple/swift-docc-symbolkit", + "state": { + "branch": null, + "revision": "b45d1f2ed151d057b54504d653e0da5552844e34", + "version": "1.0.0" + } } ] }, diff --git a/Package.resolved b/Package.resolved index c32f627b..380b0854 100644 --- a/Package.resolved +++ b/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git", "state": { "branch": null, - "revision": "35f9e770f54ce62dd8526470f14c6e137cef3eea", - "version": "2.1.1" + "revision": "3ef6999c73b6938cc0da422f2c912d0158abb0a0", + "version": "2.2.0" } }, { @@ -15,8 +15,8 @@ "repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git", "state": { "branch": null, - "revision": "c21f7bab5ca8eee0a9998bbd17ca1d0eb45d4688", - "version": "2.1.0" + "revision": "2ef56b2caf25f55fa7eef8784c30d5a767550f54", + "version": "2.2.1" } }, { @@ -36,6 +36,24 @@ "revision": "8cce6acd38f965f5baa3167b939f86500314022b", "version": "3.1.2" } + }, + { + "package": "SwiftDocCPlugin", + "repositoryURL": "https://github.com/apple/swift-docc-plugin", + "state": { + "branch": null, + "revision": "26ac5758409154cc448d7ab82389c520fa8a8247", + "version": "1.3.0" + } + }, + { + "package": "SymbolKit", + "repositoryURL": "https://github.com/apple/swift-docc-symbolkit", + "state": { + "branch": null, + "revision": "b45d1f2ed151d057b54504d653e0da5552844e34", + "version": "1.0.0" + } } ] }, diff --git a/Package.swift b/Package.swift index f3b5e8ea..c63ed53d 100644 --- a/Package.swift +++ b/Package.swift @@ -14,6 +14,7 @@ let package = Package( dependencies: [ .package(url: "https://github.com/Quick/Quick", .exact("3.1.2")), .package(url: "https://github.com/Quick/Nimble", .exact("9.2.1")), + .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.1.0"), ], targets: [ .target(name: "TPPDF", path: "Source"), diff --git a/Source/API/Layout/PDFContainer.swift b/Source/API/Layout/PDFContainer.swift index 1b083d55..15591b19 100644 --- a/Source/API/Layout/PDFContainer.swift +++ b/Source/API/Layout/PDFContainer.swift @@ -96,7 +96,7 @@ public enum PDFContainer: CaseIterable { [ .headerLeft, .headerCenter, .headerRight, .contentLeft, .contentCenter, .contentRight, - .footerLeft, .footerCenter, .footerRight, + .footerLeft, .footerCenter, .footerRight ] } } diff --git a/Source/API/Metadata/PDFInfo.swift b/Source/API/Metadata/PDFInfo.swift index 41d09b8c..3fac4a89 100644 --- a/Source/API/Metadata/PDFInfo.swift +++ b/Source/API/Metadata/PDFInfo.swift @@ -98,7 +98,7 @@ public class PDFInfo { kCGPDFContextSubject as String: subject, kCGPDFContextKeywords as String: keywords, kCGPDFContextAllowsPrinting as String: allowsPrinting, - kCGPDFContextAllowsCopying as String: allowsCopying, + kCGPDFContextAllowsCopying as String: allowsCopying ] var creator = Bundle.main.infoDictionary?["CFBundleName"] as? String ?? "TPPDF" diff --git a/Source/API/PDFGenerator+Generation.swift b/Source/API/PDFGenerator+Generation.swift index 5c920a4f..a58ea3af 100644 --- a/Source/API/PDFGenerator+Generation.swift +++ b/Source/API/PDFGenerator+Generation.swift @@ -329,7 +329,7 @@ public extension PDFGenerator { layout.margin.top + layout.heights.maxHeaderHeight(), layout.margin.top + layout.heights.maxHeaderHeight() + document.layout.space.header, document.layout.height - layout.margin.bottom - layout.heights.maxFooterHeight(), - document.layout.height - layout.margin.bottom - layout.heights.maxFooterHeight() - document.layout.space.footer, + document.layout.height - layout.margin.bottom - layout.heights.maxFooterHeight() - document.layout.space.footer ] var lines: [PDFLineObject] = [] diff --git a/Source/API/Utils/PDFError.swift b/Source/API/Utils/PDFError.swift index f379474a..daf0835d 100644 --- a/Source/API/Utils/PDFError.swift +++ b/Source/API/Utils/PDFError.swift @@ -9,11 +9,7 @@ import Foundation /// List of errors which can be thrown during configuration, calculations or rendering public enum PDFError: LocalizedError { - /** - * The associated `value` is an instance of an unsupported type. - * - * See ``PDFTableContent/setContent(content:)`` for details. - */ + /// The associated `value` is an instance of an unsupported type. case tableContentInvalid(value: Any?) /// Indicates that a table without any data was added to the document, which is unsupported @@ -28,7 +24,7 @@ public enum PDFError: LocalizedError { /// Indicates that the cell is too big to be rendered onto a single page case tableCellTooBig(cell: PDFTableCell) - /// Thrown when neither a ``PDFSimpleText`` nor a ``NSAttributedString`` is set in an ``PDFAttributedText`` + /// Thrown when neither a ``PDFSimpleText`` nor a ``UIKit/NSAttributedString`` is set in an ``PDFAttributedText`` case textObjectIsNil /// Thrown when a ``PDFAttributedText`` should be rendered without being calculated first diff --git a/Source/Internal/External/PDFExternalPageObject.swift b/Source/Internal/External/PDFExternalPageObject.swift index 32f1893d..3075f07e 100644 --- a/Source/Internal/External/PDFExternalPageObject.swift +++ b/Source/Internal/External/PDFExternalPageObject.swift @@ -21,7 +21,7 @@ class PDFExternalPageObject: PDFRenderObject { override func calculate(generator _: PDFGenerator, container: PDFContainer) throws -> [PDFLocatedRenderObject] { frame = page.getBoxRect(.mediaBox) return [ - (container, self), + (container, self) ] } diff --git a/Source/Internal/Graphics/PDFContextGraphics.swift b/Source/Internal/Graphics/PDFContextGraphics.swift index b8b9c995..9b96ac9d 100644 --- a/Source/Internal/Graphics/PDFContextGraphics.swift +++ b/Source/Internal/Graphics/PDFContextGraphics.swift @@ -63,7 +63,7 @@ enum PDFContextGraphics { var mediaBox = bounds let boxData = NSData(bytes: &mediaBox, length: MemoryLayout.size(ofValue: mediaBox)) let pageInfo = [ - kCGPDFContextMediaBox as String: boxData, + kCGPDFContextMediaBox as String: boxData ] context.beginPDFPage(pageInfo as CFDictionary) diff --git a/Source/Internal/Group/PDFGroupObject.swift b/Source/Internal/Group/PDFGroupObject.swift index 45894e9d..07fb717b 100644 --- a/Source/Internal/Group/PDFGroupObject.swift +++ b/Source/Internal/Group/PDFGroupObject.swift @@ -95,7 +95,7 @@ class PDFGroupObject: PDFRenderObject { } var groupedResult = [ - [PDFLocatedRenderObject](), + [PDFLocatedRenderObject]() ] // Set padding diff --git a/Source/Internal/Layout/PDFColumnLayoutState.swift b/Source/Internal/Layout/PDFColumnLayoutState.swift index b3ccbd79..a3acc121 100644 --- a/Source/Internal/Layout/PDFColumnLayoutState.swift +++ b/Source/Internal/Layout/PDFColumnLayoutState.swift @@ -53,27 +53,27 @@ class PDFColumnLayoutState: CustomStringConvertible { self.currentColumn = [ .headerLeft: 0, .contentLeft: 0, - .footerLeft: 0, + .footerLeft: 0 ] self.columnWidths = [ .headerLeft: [], .contentLeft: [], - .footerLeft: [], + .footerLeft: [] ] self.columnSpacings = [ .headerLeft: [], .contentLeft: [], - .footerLeft: [], + .footerLeft: [] ] self.wrapColumnsHeight = [ .headerLeft: 0, .contentLeft: 0, - .footerLeft: 0, + .footerLeft: 0 ] self.inset = [ .headerLeft: (0, 0), .contentLeft: (0, 0), - .footerLeft: (0, 0), + .footerLeft: (0, 0) ] } @@ -85,27 +85,27 @@ class PDFColumnLayoutState: CustomStringConvertible { currentColumn = [ .headerLeft: 0, .contentLeft: 0, - .footerLeft: 0, + .footerLeft: 0 ] columnWidths = [ .headerLeft: [], .contentLeft: [], - .footerLeft: [], + .footerLeft: [] ] columnSpacings = [ .headerLeft: [], .contentLeft: [], - .footerLeft: [], + .footerLeft: [] ] wrapColumnsHeight = [ .headerLeft: 0, .contentLeft: 0, - .footerLeft: 0, + .footerLeft: 0 ] inset = [ .headerLeft: (0, 0), .contentLeft: (0, 0), - .footerLeft: (0, 0), + .footerLeft: (0, 0) ] } diff --git a/Source/Internal/Table/PDFTableObject.swift b/Source/Internal/Table/PDFTableObject.swift index 0e7dd6fb..a360c9ba 100644 --- a/Source/Internal/Table/PDFTableObject.swift +++ b/Source/Internal/Table/PDFTableObject.swift @@ -270,7 +270,7 @@ class PDFTableObject: PDFRenderObject { let attributes: [NSAttributedString.Key: AnyObject] = [ .foregroundColor: cellStyle.colors.text, .font: cellStyle.font, - .paragraphStyle: paragraph, + .paragraphStyle: paragraph ] return NSAttributedString(string: text, attributes: attributes) } @@ -606,7 +606,7 @@ class PDFTableObject: PDFRenderObject { endPoint: CGPoint(x: frame.maxX, y: frame.maxY)), PDFLineObject(style: borders.left, startPoint: CGPoint(x: frame.minX, y: frame.minY), - endPoint: CGPoint(x: frame.minX, y: frame.maxY)), + endPoint: CGPoint(x: frame.minX, y: frame.maxY)) ] } diff --git a/Source/Internal/Text/PDFAttributedTextObject.swift b/Source/Internal/Text/PDFAttributedTextObject.swift index 6ef4fe14..12636e29 100644 --- a/Source/Internal/Text/PDFAttributedTextObject.swift +++ b/Source/Internal/Text/PDFAttributedTextObject.swift @@ -287,7 +287,7 @@ class PDFAttributedTextObject: PDFRenderObject { return [ NSAttributedString.Key.font: style?.font ?? fonts[container]!, NSAttributedString.Key.foregroundColor: style?.color ?? textColor[container]!, - NSAttributedString.Key.paragraphStyle: paragraphStyle, + NSAttributedString.Key.paragraphStyle: paragraphStyle ] } diff --git a/Source/Internal/Utils/PDFSlicedObject.swift b/Source/Internal/Utils/PDFSlicedObject.swift index 1e330dbe..4cf0c0c4 100644 --- a/Source/Internal/Utils/PDFSlicedObject.swift +++ b/Source/Internal/Utils/PDFSlicedObject.swift @@ -23,7 +23,7 @@ class PDFSlicedObject: PDFRenderObject { override func calculate(generator _: PDFGenerator, container: PDFContainer) throws -> [PDFLocatedRenderObject] { [ - (container, self), + (container, self) ] } diff --git a/docs/Classes.html b/docs/Classes.html deleted file mode 100644 index 515b9079..00000000 --- a/docs/Classes.html +++ /dev/null @@ -1,1502 +0,0 @@ - - - - Classes Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Classes

-

The following classes are available globally.

- -
-
- -
-
-
-
    -
  • -
    - - - - PDFDocument - -
    -
    -
    -
    -
    -
    -

    This object holds the information about the document and also all PDF objects.

    - -

    This is the main structure to create new documents. It is the base for the PDFGenerator to generate the PDF output

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFDocument : CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFExternalDocument - -
    -
    -
    -
    -
    -
    -

    Document object used for including an external PDF document

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFExternalDocument
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFBezierPath - -
    -
    -
    -
    -
    -
    -

    Structure to create a bezier path, similar to UIKit.UIBezierPath

    - -

    A bezier path consists of a set of elements relative to a reference frame, to produce a path. - When using the close as the last element, the path will be considered as a shape instead.

    - -

    Example for a diamond shape:

    -
     let size = CGSize(width: 100, height: 100)
    - let path = PDFBezierPath(ref: CGRect(origin: .zero, size: size))
    - path.move(to: PDFBezierPathVertex(
    -      position: CGPoint(x: size.width / 2, y: 0),
    -     anchor: .topCenter
    - ))
    - path.addLine(to: PDFBezierPathVertex(
    -     position: CGPoint(x: size.width, y: size.height / 2),
    -     anchor: .middleRight
    - ))
    - path.addLine(to: PDFBezierPathVertex(
    -     position: CGPoint(x: size.width / 2, y: size.height),
    -     anchor: .bottomCenter
    - ))
    - path.addLine(to: PDFBezierPathVertex(
    -     position: CGPoint(x: 0, y: size.height / 2),
    -     anchor: .middleLeft
    - ))
    - path.close()
    -
    - -

    The anchor is used to handle differences between the PDFBezierPath/refFrame

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFBezierPath : CustomStringConvertible
    -
    extension PDFBezierPath: NSCopying
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFBezierPathVertex - -
    -
    -
    -
    -
    -
    -

    A vertex in a PDFBezierPath

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFBezierPathVertex : CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Renders an arbitrary path into the graphics context

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFDynamicGeometryShape : CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFGroup - -
    -
    -
    -
    -
    -
    -

    Object used to dynamically add multiple elements to a document, but calculate them as one.

    - -

    This way it is possible to add e.g. multiple PDFText elements and if the calculations require a page break, it can be disabled. - Additionally groups allow to set either an UIKit.UIColor / AppKit.NSColor as the backgroundColor - or even create a complex PDFDynamicGeometryShape which adapts to the group frame.

    - -

    Example:

    - -

    The following example will create a large text with multiple indentation levels. By setting allowsBreaks to false, - it won’t break the text, but move it to the next page in full.

    -
     let group = PDFGroup(
    -     allowsBreaks: false,
    -     backgroundColor: .green,
    -     padding: UIEdgeInsets(top: 50, left: 50, bottom: 50, right: 180)
    - )
    -
    - for i in 0..<10 {
    -     group.set(font: UIFont.systemFont(ofSize: 25))
    -     group.set(indentation: 30 * CGFloat(i % 5), left: true)
    -     group.set(indentation: 30 * CGFloat(i % 3), left: false)
    -     group.add(text: "Text \(i)-\(i)-\(i)-\(i)-\(i)")
    - }
    -
    - document.add(group: group)
    -
    - -

    See PDFGroupObject/draw(generator:container:in:) for internal implementation details

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFGroup
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFMasterGroup - -
    -
    -
    -
    -
    -
    -

    Subclass of PDFGroup with additional properties to configure page background content

    - -

    Each instance of PDFDocument can have one group set as the `PDFDocument/masterGroup

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFMasterGroup : PDFGroup
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFImage - -
    -
    -
    -
    -
    -
    -

    Image element for the PDF document.

    - -

    Contains all information about an image, including the caption.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFImage : PDFDocumentObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFList - -
    -
    -
    -
    -
    -
    -

    Creates a new bullet list or numbered list with multiple, indented levels.

    - -

    Each list item has a pre spacing between the page indentation to the left side of the symbol, and a past spacing at - the right side of the symbol.

    -
     let list = PDFList(indentations: [(pre: 0.0, past: 20.0), (pre: 20.0, past: 20.0), (pre: 40.0, past: 20.0)])
    -
    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFList : PDFDocumentObject
    -
    extension PDFList: CustomDebugStringConvertible
    -
    extension PDFList: CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFListItem - -
    -
    -
    -
    -
    -
    -

    An item used in a PDFList

    - -

    By configuring the symbol it is possible to mix the symbols used by list items.

    -
     let document = PDFDocument(format: .a4)
    -
    - let items = [
    -     "Simple text drawing",
    -     "Advanced text drawing using AttributedString",
    -     "Multi-layer rendering by simply setting the offset",
    -     "Fully calculated content sizing",
    -     "Automatic page wrapping",
    -     "Customizable pagination",
    -     "Fully editable header and footer",
    -     "Simple image positioning and rendering",
    -     "Image captions"
    - ]
    -
    - // Simple bullet point list
    - let featureList = PDFList(indentations: [
    -     (pre: 10.0, past: 20.0),
    -     (pre: 20.0, past: 20.0),
    -     (pre: 40.0, past: 20.0)
    - ])
    -
    - // By adding the item first to a list item with the dot symbol, all of them will inherit it
    - featureList
    -     .addItem(PDFListItem(symbol: .dot)
    -     .addItems(items.map { PDFListItem(content: $0) })
    - document.add(list: featureList)
    -
    - document.add(space: 20)
    -
    - // Numbered list with unusual indentation
    - let weirdIndentationList = PDFList(indentations: [
    -     (pre: 10.0, past: 20.0),
    -     (pre: 40.0, past: 30.0),
    -     (pre: 20.0, past: 50.0)
    - ])
    -
    - weirdIndentationList.addItems(items.enumerated().map { arg in
    -     PDFListItem(symbol: .numbered(value: "\(arg.offset + 1)"), content: arg.element)
    - })
    - document.add(list: weirdIndentationList)
    -
    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFListItem : PDFDocumentObject
    -
    extension PDFListItem: CustomDebugStringConvertible
    -
    extension PDFListItem: CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFInfo - -
    -
    -
    -
    -
    -
    -

    Information saved in PDF file metadata

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFInfo
    -
    extension PDFInfo: Equatable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFGenerator - -
    -
    -
    -
    -
    -
    -

    Factory to convert a single PDFDocument into a PDF file

    - -

    This is one of the main classes used to interact with the framework.

    - -

    The PDFGenerator is a stateful object which should be used exactly once per generator task.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFGenerator : PDFGeneratorProtocol, CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Generates a PDF from multiple PDFDocument by appending them.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFMultiDocumentGenerator : PDFGeneratorProtocol
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFSection - -
    -
    -
    -
    -
    -
    -

    A multi-column section is a nested container.

    - -

    Creating the section with an amount of columns and their relative width, add objects to each column and then add the whole section to the document.

    - -

    When adding an object to the section column, you use the Array subscript section.columns[0]. - You are able to give it an alignment as the first parameter, similar to the PDFContainer but only with .left, .center and .right - as it is not possible to add a section to the header or footer containers.

    - -

    Use enable(_:columns:widths:spacings:)for details on how to enable multi-columns with automatic text wrapping, - allowing to split a page into multiple columns and fill it up starting at the left.

    - -

    Example:

    -
     let section = PDFSection(columnWidths: [0.3, 0.4, 0.3])
    - section.columns[0].addText(.right, text: "right")
    - section.columns[1].addText(.left, text: "left")
    - section.columns[2].addText(.center, text: "center")
    - document.add(section: section)
    -
    - -

    Attention:

    - -

    Do not add a PDFSection multiple times to a PDFDocument, as they hold some internal state, which will lead to collisions and unpredictable - framing calculations.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFSection : PDFDocumentObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFSectionColumn - -
    -
    -
    -
    -
    -
    -

    A configurable column of a PDFSection

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFSectionColumn : PDFDocumentObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableOfContent - -
    -
    -
    -
    -
    -
    -

    Creates a table of content for the given list of render objects.

    - -

    The given list of styles are used to identify which PDFAttributedTextObject should be considered as “headers” and therefore be in the table of contents.

    - -

    Furthermore, the index of the style in the list of styles is used as the nesting level.

    - -

    Looking at the following example document, there are 3 levels of headers defined:

    - -
      -
    • Title
    • -
    • Heading 1
    • -
    • Heading 2
    • -
    - -

    Any other text which is not using these styles, should be considered body content text.

    -
     let document = PDFDocument(format: .a4)
    -
    - // Define document wide styles
    - let titleStyle = document.add(style: PDFTextStyle(name: "Title"))
    - let headingStyle1 = document.add(style: PDFTextStyle(name: "Heading 1"))
    - let headingStyle2 = document.add(style: PDFTextStyle(name: "Heading 2"))
    -
    - // Add a string using the title style
    - document.add(textObject: PDFSimpleText(text: "TPPDF", style: titleStyle))
    -
    - // Add a table of content, the content will be calculated based on the usages of the styles
    - document.add(text: "Table of Contents")
    - document.add(tableOfContent: PDFTableOfContent(styles: [
    -     headingStyle1,
    -     headingStyle2,
    - ], symbol: .none))
    -
    - // Add headline with extra spacing
    - document.add(textObject: PDFSimpleText(text: "1. Introduction", style: headingStyle1))
    - document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
    -
    - document.add(textObject: PDFSimpleText(text: "2. Images", style: headingStyle1))
    - document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
    -
    - document.add(textObject: PDFSimpleText(text: "2.1 Special Images", style: headingStyle2))
    - document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
    -
    - document.add(textObject: PDFSimpleText(text: "3. Tables", style: headingStyle1))
    - document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
    -
    - -

    The output of the table of contents nested lists will look like this:

    - -
      -
    • 1. Introduction - -
        -
      • 2. Images
      • -
      • 2.1 Special Images
      • -
      • 3. Tables
      • -
    • -
    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableOfContent : PDFDocumentObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableContent - -
    -
    -
    -
    -
    -
    -

    Structure used to manage cell content

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableContent : CustomStringConvertible, Hashable
    -
    extension PDFTableContent: PDFTableContentable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTable - -
    -
    -
    -
    -
    -
    -

    A table is a two dimensional list.

    - -

    It can be styled and can contain different data.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTable : PDFDocumentObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableCell - -
    -
    -
    -
    -
    -
    -

    An instance of a table cell

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableCell : PDFDocumentObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableColumn - -
    -
    -
    -
    -
    -
    -

    Reference to a single column of cells in a PDFTable

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableColumn
    -
    extension PDFTableColumn: PDFTableMergable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableColumns - -
    -
    -
    -
    -
    -
    -

    References to multiple columns (PDFTableColumn) of a PDFTable

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableColumns
    -
    extension PDFTableColumns: PDFTableMergable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableRow - -
    -
    -
    -
    -
    -
    -

    Reference to a single row of cells in a PDFTable

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableRow
    -
    extension PDFTableRow: PDFTableMergable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableRows - -
    -
    -
    -
    -
    -
    -

    References to multiple rows (PDFTableRow) of a PDFTable

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableRows
    -
    extension PDFTableRows: PDFTableMergable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableSection - -
    -
    -
    -
    -
    -
    -

    Reference to a range of cells in a PDFTable

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableSection
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableStyle - -
    -
    -
    -
    -
    -
    -

    Structure used to manage the styling of a PDFTable

    - -

    The styling of a PDFTable can be defined by setting the property style

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableStyle
    -
    extension PDFTableStyle: Equatable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFAttributedText - -
    -
    -
    -
    -
    -
    -

    Advanced text objects using an attributed stringFoundation.NSAttributedString as the internal structure.

    - -

    Use this class for advanced text drawing. - For simpler use cases, consider PDFSimpleText.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFAttributedText : PDFText
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFSimpleText - -
    -
    -
    -
    -
    -
    -

    Plain text object with basic styling.

    - -

    The text of a PDFSimpleText will be styled using either the referenced PDFTextStyle set on style, or otherwise using the - styling of the parent container.

    - -

    Use this class for simple text drawing. - For advanced use cases see PDFAttributedText.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFSimpleText : PDFText
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFText - -
    -
    -
    -
    -
    -
    -

    Abstract class all text objects should implement

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFText : PDFDocumentObject, CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTextStyle - -
    -
    -
    -
    -
    -
    -

    Structure to combine multiple aspects of text styling.

    - -

    Used to define text styling configuration in a global context.

    - -

    Furthermore, styles of a PDFDocument should be used to select headers for a PDFTableOfContent. - See PDFTableOfContent for details.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTextStyle : Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFDocumentObject - -
    -
    -
    -
    -
    -
    -

    All document objects are instances of PDFDocumentObject to share common properties, e.g. attributes.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFDocumentObject : PDFAttributableObject, PDFTaggableObject, Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFRenderObject - -
    -
    -
    -
    -
    -
    -

    All renderable objects subclass from this object.

    - -

    Each object is first calculated and then drawn.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFRenderObject : CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFContext - -
    -
    -
    -
    -
    -
    -

    Encapsulates the graphics context

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFContext
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFAttributedText.html b/docs/Classes/PDFAttributedText.html deleted file mode 100644 index 77f408e1..00000000 --- a/docs/Classes/PDFAttributedText.html +++ /dev/null @@ -1,612 +0,0 @@ - - - - PDFAttributedText Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFAttributedText

-
-
- -
public class PDFAttributedText : PDFText
- -
-
-

Advanced text objects using an attributed stringFoundation.NSAttributedString as the internal structure.

- -

Use this class for advanced text drawing. - For simpler use cases, consider PDFSimpleText.

- -
-
- -
-
-
-
    -
  • -
    - - - - text - -
    -
    -
    -
    -
    -
    -

    Attributed string which will be drawn in the PDF graphics context

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var text: NSAttributedString
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(text:) - -
    -
    -
    -
    -
    -
    -

    Creates a new attributed text object with the given text

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(text: NSAttributedString)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - text - - -
    -

    Foundation.NSAttributedString to be drawn in the document

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - copy - -
    -
    -
    -
    -
    -
    -

    Creates a new PDFAttributedText with the same properties

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public var copy: PDFText { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    Compares two instances of PDFAttributedText for equality

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - lhs - - -
    -

    One instance of PDFAttributedText

    -
    -
    - - rhs - - -
    -

    Another instance of PDFAttributedText

    -
    -
    -
    -
    -

    Return Value

    -

    true, if text equal; otherwise false

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFBezierPath.html b/docs/Classes/PDFBezierPath.html deleted file mode 100644 index 04fb96c4..00000000 --- a/docs/Classes/PDFBezierPath.html +++ /dev/null @@ -1,945 +0,0 @@ - - - - PDFBezierPath Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFBezierPath

-
-
- -
public class PDFBezierPath : CustomStringConvertible
-
extension PDFBezierPath: NSCopying
- -
-
-

Structure to create a bezier path, similar to UIKit.UIBezierPath

- -

A bezier path consists of a set of elements relative to a reference frame, to produce a path. - When using the close as the last element, the path will be considered as a shape instead.

- -

Example for a diamond shape:

-
 let size = CGSize(width: 100, height: 100)
- let path = PDFBezierPath(ref: CGRect(origin: .zero, size: size))
- path.move(to: PDFBezierPathVertex(
-      position: CGPoint(x: size.width / 2, y: 0),
-     anchor: .topCenter
- ))
- path.addLine(to: PDFBezierPathVertex(
-     position: CGPoint(x: size.width, y: size.height / 2),
-     anchor: .middleRight
- ))
- path.addLine(to: PDFBezierPathVertex(
-     position: CGPoint(x: size.width / 2, y: size.height),
-     anchor: .bottomCenter
- ))
- path.addLine(to: PDFBezierPathVertex(
-     position: CGPoint(x: 0, y: size.height / 2),
-     anchor: .middleLeft
- ))
- path.close()
-
- -

The anchor is used to handle differences between the PDFBezierPath/refFrame

- -
-
- -
-
-
-
    -
  • -
    - - - - init(ref:) - -
    -
    -
    -
    -
    -
    -

    Creates a new bezier path with the given reference frame.

    - -

    When creating a new path, the path cursor is set to the default origin at (0,0).

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(ref: CGRect)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - ref - - -
    -

    Reference frame

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - move(to:) - -
    -
    -
    -
    -
    -
    -

    Moves the path’s current point to the specified location.

    - -

    This method implicitly ends the current subpath (if any) and sets the current point to the value in the point parameter. - When ending the previous subpath, this method does not actually close the subpath. - Therefore, the first and last points of the previous subpath are not connected to each other.

    - -

    For many path operations, you must call this method before issuing any commands that cause a line or curve segment to be drawn.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func move(to point: PDFBezierPathVertex)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - point - - -
    -

    A point in the current coordinate system.

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - addLine(to:) - -
    -
    -
    -
    -
    -
    -

    Appends a straight line to the path.

    - -

    This method creates a straight line segment starting at the current point and ending at the point specified by the point parameter. - After adding the line segment, this method updates the current point to the value in point. - You must set the path’s current point (using the move(to:) method or through the previous creation of a line - or curve segment) before you call this method. - If the path is empty, this method does nothing.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func addLine(to point: PDFBezierPathVertex)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - point - - -
    -

    The destination point of the line segment, specified in the current coordinate system.

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Appends a cubic Bézier curve to the path.

    - -

    This method appends a cubic Bézier curve from the current point to the end point specified by the endPoint parameter. - The two control points define the curvature of the segment. Figure 1 shows an approximation of a cubic Bézier curve given a - set of initial points. - The exact curvature of the segment involves a complex mathematical relationship between all of the points and is well documented online.

    - -

    You must set the path’s current point (using the move(to:) method or through the previous creation - of a line or curve segment) before you call this method. If the path is empty, this method does nothing. - After adding the curve segment, this method updates the current point to the value in point.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func addCurve(to endPoint: PDFBezierPathVertex, controlPoint1: PDFBezierPathVertex, controlPoint2: PDFBezierPathVertex)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - endPoint - - -
    -

    The end point of the curve.

    -
    -
    - - controlPoint1 - - -
    -

    The first control point to use when computing the curve.

    -
    -
    - - controlPoint2 - - -
    -

    The second control point to use when computing the curve.

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Appends a quadratic Bézier curve to the path.

    - -

    This method appends a quadratic Bézier curve from the current point to the end point specified by the endPoint parameter. - The relationships between the current point, control point, and end point are what defines the actual curve. - The exact curvature of the segment involves a complex mathematical relationship between the points and is well documented online.

    - -

    You must set the path’s current point (using the move(to:) method or through the previous creation of a line - or curve segment) before you call this method. If the path is empty, this method does nothing. - After adding the curve segment, this method updates the current point to the value in point.

    - -

    See UIBezierPath/addQuadCurve for more details.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func addQuadCurve(to endPoint: PDFBezierPathVertex, controlPoint: PDFBezierPathVertex)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - endPoint - - -
    -

    The end point of the curve.

    -
    -
    - - controlPoint - - -
    -

    The control point of the curve.

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Appends an arc to the path.

    - -

    This method adds the specified arc beginning at the current point. - The created arc lies on the perimeter of the specified circle. - When drawn in the default coordinate system, the start of the circle is at the right end. - For example, specifying a start angle of 0 radians, an end angle of π radians, and setting the clockwise parameter to true draws - the bottom half of the circle. - However, specifying the same start and end angles but setting the clockwise parameter set to false draws the top half of the circle. - After calling this method, the current point is set to the point on the arc at the end angle of the circle.

    - -

    See UIBezierPath/addArc for more details.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func addArc(withCenter center: PDFBezierPathVertex, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat, clockwise: Bool)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - -
    - - center - - -
    -

    Specifies the center point of the circle (in the current coordinate system) used to define the arc.

    -
    -
    - - radius - - -
    -

    Specifies the radius of the circle used to define the arc.

    -
    -
    - - startAngle - - -
    -

    Specifies the starting angle of the arc (measured in radians).

    -
    -
    - - endAngle - - -
    -

    Specifies the end angle of the arc (measured in radians).

    -
    -
    - - clockwise - - -
    -

    The direction in which to draw the arc.

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - close() - -
    -
    -
    -
    -
    -
    -

    Closes the most recent subpath.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func close()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bezierPath(in:) - -
    -
    -
    -
    -
    -
    -

    Converts this path into an UIBezierPath / NSBezierPath

    - -

    As an instance of PDFBezierPath uses a reference frame for anchoring coordinates, the given parameter frame is used as the target frame, - for scaling in relative values using each element’s anchor

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func bezierPath(in frame: CGRect) -> BezierPath
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - frame - - -
    -

    Target frame for scaling this path

    -
    -
    -
    -
    -

    Return Value

    -

    UIBezierPath for iOS or NSBezierPath for macOS

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFBezierPath + NSCopying -

-
-
-
    -
  • -
    - - - - copy(with:) - -
    -
    -
    -
    -
    -
    -

    Creates a copy of this path with references to the same vertices

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func copy(with _: NSZone? = nil) -> Any
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFBezierPathVertex.html b/docs/Classes/PDFBezierPathVertex.html deleted file mode 100644 index 0f71d6ae..00000000 --- a/docs/Classes/PDFBezierPathVertex.html +++ /dev/null @@ -1,536 +0,0 @@ - - - - PDFBezierPathVertex Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFBezierPathVertex

-
-
- -
public class PDFBezierPathVertex : CustomStringConvertible
- -
-
-

A vertex in a PDFBezierPath

- -
-
- -
-
-
-
    -
  • -
    - - - - Anchor - -
    -
    -
    -
    -
    -
    -

    Anchor used to define the handling of scaling a PDFBezierPath

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum Anchor
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - position - -
    -
    -
    -
    -
    -
    -

    Position of the vertex, relative to the PDFBezierPath using this vertex.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var position: CGPoint
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - anchor - -
    -
    -
    -
    -
    -
    -

    Anchor used modify the position during scaling

    - -

    See PDFBezierPath for details.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var anchor: Anchor
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new instance of a bezier path to be used with PDFDynamicGeometryShape to render complex but dynamic shapes

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(position: CGPoint, anchor: Anchor)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - position - - -
    -

    See position

    -
    -
    - - anchor - - -
    -

    See anchor

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFBezierPathVertex/Anchor.html b/docs/Classes/PDFBezierPathVertex/Anchor.html deleted file mode 100644 index 5f3c2d71..00000000 --- a/docs/Classes/PDFBezierPathVertex/Anchor.html +++ /dev/null @@ -1,637 +0,0 @@ - - - - Anchor Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Anchor

-
-
- -
public enum Anchor
- -
-
-

Anchor used to define the handling of scaling a PDFBezierPath

- -
-
- -
-
-
-
    -
  • -
    - - - - topLeft - -
    -
    -
    -
    -
    -
    -

    Keep distance to top and left edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case topLeft
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - topCenter - -
    -
    -
    -
    -
    -
    -

    Keep distance to top and horizontal center edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case topCenter
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - topRight - -
    -
    -
    -
    -
    -
    -

    Keep distance to top and right edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case topRight
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - middleLeft - -
    -
    -
    -
    -
    -
    -

    Keep distance to vertical middle and left edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case middleLeft
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - middleCenter - -
    -
    -
    -
    -
    -
    -

    Keep distance to center of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case middleCenter
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - middleRight - -
    -
    -
    -
    -
    -
    -

    Keep distance to vertical middle and right edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case middleRight
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomLeft - -
    -
    -
    -
    -
    -
    -

    Keep distance to bottom and left edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case bottomLeft
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomCenter - -
    -
    -
    -
    -
    -
    -

    Keep distance to bottom edge and horizontal of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case bottomCenter
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomRight - -
    -
    -
    -
    -
    -
    -

    Keep distance to bottom and right edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case bottomRight
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFDocument.html b/docs/Classes/PDFDocument.html deleted file mode 100644 index 11f11ba5..00000000 --- a/docs/Classes/PDFDocument.html +++ /dev/null @@ -1,2075 +0,0 @@ - - - - PDFDocument Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFDocument

-
-
- -
public class PDFDocument : CustomStringConvertible
- -
-
-

This object holds the information about the document and also all PDF objects.

- -

This is the main structure to create new documents. It is the base for the PDFGenerator to generate the PDF output

- -
-
- -
-
-
-
- - -
- -

PUBLIC VARS -

-
-
-
    -
  • -
    - - - - layout - -
    -
    -
    -
    -
    -
    -

    Holds all layout information

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var layout: PDFPageLayout
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - info - -
    -
    -
    -
    -
    -
    -

    Holds all document information

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var info: PDFInfo
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - pagination - -
    -
    -
    -
    -
    -
    -

    Holds all pagination information

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var pagination: PDFPagination
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - styles - -
    -
    -
    -
    -
    -
    -

    Holds strong references to all text styles

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var styles: [PDFTextStyle]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - background - -
    -
    -
    -
    -
    -
    -

    Configuration for document/paper background

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var background: PDFDocumentBackground
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC INITIALIZERS -

-
-
-
    -
  • -
    - - - - init(layout:) - -
    -
    -
    -
    -
    -
    -

    Creates a new document with the given layout

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(layout: PDFPageLayout)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - layout - - -
    -

    Layout information for document

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - init(format:) - -
    -
    -
    -
    -
    -
    -

    Creates a new document with a predefined PDFPageFormat

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(format: PDFPageFormat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - layout - - -
    -

    Predefined page formats

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Layout -

-
-
-
    -
  • -
    - - - - add(_:space:) - -
    -
    -
    -
    -
    -
    -

    Adds a empty space in the given container, between the previous and the next element

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, space: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - space - - -
    -

    Space distance in points

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Lines -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Adds a horizontal line spearator to the given container. The line starts at the left indentation and ends at the right indentation. - Customize by adjusting parameter style.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func addLineSeparator(_ container: PDFContainer = PDFContainer.contentLeft, style: PDFLineStyle)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - style - - -
    -

    Style of line

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Image -

-
-
-
    -
  • -
    - - - - add(_:image:) - -
    -
    -
    -
    -
    -
    -

    Adds an image to the given container.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, image: PDFImage)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - image - - -
    -

    Image object

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Adds an image row to the given container. - This image row will fill the full available width between left indentation and right indentation.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, imagesInRow images: [PDFImage], spacing: CGFloat = 5.0)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - images - - -
    -

    Array of images, from left to right

    -
    -
    - - spacing - - -
    -

    Horizontal distance between images

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Text -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Shorthand public function to add a String text to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, text: String, lineSpacing: CGFloat = 1.0)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - images - - -
    -

    Array of images, from left to right

    -
    -
    - - spacing - - -
    -

    Horizontal distance between images

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - add(_:textObject:) - -
    -
    -
    -
    -
    -
    -

    Adds an text object to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, textObject: PDFSimpleText)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - textObject - - -
    -

    Simple text object

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Shorthand public function to add a attributed String text to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, attributedText: NSAttributedString)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - text - - -
    -

    An attributed string

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Adds an attributed text object to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, attributedTextObject: PDFAttributedText)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - textObject - - -
    -

    Attributed text object

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - set(_:font:) - -
    -
    -
    -
    -
    -
    -

    Set font in given container. This text color will be used when adding a PDFSimpleText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(_ container: PDFContainer = PDFContainer.contentLeft, font: Font)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the font will be set

    -
    -
    - - font - - -
    -

    Font of text

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - resetFont(_:) - -
    -
    -
    -
    -
    -
    -

    Reset text color in given container to default.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func resetFont(_ container: PDFContainer = PDFContainer.contentLeft)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - container - - -
    -

    Container whose text color will be reset

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - set(_:textColor:) - -
    -
    -
    -
    -
    -
    -

    Set text color in given container. This text color will be used when adding a PDFSimpleText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(_ container: PDFContainer = PDFContainer.contentLeft, textColor: Color)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the text color will be set

    -
    -
    - - color - - -
    -

    Color of the text

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - resetTextColor(_:) - -
    -
    -
    -
    -
    -
    -

    Reset text color in given container to default.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func resetTextColor(_ container: PDFContainer = PDFContainer.contentLeft)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - container - - -
    -

    Container whose text color will be reset

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Table -

-
-
-
    -
  • -
    - - - - add(_:table:) - -
    -
    -
    -
    -
    -
    -

    Adds a table object to the document in the defined container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, table: PDFTable)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the table color will be added

    -
    -
    - - color - - -
    -

    Table to add to document

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

List -

-
-
-
    -
  • -
    - - - - add(_:list:) - -
    -
    -
    -
    -
    -
    -

    Adds a list object to the document in the defined container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, list: PDFList)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the text color will be set

    -
    -
    - - color - - -
    -

    Color of the text

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Section -

-
-
-
    -
  • -
    - - - - add(section:) - -
    -
    -
    -
    -
    -
    -

    Adds a section object to the document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(section: PDFSection)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - section - - -
    -

    Section

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Layout -

-
-
-
    -
  • -
    - - - - set(_:indent:left:) - -
    -
    -
    -
    -
    -
    -

    Change the indentation in a container, use the parameter left to define from which side.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(_ container: PDFContainer = PDFContainer.contentLeft, indent: CGFloat, left: Bool)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container whose indentation should be changed

    -
    -
    - - indent - - -
    -

    Points from the side

    -
    -
    - - left - - -
    -

    If true then the left side indentation is set, else the right indentation is set

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Change the absolute top offset in a container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(_ container: PDFContainer = PDFContainer.contentLeft, absoluteOffset: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container whose current absoilute offset should be changed

    -
    -
    - - absoluteOffset - - -
    -

    Points from the top

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - createNewPage() - -
    -
    -
    -
    -
    -
    -

    Creates a new page by adding a page break object

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func createNewPage()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - add(style:) - -
    -
    -
    -
    -
    -
    -

    Adds a new style to the list of known styles

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(style: PDFTextStyle) -> PDFTextStyle
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - style - - -
    -

    Definition of the text style

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - add(tableOfContent:) - -
    -
    -
    -
    -
    -
    -

    Adds a table of content

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(tableOfContent: PDFTableOfContent)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - tableOfContent - - -
    -

    Options of the table of content

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Column Wrapping -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Starts a column section with automatic wrapping

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func enable(_ container: PDFContainer = PDFContainer.contentLeft, columns: Int, widths: [CGFloat], spacings: [CGFloat])
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Finishes a column section

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func disableColumns(_ container: PDFContainer = PDFContainer.contentLeft, addPageBreak: Bool = true)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - add(_:group:) - -
    -
    -
    -
    -
    -
    -

    Adds a group

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, group: PDFGroup)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the group will be added

    -
    -
    - - group - - -
    -

    Instance of PDFGroup to add

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - set(master:) - -
    -
    -
    -
    -
    -
    -

    Replaces current master group with the given one.

    - -

    See PDFDocument/masterGroup for details.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(master group: PDFMasterGroup)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - master - - -
    -

    Instance of PDFMasterGroup,

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Adds an external document to the document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(externalDocument doc: PDFExternalDocument)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - doc - - -
    -

    Instance of PDFExternalDocument

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFDocumentObject.html b/docs/Classes/PDFDocumentObject.html deleted file mode 100644 index b5c730f3..00000000 --- a/docs/Classes/PDFDocumentObject.html +++ /dev/null @@ -1,637 +0,0 @@ - - - - PDFDocumentObject Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFDocumentObject

-
-
- -
public class PDFDocumentObject : PDFAttributableObject, PDFTaggableObject, Hashable
- -
-
-

All document objects are instances of PDFDocumentObject to share common properties, e.g. attributes.

- -
-
- -
-
-
-
    -
  • -
    - - - - attributes - -
    -
    -
    -
    -
    -
    -

    List of PDFObjectAttribute to be applied during calculations and rendering

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var attributes: [PDFObjectAttribute]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - tag - -
    -
    -
    -
    -
    -
    -

    An integer that you can use to identify view objects in delegates.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var tag: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - add(attribute:) - -
    -
    -
    -
    -
    -
    -

    Appends the given attribute to the list of attributes.

    - -

    Attributes should be considered as independend from the implementation of the object. - An example are clickable links, which can be applied to most objects and will be added as a interactive, - rectangular area in the document, opening the configured link.

    -
    -

    Note

    -

    Multiple instances of the same PDFObjectAttribute can be appended and might lead to unexpected results.

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(attribute: PDFObjectAttribute)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - attribute - - -
    -

    PDFObjectAttribute to append to list

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFDocumentObject, rhs: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFDynamicGeometryShape.html b/docs/Classes/PDFDynamicGeometryShape.html deleted file mode 100644 index 829db390..00000000 --- a/docs/Classes/PDFDynamicGeometryShape.html +++ /dev/null @@ -1,545 +0,0 @@ - - - - PDFDynamicGeometryShape Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFDynamicGeometryShape

-
-
- -
public class PDFDynamicGeometryShape : CustomStringConvertible
- -
-
-

Renders an arbitrary path into the graphics context

- -
-
- -
-
-
-
    -
  • -
    - - - - path - -
    -
    -
    -
    -
    -
    -

    Path of the geometry shape

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var path: PDFBezierPath
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - fillColor - -
    -
    -
    -
    -
    -
    -

    Color used to fill the shape

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var fillColor: Color
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - stroke - -
    -
    -
    -
    -
    -
    -

    Line style used to stroke the shape

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var stroke: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new dynamic geometry shape

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(path: PDFBezierPath, fillColor: Color, stroke: PDFLineStyle)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - path - - -
    -

    See `path

    -
    -
    - - fillColor - - -
    -

    See `fillColor

    -
    -
    - - strolke - - -
    -

    See `stroke

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFExternalDocument.html b/docs/Classes/PDFExternalDocument.html deleted file mode 100644 index b7b718cb..00000000 --- a/docs/Classes/PDFExternalDocument.html +++ /dev/null @@ -1,564 +0,0 @@ - - - - PDFExternalDocument Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFExternalDocument

-
-
- -
public class PDFExternalDocument
- -
-
-

Document object used for including an external PDF document

- -
-
- -
-
-
-
    -
  • -
    - - - - url - -
    -
    -
    -
    -
    -
    -

    File URL to an external document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var url: URL { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - pages - -
    -
    -
    -
    -
    -
    -

    Array of page indicies which should be included from external documents

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var pages: [Int]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(url:pages:) - -
    -
    -
    -
    -
    -
    -

    Creates a new instance using the given url to locate and the pages parameter to select the pages.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public convenience init(url: URL, pages: Int...)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - url - - -
    -

    Location of file

    -
    -
    - - pages - - -
    -

    Variadic argument of page indicies

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - init(url:pages:) - -
    -
    -
    -
    -
    -
    -

    Creates a new instance using the given url to locate and the pages parameter to select the pages.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(url: URL, pages: [Int])
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - url - - -
    -

    Location of file

    -
    -
    - - pages - - -
    -

    Array of page indicies

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFGenerator.html b/docs/Classes/PDFGenerator.html deleted file mode 100644 index 88b9074b..00000000 --- a/docs/Classes/PDFGenerator.html +++ /dev/null @@ -1,854 +0,0 @@ - - - - PDFGenerator Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFGenerator

-
-
- -
public class PDFGenerator : PDFGeneratorProtocol, CustomStringConvertible
- -
-
-

Factory to convert a single PDFDocument into a PDF file

- -

This is one of the main classes used to interact with the framework.

- -

The PDFGenerator is a stateful object which should be used exactly once per generator task.

- -
-
- -
-
-
-
- - -
- -

INTERNAL VARS -

-
-
-
    -
  • -
    - - - - totalPages - -
    -
    -
    -
    -
    -
    -

    Total page count used for displaying in rendered PDF

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var totalPages: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - progress - -
    -
    -
    -
    -
    -
    -

    Relative value tracking progress

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let progress: Progress
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - delegate - -
    -
    -
    -
    -
    -
    -

    Object acts as a delegate during the generation process

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var delegate: PDFGeneratorDelegate?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - debug - -
    -
    -
    -
    -
    -
    -

    Enables the debugging mode, which will render additional visual information on different elements.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var debug: Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC INITS -

-
-
-
    -
  • -
    - - - - init(document:) - -
    -
    -
    -
    -
    -
    -

    Initializes the generator with a PDFDocument`.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(document: PDFDocument)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - document - - -
    -

    The document which will be used to create the PDF document file

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC FUNCS -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Convenience method for generate(to:info:) without info

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateURL(filename: String) throws -> URL
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generate(to:) - -
    -
    -
    -
    -
    -
    -

    Convenience method for generate(to:info:) without info

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generate(to url: URL) throws
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generate(to:info:) - -
    -
    -
    -
    -
    -
    -

    Generates PDF data and writes it to a temporary file at the given URL to.

    -
    -

    Throws

    -

    PDFError if the calculations or rendering fails

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generate(to url: URL, info: PDFInfo?) throws
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - to - - -
    -

    URL where file should be saved.

    -
    -
    - - info - - -
    -

    PDF file information

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - generateData() - -
    -
    -
    -
    -
    -
    -

    Convenience method for generateData(info:) without defining info

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateData() throws -> Data
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generateData(info:) - -
    -
    -
    -
    -
    -
    -

    Generates PDF data and returns it

    -
    -

    Throws

    -

    PDFError if the calculations or rendering fails

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateData(info: PDFInfo?) throws -> Data
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - info - - -
    -

    Metadata Information added to file

    -
    -
    -
    -
    -

    Return Value

    -

    PDF file data

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Generate PDF Context from PDFCommands

    -
    -

    Throws

    - PDFError if the calculations or rendering fails - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generatePDFContext(context: PDFContext) throws
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - createRenderObjects() - -
    -
    -
    -
    -
    -
    -

    Creates a list of container-object pairs which will be rendered.

    -
    -

    Throws

    -

    PDFError if the calculations fail

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func createRenderObjects() throws -> [PDFLocatedRenderObject]
    - -
    -
    -
    -

    Return Value

    -

    List of renderable objects

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFGroup.html b/docs/Classes/PDFGroup.html deleted file mode 100644 index 23ac84f2..00000000 --- a/docs/Classes/PDFGroup.html +++ /dev/null @@ -1,1681 +0,0 @@ - - - - PDFGroup Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFGroup

-
-
- -
public class PDFGroup
- -
-
-

Object used to dynamically add multiple elements to a document, but calculate them as one.

- -

This way it is possible to add e.g. multiple PDFText elements and if the calculations require a page break, it can be disabled. - Additionally groups allow to set either an UIKit.UIColor / AppKit.NSColor as the backgroundColor - or even create a complex PDFDynamicGeometryShape which adapts to the group frame.

- -

Example:

- -

The following example will create a large text with multiple indentation levels. By setting allowsBreaks to false, - it won’t break the text, but move it to the next page in full.

-
 let group = PDFGroup(
-     allowsBreaks: false,
-     backgroundColor: .green,
-     padding: UIEdgeInsets(top: 50, left: 50, bottom: 50, right: 180)
- )
-
- for i in 0..<10 {
-     group.set(font: UIFont.systemFont(ofSize: 25))
-     group.set(indentation: 30 * CGFloat(i % 5), left: true)
-     group.set(indentation: 30 * CGFloat(i % 3), left: false)
-     group.add(text: "Text \(i)-\(i)-\(i)-\(i)-\(i)")
- }
-
- document.add(group: group)
-
- -

See PDFGroupObject/draw(generator:container:in:) for internal implementation details

- -
-
- -
-
-
-
- - -
- -

PUBLIC VARS -

-
-
-
    -
  • -
    - - - - allowsBreaks - -
    -
    -
    -
    -
    -
    -

    Flag to control if the group should allow page breaks inside, or if it should be moved to the next page in full.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allowsBreaks: Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - backgroundColor - -
    -
    -
    -
    -
    -
    -

    Filling background color in the frame of the group

    - -

    Will be overlayed by backgroundImage and backgroundShape

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var backgroundColor: Color?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - outline - -
    -
    -
    -
    -
    -
    -

    Outline style used if backgroundColor is configured.

    - -

    Setting this value without backgroundColor will not have any effect.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var outline: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - backgroundImage - -
    -
    -
    -
    -
    -
    -

    Filling background image in the frame of the group

    - -

    Will overlay backgroundColor and overlayed bybackgroundShape

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var backgroundImage: PDFImage?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - backgroundShape - -
    -
    -
    -
    -
    -
    -

    Filling background shape in the frame of the group

    - -

    Will be overlay backgroundColor and backgroundImage

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var backgroundShape: PDFDynamicGeometryShape?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - padding - -
    -
    -
    -
    -
    -
    -

    Inside padding of content to the edge

    - -

    Useful to add a spacing between the content and the outline

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var padding: EdgeInsets
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC INITIALIZERS -

-
-
- -
-
-
- - -
- -

Layout -

-
-
-
    -
  • -
    - - - - add(_:space:) - -
    -
    -
    -
    -
    -
    -

    Adds a empty space in the given container, between the previous and the next element

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, space: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - space - - -
    -

    Space distance in points

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Lines -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Adds a horizontal line spearator to the given container. The line starts at the left indentation and ends at the right indentation. - Customize by adjusting parameter style.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func addLineSeparator(_ container: PDFGroupContainer = PDFGroupContainer.left, style: PDFLineStyle)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - style - - -
    -

    Style of line

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Image -

-
-
-
    -
  • -
    - - - - add(_:image:) - -
    -
    -
    -
    -
    -
    -

    Adds an image to the given container.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, image: PDFImage)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - image - - -
    -

    Image object

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Adds an image row to the given container. - This image row will fill the full available width between left indentation and right indentation.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, imagesInRow: [PDFImage], spacing: CGFloat = 5.0)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - images - - -
    -

    Array of images, from left to right

    -
    -
    - - spacing - - -
    -

    Horizontal distance between images

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Text -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Shorthand function to add a String text to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, text: String, lineSpacing: CGFloat = 1.0)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - images - - -
    -

    Array of images, from left to right

    -
    -
    - - spacing - - -
    -

    Horizontal distance between images

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - add(_:textObject:) - -
    -
    -
    -
    -
    -
    -

    Adds an text object to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, textObject: PDFSimpleText)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - textObject - - -
    -

    Simple text object

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Shorthand function to add a attributed String text to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, attributedText: NSAttributedString)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - text - - -
    -

    An attributed string

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Adds an attributed text object to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, attributedTextObject: PDFAttributedText)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - textObject - - -
    -

    Attributed text object

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - set(_:font:) - -
    -
    -
    -
    -
    -
    -

    Set font in given container. This text color will be used when adding a PDFSimpleText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func set(_ container: PDFGroupContainer = PDFGroupContainer.left, font: Font)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the font will be set

    -
    -
    - - font - - -
    -

    Font of text

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - resetFont(_:) - -
    -
    -
    -
    -
    -
    -

    Reset text color in given container to default.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func resetFont(_ container: PDFGroupContainer = PDFGroupContainer.left)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - container - - -
    -

    Container whose text color will be reset

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - set(_:textColor:) - -
    -
    -
    -
    -
    -
    -

    Set text color in given container. This text color will be used when adding a PDFSimpleText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func set(_ container: PDFGroupContainer = PDFGroupContainer.left, textColor: Color)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the text color will be set

    -
    -
    - - color - - -
    -

    Color of the text

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - resetTextColor(_:) - -
    -
    -
    -
    -
    -
    -

    Reset text color in given container to default.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func resetTextColor(_ container: PDFGroupContainer = PDFGroupContainer.left)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - container - - -
    -

    Container whose text color will be reset

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Table -

-
-
-
    -
  • -
    - - - - add(_:table:) - -
    -
    -
    -
    -
    -
    -

    Adds a table object to the document in the defined container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, table: PDFTable)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the table will be added

    -
    -
    - - table - - -
    -

    An instance of PDFTable

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

List -

-
-
-
    -
  • -
    - - - - add(_:list:) - -
    -
    -
    -
    -
    -
    -

    Adds a list object to the document in the defined container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, list: PDFList)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the list will be added

    -
    -
    - - table - - -
    -

    An instance of PDFList

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Layout -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Change the indentation in a container, use the parameter left to define from which side.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func set(_ container: PDFGroupContainer = PDFGroupContainer.left, indentation: CGFloat, left: Bool)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container whose indentation should be changed

    -
    -
    - - indent - - -
    -

    Points from the side

    -
    -
    - - left - - -
    -

    If true then the left side indentation is set, else the right indentation is set

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Change the absolute top offset in a container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func set(_ container: PDFGroupContainer = PDFGroupContainer.left, absoluteOffset: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container whose current absolute offset should be changed

    -
    -
    - - offset - - -
    -

    Points from the top

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFImage.html b/docs/Classes/PDFImage.html deleted file mode 100644 index 83df1424..00000000 --- a/docs/Classes/PDFImage.html +++ /dev/null @@ -1,821 +0,0 @@ - - - - PDFImage Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFImage

-
-
- -
public class PDFImage : PDFDocumentObject
- -
-
-

Image element for the PDF document.

- -

Contains all information about an image, including the caption.

- -
-
- -
-
-
-
    -
  • -
    - - - - image - -
    -
    -
    -
    -
    -
    -

    The actual image

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var image: Image
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - caption - -
    -
    -
    -
    -
    -
    -

    An instance of a PDFText subclass. -Use PDFSimpleText for a simple, container-based styled caption and PDFAttributedText for advanced styling.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var caption: PDFText?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - size - -
    -
    -
    -
    -
    -
    -

    The size of the image in the PDF document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var size: CGSize
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - sizeFit - -
    -
    -
    -
    -
    -
    -

    Defines how the image will fit if not enough space is given

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var sizeFit: PDFImageSizeFit
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - quality - -
    -
    -
    -
    -
    -
    -

    JPEG quality of image.

    - -

    Value ranges between 0.0 and 1.0, maximum quality equals 1.0

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var quality: CGFloat
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - options - -
    -
    -
    -
    -
    -
    -

    Options used for changing the image before drawing

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var options: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - cornerRadius - -
    -
    -
    -
    -
    -
    -

    Optional corner radius, is used if the options are set.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var cornerRadius: CGFloat?
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Initializer to create a PDF image element.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    image: Image,
    -    caption: PDFText? = nil,
    -    size: CGSize = .zero,
    -    sizeFit: PDFImageSizeFit = .widthHeight,
    -    quality: CGFloat = 0.85,
    -    options: PDFImageOptions = [.resize, .compress],
    -    cornerRadius: CGFloat? = nil
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - image - - -
    -

    Image which will be drawn

    -
    -
    - - caption - - -
    -

    Optional instance of a PDFText subclass, defaults to nil

    -
    -
    - - size - - -
    -

    Size of image, defaults to zero size

    -
    -
    - - sizeFit - - -
    -

    Defines how the image will fit if not enough space is given, defaults to PDFImageSizeFit.widthHeight

    -
    -
    - - quality - - -
    -

    JPEG quality between 0.0 and 1.0, defaults to 0.85

    -
    -
    - - options - - -
    -

    Defines if the image will be modified before rendering

    -
    -
    - - cornerRadius - - -
    -

    Defines the radius of the corners

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - copy - -
    -
    -
    -
    -
    -
    -

    Creates a new PDFImage with the same properties

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var copy: PDFImage { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFInfo.html b/docs/Classes/PDFInfo.html deleted file mode 100644 index c59a51df..00000000 --- a/docs/Classes/PDFInfo.html +++ /dev/null @@ -1,781 +0,0 @@ - - - - PDFInfo Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFInfo

-
-
- -
public class PDFInfo
-
extension PDFInfo: Equatable
- -
-
-

Information saved in PDF file metadata

- -
-
- -
-
-
-
    -
  • -
    - - - - title - -
    -
    -
    -
    -
    -
    -

    Title of document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var title: String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - author - -
    -
    -
    -
    -
    -
    -

    Author of document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var author: String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - subject - -
    -
    -
    -
    -
    -
    -

    Subject of document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var subject: String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - keywords - -
    -
    -
    -
    -
    -
    -

    Keywords of document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var keywords: [String]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ownerPassword - -
    -
    -
    -
    -
    -
    -

    The owner password of the PDF document

    - -

    If this password is set the document is encrypted; otherwise, the document will not be encrypted.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var ownerPassword: String?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - userPassword - -
    -
    -
    -
    -
    -
    -

    The user password of the PDF document

    - -

    If the document is encrypted, then this value will be the user password for the document.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var userPassword: String?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allowsPrinting - -
    -
    -
    -
    -
    -
    -

    Whether the document allows printing when unlocked with the user password.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allowsPrinting: Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allowsCopying - -
    -
    -
    -
    -
    -
    -

    Whether the document allows copying when unlocked with the user password.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allowsCopying: Bool
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new object to manage the information metadata of a PDFDocument

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    title: String = "Title",
    -    author: String = "Author",
    -    subject: String = "Subject",
    -    keywords: [String] = ["tppdf", "pdf", "generator"],
    -    ownerPassword: String? = nil,
    -    userPassword: String? = nil,
    -    allowsPrinting: Bool = true,
    -    allowsCopying: Bool = true
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - title - - -
    -

    See title for details.

    -
    -
    - - author - - -
    -

    See author for details.

    -
    -
    - - subject - - -
    -

    See subject for details.

    -
    -
    - - keywords - - -
    -

    See keywords for details.

    -
    -
    - - ownerPassword - - -
    -

    See ownerPassword for details.

    -
    -
    - - userPassword - - -
    -

    See userPassword for details.

    -
    -
    - - allowsPrinting - - -
    -

    See allowsPrinting for details.

    -
    -
    - - allowsCopying - - -
    -

    See allowsCopying for details.

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFInfo, rhs: PDFInfo) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFList.html b/docs/Classes/PDFList.html deleted file mode 100644 index 2346433d..00000000 --- a/docs/Classes/PDFList.html +++ /dev/null @@ -1,822 +0,0 @@ - - - - PDFList Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFList

-
-
- -
public class PDFList : PDFDocumentObject
-
extension PDFList: CustomDebugStringConvertible
-
extension PDFList: CustomStringConvertible
- -
-
-

Creates a new bullet list or numbered list with multiple, indented levels.

- -

Each list item has a pre spacing between the page indentation to the left side of the symbol, and a past spacing at - the right side of the symbol.

-
 let list = PDFList(indentations: [(pre: 0.0, past: 20.0), (pre: 20.0, past: 20.0), (pre: 40.0, past: 20.0)])
-
- -
-
- -
-
-
-
    -
  • -
    - - - - items - -
    -
    -
    -
    -
    -
    -

    Items in this list

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var items: [PDFListItem]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - levelIndentations - -
    -
    -
    -
    -
    -
    -

    Spacing before and after the symbol for each nesting level

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var levelIndentations: [(pre: CGFloat, past: CGFloat)]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(indentations:) - -
    -
    -
    -
    -
    -
    -

    Creates a new list

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(indentations: [(pre: CGFloat, past: CGFloat)])
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - indentations - - -
    -

    Spacing before and after the symbol for each nesting level. - If not enough indentation levels are provided, the default value 0 will be used for pre and past.

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - addItem(_:) - -
    -
    -
    -
    -
    -
    -

    Adds the given item to this list

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public func addItem(_ item: PDFListItem) -> PDFList
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - item - - -
    -

    Item to add

    -
    -
    -
    -
    -

    Return Value

    -

    Reference to this instance, useful for chaining

    -
    -
    -
    -
  • -
  • -
    - - - - addItems(_:) - -
    -
    -
    -
    -
    -
    -

    Appends the given items to this list

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public func addItems(_ items: [PDFListItem]) -> PDFList
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - items - - -
    -

    Items to append

    -
    -
    -
    -
    -

    Return Value

    -

    Reference to this instance, useful for chaining

    -
    -
    -
    -
  • -
  • -
    - - - - count - -
    -
    -
    -
    -
    -
    -

    Count of items in this list

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var count: Int { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - flatted() - -
    -
    -
    -
    -
    -
    -

    Converts the added instances of PDFListItem from a nested structure into an array of tuples

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func flatted() -> [(level: Int, text: String, symbol: PDFListItemSymbol)]
    - -
    -
    -
    -

    Return Value

    -

    Array of tuples with level, text and symbol for each item

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

CustomDebugStringConvertible -

-
-
-
    -
  • -
    - - - - debugDescription - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var debugDescription: String { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

CustomStringConvertible -

-
-
-
    -
  • -
    - - - - description - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var description: String { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFListItem.html b/docs/Classes/PDFListItem.html deleted file mode 100644 index 45b92d0b..00000000 --- a/docs/Classes/PDFListItem.html +++ /dev/null @@ -1,948 +0,0 @@ - - - - PDFListItem Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFListItem

-
-
- -
public class PDFListItem : PDFDocumentObject
-
extension PDFListItem: CustomDebugStringConvertible
-
extension PDFListItem: CustomStringConvertible
- -
-
-

An item used in a PDFList

- -

By configuring the symbol it is possible to mix the symbols used by list items.

-
 let document = PDFDocument(format: .a4)
-
- let items = [
-     "Simple text drawing",
-     "Advanced text drawing using AttributedString",
-     "Multi-layer rendering by simply setting the offset",
-     "Fully calculated content sizing",
-     "Automatic page wrapping",
-     "Customizable pagination",
-     "Fully editable header and footer",
-     "Simple image positioning and rendering",
-     "Image captions"
- ]
-
- // Simple bullet point list
- let featureList = PDFList(indentations: [
-     (pre: 10.0, past: 20.0),
-     (pre: 20.0, past: 20.0),
-     (pre: 40.0, past: 20.0)
- ])
-
- // By adding the item first to a list item with the dot symbol, all of them will inherit it
- featureList
-     .addItem(PDFListItem(symbol: .dot)
-     .addItems(items.map { PDFListItem(content: $0) })
- document.add(list: featureList)
-
- document.add(space: 20)
-
- // Numbered list with unusual indentation
- let weirdIndentationList = PDFList(indentations: [
-     (pre: 10.0, past: 20.0),
-     (pre: 40.0, past: 30.0),
-     (pre: 20.0, past: 50.0)
- ])
-
- weirdIndentationList.addItems(items.enumerated().map { arg in
-     PDFListItem(symbol: .numbered(value: "\(arg.offset + 1)"), content: arg.element)
- })
- document.add(list: weirdIndentationList)
-
- -
-
- -
-
-
-
    -
  • -
    - - - - parent - -
    -
    -
    -
    -
    -
    -

    Weak reference to the parent list item, used to implement the list symbol inherit

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public weak var parent: PDFListItem?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Text content of this list item, calculated and rendered using PDFSimpleText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: String?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - children - -
    -
    -
    -
    -
    -
    -

    List of PDFListItem nested in this instance

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var children: [PDFListItem]?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - symbol - -
    -
    -
    -
    -
    -
    -

    Symbol used for this list item

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var symbol: PDFListItemSymbol
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(symbol:content:) - -
    -
    -
    -
    -
    -
    -

    Creates a new list item

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    symbol: PDFListItemSymbol = PDFListItemSymbol.inherit,
    -    content: String? = nil
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - symbol - - -
    -

    See symbol for details, defaults to inherit

    -
    -
    - - content - - -
    -

    See content, defaults to nil

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - addItems(_:) - -
    -
    -
    -
    -
    -
    -

    Appends the given items to the list of nested items

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public func addItems(_ items: [PDFListItem]) -> PDFListItem
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - items - - -
    -

    Items to append

    -
    -
    -
    -
    -

    Return Value

    -

    Reference to this instance, useful for chaining

    -
    -
    -
    -
  • -
  • -
    - - - - addItem(_:) - -
    -
    -
    -
    -
    -
    -

    Adds the given item to the list of nested items

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public func addItem(_ item: PDFListItem) -> PDFListItem
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - item - - -
    -

    Item to add

    -
    -
    -
    -
    -

    Return Value

    -

    Reference to this instance, useful for chaining

    -
    -
    -
    -
  • -
  • -
    - - - - setContent(_:) - -
    -
    -
    -
    -
    -
    -

    Sets the content of this list item

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public func setContent(_ content: String) -> PDFListItem
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - content - - -
    -

    See content for details

    -
    -
    -
    -
    -

    Return Value

    -

    Reference to this instance, useful for chaining

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Copying -

-
-
-
    -
  • -
    - - - - copy - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var copy: PDFListItem { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

CustomDebugStringConvertible -

-
-
-
    -
  • -
    - - - - debugDescription - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var debugDescription: String { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

CustomStringConvertible -

-
-
-
    -
  • -
    - - - - description - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var description: String { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFMasterGroup.html b/docs/Classes/PDFMasterGroup.html deleted file mode 100644 index 03019df3..00000000 --- a/docs/Classes/PDFMasterGroup.html +++ /dev/null @@ -1,578 +0,0 @@ - - - - PDFMasterGroup Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFMasterGroup

-
-
- -
public class PDFMasterGroup : PDFGroup
- -
-
-

Subclass of PDFGroup with additional properties to configure page background content

- -

Each instance of PDFDocument can have one group set as the `PDFDocument/masterGroup

- -
-
- -
-
-
-
    -
  • -
    - - - - isFullPage - -
    -
    -
    -
    -
    -
    -

    Flag if true, the render frame of the group is the as large as the page allows, otherwise only as large as its content objects

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var isFullPage: Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(isFullPage:) - -
    -
    -
    -
    -
    -
    -

    Creates a new master group with default values

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(isFullPage: Bool = false)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - isFullPage - - -
    -

    See isFullPage for details

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Configures the space between the group and the edges of the page.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func setMargin(left: CGFloat? = nil, right: CGFloat? = nil, top: CGFloat? = nil, bottom: CGFloat? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    - - left - - -
    -

    Space to left page edge

    -
    -
    - - right - - -
    -

    Space to right page edge

    -
    -
    - - top - - -
    -

    Space to top page edge

    -
    -
    - - bottom - - -
    -

    Space to bottom page edge

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - resetMargin() - -
    -
    -
    -
    -
    -
    -

    Resets the margin of the group to the margin of the layout

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func resetMargin()
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFMultiDocumentGenerator.html b/docs/Classes/PDFMultiDocumentGenerator.html deleted file mode 100644 index fdd26a08..00000000 --- a/docs/Classes/PDFMultiDocumentGenerator.html +++ /dev/null @@ -1,724 +0,0 @@ - - - - PDFMultiDocumentGenerator Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFMultiDocumentGenerator

-
-
- -
public class PDFMultiDocumentGenerator : PDFGeneratorProtocol
- -
-
-

Generates a PDF from multiple PDFDocument by appending them.

- -
-
- -
-
-
-
    -
  • -
    - - - - progress - -
    -
    -
    -
    -
    -
    -

    Instance of Progress used to track and control the multi-document generation

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let progress: Progress
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - progresses - -
    -
    -
    -
    -
    -
    -

    Instances of Progess used to track and control each individual document generation

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let progresses: [Progress]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - debug - -
    -
    -
    -
    -
    -
    -

    Flag to enable or disable the debug overlay

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var debug: Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(documents:) - -
    -
    -
    -
    -
    -
    -

    Initializes a new multi-document generator for generating the giving documents.

    - -

    It will use the page layout of the first document.

    - -

    The instance property progress is initialized to the total document count.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(documents: [PDFDocument] = [])
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - documents - - -
    -

    Array of PDFDocument instances, which will all be rendered into a single PDF context

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func generateURL(filename: String) throws -> URL
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generate(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func generate(to target: URL) throws
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generate(to:info:) - -
    -
    -
    -
    -
    -
    -

    Creates a file at the given file URL, generates the PDF context data and writes the result idata nto the file.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func generate(to target: URL, info: PDFInfo?) throws
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - target - - -
    -

    URL of output file,

    -
    -
    - - info - - -
    -

    Instance of PDFInfo with meta file information, defaults to default initializer of PDFInfo

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - generateData() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func generateData() throws -> Data
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generateData(info:) - -
    -
    -
    -
    -
    -
    -

    Generates and returns the PDF context data.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func generateData(info: PDFInfo? = nil) throws -> Data
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - info - - -
    -

    Instance of PDFInfo with meta file information, defaults to default initializer of PDFInfo

    -
    -
    -
    -
    -

    Return Value

    -

    PDF data

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFSection.html b/docs/Classes/PDFSection.html deleted file mode 100644 index 56de889e..00000000 --- a/docs/Classes/PDFSection.html +++ /dev/null @@ -1,575 +0,0 @@ - - - - PDFSection Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFSection

-
-
- -
public class PDFSection : PDFDocumentObject
- -
-
-

A multi-column section is a nested container.

- -

Creating the section with an amount of columns and their relative width, add objects to each column and then add the whole section to the document.

- -

When adding an object to the section column, you use the Array subscript section.columns[0]. - You are able to give it an alignment as the first parameter, similar to the PDFContainer but only with .left, .center and .right - as it is not possible to add a section to the header or footer containers.

- -

Use enable(_:columns:widths:spacings:)for details on how to enable multi-columns with automatic text wrapping, - allowing to split a page into multiple columns and fill it up starting at the left.

- -

Example:

-
 let section = PDFSection(columnWidths: [0.3, 0.4, 0.3])
- section.columns[0].addText(.right, text: "right")
- section.columns[1].addText(.left, text: "left")
- section.columns[2].addText(.center, text: "center")
- document.add(section: section)
-
- -

Attention:

- -

Do not add a PDFSection multiple times to a PDFDocument, as they hold some internal state, which will lead to collisions and unpredictable - framing calculations.

- -
-
- -
-
-
-
    -
  • -
    - - - - columns - -
    -
    -
    -
    -
    -
    -

    List of section columns.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var columns: [PDFSectionColumn] { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - columnMargin - -
    -
    -
    -
    -
    -
    -

    Horizontal margin between columns in points.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var columnMargin: CGFloat
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC INITIALIZERS -

-
-
-
    -
  • -
    - - - - init(columnWidths:) - -
    -
    -
    -
    -
    -
    -

    Creates a new section with columns of the given relative widths.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public convenience init(columnWidths: [CGFloat])
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columnWidth - - -
    -

    Relative column widths. Values are between 0.0 and 1.0 and should sum up to 1.0.

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - init(_:) - -
    -
    -
    -
    -
    -
    -

    Creates a new section with the given columns.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(_ columns: [PDFSectionColumn])
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columns - - -
    -

    Preconfigured section columns

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFSectionColumn.html b/docs/Classes/PDFSectionColumn.html deleted file mode 100644 index 93457e09..00000000 --- a/docs/Classes/PDFSectionColumn.html +++ /dev/null @@ -1,1622 +0,0 @@ - - - - PDFSectionColumn Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFSectionColumn

-
-
- -
public class PDFSectionColumn : PDFDocumentObject
- -
-
-

A configurable column of a PDFSection

- -
-
- -
-
-
-
- - -
- -

PUBLIC VARS -

-
-
-
    -
  • -
    - - - - width - -
    -
    -
    -
    -
    -
    -

    Holds the relative column width.

    - -

    Value is between 0.0 and 1.0.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var width: CGFloat { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - backgroundColor - -
    -
    -
    -
    -
    -
    -

    Background color of this section

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var backgroundColor: Color?
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC INITIALIZERS -

-
-
-
    -
  • -
    - - - - init(width:) - -
    -
    -
    -
    -
    -
    -

    Creates a new section column with the given relative width.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(width: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - width - - -
    -

    See width for details

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Layout -

-
-
-
    -
  • -
    - - - - add(_:space:) - -
    -
    -
    -
    -
    -
    -

    Adds a empty space in the given container, between the previous and the next element

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFSectionColumnContainer = PDFSectionColumnContainer.left, space: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set, defaults to PDFSectionColumnContainer.left

    -
    -
    - - space - - -
    -

    Space distance in points

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Lines -

-
-
- -
-
-
- - -
- -

Image -

-
-
-
    -
  • -
    - - - - add(_:image:) - -
    -
    -
    -
    -
    -
    -

    Adds an image to the given container.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFSectionColumnContainer = PDFSectionColumnContainer.left, image: PDFImage)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set, defaults to PDFSectionColumnContainer.left

    -
    -
    - - image - - -
    -

    Image object

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Adds an image row to the given container. - This image row will fill the full available width between left indentation and right indentation.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFSectionColumnContainer = PDFSectionColumnContainer.left, imagesInRow images: [PDFImage], spacing: CGFloat = 5.0)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - images - - -
    -

    Array of images, from left to

    -
    -
    - - spacing - - -
    -

    Horizontal distance between images

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Text -

-
-
- -
-
-
- - -
- -

Table -

-
-
- -
-
-
- - -
- -

List -

-
-
- -
-
-
- - -
- -

Layout -

-
-
-
    -
  • -
    - - - - set(_:indent:left:) - -
    -
    -
    -
    -
    -
    -

    Change the indentation in a container, use the parameter left to define from which side.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(_ container: PDFSectionColumnContainer = PDFSectionColumnContainer.left, indent: CGFloat, left: Bool)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container whose indentation should be changed, defaults to PDFContainer.contentLeft

    -
    -
    - - indent - - -
    -

    Points from the side

    -
    -
    - - left - - -
    -

    If true then the left side indentation is set, else the right indentation is set

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Change the absolute top offset in a container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(_ container: PDFSectionColumnContainer = PDFSectionColumnContainer.left, absoluteOffset: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container whose current absoilute offset should be changed, defaults to PDFContainer.contentLeft

    -
    -
    - - absoluteOffset - - -
    -

    Points from the top

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Groups -

-
-
- -
-
-
- -
-
- - - diff --git a/docs/Classes/PDFSimpleText.html b/docs/Classes/PDFSimpleText.html deleted file mode 100644 index bcc27fcb..00000000 --- a/docs/Classes/PDFSimpleText.html +++ /dev/null @@ -1,685 +0,0 @@ - - - - PDFSimpleText Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFSimpleText

-
-
- -
public class PDFSimpleText : PDFText
- -
-
-

Plain text object with basic styling.

- -

The text of a PDFSimpleText will be styled using either the referenced PDFTextStyle set on style, or otherwise using the - styling of the parent container.

- -

Use this class for simple text drawing. - For advanced use cases see PDFAttributedText.

- -
-
- -
-
-
-
    -
  • -
    - - - - text - -
    -
    -
    -
    -
    -
    -

    Text to be drawn

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var text: String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - spacing - -
    -
    -
    -
    -
    -
    -

    / Line spacing if multiple lines

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var spacing: CGFloat
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Weak reference to style used by this text object

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public weak var style: PDFTextStyle?
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new simple text object

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(text: String, spacing: CGFloat = 0, style: PDFTextStyle? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - text - - -
    -

    Text to be drawn

    -
    -
    - - spacing - - -
    -

    Spacing between text lines, defaults to 0

    -
    -
    - - style - - -
    -

    Reference to PDFTextStyle, defaults to nil

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - copy - -
    -
    -
    -
    -
    -
    -

    Creates a new PDFSimpleText with the same properties

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public var copy: PDFText { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    static func == (lhs: PDFSimpleText, rhs: PDFSimpleText) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFTable.html b/docs/Classes/PDFTable.html deleted file mode 100644 index 643f4801..00000000 --- a/docs/Classes/PDFTable.html +++ /dev/null @@ -1,3443 +0,0 @@ - - - - PDFTable Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTable

-
-
- -
public class PDFTable : PDFDocumentObject
- -
-
-

A table is a two dimensional list.

- -

It can be styled and can contain different data.

- -
-
- -
-
-
-
    -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Styling used for drawing

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: PDFTableStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - cells - -
    -
    -
    -
    -
    -
    -

    Two-dimensional array of cells

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var cells: [[PDFTableCell]]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - widths - -
    -
    -
    -
    -
    -
    -

    List of relative horizontal column widths.

    - -

    Values are between 0.0 and 1.0 and should sum up to 1.0 (100%)

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var widths: [CGFloat]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - padding - -
    -
    -
    -
    -
    -
    -

    Padding is the distance between the cell content and its borders.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var padding: CGFloat
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - margin - -
    -
    -
    -
    -
    -
    -

    Margin is the distance between the cell borders and other cells

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var margin: CGFloat
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Header rows will be drawn on every page

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var showHeadersOnEveryPage: Bool
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    / Cells should split when overlapping page

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var shouldSplitCellsOnPageBreak: Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - size - -
    -
    -
    -
    -
    -
    -

    Count of rows and columns in this table

    - -

    The size of the table needs to be defined beforehand, so that cells can be accessed using subscript accessors

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var size: (rows: Int, columns: Int) { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(size:) - -
    -
    -
    -
    -
    -
    -

    Creates a new table with the given size and populates it with empty cells

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public convenience init(size: (rows: Int, columns: Int))
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - size - - -
    -

    Row and column count of table

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - init(rows:columns:) - -
    -
    -
    -
    -
    -
    -

    Creates a new table with the given size and populates it with empty cells.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(rows: Int, columns: Int)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Rows of table, must be greater than 0

    -
    -
    - - columns - - -
    -

    Columns of table, must be greater than 0

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - rows - -
    -
    -
    -
    -
    -
    -

    Shorthand accessor to the rows stored in cells

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var rows: PDFTableRows { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - columns - -
    -
    -
    -
    -
    -
    -

    Shorthand accessor to the columns stored in cells

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var columns: PDFTableColumns { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Shorthand accessor to the cell values of this table

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: [[PDFTableContentable?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Shorthand accessor to the cell alignments of this table

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: [[PDFTableCellAlignment]] { get set }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - subscript(position:) - -
    -
    -
    -
    -
    -
    -

    Accessor for a specific PDFTableCell at the given position

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(position position: PDFTableCellPosition) -> PDFTableCell { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - position - - -
    -

    PDFTableCellPosition with row and column index

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableCell at the given position

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(_:_:) - -
    -
    -
    -
    -
    -
    -

    Accessor for a specific cell at the given position

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(row: Int, column: Int) -> PDFTableCell { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - row - - -
    -

    Index of row

    -
    -
    - - column - - -
    -

    Index of column

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableCellat the given position

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(column:) - -
    -
    -
    -
    -
    -
    -

    Accessor for a specific column

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(column index: Int) -> PDFTableColumn { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - column - - -
    -

    Index of column

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableColumn with references to cells of this table

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(columns:) - -
    -
    -
    -
    -
    -
    -

    Accessors of columns in the given range.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(columns range: ClosedRange<Int>) -> PDFTableColumns { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableColumns with references to columns

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(columns:) - -
    -
    -
    -
    -
    -
    -

    Accessors of columns in the given range.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(columns range: PartialRangeFrom<Int>) -> PDFTableColumns { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableColumns with references to columns

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(columns:) - -
    -
    -
    -
    -
    -
    -

    Accessors of columns in the given range.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(columns range: PartialRangeThrough<Int>) -> PDFTableColumns { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableColumns with references to columns

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(columns:) - -
    -
    -
    -
    -
    -
    -

    Accessors of columns in the given range.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(columns range: PartialRangeUpTo<Int>) -> PDFTableColumns { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableColumns with references to columns

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(columns:) - -
    -
    -
    -
    -
    -
    -

    Accessors of columns in the given range.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(columns range: Range<Int>) -> PDFTableColumns { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableColumns with references to columns

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(row:) - -
    -
    -
    -
    -
    -
    -

    Accessor for a specific row

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(row index: Int) -> PDFTableRow { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - row - - -
    -

    Index of row

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableRow with references to cells of this table

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(rows:) - -
    -
    -
    -
    -
    -
    -

    Accessor for multiple rows in the given range rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows range: ClosedRange<Int>) -> PDFTableRows { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableRows with references to rows

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(rows:) - -
    -
    -
    -
    -
    -
    -

    Accessor for multiple rows in the given range rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows range: PartialRangeFrom<Int>) -> PDFTableRows { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableRows with references to rows

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(rows:) - -
    -
    -
    -
    -
    -
    -

    Accessor for multiple rows in the given range rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows range: PartialRangeThrough<Int>) -> PDFTableRows { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableRows with references to rows

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(rows:) - -
    -
    -
    -
    -
    -
    -

    Accessor for multiple rows in the given range rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows range: PartialRangeUpTo<Int>) -> PDFTableRows { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableRows with references to rows

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(rows:) - -
    -
    -
    -
    -
    -
    -

    Accessor for multiple rows in the given range rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows range: Range<Int>) -> PDFTableRows { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableRows with references to rows

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Single Row -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows row: Int, columns columns: Range<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows row: Int, columns columns: ClosedRange<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows row: Int, columns columns: PartialRangeFrom<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows row: Int, columns columns: PartialRangeThrough<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows row: Int, columns columns: PartialRangeUpTo<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Range -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: Range<Int>, columns columns: ClosedRange<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: Range<Int>, columns columns: PartialRangeFrom<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: Range<Int>, columns columns: PartialRangeThrough<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: Range<Int>, columns columns: PartialRangeUpTo<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: Range<Int>, column column: Int) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Closed Range -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: ClosedRange<Int>, columns columns: Range<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: ClosedRange<Int>, columns columns: ClosedRange<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: ClosedRange<Int>, columns columns: PartialRangeFrom<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: ClosedRange<Int>, columns columns: PartialRangeThrough<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: ClosedRange<Int>, columns columns: PartialRangeUpTo<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: ClosedRange<Int>, column column: Int) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Partial Range From -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeFrom<Int>, columns columns: Range<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeFrom<Int>, columns columns: ClosedRange<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeFrom<Int>, columns columns: PartialRangeFrom<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeFrom<Int>, columns columns: PartialRangeThrough<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeFrom<Int>, columns columns: PartialRangeUpTo<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeFrom<Int>, column column: Int) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Partial Range Up To -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeUpTo<Int>, columns columns: Range<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeUpTo<Int>, columns columns: ClosedRange<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeUpTo<Int>, columns columns: PartialRangeFrom<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeUpTo<Int>, columns columns: PartialRangeThrough<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeUpTo<Int>, columns columns: PartialRangeUpTo<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeUpTo<Int>, column column: Int) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: Range<Int>, columns columns: Range<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFTableCell.html b/docs/Classes/PDFTableCell.html deleted file mode 100644 index e08cb78b..00000000 --- a/docs/Classes/PDFTableCell.html +++ /dev/null @@ -1,616 +0,0 @@ - - - - PDFTableCell Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableCell

-
-
- -
public class PDFTableCell : PDFDocumentObject
- -
-
-

An instance of a table cell

- -
-
- -
-
-
-
    -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Content of this cell, can be different kinds of data inside a PDFTableContent object.

    - -

    Might be nil, meaning the cell can be empty.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: PDFTableContent?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Custom style of this particular cell

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: PDFTableCellStyle?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Alignment of content inside cell

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: PDFTableCellAlignment
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new cell with the optionally given content, alignment and style.

    - -

    If none are given, see defaults.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(content: PDFTableContent? = nil, alignment: PDFTableCellAlignment = .center, style: PDFTableCellStyle? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - content - - -
    -

    PDFTableContent holding different kinds of data, defaults to nil, meaning the cell is empty

    -
    -
    - - alignment - - -
    -

    PDFTableCellAignment setting the alignment position of the conten

    -
    -
    - - style - - -
    -

    PDFTableCelStyle for overwriting table wide styling for this particular cell

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFTableColumn.html b/docs/Classes/PDFTableColumn.html deleted file mode 100644 index 9c9527b2..00000000 --- a/docs/Classes/PDFTableColumn.html +++ /dev/null @@ -1,720 +0,0 @@ - - - - PDFTableColumn Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableColumn

-
-
- -
public class PDFTableColumn
-
extension PDFTableColumn: PDFTableMergable
- -
-
-

Reference to a single column of cells in a PDFTable

- -
-
- -
-
-
-
    -
  • -
    - - - - cells - -
    -
    -
    -
    -
    -
    -

    References to the cells in the column

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var cells: [PDFTableCell] { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - subscript(_:) - -
    -
    -
    -
    -
    -
    -

    Access and modifier for a specific cell in a given row

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(row: Int) -> PDFTableCell { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in column or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: [PDFTableContentable?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the column

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsContent: PDFTableContent? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in column or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: [PDFTableCellStyle?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the column

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsStyle: PDFTableCellStyle? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in column or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: [PDFTableCellAlignment] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the column

    -
    -

    Note

    - This method can not be used to get values, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsAlignment: PDFTableCellAlignment { get set }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableMergable -

-
-
-
    -
  • -
    - - - - merge() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge(with:) - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    If no parameter cell is given, the first cell in the column will be used.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge(with cell: PDFTableCell? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - cell - - -
    -

    Cell to use after merge, may be nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFTableColumns.html b/docs/Classes/PDFTableColumns.html deleted file mode 100644 index 39d6b23a..00000000 --- a/docs/Classes/PDFTableColumns.html +++ /dev/null @@ -1,789 +0,0 @@ - - - - PDFTableColumns Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableColumns

-
-
- -
public class PDFTableColumns
-
extension PDFTableColumns: PDFTableMergable
- -
-
-

References to multiple columns (PDFTableColumn) of a PDFTable

- -
-
- -
-
-
-
    -
  • -
    - - - - columns - -
    -
    -
    -
    -
    -
    -

    Array of references to PDFTableColumn

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let columns: [PDFTableColumn]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in all columns or sets the content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: [[PDFTableContentable?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allColumnsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the column

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value per column. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allColumnsContent: [PDFTableContent?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the column

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsContent: PDFTableContent? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Access style of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: [[PDFTableCellStyle?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allColumnsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the column

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value per column - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allColumnsStyle: [PDFTableCellStyle?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the column

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsStyle: PDFTableCellStyle? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Access alignment of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: [[PDFTableCellAlignment]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allColumnsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the columns

    -
    -

    Note

    - This method can not be used to get alignment, because the type can only be a single value per column - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allColumnsAlignment: [PDFTableCellAlignment] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the columns

    -
    -

    Note

    - This method can not be used to get alignments, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsAlignment: PDFTableCellAlignment { get set }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableMergable -

-
-
-
    -
  • -
    - - - - merge() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge(with:) - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    If no parameter cell is given, the first cell in the first column will be used.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge(with cell: PDFTableCell? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - cell - - -
    -

    Cell to use after merge, may be nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFTableContent.html b/docs/Classes/PDFTableContent.html deleted file mode 100644 index cb3ee7f3..00000000 --- a/docs/Classes/PDFTableContent.html +++ /dev/null @@ -1,594 +0,0 @@ - - - - PDFTableContent Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableContent

-
-
- -
public class PDFTableContent : CustomStringConvertible, Hashable
-
extension PDFTableContent: PDFTableContentable
- -
-
-

Structure used to manage cell content

- -
-
- -
-
-
-
    -
  • -
    - - - - init(content:) - -
    -
    -
    -
    -
    -
    -

    Creates a new table cell content wrapping the given `content

    -
    -

    Throws

    -

    tableContentInvalid(value:) if the content has an unsupported type

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(content: Any?) throws
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - content - - -
    -

    Content of this cell, see ContentType for list of supported types.

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFTableContent, rhs: PDFTableContent) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ContentType - -
    -
    -
    -
    -
    -
    -

    Internal enumeration type used to identify the type-erased PDFTableContent/content

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    enum ContentType
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableContentable -

-
-
-
    -
  • -
    - - - - asTableContent - -
    -
    -
    -
    -
    -
    -

    Casts this instance to a PDFTableContent

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var asTableContent: PDFTableContent { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFTableContent/ContentType.html b/docs/Classes/PDFTableContent/ContentType.html deleted file mode 100644 index 280a7714..00000000 --- a/docs/Classes/PDFTableContent/ContentType.html +++ /dev/null @@ -1,502 +0,0 @@ - - - - ContentType Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

ContentType

-
-
- -
enum ContentType
- -
-
-

Internal enumeration type used to identify the type-erased PDFTableContent/content

- -
-
- -
-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Undefined content type

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case none
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - string - -
    -
    -
    -
    -
    -
    -

    Content is a string value

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case string
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - attributedString - -
    -
    -
    -
    -
    -
    -

    Content is an attributed string

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case attributedString
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - image - -
    -
    -
    -
    -
    -
    -

    Content is an image

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case image
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFTableOfContent.html b/docs/Classes/PDFTableOfContent.html deleted file mode 100644 index 614b05b5..00000000 --- a/docs/Classes/PDFTableOfContent.html +++ /dev/null @@ -1,537 +0,0 @@ - - - - PDFTableOfContent Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableOfContent

-
-
- -
public class PDFTableOfContent : PDFDocumentObject
- -
-
-

Creates a table of content for the given list of render objects.

- -

The given list of styles are used to identify which PDFAttributedTextObject should be considered as “headers” and therefore be in the table of contents.

- -

Furthermore, the index of the style in the list of styles is used as the nesting level.

- -

Looking at the following example document, there are 3 levels of headers defined:

- -
    -
  • Title
  • -
  • Heading 1
  • -
  • Heading 2
  • -
- -

Any other text which is not using these styles, should be considered body content text.

-
 let document = PDFDocument(format: .a4)
-
- // Define document wide styles
- let titleStyle = document.add(style: PDFTextStyle(name: "Title"))
- let headingStyle1 = document.add(style: PDFTextStyle(name: "Heading 1"))
- let headingStyle2 = document.add(style: PDFTextStyle(name: "Heading 2"))
-
- // Add a string using the title style
- document.add(textObject: PDFSimpleText(text: "TPPDF", style: titleStyle))
-
- // Add a table of content, the content will be calculated based on the usages of the styles
- document.add(text: "Table of Contents")
- document.add(tableOfContent: PDFTableOfContent(styles: [
-     headingStyle1,
-     headingStyle2,
- ], symbol: .none))
-
- // Add headline with extra spacing
- document.add(textObject: PDFSimpleText(text: "1. Introduction", style: headingStyle1))
- document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
-
- document.add(textObject: PDFSimpleText(text: "2. Images", style: headingStyle1))
- document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
-
- document.add(textObject: PDFSimpleText(text: "2.1 Special Images", style: headingStyle2))
- document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
-
- document.add(textObject: PDFSimpleText(text: "3. Tables", style: headingStyle1))
- document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
-
- -

The output of the table of contents nested lists will look like this:

- -
    -
  • 1. Introduction - -
      -
    • 2. Images
    • -
    • 2.1 Special Images
    • -
    • 3. Tables
    • -
  • -
- -
-
- -
-
-
-
    -
  • -
    - - - - symbol - -
    -
    -
    -
    -
    -
    -

    Symbol used in the PDFList after converting the table of contents.

    - -

    See symbol for further information

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var symbol: PDFListItemSymbol
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(styles:symbol:) - -
    -
    -
    -
    -
    -
    -

    Creates a new Table Of Contents by selecting render objects matching the given styles

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(styles: [PDFTextStyle], symbol: PDFListItemSymbol)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - styles - - -
    -

    List of PDFTextStyle to select the relevant PDFAttributedText objects in the document

    -
    -
    - - symbol - - -
    -

    Symbol used for the resulting PDFList

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFTableRow.html b/docs/Classes/PDFTableRow.html deleted file mode 100644 index 01228e53..00000000 --- a/docs/Classes/PDFTableRow.html +++ /dev/null @@ -1,720 +0,0 @@ - - - - PDFTableRow Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableRow

-
-
- -
public class PDFTableRow
-
extension PDFTableRow: PDFTableMergable
- -
-
-

Reference to a single row of cells in a PDFTable

- -
-
- -
-
-
-
    -
  • -
    - - - - cells - -
    -
    -
    -
    -
    -
    -

    Array of references to PDFTableCell in this row

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var cells: [PDFTableCell] { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - subscript(_:) - -
    -
    -
    -
    -
    -
    -

    Access and modifier for a specific cell in a given row

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(column: Int) -> PDFTableCell { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in all rows or sets the content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: [PDFTableContentable?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the row

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsContent: PDFTableContent? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in row or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: [PDFTableCellStyle?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the row

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsStyle: PDFTableCellStyle? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Access alignment of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: [PDFTableCellAlignment] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the rows

    -
    -

    Note

    - This method can not be used to get alignments, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsAlignment: PDFTableCellAlignment { get set }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableMergable -

-
-
-
    -
  • -
    - - - - merge() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge(with:) - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    If no parameter cell is given, the first cell in the first row will be used.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge(with cell: PDFTableCell? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - cell - - -
    -

    Cell to use after merge, may be nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFTableRows.html b/docs/Classes/PDFTableRows.html deleted file mode 100644 index 390e3593..00000000 --- a/docs/Classes/PDFTableRows.html +++ /dev/null @@ -1,789 +0,0 @@ - - - - PDFTableRows Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableRows

-
-
- -
public class PDFTableRows
-
extension PDFTableRows: PDFTableMergable
- -
-
-

References to multiple rows (PDFTableRow) of a PDFTable

- -
-
- -
-
-
-
    -
  • -
    - - - - rows - -
    -
    -
    -
    -
    -
    -

    Array of references to PDFTableRow

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let rows: [PDFTableRow]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in all rows or sets the content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: [[PDFTableContentable?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allRowsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all rows to the same

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value per row. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allRowsContent: [PDFTableContent?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the row

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsContent: PDFTableContent? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Access style of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: [[PDFTableCellStyle?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allRowsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the row

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value per row - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allRowsStyle: [PDFTableCellStyle?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the row

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsStyle: PDFTableCellStyle? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Access alignment of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: [[PDFTableCellAlignment]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allRowsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the rows

    -
    -

    Note

    - This method can not be used to get alignment, because the type can only be a single value per row - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allRowsAlignment: [PDFTableCellAlignment] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the rows

    -
    -

    Note

    - This method can not be used to get alignments, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsAlignment: PDFTableCellAlignment { get set }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableMergable -

-
-
-
    -
  • -
    - - - - merge() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge(with:) - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    If no parameter cell is given, the first cell in the first row will be used.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge(with cell: PDFTableCell? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - cell - - -
    -

    Cell to use after merge, may be nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFTableSection.html b/docs/Classes/PDFTableSection.html deleted file mode 100644 index d66dd007..00000000 --- a/docs/Classes/PDFTableSection.html +++ /dev/null @@ -1,871 +0,0 @@ - - - - PDFTableSection Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableSection

-
-
- -
public class PDFTableSection
- -
-
-

Reference to a range of cells in a PDFTable

- -
-
- -
-
-
-
    -
  • -
    - - - - cells - -
    -
    -
    -
    -
    -
    -

    References to cells in the PDFTable

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let cells: [[PDFTableCell]]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: [[PDFTableContent?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allRowsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all rows to the same

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value per row. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allRowsContent: [PDFTableContent?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allColumnsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the column

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value per column. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allColumnsContent: [PDFTableContent?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the section

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsContent: PDFTableContent? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Access style of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: [[PDFTableCellStyle?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allRowsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the row

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value per row - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allRowsStyle: [PDFTableCellStyle?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allColumnsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the column

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value per column - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allColumnsStyle: [PDFTableCellStyle?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the column

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsStyle: PDFTableCellStyle? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Access alignment of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: [[PDFTableCellAlignment]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allRowsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the rows

    -
    -

    Note

    - This method can not be used to get alignment, because the type can only be a single value per row - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allRowsAlignment: [PDFTableCellAlignment] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allColumnsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the columns

    -
    -

    Note

    - This method can not be used to get alignment, because the type can only be a single value per column - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allColumnsAlignment: [PDFTableCellAlignment] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the rows

    -
    -

    Note

    - This method can not be used to get alignments, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsAlignment: PDFTableCellAlignment { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func merge()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge(with:) - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    If no parameter cell is given, the first cell in the first row and the first column will be used.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func merge(with cell: PDFTableCell? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - cell - - -
    -

    Cell to use after merge, may be nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFTableStyle.html b/docs/Classes/PDFTableStyle.html deleted file mode 100644 index 69143698..00000000 --- a/docs/Classes/PDFTableStyle.html +++ /dev/null @@ -1,884 +0,0 @@ - - - - PDFTableStyle Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableStyle

-
-
- -
public class PDFTableStyle
-
extension PDFTableStyle: Equatable
- -
-
-

Structure used to manage the styling of a PDFTable

- -

The styling of a PDFTable can be defined by setting the property style

- -
-
- -
-
-
-
    -
  • -
    - - - - rowHeaderCount - -
    -
    -
    -
    -
    -
    -

    Count of rows which will use the style configured in rowHeaderStyle

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var rowHeaderCount: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - columnHeaderCount - -
    -
    -
    -
    -
    -
    -

    Count of columns which will use the style configured in columnHeaderStyle

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var columnHeaderCount: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - footerCount - -
    -
    -
    -
    -
    -
    -

    Count of footers which will use the style configured in footerStyle

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var footerCount: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - outline - -
    -
    -
    -
    -
    -
    -

    Style used for the outer border

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var outline: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - rowHeaderStyle - -
    -
    -
    -
    -
    -
    -

    Style of cells in the header rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var rowHeaderStyle: PDFTableCellStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - columnHeaderStyle - -
    -
    -
    -
    -
    -
    -

    Style of cells in the header columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var columnHeaderStyle: PDFTableCellStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - footerStyle - -
    -
    -
    -
    -
    -
    -

    Style of cells in the footer rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var footerStyle: PDFTableCellStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - contentStyle - -
    -
    -
    -
    -
    -
    -

    Style of cells without special purpose

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var contentStyle: PDFTableCellStyle
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Style used for alternating content rows

    - -

    Setting this property will enable alternating row styling, which will apply this style to every other row

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alternatingContentStyle: PDFTableCellStyle?
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Create a table style

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    rowHeaderCount: Int = 1,
    -    columnHeaderCount: Int = 1,
    -    footerCount: Int = 1,
    -    outline: PDFLineStyle = PDFLineStyle(),
    -    rowHeaderStyle: PDFTableCellStyle = PDFTableCellStyle(),
    -    columnHeaderStyle: PDFTableCellStyle = PDFTableCellStyle(),
    -    footerStyle: PDFTableCellStyle = PDFTableCellStyle(),
    -    contentStyle: PDFTableCellStyle = PDFTableCellStyle(),
    -    alternatingContentStyle: PDFTableCellStyle? = nil
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - rowHeaderCount - - -
    -

    Number of top rows which have header style

    -
    -
    - - columnHeaderCount - - -
    -

    Number of left columns with header style

    -
    -
    - - footerCount - - -
    -

    Number of footer rows with header style

    -
    -
    - - outline - - -
    -

    Line style of the outer borderlines

    -
    -
    - - showHorizontalGridLines - - -
    -

    Render horizontal grid lines

    -
    -
    - - showVerticalGridLines - - -
    -

    Render vertical grid lines

    -
    -
    - - showRowHeaderGridLines - - -
    -

    Render row header grid lines

    -
    -
    - - showColumnHeaderGridLines - - -
    -

    Render column header grid lines

    -
    -
    - - showFooterGridLines - - -
    -

    Render footer grid lines

    -
    -
    - - rowHeaderStyle - - -
    -

    The cell style of row header cells

    -
    -
    - - columnHeaderStyle - - -
    -

    The cell style of row header cells

    -
    -
    - - footerStyle - - -
    -

    The cell style of row header cells

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - copy() - -
    -
    -
    -
    -
    -
    -

    Creates a identical copy of this style

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func copy() -> PDFTableStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFTableStyle, rhs: PDFTableStyle) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFText.html b/docs/Classes/PDFText.html deleted file mode 100644 index 3498d62e..00000000 --- a/docs/Classes/PDFText.html +++ /dev/null @@ -1,426 +0,0 @@ - - - - PDFText Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFText

-
-
- -
public class PDFText : PDFDocumentObject, CustomStringConvertible
- -
-
-

Abstract class all text objects should implement

- -
-
- -
-
-
-
    -
  • -
    - - - - copy - -
    -
    -
    -
    -
    -
    -

    Creates a new copy of this text

    -
    -

    Note

    - Must be implemented by all subclasses - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var copy: PDFText { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Classes/PDFTextStyle.html b/docs/Classes/PDFTextStyle.html deleted file mode 100644 index 122b2730..00000000 --- a/docs/Classes/PDFTextStyle.html +++ /dev/null @@ -1,633 +0,0 @@ - - - - PDFTextStyle Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTextStyle

-
-
- -
public class PDFTextStyle : Hashable
- -
-
-

Structure to combine multiple aspects of text styling.

- -

Used to define text styling configuration in a global context.

- -

Furthermore, styles of a PDFDocument should be used to select headers for a PDFTableOfContent. - See PDFTableOfContent for details.

- -
-
- -
-
-
-
    -
  • -
    - - - - name - -
    -
    -
    -
    -
    -
    -

    Name of style

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var name: String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - font - -
    -
    -
    -
    -
    -
    -

    Font of the text

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var font: Font?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - color - -
    -
    -
    -
    -
    -
    -

    Color of the text

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var color: Color?
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new style with the given parameters.

    - -

    By setting all parameters to nil (except name, which is required) the style can be used only to detect text objects - for the PDFTableOfContent, without actually affecting the styling of the text.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(name: String, font: Font? = nil, color: Color? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - name - - -
    -

    Name of style

    -
    -
    - - font - - -
    -

    Font of text, defaults to nil

    -
    -
    - - color - - -
    -

    Color of text, defaults to nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFTextStyle, rhs: PDFTextStyle) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums.html b/docs/Enums.html deleted file mode 100644 index 61cc8def..00000000 --- a/docs/Enums.html +++ /dev/null @@ -1,764 +0,0 @@ - - - - Enumerations Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Enumerations

-

The following enumerations are available globally.

- -
-
- -
-
-
-
    -
  • -
    - - - - PDFLineType - -
    -
    -
    -
    -
    -
    -

    Different types of lines

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFLineType : String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFGroupContainer - -
    -
    -
    -
    -
    -
    -

    A section container defines the position of an element in a column of a given container.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFGroupContainer
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFImageSizeFit - -
    -
    -
    -
    -
    -
    -

    Constants defining scaling behaviour of an image, if not enough space to render full size is given.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFImageSizeFit
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFContainer - -
    -
    -
    -
    -
    -
    -

    A container defines the position of an element in the page.

    - -

    Generally a document is vertically split up into a header, a content and a footer area. - Also each part is horizontally split up into a left, a center and a right area.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFContainer : CaseIterable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFListItemSymbol - -
    -
    -
    -
    -
    -
    -

    Symbol used by a list item in a PDFList

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFListItemSymbol : RawRepresentable, Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFPageFormat - -
    -
    -
    -
    -
    -
    -

    Standardized paper formats, commonly used around the world.

    - -

    All sizes are calculated using 72 points/inch

    -
    -

    See also

    - Source - -
    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFPageFormat : String, CaseIterable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableCellAlignment - -
    -
    -
    -
    -
    -
    -

    Options for aligning content inside a table cell

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFTableCellAlignment : String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableStyleDefaults - -
    -
    -
    -
    -
    -
    -

    A collection of commonly used “PDFTableStyle

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFTableStyleDefaults
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFConstants - -
    -
    -
    -
    -
    -
    -

    Constants used throught the framework

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFConstants
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFError - -
    -
    -
    -
    -
    -
    -

    List of errors which can be thrown during configuration, calculations or rendering

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFError : LocalizedError
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    A section container defines the position of an element in a column of a given container.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFSectionColumnContainer
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFPaginationStyle - -
    -
    -
    -
    -
    -
    -

    Use predefined pagination styles or create a custom one, using .CustomNumberFormat or .CustomClosure.

    - -

    Enums using a template String as parameter will replace the first instance of %@ with the index and the second one with the total amount of pages.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFPaginationStyle
    -
    extension PDFPaginationStyle: Equatable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFObjectAttribute - -
    -
    -
    -
    -
    -
    -

    List of attributes an object can obtain

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFObjectAttribute : Hashable
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums/PDFConstants.html b/docs/Enums/PDFConstants.html deleted file mode 100644 index 4f30c45c..00000000 --- a/docs/Enums/PDFConstants.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - PDFConstants Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFConstants

-
-
- -
public enum PDFConstants
- -
-
-

Constants used throught the framework

- -
-
- -
-
-
-
    -
  • -
    - - - - defaultFontSize - -
    -
    -
    -
    -
    -
    -

    Default font size for objects

    - -

    In earlier versions the default UIFont.systemFontSize was used, but during implementation of macOS support, - findings showed that it differs toNSFont.systemFontSize. Therefore the new default font size is declared here.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let defaultFontSize: CGFloat
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums/PDFContainer.html b/docs/Enums/PDFContainer.html deleted file mode 100644 index ad3ea06c..00000000 --- a/docs/Enums/PDFContainer.html +++ /dev/null @@ -1,667 +0,0 @@ - - - - PDFContainer Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFContainer

-
-
- -
public enum PDFContainer : CaseIterable
- -
-
-

A container defines the position of an element in the page.

- -

Generally a document is vertically split up into a header, a content and a footer area. - Also each part is horizontally split up into a left, a center and a right area.

- -
-
- -
-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Element is in no container, only real use is as a default value

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case none
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - headerLeft - -
    -
    -
    -
    -
    -
    -

    Container at the top left

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case headerLeft
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - headerCenter - -
    -
    -
    -
    -
    -
    -

    Container at the top center

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case headerCenter
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - headerRight - -
    -
    -
    -
    -
    -
    -

    Container at the top right

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case headerRight
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - contentLeft - -
    -
    -
    -
    -
    -
    -

    Container in the center, aligned to left

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case contentLeft
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - contentCenter - -
    -
    -
    -
    -
    -
    -

    Container in the center, aligned to center

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case contentCenter
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - contentRight - -
    -
    -
    -
    -
    -
    -

    Container in the center, aligned to right

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case contentRight
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - footerLeft - -
    -
    -
    -
    -
    -
    -

    Container at the bottom left

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case footerLeft
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - footerCenter - -
    -
    -
    -
    -
    -
    -

    Container at the bottom center

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case footerCenter
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - footerRight - -
    -
    -
    -
    -
    -
    -

    Container at the bottom right

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case footerRight
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums/PDFError.html b/docs/Enums/PDFError.html deleted file mode 100644 index b28155ad..00000000 --- a/docs/Enums/PDFError.html +++ /dev/null @@ -1,693 +0,0 @@ - - - - PDFError Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFError

-
-
- -
public enum PDFError : LocalizedError
- -
-
-

List of errors which can be thrown during configuration, calculations or rendering

- -
-
- -
-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    The associated value is an instance of an unsupported type.

    - -

    See PDFTableContent/setContent(content:) for details.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case tableContentInvalid(value: Any?)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - tableIsEmpty - -
    -
    -
    -
    -
    -
    -

    Indicates that a table without any data was added to the document, which is unsupported

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case tableIsEmpty
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    The given table structure does not match, i.e. the data matrix size does not match the cell alignment configuration

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case tableStructureInvalid(message: String)
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Thrown when accessing a cell outside of the table bounds

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case tableIndexOutOfBounds(index: Int, length: Int)
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Indicates that the cell is too big to be rendered onto a single page

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case tableCellTooBig(cell: PDFTableCell)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - textObjectIsNil - -
    -
    -
    -
    -
    -
    -

    Thrown when neither a PDFSimpleText nor a NSAttributedString is set in an PDFAttributedText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case textObjectIsNil
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Thrown when a PDFAttributedText should be rendered without being calculated first

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case textObjectNotCalculated
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - copyingFailed - -
    -
    -
    -
    -
    -
    -

    Thrown when copying of a PDF object fails

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case copyingFailed
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Thrown when an external PDF document could not be loaded from the given url

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case externalDocumentURLInvalid(url: URL)
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Index of page in external document is out of bounds

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case pageOutOfBounds(index: Int)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - errorDescription - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var errorDescription: String? { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums/PDFGroupContainer.html b/docs/Enums/PDFGroupContainer.html deleted file mode 100644 index 71e9208d..00000000 --- a/docs/Enums/PDFGroupContainer.html +++ /dev/null @@ -1,502 +0,0 @@ - - - - PDFGroupContainer Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFGroupContainer

-
-
- -
public enum PDFGroupContainer
- -
-
-

A section container defines the position of an element in a column of a given container.

- -
-
- -
-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Element is in no container, only real use is as a default value

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case none
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - left - -
    -
    -
    -
    -
    -
    -

    Container aligned to left

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case left
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - center - -
    -
    -
    -
    -
    -
    -

    Container aligned to center

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case center
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - right - -
    -
    -
    -
    -
    -
    -

    Container aligned to right

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case right
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums/PDFImageSizeFit.html b/docs/Enums/PDFImageSizeFit.html deleted file mode 100644 index 890f4141..00000000 --- a/docs/Enums/PDFImageSizeFit.html +++ /dev/null @@ -1,475 +0,0 @@ - - - - PDFImageSizeFit Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFImageSizeFit

-
-
- -
public enum PDFImageSizeFit
- -
-
-

Constants defining scaling behaviour of an image, if not enough space to render full size is given.

- -
-
- -
-
-
-
    -
  • -
    - - - - width - -
    -
    -
    -
    -
    -
    -

    Scale the image to fit the available width, while keeping the aspect ratio

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case width
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - height - -
    -
    -
    -
    -
    -
    -

    Scale the image to fit the available height, while keeping the aspect ratio

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case height
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - widthHeight - -
    -
    -
    -
    -
    -
    -

    Scale the image to fit the available width or height, while keeping the aspect ratio

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case widthHeight
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums/PDFLineType.html b/docs/Enums/PDFLineType.html deleted file mode 100644 index fa2918a2..00000000 --- a/docs/Enums/PDFLineType.html +++ /dev/null @@ -1,506 +0,0 @@ - - - - PDFLineType Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFLineType

-
-
- -
public enum PDFLineType : String
- -
-
-

Different types of lines

- -
-
- -
-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    No visible line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case none
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - full - -
    -
    -
    -
    -
    -
    -

    Full line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case full
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - dashed - -
    -
    -
    -
    -
    -
    -

    Dashed Line

    - -

    Dash length and spacing is three times the line width

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case dashed
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - dotted - -
    -
    -
    -
    -
    -
    -

    Dotted Line

    - -

    Dot spacing is twice the line width

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case dotted
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums/PDFListItemSymbol.html b/docs/Enums/PDFListItemSymbol.html deleted file mode 100644 index d55c2934..00000000 --- a/docs/Enums/PDFListItemSymbol.html +++ /dev/null @@ -1,750 +0,0 @@ - - - - PDFListItemSymbol Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFListItemSymbol

-
-
- -
public enum PDFListItemSymbol : RawRepresentable, Hashable
- -
-
-

Symbol used by a list item in a PDFList

- -
-
- -
-
-
-
    -
  • -
    - - - - RawValue - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias RawValue = String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Doesn’t display a symbol before the content

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case none
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - inherit - -
    -
    -
    -
    -
    -
    -

    If an item is nested and uses this symbol, it will take the same one as the parent.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case inherit
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - dot - -
    -
    -
    -
    -
    -
    -

    Symbol is a middle-dot

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case dot
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - dash - -
    -
    -
    -
    -
    -
    -

    Symbol is a dash/minus.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case dash
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - custom(value:) - -
    -
    -
    -
    -
    -
    -

    Any string value must be provided, which will then be used as the symbol.

    - -

    The indentation value of the PDFList must be set correctly in the initializer init(indentations:), - as the indentation is not based on the symbol frame width.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case custom(value: String)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - numbered(value:) - -
    -
    -
    -
    -
    -
    -

    When the parent of multiple list items is of type numbered, it will then use the index as the symbol, starting with 1 and - append a dot . to the number.

    - -

    If a value is provided, this will be used for the parent item, in case you want to override the value.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case numbered(value: String?)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - stringValue - -
    -
    -
    -
    -
    -
    -

    Returns the symbol as a string, to be calculated and rendered using PDFText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var stringValue: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - rawValue - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var rawValue: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(rawValue:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init?(rawValue: PDFListItemSymbol.RawValue)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFListItemSymbol, rhs: PDFListItemSymbol) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums/PDFObjectAttribute.html b/docs/Enums/PDFObjectAttribute.html deleted file mode 100644 index a4c507c2..00000000 --- a/docs/Enums/PDFObjectAttribute.html +++ /dev/null @@ -1,421 +0,0 @@ - - - - PDFObjectAttribute Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFObjectAttribute

-
-
- -
public enum PDFObjectAttribute : Hashable
- -
-
-

List of attributes an object can obtain

- -
-
- -
-
-
-
    -
  • -
    - - - - link(url:) - -
    -
    -
    -
    -
    -
    -

    Adds a clickable link with a redirection to the given URL

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case link(url: URL)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums/PDFPageFormat.html b/docs/Enums/PDFPageFormat.html deleted file mode 100644 index 3730e1b5..00000000 --- a/docs/Enums/PDFPageFormat.html +++ /dev/null @@ -1,1934 +0,0 @@ - - - - PDFPageFormat Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFPageFormat

-
-
- -
public enum PDFPageFormat : String, CaseIterable
- -
-
-

Standardized paper formats, commonly used around the world.

- -

All sizes are calculated using 72 points/inch

-
-

See also

- Source - -
- -
-
- -
-
-
-
    -
  • -
    - - - - usHalfLetter - -
    -
    -
    -
    -
    -
    -

    Page formats mostly used in the USA

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case usHalfLetter = "us.half-letter"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - usLetter - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case usLetter = "us.letter"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - usLegal - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case usLegal = "us.legal"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - usJuniorLegal - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case usJuniorLegal = "us.junior-legal"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - usLedger - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case usLedger = "us.ledger"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiA - -
    -
    -
    -
    -
    -
    -

    Page formats according to the American National Standards Institute

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case ansiA = "ansi.a"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiB - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case ansiB = "ansi.b"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiC - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case ansiC = "ansi.c"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiD - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case ansiD = "ansi.d"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiE - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case ansiE = "ansi.e"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a0 - -
    -
    -
    -
    -
    -
    -

    A-Series of paper standard DIN 476

    - - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a0
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a1 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a1
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a2 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a2
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a3 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a3
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a4 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a4
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a5 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a5
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a6 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a6
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a7 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a7
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a8 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a8
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a9 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a9
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a10 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a10
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b0 - -
    -
    -
    -
    -
    -
    -

    B-Series is the geometric mean of the A-series

    - - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b0
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b1 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b1
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b2 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b2
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b3 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b3
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b4 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b4
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b5 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b5
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b6 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b6
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b7 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b7
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b8 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b8
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b9 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b9
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b10 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b10
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c0 - -
    -
    -
    -
    -
    -
    -

    C-Series is ususally used for envelopes. Definition is written in ISO 269

    - -

    For more detail: https://en.wikipedia.org/wiki/Paper_size#C_series

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c0
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c1 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c1
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c2 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c2
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c3 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c3
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c4 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c4
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c5 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c5
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c6 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c6
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c7 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c7
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c8 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c8
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c9 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c9
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c10 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c10
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - size - -
    -
    -
    -
    -
    -
    -

    Size defined in constants

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var size: CGSize { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - landscapeSize - -
    -
    -
    -
    -
    -
    -

    Swaps height and width to create a landscape format

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var landscapeSize: CGSize { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - name - -
    -
    -
    -
    -
    -
    -

    Name defined in constants

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var name: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - layout - -
    -
    -
    -
    -
    -
    -

    Shorthand method to create a default PDFPageLayout based on the this formats size.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var layout: PDFPageLayout { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - usName - -
    -
    -
    -
    -
    -
    -

    Returns the defined US names if this format is a US format.

    - -

    If it is not a US format, it will check other constants for correct name

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var usName: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiName - -
    -
    -
    -
    -
    -
    -

    Returns the defined ANSI name if this format is a ANSI format.

    - -

    If it is not a ANSI format, it will check other constants for correct name

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var ansiName: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - aName - -
    -
    -
    -
    -
    -
    -

    Returns the defined A-Series name if this format is a A-Series format.

    - -

    If it is not a A-Series format, it will check other constants for correct name

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var aName: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bName - -
    -
    -
    -
    -
    -
    -

    Returns the defined B-Series name if this format is a B-Series format.

    - -

    If it is not a B-Series format, it will check other constants for correct name

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var bName: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - cName - -
    -
    -
    -
    -
    -
    -

    Returns the defined C-Series name if this format is a C-Series format.

    - -

    If it is not a C-Series format, it will check other constants for correct name

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var cName: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - usSize - -
    -
    -
    -
    -
    -
    -

    Returns the defined US paper size if this format is a US format.

    - -

    If it is not a US format, it will check other constants for correct size

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var usSize: CGSize { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiSize - -
    -
    -
    -
    -
    -
    -

    Returns the defined ANSI paper size if this format is a ANSI format.

    - -

    If it is not a ANSI format, it will check other constants for correct size

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var ansiSize: CGSize { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - aSize - -
    -
    -
    -
    -
    -
    -

    Returns the defined A-Series paper size if this format is a A-Series format.

    - -

    If it is not a A-Series format, it will check other constants for correct size

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var aSize: CGSize { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bSize - -
    -
    -
    -
    -
    -
    -

    Returns the defined B-Series paper size if this format is a B-Series format.

    - -

    If it is not a B-Series format, it will check other constants for correct size

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var bSize: CGSize { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - cSize - -
    -
    -
    -
    -
    -
    -

    Returns the defined C-Series paper size if this format is a C-Series format.

    - -

    If it is not a C-Series format, it will check other constants for correct size

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var cSize: CGSize { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums/PDFPaginationStyle.html b/docs/Enums/PDFPaginationStyle.html deleted file mode 100644 index c3febe2b..00000000 --- a/docs/Enums/PDFPaginationStyle.html +++ /dev/null @@ -1,646 +0,0 @@ - - - - PDFPaginationStyle Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFPaginationStyle

-
-
- -
public enum PDFPaginationStyle
-
extension PDFPaginationStyle: Equatable
- -
-
-

Use predefined pagination styles or create a custom one, using .CustomNumberFormat or .CustomClosure.

- -

Enums using a template String as parameter will replace the first instance of %@ with the index and the second one with the total amount of pages.

- -
-
- -
-
-
-
    -
  • -
    - - - - default - -
    -
    -
    -
    -
    -
    -

    Default format, concats current page and total pages with a dash.

    - -

    e.g. Converts page 1 of 3 to “1 - 3”

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case `default`
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - roman(template:) - -
    -
    -
    -
    -
    -
    -

    Returns pagination in roman numerals.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case roman(template: String)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - template - - -
    -

    Template String, instances of %@ will be replaced.

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Formats pagination numbers using the formatter and formatting the string using the given template.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case customNumberFormat(template: String, formatter: NumberFormatter)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - template - - -
    -

    Template string where $@ is replaced

    -
    -
    - - formatter - - -
    -

    Number formatter

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - customClosure(_:) - -
    -
    -
    -
    -
    -
    -

    Formats the pagination using the provided closure

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case customClosure(PDFPaginationClosure)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - format(page:total:) - -
    -
    -
    -
    -
    -
    -

    Creates formatted pagination string.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func format(page: Int, total: Int) -> String
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - page - - -
    -

    Int - Current page

    -
    -
    - - total - - -
    -

    Int - Total amount of pages.

    -
    -
    -
    -
    -

    Return Value

    -

    Formatted String

    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    TODO: Documentation

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFPaginationStyle, rhs: PDFPaginationStyle) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums/PDFSectionColumnContainer.html b/docs/Enums/PDFSectionColumnContainer.html deleted file mode 100644 index e8e02e3e..00000000 --- a/docs/Enums/PDFSectionColumnContainer.html +++ /dev/null @@ -1,502 +0,0 @@ - - - - PDFSectionColumnContainer Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFSectionColumnContainer

-
-
- -
public enum PDFSectionColumnContainer
- -
-
-

A section container defines the position of an element in a column of a given container.

- -
-
- -
-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Element is in no container, only real use is as a default value

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case none
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - left - -
    -
    -
    -
    -
    -
    -

    Container aligned to left

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case left
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - center - -
    -
    -
    -
    -
    -
    -

    Container aligned to center

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case center
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - right - -
    -
    -
    -
    -
    -
    -

    Container aligned to right

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case right
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums/PDFTableCellAlignment.html b/docs/Enums/PDFTableCellAlignment.html deleted file mode 100644 index 808c35f5..00000000 --- a/docs/Enums/PDFTableCellAlignment.html +++ /dev/null @@ -1,637 +0,0 @@ - - - - PDFTableCellAlignment Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableCellAlignment

-
-
- -
public enum PDFTableCellAlignment : String
- -
-
-

Options for aligning content inside a table cell

- -
-
- -
-
-
-
    -
  • -
    - - - - topLeft - -
    -
    -
    -
    -
    -
    -

    Content will be aligned in the top left corner

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case topLeft = "top-left"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - top - -
    -
    -
    -
    -
    -
    -

    Content will be aligned with the top edge, centered horizontally

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case top
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - topRight - -
    -
    -
    -
    -
    -
    -

    Content will be aligned in the top right corner

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case topRight = "top-right"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - left - -
    -
    -
    -
    -
    -
    -

    Content will be aligned with the left edge, centered vertically

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case left
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - center - -
    -
    -
    -
    -
    -
    -

    Content will be centered horizontally & vertically

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case center
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - right - -
    -
    -
    -
    -
    -
    -

    Content will be aligned with the right edge, centered horizontally

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case right
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomLeft - -
    -
    -
    -
    -
    -
    -

    Content will be aligned in the bottom left corner

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case bottomLeft = "bottom-left"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottom - -
    -
    -
    -
    -
    -
    -

    Content will be aligned with the bottom edge, centered horizontally

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case bottom
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomRight - -
    -
    -
    -
    -
    -
    -

    Content will be aligned in the top right corner

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case bottomRight = "bottom-right"
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Enums/PDFTableStyleDefaults.html b/docs/Enums/PDFTableStyleDefaults.html deleted file mode 100644 index b8179374..00000000 --- a/docs/Enums/PDFTableStyleDefaults.html +++ /dev/null @@ -1,468 +0,0 @@ - - - - PDFTableStyleDefaults Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableStyleDefaults

-
-
- -
public enum PDFTableStyleDefaults
- -
-
-

A collection of commonly used “PDFTableStyle

- -
-
- -
-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    None:

    - -
      -
    • No header rows
    • -
    • No header columns
    • -
    • No footer row
    • -
    • No alternating rows
    • -
    • Simple outline
    • -
    • Simple borders
    • -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var none: PDFTableStyle { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - simple - -
    -
    -
    -
    -
    -
    -

    Simple table:

    - -
      -
    • One header row
    • -
    • One header column
    • -
    • Row Header:
    • -
    • Text color white
    • -
    • No border, only light gray border at bottom
    • -
    • Column Header:
    • -
    • Bold font
    • -
    • Alternating content rows
    • -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var simple: PDFTableStyle { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Extensions.html b/docs/Extensions.html deleted file mode 100644 index 537c1b7d..00000000 --- a/docs/Extensions.html +++ /dev/null @@ -1,711 +0,0 @@ - - - - Extensions Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Extensions

-

The following extensions are available globally.

- -
-
- -
-
-
- -
-
-
- - -
- -

Int + PDFTableContentable -

-
-
- -
-
-
- - -
- -

Double + PDFTableContentable -

-
-
- -
-
-
- - -
- -

Float + PDFTableContentable -

-
-
- -
-
-
- - -
- -

Image + PDFTableContentable -

-
-
- -
-
-
- -
-
- - - diff --git a/docs/Extensions/CGPoint.html b/docs/Extensions/CGPoint.html deleted file mode 100644 index 58aaca36..00000000 --- a/docs/Extensions/CGPoint.html +++ /dev/null @@ -1,641 +0,0 @@ - - - - CGPoint Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

CGPoint

-
-
- -
extension CGPoint
- -
-
- -
-
- -
-
-
-
    -
  • -
    - - - - +(_:_:) - -
    -
    -
    -
    -
    -
    -

    Adds a vector to a point

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func + (lhs: CGPoint, rhs: CGVector) -> CGPoint
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - lhs - - -
    -

    CGPoint

    -
    -
    - - rhs - - -
    -

    CGVector

    -
    -
    -
    -
    -

    Return Value

    -

    Translated point

    -
    -
    -
    -
  • -
  • -
    - - - - +(_:_:) - -
    -
    -
    -
    -
    -
    -

    Adds two points together, by adding their components.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func + (lhs: CGPoint, rhs: CGPoint) -> CGPoint
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - lhs - - -
    -

    CGPoint

    -
    -
    - - rhs - - -
    -

    CGPoint

    -
    -
    -
    -
    -

    Return Value

    -

    Added point

    -
    -
    -
    -
  • -
  • -
    - - - - -(_:_:) - -
    -
    -
    -
    -
    -
    -

    Subtracts two points from each other, by subtracting their components.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func - (lhs: CGPoint, rhs: CGPoint) -> CGPoint
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - lhs - - -
    -

    CGPoint

    -
    -
    - - rhs - - -
    -

    CGPoint

    -
    -
    -
    -
    -

    Return Value

    -

    Subtracted point

    -
    -
    -
    -
  • -
  • -
    - - - - +(_:_:) - -
    -
    -
    -
    -
    -
    -

    Adds a value to both components of a point

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func + (lhs: CGPoint, value: CGFloat) -> CGPoint
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - lhs - - -
    -

    Point

    -
    -
    - - value - - -
    -

    Value

    -
    -
    -
    -
    -

    Return Value

    -

    Moved point

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Extensions/CustomDebugStringConvertible.html b/docs/Extensions/CustomDebugStringConvertible.html deleted file mode 100644 index 4ce7c2cb..00000000 --- a/docs/Extensions/CustomDebugStringConvertible.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - CustomDebugStringConvertible Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

CustomDebugStringConvertible

-
-
- -
extension CustomDebugStringConvertible
- -
-
- -
-
- -
-
-
-
    -
  • -
    - - - - debugDescription - -
    -
    -
    -
    -
    -
    -

    Default implementation for debugDescription using class reflection to create a comma concatenated list of properties and values

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var debugDescription: String { get }
    - -
    -
    -
    -

    Return Value

    -

    String of comma-separated key/value pairs

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Extensions/CustomStringConvertible.html b/docs/Extensions/CustomStringConvertible.html deleted file mode 100644 index bc9057c0..00000000 --- a/docs/Extensions/CustomStringConvertible.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - CustomStringConvertible Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

CustomStringConvertible

-
-
- -
extension CustomStringConvertible
- -
-
- -
-
- -
-
-
-
    -
  • -
    - - - - description - -
    -
    -
    -
    -
    -
    -

    Default implementation for description using class reflection to create a comma concatenated list of properties and values

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var description: String { get }
    - -
    -
    -
    -

    Return Value

    -

    String of comma-separated key/value pairs

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Extensions/Double.html b/docs/Extensions/Double.html deleted file mode 100644 index 2c457fa3..00000000 --- a/docs/Extensions/Double.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - Double Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Double

-
-
- -
extension Double: PDFTableContentable
- -
-
- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/Extensions/Float.html b/docs/Extensions/Float.html deleted file mode 100644 index a6589cfd..00000000 --- a/docs/Extensions/Float.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - Float Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Float

-
-
- -
extension Float: PDFTableContentable
- -
-
- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/Extensions/Image.html b/docs/Extensions/Image.html deleted file mode 100644 index d4803fa4..00000000 --- a/docs/Extensions/Image.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - Image Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Image

-
-
- -
extension Image: PDFTableContentable
- -
-
- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/Extensions/Int.html b/docs/Extensions/Int.html deleted file mode 100644 index 2a9c6c81..00000000 --- a/docs/Extensions/Int.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - Int Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Int

-
-
- -
extension Int: PDFTableContentable
- -
-
- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/Extensions/NSAttributedString.html b/docs/Extensions/NSAttributedString.html deleted file mode 100644 index 9289b923..00000000 --- a/docs/Extensions/NSAttributedString.html +++ /dev/null @@ -1,421 +0,0 @@ - - - - NSAttributedString Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

NSAttributedString

-
-
- -
extension NSAttributedString: PDFTableContentable
- -
-
-

Adds functionality to convert to PDF table content

- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/Extensions/NSEdgeInsets.html b/docs/Extensions/NSEdgeInsets.html deleted file mode 100644 index 38826d82..00000000 --- a/docs/Extensions/NSEdgeInsets.html +++ /dev/null @@ -1,447 +0,0 @@ - - - - NSEdgeInsets Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

NSEdgeInsets

-
-
- -
public extension NSEdgeInsets
-
extension NSEdgeInsets: Equatable
- -
-
- -
-
- -
-
-
-
    -
  • -
    - - - - zero - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    static var zero: NSEdgeInsets { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: NSEdgeInsets, rhs: NSEdgeInsets) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Extensions/String.html b/docs/Extensions/String.html deleted file mode 100644 index ed441e8a..00000000 --- a/docs/Extensions/String.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - String Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

String

-
-
- -
extension String: PDFTableContentable
- -
-
- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/Protocols.html b/docs/Protocols.html deleted file mode 100644 index 0f37a1c9..00000000 --- a/docs/Protocols.html +++ /dev/null @@ -1,583 +0,0 @@ - - - - Protocols Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Protocols

-

The following protocols are available globally.

- -
-
- -
-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Protocol used to delegate drawing of images

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFGeneratorImageDelegate : AnyObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFGeneratorProtocol - -
    -
    -
    -
    -
    -
    -

    Protocol including all public methods and accessors available for generating documents

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFGeneratorProtocol : AnyObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableContentable - -
    -
    -
    -
    -
    -
    -

    Protocol to extend a type with a converter to PDFTableContent

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFTableContentable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableMergable - -
    -
    -
    -
    -
    -
    -

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

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFTableMergable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFCopy - -
    -
    -
    -
    -
    -
    -

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

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFCopy
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTaggableObject - -
    -
    -
    -
    -
    -
    -

    Object can be identified using the tag property

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFTaggableObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFAttributableObject - -
    -
    -
    -
    -
    -
    -

    Protocol for adding attributes to an object

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFAttributableObject
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Protocols/PDFAttributableObject.html b/docs/Protocols/PDFAttributableObject.html deleted file mode 100644 index 9cb2e07b..00000000 --- a/docs/Protocols/PDFAttributableObject.html +++ /dev/null @@ -1,470 +0,0 @@ - - - - PDFAttributableObject Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFAttributableObject

-
-
- -
public protocol PDFAttributableObject
- -
-
-

Protocol for adding attributes to an object

- -
-
- -
-
-
-
    -
  • -
    - - - - attributes - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var attributes: [PDFObjectAttribute] { get }
    - -
    -
    -
    -

    Return Value

    -

    List off attributes of this object

    -
    -
    -
    -
  • -
  • -
    - - - - add(attribute:) - -
    -
    -
    -
    -
    -
    -

    Adds an attribute to the list of this object

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(attribute: PDFObjectAttribute)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - attribute - - -
    -

    Attribute used for further calculations

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Protocols/PDFCopy.html b/docs/Protocols/PDFCopy.html deleted file mode 100644 index e5bcb90c..00000000 --- a/docs/Protocols/PDFCopy.html +++ /dev/null @@ -1,448 +0,0 @@ - - - - PDFCopy Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFCopy

-
-
- -
public protocol PDFCopy
- -
-
-

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

- -
-
- -
-
-
-
    -
  • -
    - - - - Element - -
    -
    -
    -
    -
    -
    -

    Type of intance, used to add generic to protocol

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    associatedtype Element
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - copy - -
    -
    -
    -
    -
    -
    -

    Returns a new instance that’s a copy of the receiver.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var copy: Element { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Protocols/PDFGeneratorImageDelegate.html b/docs/Protocols/PDFGeneratorImageDelegate.html deleted file mode 100644 index 2bb70f4a..00000000 --- a/docs/Protocols/PDFGeneratorImageDelegate.html +++ /dev/null @@ -1,425 +0,0 @@ - - - - PDFGeneratorImageDelegate Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFGeneratorImageDelegate

-
-
- -
public protocol PDFGeneratorImageDelegate : AnyObject
- -
-
-

Protocol used to delegate drawing of images

- -
-
- -
-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Called directly before a PDFImage is drawn into the graphics context

    - -

    As the image is a reference object, it is possible to read and manipulate the object before rendering.

    - -

    One use-case could be overlaying the image with a watermark, after it final frame is calculated.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generator(willBeginDrawingImage image: PDFImage, with context: PDFContext, in frame: CGRect)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Protocols/PDFGeneratorProtocol.html b/docs/Protocols/PDFGeneratorProtocol.html deleted file mode 100644 index 57f81881..00000000 --- a/docs/Protocols/PDFGeneratorProtocol.html +++ /dev/null @@ -1,794 +0,0 @@ - - - - PDFGeneratorProtocol Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFGeneratorProtocol

-
-
- -
public protocol PDFGeneratorProtocol : AnyObject
- -
-
-

Protocol including all public methods and accessors available for generating documents

- -
-
- -
-
-
-
    -
  • -
    - - - - progress - -
    -
    -
    -
    -
    -
    -

    Instance of Progress used to track and control the multi-document generation

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var progress: Progress { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - debug - -
    -
    -
    -
    -
    -
    -

    Flag to enable or disable the debug overlay

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var debug: Bool { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generateURL(filename:info:) - - - Default implementation - -
    -
    -
    -
    -
    -
    -

    Creates a file in a guaranteed temporary folder with the given filename, generates the PDF context data and writes the result into the file.

    - -

    Keep in mind, the output file is in a temporary folder of the OS and should be persisted by your own logic.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -

    Default Implementation

    -
    -

    Creates a file in a guaranteed temporary folder with the given filename, generates the PDF context data and writes the result into the file.

    - -

    Keep in mind, the output file is in a temporary folder of the OS and should be persisted by your own logic.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateURL(filename: String, info: PDFInfo?) throws -> URL
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - filename - - -
    -

    Name of output file, .pdf will be appended if not given

    -
    -
    - - info - - -
    -

    Instance of PDFInfo with meta file information, defaults to default initializer of PDFInfo

    -
    -
    -
    -
    -

    Return Value

    -

    Temporary URL to the output file

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a file in a guaranteed temporary folder with the given filename, generates the PDF context data and writes the result into the file.

    - -

    Keep in mind, the output file is in a temporary folder of the OS and should be persisted by your own logic.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateURL(filename: String) throws -> URL
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - filename - - -
    -

    Name of output file, .pdf will be appended if not given

    -
    -
    -
    -
    -

    Return Value

    -

    Temporary URL to the output file

    -
    -
    -
    -
  • -
  • -
    - - - - generate(to:info:) - -
    -
    -
    -
    -
    -
    -

    Creates a file at the given file URL, generates the PDF context data and writes the result idata nto the file.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generate(to url: URL, info: PDFInfo?) throws
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - target - - -
    -

    URL of output file,

    -
    -
    - - info - - -
    -

    Instance of PDFInfo with meta file information

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - generate(to:) - -
    -
    -
    -
    -
    -
    -

    Creates a file at the given file URL, generates the PDF context data and writes the result idata nto the file.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generate(to url: URL) throws
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - target - - -
    -

    URL of output file,

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - generateData(info:) - -
    -
    -
    -
    -
    -
    -

    Generates and returns the PDF context data.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateData(info: PDFInfo?) throws -> Data
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - info - - -
    -

    Instance of PDFInfo with meta file information

    -
    -
    -
    -
    -

    Return Value

    -

    PDF data

    -
    -
    -
    -
  • -
  • -
    - - - - generateData() - -
    -
    -
    -
    -
    -
    -

    Generates and returns the PDF context data.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateData() throws -> Data
    - -
    -
    -
    -

    Return Value

    -

    PDF data

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Protocols/PDFTableContentable.html b/docs/Protocols/PDFTableContentable.html deleted file mode 100644 index 854ab804..00000000 --- a/docs/Protocols/PDFTableContentable.html +++ /dev/null @@ -1,421 +0,0 @@ - - - - PDFTableContentable Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableContentable

-
-
- -
public protocol PDFTableContentable
- -
-
-

Protocol to extend a type with a converter to PDFTableContent

- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/Protocols/PDFTableMergable.html b/docs/Protocols/PDFTableMergable.html deleted file mode 100644 index edc6bdcd..00000000 --- a/docs/Protocols/PDFTableMergable.html +++ /dev/null @@ -1,472 +0,0 @@ - - - - PDFTableMergable Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableMergable

-
-
- -
public protocol PDFTableMergable
- -
-
-

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

- -
-
- -
-
-
-
    -
  • -
    - - - - merge() - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    See merge(with cell:) for more.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func merge()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge(with:) - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    If parameter cell is given, it will be the value after the merge. - Otherwise the implementation behaviour is unknown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func merge(with cell: PDFTableCell?)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - cell - - -
    -

    Cell to use after merge, may be nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Protocols/PDFTaggableObject.html b/docs/Protocols/PDFTaggableObject.html deleted file mode 100644 index dc932274..00000000 --- a/docs/Protocols/PDFTaggableObject.html +++ /dev/null @@ -1,423 +0,0 @@ - - - - PDFTaggableObject Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTaggableObject

-
-
- -
public protocol PDFTaggableObject
- -
-
-

Object can be identified using the tag property

- -
-
- -
-
-
-
    -
  • -
    - - - - tag - -
    -
    -
    -
    -
    -
    -

    An integer that you can use to identify document objects in your application.

    - -

    The default value is 0. You can set the value of this tag and use that value to identify the object later.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var tag: Int { get set }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Structs.html b/docs/Structs.html deleted file mode 100644 index 82602c13..00000000 --- a/docs/Structs.html +++ /dev/null @@ -1,681 +0,0 @@ - - - - Structures Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Structures

-

The following structures are available globally.

- -
-
- -
-
-
-
    -
  • -
    - - - - PDFDocumentBackground - -
    -
    -
    -
    -
    -
    -

    Document background configuration

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFDocumentBackground
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFLineStyle - -
    -
    -
    -
    -
    -
    -

    Structure defining how a line should be drawn into graphics context

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFLineStyle : Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFImageOptions - -
    -
    -
    -
    -
    -
    -

    Options used to configure the behaviour of PDFImage

    - -

    Multiple options can be combined by using the OptionSet operators, i.e. using the array syntax.

    - -

    Example:

    -
     let image = PDFImage(
    -     options: [.resize, .compress]
    - )
    -
    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFImageOptions : OptionSet, Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFPageLayout - -
    -
    -
    -
    -
    -
    -

    Contains all relevant layout informations of a pdf document

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFPageLayout
    -
    extension PDFPageLayout: Equatable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableCellPosition - -
    -
    -
    -
    -
    -
    -

    A cell position represent the coordinate of a cell in a given table

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFTableCellPosition
    -
    extension PDFTableCellPosition: Hashable
    -
    extension PDFTableCellPosition: Equatable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableCellBorders - -
    -
    -
    -
    -
    -
    -

    Structure used to style the border lines of a PDFTableCell

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFTableCellBorders : Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableCellStyle - -
    -
    -
    -
    -
    -
    -

    Structure used to manage the custom style of a PDFTableCell

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFTableCellStyle : Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - RectCorner - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct RectCorner : OptionSet
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFPagination - -
    -
    -
    -
    -
    -
    -

    Used to define the pagination behaviour of a document.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFPagination
    -
    extension PDFPagination: Equatable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - Stack - -
    -
    -
    -
    -
    -
    -

    Data Structure used to manage a collection of elements after the LIFO (last in, first out) principle.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct Stack<T>
    -
    extension Stack: CustomStringConvertible where T: CustomStringConvertible
    -
    extension Stack: CustomDebugStringConvertible where T: CustomDebugStringConvertible
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Structs/PDFDocumentBackground.html b/docs/Structs/PDFDocumentBackground.html deleted file mode 100644 index a1cbb759..00000000 --- a/docs/Structs/PDFDocumentBackground.html +++ /dev/null @@ -1,423 +0,0 @@ - - - - PDFDocumentBackground Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFDocumentBackground

-
-
- -
public struct PDFDocumentBackground
- -
-
-

Document background configuration

- -
-
- -
-
-
-
    -
  • -
    - - - - color - -
    -
    -
    -
    -
    -
    -

    Color used to fill the background on every page.

    - -

    Defaults to nil, which results in a transparent background

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var color: Color?
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Structs/PDFImageOptions.html b/docs/Structs/PDFImageOptions.html deleted file mode 100644 index 4cd00a36..00000000 --- a/docs/Structs/PDFImageOptions.html +++ /dev/null @@ -1,672 +0,0 @@ - - - - PDFImageOptions Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFImageOptions

-
-
- -
public struct PDFImageOptions : OptionSet, Hashable
- -
-
-

Options used to configure the behaviour of PDFImage

- -

Multiple options can be combined by using the OptionSet operators, i.e. using the array syntax.

- -

Example:

-
 let image = PDFImage(
-     options: [.resize, .compress]
- )
-
- -
-
- -
-
-
-
    -
  • -
    - - - - rawValue - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let rawValue: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(rawValue:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(rawValue: Int)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - resize - -
    -
    -
    -
    -
    -
    -

    Image will be resized to the calculated frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let resize: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - compress - -
    -
    -
    -
    -
    -
    -

    Image will be compressed using the value set in the property quality

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let compress: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - roundedTopLeft - -
    -
    -
    -
    -
    -
    -

    Top-left corner of image will be rounded

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let roundedTopLeft: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - roundedTopRight - -
    -
    -
    -
    -
    -
    -

    Top-right corner of image will be rounded

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let roundedTopRight: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - roundedBottomRight - -
    -
    -
    -
    -
    -
    -

    Bottom-right corner of image will be rounded

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let roundedBottomRight: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - roundedBottomLeft - -
    -
    -
    -
    -
    -
    -

    Bottom-left corner of image will be rounded

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let roundedBottomLeft: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - rounded - -
    -
    -
    -
    -
    -
    -

    Short-hand option to round all corners

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let rounded: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Disables all options

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let none: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Structs/PDFLineStyle.html b/docs/Structs/PDFLineStyle.html deleted file mode 100644 index 29adb8aa..00000000 --- a/docs/Structs/PDFLineStyle.html +++ /dev/null @@ -1,704 +0,0 @@ - - - - PDFLineStyle Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFLineStyle

-
-
- -
public struct PDFLineStyle : Hashable
- -
-
-

Structure defining how a line should be drawn into graphics context

- -
-
- -
-
-
-
    -
  • -
    - - - - type - -
    -
    -
    -
    -
    -
    -

    Type of the line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var type: PDFLineType
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - color - -
    -
    -
    -
    -
    -
    -

    Color of the line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var color: Color
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - width - -
    -
    -
    -
    -
    -
    -

    Width of the line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var width: CGFloat
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - radius - -
    -
    -
    -
    -
    -
    -

    Defines the width of this radius (Only for rect draw, not for line)

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var radius: CGFloat?
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Initialize a table line style

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(type: PDFLineType = .full, color: Color = .black, width: CGFloat = 0.25, radius: CGFloat? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    - - type - - -
    -

    See type

    -
    -
    - - color - - -
    -

    See color

    -
    -
    - - width - - -
    -

    See width

    -
    -
    - - radius - - -
    -

    See radius

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFLineStyle, rhs: PDFLineStyle) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Defaults -

-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Shorthand method for creating an invisible line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    static var none: PDFLineStyle { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Structs/PDFPageLayout.html b/docs/Structs/PDFPageLayout.html deleted file mode 100644 index c7adf86a..00000000 --- a/docs/Structs/PDFPageLayout.html +++ /dev/null @@ -1,701 +0,0 @@ - - - - PDFPageLayout Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFPageLayout

-
-
- -
public struct PDFPageLayout
-
extension PDFPageLayout: Equatable
- -
-
-

Contains all relevant layout informations of a pdf document

- -
-
- -
-
-
-
- - -
- -

PUBLIC VARS -

-
-
-
    -
  • -
    - - - - size - -
    -
    -
    -
    -
    -
    -

    Size of each page

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var size: CGSize
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - margin - -
    -
    -
    -
    -
    -
    -

    Margins of each page.

    - -

    header: Top inset of page - footer: Bottom inset of page - left: Left inset of page - right: Right inset of page

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var margin: EdgeInsets
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - space - -
    -
    -
    -
    -
    -
    -

    Spaces between header, content and footer.

    - -

    header: Space between header and content - footer: Space between content and footer

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var space: (header: CGFloat, footer: CGFloat)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC FUNCTIONS -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Creates a new layout object using the given parameters.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    size: CGSize = .zero,
    -    margin: EdgeInsets = .zero,
    -    space: (header: CGFloat, footer: CGFloat) = (0, 0)
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - size - - -
    -

    See size for details

    -
    -
    - - margin - - -
    -

    See margin for details

    -
    -
    - - space - - -
    -

    See space for details

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

INTERNAL COMPUTED VARS -

-
-
-
    -
  • -
    - - - - bounds - -
    -
    -
    -
    -
    -
    -

    Returns a CGRect with a origin at zero and the size of the layout.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var bounds: CGRect { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - width - -
    -
    -
    -
    -
    -
    -

    Shorthand access to layout width

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var width: CGFloat { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - height - -
    -
    -
    -
    -
    -
    -

    Shorthand access to layout height

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var height: CGFloat { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    TODO: documentation

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFPageLayout, rhs: PDFPageLayout) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Structs/PDFPagination.html b/docs/Structs/PDFPagination.html deleted file mode 100644 index 8d500a13..00000000 --- a/docs/Structs/PDFPagination.html +++ /dev/null @@ -1,644 +0,0 @@ - - - - PDFPagination Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFPagination

-
-
- -
public struct PDFPagination
-
extension PDFPagination: Equatable
- -
-
-

Used to define the pagination behaviour of a document.

- -
-
- -
-
-
-
    -
  • -
    - - - - container - -
    -
    -
    -
    -
    -
    -

    Container where the pagination will be placed

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var container: PDFContainer
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Style of the pagination

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: PDFPaginationStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - range - -
    -
    -
    -
    -
    -
    -

    Range of pages which will be paginated

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var range: (start: Int, end: Int)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - hiddenPages - -
    -
    -
    -
    -
    -
    -

    Add a page number to this list to exclude it from the pagination. -This will not skip the page but instead not render the pagination object

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var hiddenPages: [Int]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - textAttributes - -
    -
    -
    -
    -
    -
    -

    These text attribtues are used to create the attributed pagination string

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var textAttributes: [NSAttributedString.Key : Any]
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Initializer

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(container: PDFContainer = .none,
    -            style: PDFPaginationStyle = .default,
    -            range: (start: Int, end: Int) = (0, Int.max),
    -            hiddenPages: [Int] = [],
    -            textAttributes: [NSAttributedString.Key: Any] = [:])
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container where pagination is placed, defaults to PDFContainer.none, meaning it won’t be rendered

    -
    -
    - - style - - -
    -

    Style of pagination, defaults to PDFPaginationStyle.default

    -
    -
    - - range - - -
    -

    Start and end of pages which will be included

    -
    -
    - - hiddenPages - - -
    -

    List of numbers which are excluded from rendering

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    TODO: Documentation

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFPagination, rhs: PDFPagination) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Structs/PDFTableCellBorders.html b/docs/Structs/PDFTableCellBorders.html deleted file mode 100644 index 8f86643e..00000000 --- a/docs/Structs/PDFTableCellBorders.html +++ /dev/null @@ -1,709 +0,0 @@ - - - - PDFTableCellBorders Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableCellBorders

-
-
- -
public struct PDFTableCellBorders : Hashable
- -
-
-

Structure used to style the border lines of a PDFTableCell

- -
-
- -
-
-
-
    -
  • -
    - - - - left - -
    -
    -
    -
    -
    -
    -

    Style of left edge line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var left: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - top - -
    -
    -
    -
    -
    -
    -

    Style of top edge line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var top: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - right - -
    -
    -
    -
    -
    -
    -

    Style of right edge line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var right: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottom - -
    -
    -
    -
    -
    -
    -

    Style of bottom edge line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var bottom: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new instance with the given line styles

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    left: PDFLineStyle = .none,
    -    top: PDFLineStyle = .none,
    -    right: PDFLineStyle = .none,
    -    bottom: PDFLineStyle = .none
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    - - left - - -
    -

    See left

    -
    -
    - - top - - -
    -

    See top

    -
    -
    - - right - - -
    -

    See right

    -
    -
    - - bottom - - -
    -

    See bottom

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFTableCellBorders, rhs: PDFTableCellBorders) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Defaults -

-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Convenience configuration for not displaying any cell border

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    static let none: PDFTableCellBorders
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Structs/PDFTableCellPosition.html b/docs/Structs/PDFTableCellPosition.html deleted file mode 100644 index 079c2b77..00000000 --- a/docs/Structs/PDFTableCellPosition.html +++ /dev/null @@ -1,557 +0,0 @@ - - - - PDFTableCellPosition Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableCellPosition

-
-
- -
public struct PDFTableCellPosition
-
extension PDFTableCellPosition: Hashable
-
extension PDFTableCellPosition: Equatable
- -
-
-

A cell position represent the coordinate of a cell in a given table

- -
-
- -
-
-
-
    -
  • -
    - - - - row - -
    -
    -
    -
    -
    -
    -

    Vertical row index, starting at zero

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var row: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - column - -
    -
    -
    -
    -
    -
    -

    Horizontal column index, starting at zero

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var column: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(row:column:) - -
    -
    -
    -
    -
    -
    -

    Creates a new position with the given row and column

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(row: Int, column: Int)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableCellPosition + Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    Creates a hash value of the cell position

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableCellPosition + Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFTableCellPosition, rhs: PDFTableCellPosition) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Structs/PDFTableCellStyle.html b/docs/Structs/PDFTableCellStyle.html deleted file mode 100644 index 9dc4466c..00000000 --- a/docs/Structs/PDFTableCellStyle.html +++ /dev/null @@ -1,656 +0,0 @@ - - - - PDFTableCellStyle Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableCellStyle

-
-
- -
public struct PDFTableCellStyle : Hashable
- -
-
-

Structure used to manage the custom style of a PDFTableCell

- -
-
- -
-
-
-
    -
  • -
    - - - - colors - -
    -
    -
    -
    -
    -
    -

    The cell fill (background) color and the text color

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var colors: (fill: Color, text: Color)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - borders - -
    -
    -
    -
    -
    -
    -

    Custom border styling (see PDFTableCellBorders for details)

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var borders: PDFTableCellBorders
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - font - -
    -
    -
    -
    -
    -
    -

    Font used for text content in cells

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var font: Font
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new cell style

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    colors: (fill: Color, text: Color) = (Color.clear, Color.black),
    -    borders: PDFTableCellBorders = PDFTableCellBorders(),
    -    font: Font = Font.systemFont(ofSize: PDFConstants.defaultFontSize)
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - colors - - -
    -

    See colors

    -
    -
    - - borders - - -
    -

    See borders

    -
    -
    - - font - - -
    -

    See font

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFTableCellStyle, rhs: PDFTableCellStyle) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Default cell style not displaying any background or borders

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    static let none: PDFTableCellStyle
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Structs/RectCorner.html b/docs/Structs/RectCorner.html deleted file mode 100644 index 5e6879ed..00000000 --- a/docs/Structs/RectCorner.html +++ /dev/null @@ -1,581 +0,0 @@ - - - - RectCorner Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

RectCorner

-
-
- -
public struct RectCorner : OptionSet
- -
-
-

Undocumented

- -
-
- -
-
-
-
    -
  • -
    - - - - topLeft - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var topLeft: RectCorner
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - topRight - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var topRight: RectCorner
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomLeft - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var bottomLeft: RectCorner
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomRight - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var bottomRight: RectCorner
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCorners - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var allCorners: RectCorner
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(rawValue:) - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(rawValue: Int)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - rawValue - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var rawValue: Int { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Structs/Stack.html b/docs/Structs/Stack.html deleted file mode 100644 index bdd93ea5..00000000 --- a/docs/Structs/Stack.html +++ /dev/null @@ -1,795 +0,0 @@ - - - - Stack Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Stack

-
-
- -
public struct Stack<T>
-
extension Stack: CustomStringConvertible where T: CustomStringConvertible
-
extension Stack: CustomDebugStringConvertible where T: CustomDebugStringConvertible
- -
-
-

Data Structure used to manage a collection of elements after the LIFO (last in, first out) principle.

- -
-
- -
-
-
-
    -
  • -
    - - - - init(values:) - -
    -
    -
    -
    -
    -
    -

    Creates a new stack with the given elements.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(values: T...)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - isEmpty - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var isEmpty: Bool { get }
    - -
    -
    -
    -

    Return Value

    -

    true if element count is zero, false otherwise

    -
    -
    -
    -
  • -
  • -
    - - - - count - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var count: Int { get }
    - -
    -
    -
    -

    Return Value

    -

    Number of elements in stack

    -
    -
    -
    -
  • -
  • -
    - - - - push(_:) - -
    -
    -
    -
    -
    -
    -

    Adds an element on top of the stack

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public mutating func push(_ element: T) -> Stack<T>
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - element - - -
    -

    Element to be pushed on top of stack

    -
    -
    -
    -
    -

    Return Value

    -

    Instance of stack for chaining

    -
    -
    -
    -
  • -
  • -
    - - - - pop(to:) - -
    -
    -
    -
    -
    -
    -

    Removes the last element or if a count is given as many until the stack is empty. -Afterwards it returns the last removed element.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public mutating func pop(to count: Int? = nil) -> T?
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - count - - -
    -

    Amount of elements to remove, can be nil

    -
    -
    -
    -
    -

    Return Value

    -

    Last element which was removed, or nil if stack is empty

    -
    -
    -
    -
  • -
  • -
    - - - - peek(at:) - -
    -
    -
    -
    -
    -
    -

    Returns the element at the given index without changing the stack

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func peek(at index: Int) -> T?
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - index - - -
    -

    from bottom up

    -
    -
    -
    -
    -

    Return Value

    -

    element at index or nil if out of bounds

    -
    -
    -
    -
  • -
  • -
    - - - - top - -
    -
    -
    -
    -
    -
    -

    Returns the last inserted element

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var top: T? { get }
    - -
    -
    -
    -

    Return Value

    -

    Element` or nil if empty

    -
    -
    -
    -
  • -
  • -
    - - - - fromTop(index:) - -
    -
    -
    -
    -
    -
    -

    Returns the element from the reverse order

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func fromTop(index: Int) -> T?
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - index - - -
    -

    distance to most top element

    -
    -
    -
    -
    -

    Return Value

    -

    element at index or nil if out of bounds

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Available where T: CustomStringConvertible -

-
-
-
    -
  • -
    - - - - description - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var description: String { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Available where T: CustomDebugStringConvertible -

-
-
-
    -
  • -
    - - - - debugDescription - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var debugDescription: String { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/Typealiases.html b/docs/Typealiases.html deleted file mode 100644 index 143f67e5..00000000 --- a/docs/Typealiases.html +++ /dev/null @@ -1,798 +0,0 @@ - - - - Type Aliases Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Type Aliases

-

The following type aliases are available globally.

- -
-
- -
-
-
-
    -
  • -
    - - - - PDFGeneratorDelegate - -
    -
    -
    -
    -
    -
    -

    Delegation protocol combining all delegates supported by the PDFGenerator

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias PDFGeneratorDelegate = PDFGeneratorImageDelegate
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - Image - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIImage and NSImage

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias Image = NSImage
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - Color - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIColor and NSColor

    - -
    -
    -
    -
  • -
  • -
    - - - - Font - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIFont and NSFont

    - -
    -
    -
    -
  • -
  • -
    - - - - Image - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIImage and NSImage

    - -
    -
    -
    -
  • -
  • -
    - - - - EdgeInsets - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIEdgeInsets and NSEdgeInsets

    - -
    -
    -
    -
  • -
  • -
    - - - - BezierPath - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIBezierPath and NSBezierPath

    - -
    -
    -
    -
  • -
  • -
    - - - - Point - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for CGPoint and NSPoint

    - -
    -
    -
    -
  • -
  • -
    - - - - RectCorner - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIRectCorner and RectCorner

    - -
    -
    -
    -
  • -
  • -
    - - - - Color - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIColor and NSColor

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias Color = NSColor
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - Font - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIFont and NSFont

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias Font = NSFont
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - EdgeInsets - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIEdgeInsets and NSEdgeInsets

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias EdgeInsets = NSEdgeInsets
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - BezierPath - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIBezierPath and NSBezierPath

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias BezierPath = NSBezierPath
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - Point - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for CGPoint and NSPoint

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias Point = NSPoint
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFPaginationClosure - -
    -
    -
    -
    -
    -
    -

    Closure for custom pagination formatting.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias PDFPaginationClosure = (_ page: Int, _ total: Int) -> String
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - page - - -
    -

    Int - Current page number

    -
    -
    - - total - - -
    -

    Int - Total amount of pages

    -
    -
    -
    -
    -

    Return Value

    -

    Formatted pagination string

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Structure to extend PDFRenderObject with the PDFContainer it is located in

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias PDFLocatedRenderObject = (PDFContainer, PDFRenderObject)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/badge.svg b/docs/badge.svg deleted file mode 100644 index bfac0526..00000000 --- a/docs/badge.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - documentation - - - documentation - - - 99% - - - 99% - - - diff --git a/docs/css/highlight.css b/docs/css/highlight.css deleted file mode 100644 index c170357c..00000000 --- a/docs/css/highlight.css +++ /dev/null @@ -1,202 +0,0 @@ -/*! Jazzy - https://github.com/realm/jazzy - * Copyright Realm Inc. - * SPDX-License-Identifier: MIT - */ -/* Credit to https://gist.github.com/wataru420/2048287 */ -.highlight .c { - color: #999988; - font-style: italic; } - -.highlight .err { - color: #a61717; - background-color: #e3d2d2; } - -.highlight .k { - color: #000000; - font-weight: bold; } - -.highlight .o { - color: #000000; - font-weight: bold; } - -.highlight .cm { - color: #999988; - font-style: italic; } - -.highlight .cp { - color: #999999; - font-weight: bold; } - -.highlight .c1 { - color: #999988; - font-style: italic; } - -.highlight .cs { - color: #999999; - font-weight: bold; - font-style: italic; } - -.highlight .gd { - color: #000000; - background-color: #ffdddd; } - -.highlight .gd .x { - color: #000000; - background-color: #ffaaaa; } - -.highlight .ge { - color: #000000; - font-style: italic; } - -.highlight .gr { - color: #aa0000; } - -.highlight .gh { - color: #999999; } - -.highlight .gi { - color: #000000; - background-color: #ddffdd; } - -.highlight .gi .x { - color: #000000; - background-color: #aaffaa; } - -.highlight .go { - color: #888888; } - -.highlight .gp { - color: #555555; } - -.highlight .gs { - font-weight: bold; } - -.highlight .gu { - color: #aaaaaa; } - -.highlight .gt { - color: #aa0000; } - -.highlight .kc { - color: #000000; - font-weight: bold; } - -.highlight .kd { - color: #000000; - font-weight: bold; } - -.highlight .kp { - color: #000000; - font-weight: bold; } - -.highlight .kr { - color: #000000; - font-weight: bold; } - -.highlight .kt { - color: #445588; } - -.highlight .m { - color: #009999; } - -.highlight .s { - color: #d14; } - -.highlight .na { - color: #008080; } - -.highlight .nb { - color: #0086B3; } - -.highlight .nc { - color: #445588; - font-weight: bold; } - -.highlight .no { - color: #008080; } - -.highlight .ni { - color: #800080; } - -.highlight .ne { - color: #990000; - font-weight: bold; } - -.highlight .nf { - color: #990000; } - -.highlight .nn { - color: #555555; } - -.highlight .nt { - color: #000080; } - -.highlight .nv { - color: #008080; } - -.highlight .ow { - color: #000000; - font-weight: bold; } - -.highlight .w { - color: #bbbbbb; } - -.highlight .mf { - color: #009999; } - -.highlight .mh { - color: #009999; } - -.highlight .mi { - color: #009999; } - -.highlight .mo { - color: #009999; } - -.highlight .sb { - color: #d14; } - -.highlight .sc { - color: #d14; } - -.highlight .sd { - color: #d14; } - -.highlight .s2 { - color: #d14; } - -.highlight .se { - color: #d14; } - -.highlight .sh { - color: #d14; } - -.highlight .si { - color: #d14; } - -.highlight .sx { - color: #d14; } - -.highlight .sr { - color: #009926; } - -.highlight .s1 { - color: #d14; } - -.highlight .ss { - color: #990073; } - -.highlight .bp { - color: #999999; } - -.highlight .vc { - color: #008080; } - -.highlight .vg { - color: #008080; } - -.highlight .vi { - color: #008080; } - -.highlight .il { - color: #009999; } diff --git a/docs/css/jazzy.css b/docs/css/jazzy.css deleted file mode 100644 index c7bb9fe2..00000000 --- a/docs/css/jazzy.css +++ /dev/null @@ -1,404 +0,0 @@ -/*! Jazzy - https://github.com/realm/jazzy - * Copyright Realm Inc. - * SPDX-License-Identifier: MIT - */ -*, *:before, *:after { - box-sizing: inherit; } - -body { - margin: 0; - background: #fff; - color: #333; - font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; - letter-spacing: .2px; - -webkit-font-smoothing: antialiased; - box-sizing: border-box; } - -h1 { - font-size: 2rem; - font-weight: 700; - margin: 1.275em 0 0.6em; } - -h2 { - font-size: 1.75rem; - font-weight: 700; - margin: 1.275em 0 0.3em; } - -h3 { - font-size: 1.5rem; - font-weight: 700; - margin: 1em 0 0.3em; } - -h4 { - font-size: 1.25rem; - font-weight: 700; - margin: 1.275em 0 0.85em; } - -h5 { - font-size: 1rem; - font-weight: 700; - margin: 1.275em 0 0.85em; } - -h6 { - font-size: 1rem; - font-weight: 700; - margin: 1.275em 0 0.85em; - color: #777; } - -p { - margin: 0 0 1em; } - -ul, ol { - padding: 0 0 0 2em; - margin: 0 0 0.85em; } - -blockquote { - margin: 0 0 0.85em; - padding: 0 15px; - color: #858585; - border-left: 4px solid #e5e5e5; } - -img { - max-width: 100%; } - -a { - color: #4183c4; - text-decoration: none; } - a:hover, a:focus { - outline: 0; - text-decoration: underline; } - a.discouraged { - text-decoration: line-through; } - a.discouraged:hover, a.discouraged:focus { - text-decoration: underline line-through; } - -table { - background: #fff; - width: 100%; - border-collapse: collapse; - border-spacing: 0; - overflow: auto; - margin: 0 0 0.85em; } - -tr:nth-child(2n) { - background-color: #fbfbfb; } - -th, td { - padding: 6px 13px; - border: 1px solid #ddd; } - -hr { - height: 1px; - border: none; - background-color: #ddd; } - -pre { - margin: 0 0 1.275em; - padding: .85em 1em; - overflow: auto; - background: #f7f7f7; - font-size: .85em; - font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } - -code { - font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } - -.item-container p > code, .item-container li > code, .top-matter p > code, .top-matter li > code { - background: #f7f7f7; - padding: .2em; } - .item-container p > code:before, .item-container p > code:after, .item-container li > code:before, .item-container li > code:after, .top-matter p > code:before, .top-matter p > code:after, .top-matter li > code:before, .top-matter li > code:after { - letter-spacing: -.2em; - content: "\00a0"; } - -pre code { - padding: 0; - white-space: pre; } - -.content-wrapper { - display: flex; - flex-direction: column; } - @media (min-width: 768px) { - .content-wrapper { - flex-direction: row; } } -.header { - display: flex; - padding: 8px; - font-size: 0.875em; - background: #444; - color: #999; } - -.header-col { - margin: 0; - padding: 0 8px; } - -.header-col--primary { - flex: 1; } - -.header-link { - color: #fff; } - -.header-icon { - padding-right: 2px; - vertical-align: -3px; - height: 16px; } - -.breadcrumbs { - font-size: 0.875em; - padding: 8px 16px; - margin: 0; - background: #fbfbfb; - border-bottom: 1px solid #ddd; } - -.carat { - height: 10px; - margin: 0 5px; } - -.navigation { - order: 2; } - @media (min-width: 768px) { - .navigation { - order: 1; - width: 25%; - max-width: 300px; - padding-bottom: 64px; - overflow: hidden; - word-wrap: normal; - background: #fbfbfb; - border-right: 1px solid #ddd; } } -.nav-groups { - list-style-type: none; - padding-left: 0; } - -.nav-group-name { - border-bottom: 1px solid #ddd; - padding: 8px 0 8px 16px; } - -.nav-group-name-link { - color: #333; } - -.nav-group-tasks { - margin: 8px 0; - padding: 0 0 0 8px; } - -.nav-group-task { - font-size: 1em; - list-style-type: none; - white-space: nowrap; } - -.nav-group-task-link { - color: #808080; } - -.main-content { - order: 1; } - @media (min-width: 768px) { - .main-content { - order: 2; - flex: 1; - padding-bottom: 60px; } } -.section { - padding: 0 32px; - border-bottom: 1px solid #ddd; } - -.section-content { - max-width: 834px; - margin: 0 auto; - padding: 16px 0; } - -.section-name { - color: #666; - display: block; } - .section-name p { - margin-bottom: inherit; } - -.declaration .highlight { - overflow-x: initial; - padding: 8px 0; - margin: 0; - background-color: transparent; - border: none; } - -.task-group-section { - border-top: 1px solid #ddd; } - -.task-group { - padding-top: 0px; } - -.task-name-container a[name]:before { - content: ""; - display: block; } - -.section-name-container { - position: relative; } - .section-name-container .section-name-link { - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; - margin-bottom: 0; } - .section-name-container .section-name { - position: relative; - pointer-events: none; - z-index: 1; } - .section-name-container .section-name a { - pointer-events: auto; } - -.item-container { - padding: 0; } - -.item { - padding-top: 8px; - width: 100%; - list-style-type: none; } - .item a[name]:before { - content: ""; - display: block; } - .item .token, .item .direct-link { - display: inline-block; - text-indent: -20px; - padding-left: 3px; - margin-left: 20px; - font-size: 1rem; } - .item .declaration-note { - font-size: .85em; - color: #808080; - font-style: italic; } - -.pointer-container { - border-bottom: 1px solid #ddd; - left: -23px; - padding-bottom: 13px; - position: relative; - width: 110%; } - -.pointer { - left: 21px; - top: 7px; - display: block; - position: absolute; - width: 12px; - height: 12px; - border-left: 1px solid #ddd; - border-top: 1px solid #ddd; - background: #fff; - transform: rotate(45deg); } - -.height-container { - display: none; - position: relative; - width: 100%; - overflow: hidden; } - .height-container .section { - background: #fff; - border: 1px solid #ddd; - border-top-width: 0; - padding-top: 10px; - padding-bottom: 5px; - padding: 8px 16px; } - -.aside, .language { - padding: 6px 12px; - margin: 12px 0; - border-left: 5px solid #dddddd; - overflow-y: hidden; } - .aside .aside-title, .language .aside-title { - font-size: 9px; - letter-spacing: 2px; - text-transform: uppercase; - padding-bottom: 0; - margin: 0; - color: #aaa; - -webkit-user-select: none; } - .aside p:last-child, .language p:last-child { - margin-bottom: 0; } - -.language { - border-left: 5px solid #cde9f4; } - .language .aside-title { - color: #4183c4; } - -.aside-warning, .aside-deprecated, .aside-unavailable { - border-left: 5px solid #ff6666; } - .aside-warning .aside-title, .aside-deprecated .aside-title, .aside-unavailable .aside-title { - color: #ff0000; } - -.graybox { - border-collapse: collapse; - width: 100%; } - .graybox p { - margin: 0; - word-break: break-word; - min-width: 50px; } - .graybox td { - border: 1px solid #ddd; - padding: 5px 25px 5px 10px; - vertical-align: middle; } - .graybox tr td:first-of-type { - text-align: right; - padding: 7px; - vertical-align: top; - word-break: normal; - width: 40px; } - -.slightly-smaller { - font-size: 0.9em; } - -.footer { - padding: 8px 16px; - background: #444; - color: #ddd; - font-size: 0.8em; } - .footer p { - margin: 8px 0; } - .footer a { - color: #fff; } - -html.dash .header, html.dash .breadcrumbs, html.dash .navigation { - display: none; } - -html.dash .height-container { - display: block; } - -form[role=search] input { - font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; - line-height: 24px; - padding: 0 10px; - margin: 0; - border: none; - border-radius: 1em; } - .loading form[role=search] input { - background: white url(../img/spinner.gif) center right 4px no-repeat; } - -form[role=search] .tt-menu { - margin: 0; - min-width: 300px; - background: #fbfbfb; - color: #333; - border: 1px solid #ddd; } - -form[role=search] .tt-highlight { - font-weight: bold; } - -form[role=search] .tt-suggestion { - font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; - padding: 0 8px; } - form[role=search] .tt-suggestion span { - display: table-cell; - white-space: nowrap; } - form[role=search] .tt-suggestion .doc-parent-name { - width: 100%; - text-align: right; - font-weight: normal; - font-size: 0.9em; - padding-left: 16px; } - -form[role=search] .tt-suggestion:hover, -form[role=search] .tt-suggestion.tt-cursor { - cursor: pointer; - background-color: #4183c4; - color: #fff; } - -form[role=search] .tt-suggestion:hover .doc-parent-name, -form[role=search] .tt-suggestion.tt-cursor .doc-parent-name { - color: #fff; } diff --git a/docs/docsets/TPPDF.docset/Contents/Info.plist b/docs/docsets/TPPDF.docset/Contents/Info.plist deleted file mode 100644 index bca84e15..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleIdentifier - com.jazzy.tppdf - CFBundleName - TPPDF - DocSetPlatformFamily - tppdf - isDashDocset - - dashIndexFilePath - index.html - isJavaScriptEnabled - - DashDocSetFamily - dashtoc - DashDocSetFallbackURL - https://techprimate.github.io/TPPDF/ - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes.html deleted file mode 100644 index 515b9079..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes.html +++ /dev/null @@ -1,1502 +0,0 @@ - - - - Classes Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Classes

-

The following classes are available globally.

- -
-
- -
-
-
-
    -
  • -
    - - - - PDFDocument - -
    -
    -
    -
    -
    -
    -

    This object holds the information about the document and also all PDF objects.

    - -

    This is the main structure to create new documents. It is the base for the PDFGenerator to generate the PDF output

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFDocument : CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFExternalDocument - -
    -
    -
    -
    -
    -
    -

    Document object used for including an external PDF document

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFExternalDocument
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFBezierPath - -
    -
    -
    -
    -
    -
    -

    Structure to create a bezier path, similar to UIKit.UIBezierPath

    - -

    A bezier path consists of a set of elements relative to a reference frame, to produce a path. - When using the close as the last element, the path will be considered as a shape instead.

    - -

    Example for a diamond shape:

    -
     let size = CGSize(width: 100, height: 100)
    - let path = PDFBezierPath(ref: CGRect(origin: .zero, size: size))
    - path.move(to: PDFBezierPathVertex(
    -      position: CGPoint(x: size.width / 2, y: 0),
    -     anchor: .topCenter
    - ))
    - path.addLine(to: PDFBezierPathVertex(
    -     position: CGPoint(x: size.width, y: size.height / 2),
    -     anchor: .middleRight
    - ))
    - path.addLine(to: PDFBezierPathVertex(
    -     position: CGPoint(x: size.width / 2, y: size.height),
    -     anchor: .bottomCenter
    - ))
    - path.addLine(to: PDFBezierPathVertex(
    -     position: CGPoint(x: 0, y: size.height / 2),
    -     anchor: .middleLeft
    - ))
    - path.close()
    -
    - -

    The anchor is used to handle differences between the PDFBezierPath/refFrame

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFBezierPath : CustomStringConvertible
    -
    extension PDFBezierPath: NSCopying
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFBezierPathVertex - -
    -
    -
    -
    -
    -
    -

    A vertex in a PDFBezierPath

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFBezierPathVertex : CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Renders an arbitrary path into the graphics context

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFDynamicGeometryShape : CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFGroup - -
    -
    -
    -
    -
    -
    -

    Object used to dynamically add multiple elements to a document, but calculate them as one.

    - -

    This way it is possible to add e.g. multiple PDFText elements and if the calculations require a page break, it can be disabled. - Additionally groups allow to set either an UIKit.UIColor / AppKit.NSColor as the backgroundColor - or even create a complex PDFDynamicGeometryShape which adapts to the group frame.

    - -

    Example:

    - -

    The following example will create a large text with multiple indentation levels. By setting allowsBreaks to false, - it won’t break the text, but move it to the next page in full.

    -
     let group = PDFGroup(
    -     allowsBreaks: false,
    -     backgroundColor: .green,
    -     padding: UIEdgeInsets(top: 50, left: 50, bottom: 50, right: 180)
    - )
    -
    - for i in 0..<10 {
    -     group.set(font: UIFont.systemFont(ofSize: 25))
    -     group.set(indentation: 30 * CGFloat(i % 5), left: true)
    -     group.set(indentation: 30 * CGFloat(i % 3), left: false)
    -     group.add(text: "Text \(i)-\(i)-\(i)-\(i)-\(i)")
    - }
    -
    - document.add(group: group)
    -
    - -

    See PDFGroupObject/draw(generator:container:in:) for internal implementation details

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFGroup
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFMasterGroup - -
    -
    -
    -
    -
    -
    -

    Subclass of PDFGroup with additional properties to configure page background content

    - -

    Each instance of PDFDocument can have one group set as the `PDFDocument/masterGroup

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFMasterGroup : PDFGroup
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFImage - -
    -
    -
    -
    -
    -
    -

    Image element for the PDF document.

    - -

    Contains all information about an image, including the caption.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFImage : PDFDocumentObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFList - -
    -
    -
    -
    -
    -
    -

    Creates a new bullet list or numbered list with multiple, indented levels.

    - -

    Each list item has a pre spacing between the page indentation to the left side of the symbol, and a past spacing at - the right side of the symbol.

    -
     let list = PDFList(indentations: [(pre: 0.0, past: 20.0), (pre: 20.0, past: 20.0), (pre: 40.0, past: 20.0)])
    -
    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFList : PDFDocumentObject
    -
    extension PDFList: CustomDebugStringConvertible
    -
    extension PDFList: CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFListItem - -
    -
    -
    -
    -
    -
    -

    An item used in a PDFList

    - -

    By configuring the symbol it is possible to mix the symbols used by list items.

    -
     let document = PDFDocument(format: .a4)
    -
    - let items = [
    -     "Simple text drawing",
    -     "Advanced text drawing using AttributedString",
    -     "Multi-layer rendering by simply setting the offset",
    -     "Fully calculated content sizing",
    -     "Automatic page wrapping",
    -     "Customizable pagination",
    -     "Fully editable header and footer",
    -     "Simple image positioning and rendering",
    -     "Image captions"
    - ]
    -
    - // Simple bullet point list
    - let featureList = PDFList(indentations: [
    -     (pre: 10.0, past: 20.0),
    -     (pre: 20.0, past: 20.0),
    -     (pre: 40.0, past: 20.0)
    - ])
    -
    - // By adding the item first to a list item with the dot symbol, all of them will inherit it
    - featureList
    -     .addItem(PDFListItem(symbol: .dot)
    -     .addItems(items.map { PDFListItem(content: $0) })
    - document.add(list: featureList)
    -
    - document.add(space: 20)
    -
    - // Numbered list with unusual indentation
    - let weirdIndentationList = PDFList(indentations: [
    -     (pre: 10.0, past: 20.0),
    -     (pre: 40.0, past: 30.0),
    -     (pre: 20.0, past: 50.0)
    - ])
    -
    - weirdIndentationList.addItems(items.enumerated().map { arg in
    -     PDFListItem(symbol: .numbered(value: "\(arg.offset + 1)"), content: arg.element)
    - })
    - document.add(list: weirdIndentationList)
    -
    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFListItem : PDFDocumentObject
    -
    extension PDFListItem: CustomDebugStringConvertible
    -
    extension PDFListItem: CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFInfo - -
    -
    -
    -
    -
    -
    -

    Information saved in PDF file metadata

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFInfo
    -
    extension PDFInfo: Equatable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFGenerator - -
    -
    -
    -
    -
    -
    -

    Factory to convert a single PDFDocument into a PDF file

    - -

    This is one of the main classes used to interact with the framework.

    - -

    The PDFGenerator is a stateful object which should be used exactly once per generator task.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFGenerator : PDFGeneratorProtocol, CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Generates a PDF from multiple PDFDocument by appending them.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFMultiDocumentGenerator : PDFGeneratorProtocol
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFSection - -
    -
    -
    -
    -
    -
    -

    A multi-column section is a nested container.

    - -

    Creating the section with an amount of columns and their relative width, add objects to each column and then add the whole section to the document.

    - -

    When adding an object to the section column, you use the Array subscript section.columns[0]. - You are able to give it an alignment as the first parameter, similar to the PDFContainer but only with .left, .center and .right - as it is not possible to add a section to the header or footer containers.

    - -

    Use enable(_:columns:widths:spacings:)for details on how to enable multi-columns with automatic text wrapping, - allowing to split a page into multiple columns and fill it up starting at the left.

    - -

    Example:

    -
     let section = PDFSection(columnWidths: [0.3, 0.4, 0.3])
    - section.columns[0].addText(.right, text: "right")
    - section.columns[1].addText(.left, text: "left")
    - section.columns[2].addText(.center, text: "center")
    - document.add(section: section)
    -
    - -

    Attention:

    - -

    Do not add a PDFSection multiple times to a PDFDocument, as they hold some internal state, which will lead to collisions and unpredictable - framing calculations.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFSection : PDFDocumentObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFSectionColumn - -
    -
    -
    -
    -
    -
    -

    A configurable column of a PDFSection

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFSectionColumn : PDFDocumentObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableOfContent - -
    -
    -
    -
    -
    -
    -

    Creates a table of content for the given list of render objects.

    - -

    The given list of styles are used to identify which PDFAttributedTextObject should be considered as “headers” and therefore be in the table of contents.

    - -

    Furthermore, the index of the style in the list of styles is used as the nesting level.

    - -

    Looking at the following example document, there are 3 levels of headers defined:

    - -
      -
    • Title
    • -
    • Heading 1
    • -
    • Heading 2
    • -
    - -

    Any other text which is not using these styles, should be considered body content text.

    -
     let document = PDFDocument(format: .a4)
    -
    - // Define document wide styles
    - let titleStyle = document.add(style: PDFTextStyle(name: "Title"))
    - let headingStyle1 = document.add(style: PDFTextStyle(name: "Heading 1"))
    - let headingStyle2 = document.add(style: PDFTextStyle(name: "Heading 2"))
    -
    - // Add a string using the title style
    - document.add(textObject: PDFSimpleText(text: "TPPDF", style: titleStyle))
    -
    - // Add a table of content, the content will be calculated based on the usages of the styles
    - document.add(text: "Table of Contents")
    - document.add(tableOfContent: PDFTableOfContent(styles: [
    -     headingStyle1,
    -     headingStyle2,
    - ], symbol: .none))
    -
    - // Add headline with extra spacing
    - document.add(textObject: PDFSimpleText(text: "1. Introduction", style: headingStyle1))
    - document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
    -
    - document.add(textObject: PDFSimpleText(text: "2. Images", style: headingStyle1))
    - document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
    -
    - document.add(textObject: PDFSimpleText(text: "2.1 Special Images", style: headingStyle2))
    - document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
    -
    - document.add(textObject: PDFSimpleText(text: "3. Tables", style: headingStyle1))
    - document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
    -
    - -

    The output of the table of contents nested lists will look like this:

    - -
      -
    • 1. Introduction - -
        -
      • 2. Images
      • -
      • 2.1 Special Images
      • -
      • 3. Tables
      • -
    • -
    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableOfContent : PDFDocumentObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableContent - -
    -
    -
    -
    -
    -
    -

    Structure used to manage cell content

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableContent : CustomStringConvertible, Hashable
    -
    extension PDFTableContent: PDFTableContentable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTable - -
    -
    -
    -
    -
    -
    -

    A table is a two dimensional list.

    - -

    It can be styled and can contain different data.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTable : PDFDocumentObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableCell - -
    -
    -
    -
    -
    -
    -

    An instance of a table cell

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableCell : PDFDocumentObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableColumn - -
    -
    -
    -
    -
    -
    -

    Reference to a single column of cells in a PDFTable

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableColumn
    -
    extension PDFTableColumn: PDFTableMergable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableColumns - -
    -
    -
    -
    -
    -
    -

    References to multiple columns (PDFTableColumn) of a PDFTable

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableColumns
    -
    extension PDFTableColumns: PDFTableMergable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableRow - -
    -
    -
    -
    -
    -
    -

    Reference to a single row of cells in a PDFTable

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableRow
    -
    extension PDFTableRow: PDFTableMergable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableRows - -
    -
    -
    -
    -
    -
    -

    References to multiple rows (PDFTableRow) of a PDFTable

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableRows
    -
    extension PDFTableRows: PDFTableMergable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableSection - -
    -
    -
    -
    -
    -
    -

    Reference to a range of cells in a PDFTable

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableSection
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableStyle - -
    -
    -
    -
    -
    -
    -

    Structure used to manage the styling of a PDFTable

    - -

    The styling of a PDFTable can be defined by setting the property style

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTableStyle
    -
    extension PDFTableStyle: Equatable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFAttributedText - -
    -
    -
    -
    -
    -
    -

    Advanced text objects using an attributed stringFoundation.NSAttributedString as the internal structure.

    - -

    Use this class for advanced text drawing. - For simpler use cases, consider PDFSimpleText.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFAttributedText : PDFText
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFSimpleText - -
    -
    -
    -
    -
    -
    -

    Plain text object with basic styling.

    - -

    The text of a PDFSimpleText will be styled using either the referenced PDFTextStyle set on style, or otherwise using the - styling of the parent container.

    - -

    Use this class for simple text drawing. - For advanced use cases see PDFAttributedText.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFSimpleText : PDFText
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFText - -
    -
    -
    -
    -
    -
    -

    Abstract class all text objects should implement

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFText : PDFDocumentObject, CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTextStyle - -
    -
    -
    -
    -
    -
    -

    Structure to combine multiple aspects of text styling.

    - -

    Used to define text styling configuration in a global context.

    - -

    Furthermore, styles of a PDFDocument should be used to select headers for a PDFTableOfContent. - See PDFTableOfContent for details.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFTextStyle : Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFDocumentObject - -
    -
    -
    -
    -
    -
    -

    All document objects are instances of PDFDocumentObject to share common properties, e.g. attributes.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFDocumentObject : PDFAttributableObject, PDFTaggableObject, Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFRenderObject - -
    -
    -
    -
    -
    -
    -

    All renderable objects subclass from this object.

    - -

    Each object is first calculated and then drawn.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFRenderObject : CustomStringConvertible
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFContext - -
    -
    -
    -
    -
    -
    -

    Encapsulates the graphics context

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public class PDFContext
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFAttributedText.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFAttributedText.html deleted file mode 100644 index 77f408e1..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFAttributedText.html +++ /dev/null @@ -1,612 +0,0 @@ - - - - PDFAttributedText Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFAttributedText

-
-
- -
public class PDFAttributedText : PDFText
- -
-
-

Advanced text objects using an attributed stringFoundation.NSAttributedString as the internal structure.

- -

Use this class for advanced text drawing. - For simpler use cases, consider PDFSimpleText.

- -
-
- -
-
-
-
    -
  • -
    - - - - text - -
    -
    -
    -
    -
    -
    -

    Attributed string which will be drawn in the PDF graphics context

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var text: NSAttributedString
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(text:) - -
    -
    -
    -
    -
    -
    -

    Creates a new attributed text object with the given text

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(text: NSAttributedString)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - text - - -
    -

    Foundation.NSAttributedString to be drawn in the document

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - copy - -
    -
    -
    -
    -
    -
    -

    Creates a new PDFAttributedText with the same properties

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public var copy: PDFText { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    Compares two instances of PDFAttributedText for equality

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - lhs - - -
    -

    One instance of PDFAttributedText

    -
    -
    - - rhs - - -
    -

    Another instance of PDFAttributedText

    -
    -
    -
    -
    -

    Return Value

    -

    true, if text equal; otherwise false

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFBezierPath.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFBezierPath.html deleted file mode 100644 index 04fb96c4..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFBezierPath.html +++ /dev/null @@ -1,945 +0,0 @@ - - - - PDFBezierPath Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFBezierPath

-
-
- -
public class PDFBezierPath : CustomStringConvertible
-
extension PDFBezierPath: NSCopying
- -
-
-

Structure to create a bezier path, similar to UIKit.UIBezierPath

- -

A bezier path consists of a set of elements relative to a reference frame, to produce a path. - When using the close as the last element, the path will be considered as a shape instead.

- -

Example for a diamond shape:

-
 let size = CGSize(width: 100, height: 100)
- let path = PDFBezierPath(ref: CGRect(origin: .zero, size: size))
- path.move(to: PDFBezierPathVertex(
-      position: CGPoint(x: size.width / 2, y: 0),
-     anchor: .topCenter
- ))
- path.addLine(to: PDFBezierPathVertex(
-     position: CGPoint(x: size.width, y: size.height / 2),
-     anchor: .middleRight
- ))
- path.addLine(to: PDFBezierPathVertex(
-     position: CGPoint(x: size.width / 2, y: size.height),
-     anchor: .bottomCenter
- ))
- path.addLine(to: PDFBezierPathVertex(
-     position: CGPoint(x: 0, y: size.height / 2),
-     anchor: .middleLeft
- ))
- path.close()
-
- -

The anchor is used to handle differences between the PDFBezierPath/refFrame

- -
-
- -
-
-
-
    -
  • -
    - - - - init(ref:) - -
    -
    -
    -
    -
    -
    -

    Creates a new bezier path with the given reference frame.

    - -

    When creating a new path, the path cursor is set to the default origin at (0,0).

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(ref: CGRect)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - ref - - -
    -

    Reference frame

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - move(to:) - -
    -
    -
    -
    -
    -
    -

    Moves the path’s current point to the specified location.

    - -

    This method implicitly ends the current subpath (if any) and sets the current point to the value in the point parameter. - When ending the previous subpath, this method does not actually close the subpath. - Therefore, the first and last points of the previous subpath are not connected to each other.

    - -

    For many path operations, you must call this method before issuing any commands that cause a line or curve segment to be drawn.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func move(to point: PDFBezierPathVertex)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - point - - -
    -

    A point in the current coordinate system.

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - addLine(to:) - -
    -
    -
    -
    -
    -
    -

    Appends a straight line to the path.

    - -

    This method creates a straight line segment starting at the current point and ending at the point specified by the point parameter. - After adding the line segment, this method updates the current point to the value in point. - You must set the path’s current point (using the move(to:) method or through the previous creation of a line - or curve segment) before you call this method. - If the path is empty, this method does nothing.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func addLine(to point: PDFBezierPathVertex)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - point - - -
    -

    The destination point of the line segment, specified in the current coordinate system.

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Appends a cubic Bézier curve to the path.

    - -

    This method appends a cubic Bézier curve from the current point to the end point specified by the endPoint parameter. - The two control points define the curvature of the segment. Figure 1 shows an approximation of a cubic Bézier curve given a - set of initial points. - The exact curvature of the segment involves a complex mathematical relationship between all of the points and is well documented online.

    - -

    You must set the path’s current point (using the move(to:) method or through the previous creation - of a line or curve segment) before you call this method. If the path is empty, this method does nothing. - After adding the curve segment, this method updates the current point to the value in point.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func addCurve(to endPoint: PDFBezierPathVertex, controlPoint1: PDFBezierPathVertex, controlPoint2: PDFBezierPathVertex)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - endPoint - - -
    -

    The end point of the curve.

    -
    -
    - - controlPoint1 - - -
    -

    The first control point to use when computing the curve.

    -
    -
    - - controlPoint2 - - -
    -

    The second control point to use when computing the curve.

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Appends a quadratic Bézier curve to the path.

    - -

    This method appends a quadratic Bézier curve from the current point to the end point specified by the endPoint parameter. - The relationships between the current point, control point, and end point are what defines the actual curve. - The exact curvature of the segment involves a complex mathematical relationship between the points and is well documented online.

    - -

    You must set the path’s current point (using the move(to:) method or through the previous creation of a line - or curve segment) before you call this method. If the path is empty, this method does nothing. - After adding the curve segment, this method updates the current point to the value in point.

    - -

    See UIBezierPath/addQuadCurve for more details.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func addQuadCurve(to endPoint: PDFBezierPathVertex, controlPoint: PDFBezierPathVertex)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - endPoint - - -
    -

    The end point of the curve.

    -
    -
    - - controlPoint - - -
    -

    The control point of the curve.

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Appends an arc to the path.

    - -

    This method adds the specified arc beginning at the current point. - The created arc lies on the perimeter of the specified circle. - When drawn in the default coordinate system, the start of the circle is at the right end. - For example, specifying a start angle of 0 radians, an end angle of π radians, and setting the clockwise parameter to true draws - the bottom half of the circle. - However, specifying the same start and end angles but setting the clockwise parameter set to false draws the top half of the circle. - After calling this method, the current point is set to the point on the arc at the end angle of the circle.

    - -

    See UIBezierPath/addArc for more details.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func addArc(withCenter center: PDFBezierPathVertex, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat, clockwise: Bool)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - -
    - - center - - -
    -

    Specifies the center point of the circle (in the current coordinate system) used to define the arc.

    -
    -
    - - radius - - -
    -

    Specifies the radius of the circle used to define the arc.

    -
    -
    - - startAngle - - -
    -

    Specifies the starting angle of the arc (measured in radians).

    -
    -
    - - endAngle - - -
    -

    Specifies the end angle of the arc (measured in radians).

    -
    -
    - - clockwise - - -
    -

    The direction in which to draw the arc.

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - close() - -
    -
    -
    -
    -
    -
    -

    Closes the most recent subpath.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func close()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bezierPath(in:) - -
    -
    -
    -
    -
    -
    -

    Converts this path into an UIBezierPath / NSBezierPath

    - -

    As an instance of PDFBezierPath uses a reference frame for anchoring coordinates, the given parameter frame is used as the target frame, - for scaling in relative values using each element’s anchor

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func bezierPath(in frame: CGRect) -> BezierPath
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - frame - - -
    -

    Target frame for scaling this path

    -
    -
    -
    -
    -

    Return Value

    -

    UIBezierPath for iOS or NSBezierPath for macOS

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFBezierPath + NSCopying -

-
-
-
    -
  • -
    - - - - copy(with:) - -
    -
    -
    -
    -
    -
    -

    Creates a copy of this path with references to the same vertices

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func copy(with _: NSZone? = nil) -> Any
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFBezierPathVertex.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFBezierPathVertex.html deleted file mode 100644 index 0f71d6ae..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFBezierPathVertex.html +++ /dev/null @@ -1,536 +0,0 @@ - - - - PDFBezierPathVertex Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFBezierPathVertex

-
-
- -
public class PDFBezierPathVertex : CustomStringConvertible
- -
-
-

A vertex in a PDFBezierPath

- -
-
- -
-
-
-
    -
  • -
    - - - - Anchor - -
    -
    -
    -
    -
    -
    -

    Anchor used to define the handling of scaling a PDFBezierPath

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum Anchor
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - position - -
    -
    -
    -
    -
    -
    -

    Position of the vertex, relative to the PDFBezierPath using this vertex.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var position: CGPoint
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - anchor - -
    -
    -
    -
    -
    -
    -

    Anchor used modify the position during scaling

    - -

    See PDFBezierPath for details.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var anchor: Anchor
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new instance of a bezier path to be used with PDFDynamicGeometryShape to render complex but dynamic shapes

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(position: CGPoint, anchor: Anchor)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - position - - -
    -

    See position

    -
    -
    - - anchor - - -
    -

    See anchor

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFBezierPathVertex/Anchor.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFBezierPathVertex/Anchor.html deleted file mode 100644 index 5f3c2d71..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFBezierPathVertex/Anchor.html +++ /dev/null @@ -1,637 +0,0 @@ - - - - Anchor Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Anchor

-
-
- -
public enum Anchor
- -
-
-

Anchor used to define the handling of scaling a PDFBezierPath

- -
-
- -
-
-
-
    -
  • -
    - - - - topLeft - -
    -
    -
    -
    -
    -
    -

    Keep distance to top and left edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case topLeft
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - topCenter - -
    -
    -
    -
    -
    -
    -

    Keep distance to top and horizontal center edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case topCenter
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - topRight - -
    -
    -
    -
    -
    -
    -

    Keep distance to top and right edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case topRight
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - middleLeft - -
    -
    -
    -
    -
    -
    -

    Keep distance to vertical middle and left edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case middleLeft
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - middleCenter - -
    -
    -
    -
    -
    -
    -

    Keep distance to center of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case middleCenter
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - middleRight - -
    -
    -
    -
    -
    -
    -

    Keep distance to vertical middle and right edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case middleRight
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomLeft - -
    -
    -
    -
    -
    -
    -

    Keep distance to bottom and left edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case bottomLeft
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomCenter - -
    -
    -
    -
    -
    -
    -

    Keep distance to bottom edge and horizontal of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case bottomCenter
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomRight - -
    -
    -
    -
    -
    -
    -

    Keep distance to bottom and right edges of frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case bottomRight
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFDocument.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFDocument.html deleted file mode 100644 index 11f11ba5..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFDocument.html +++ /dev/null @@ -1,2075 +0,0 @@ - - - - PDFDocument Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFDocument

-
-
- -
public class PDFDocument : CustomStringConvertible
- -
-
-

This object holds the information about the document and also all PDF objects.

- -

This is the main structure to create new documents. It is the base for the PDFGenerator to generate the PDF output

- -
-
- -
-
-
-
- - -
- -

PUBLIC VARS -

-
-
-
    -
  • -
    - - - - layout - -
    -
    -
    -
    -
    -
    -

    Holds all layout information

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var layout: PDFPageLayout
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - info - -
    -
    -
    -
    -
    -
    -

    Holds all document information

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var info: PDFInfo
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - pagination - -
    -
    -
    -
    -
    -
    -

    Holds all pagination information

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var pagination: PDFPagination
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - styles - -
    -
    -
    -
    -
    -
    -

    Holds strong references to all text styles

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var styles: [PDFTextStyle]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - background - -
    -
    -
    -
    -
    -
    -

    Configuration for document/paper background

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var background: PDFDocumentBackground
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC INITIALIZERS -

-
-
-
    -
  • -
    - - - - init(layout:) - -
    -
    -
    -
    -
    -
    -

    Creates a new document with the given layout

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(layout: PDFPageLayout)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - layout - - -
    -

    Layout information for document

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - init(format:) - -
    -
    -
    -
    -
    -
    -

    Creates a new document with a predefined PDFPageFormat

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(format: PDFPageFormat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - layout - - -
    -

    Predefined page formats

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Layout -

-
-
-
    -
  • -
    - - - - add(_:space:) - -
    -
    -
    -
    -
    -
    -

    Adds a empty space in the given container, between the previous and the next element

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, space: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - space - - -
    -

    Space distance in points

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Lines -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Adds a horizontal line spearator to the given container. The line starts at the left indentation and ends at the right indentation. - Customize by adjusting parameter style.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func addLineSeparator(_ container: PDFContainer = PDFContainer.contentLeft, style: PDFLineStyle)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - style - - -
    -

    Style of line

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Image -

-
-
-
    -
  • -
    - - - - add(_:image:) - -
    -
    -
    -
    -
    -
    -

    Adds an image to the given container.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, image: PDFImage)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - image - - -
    -

    Image object

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Adds an image row to the given container. - This image row will fill the full available width between left indentation and right indentation.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, imagesInRow images: [PDFImage], spacing: CGFloat = 5.0)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - images - - -
    -

    Array of images, from left to right

    -
    -
    - - spacing - - -
    -

    Horizontal distance between images

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Text -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Shorthand public function to add a String text to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, text: String, lineSpacing: CGFloat = 1.0)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - images - - -
    -

    Array of images, from left to right

    -
    -
    - - spacing - - -
    -

    Horizontal distance between images

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - add(_:textObject:) - -
    -
    -
    -
    -
    -
    -

    Adds an text object to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, textObject: PDFSimpleText)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - textObject - - -
    -

    Simple text object

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Shorthand public function to add a attributed String text to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, attributedText: NSAttributedString)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - text - - -
    -

    An attributed string

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Adds an attributed text object to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, attributedTextObject: PDFAttributedText)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - textObject - - -
    -

    Attributed text object

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - set(_:font:) - -
    -
    -
    -
    -
    -
    -

    Set font in given container. This text color will be used when adding a PDFSimpleText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(_ container: PDFContainer = PDFContainer.contentLeft, font: Font)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the font will be set

    -
    -
    - - font - - -
    -

    Font of text

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - resetFont(_:) - -
    -
    -
    -
    -
    -
    -

    Reset text color in given container to default.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func resetFont(_ container: PDFContainer = PDFContainer.contentLeft)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - container - - -
    -

    Container whose text color will be reset

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - set(_:textColor:) - -
    -
    -
    -
    -
    -
    -

    Set text color in given container. This text color will be used when adding a PDFSimpleText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(_ container: PDFContainer = PDFContainer.contentLeft, textColor: Color)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the text color will be set

    -
    -
    - - color - - -
    -

    Color of the text

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - resetTextColor(_:) - -
    -
    -
    -
    -
    -
    -

    Reset text color in given container to default.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func resetTextColor(_ container: PDFContainer = PDFContainer.contentLeft)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - container - - -
    -

    Container whose text color will be reset

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Table -

-
-
-
    -
  • -
    - - - - add(_:table:) - -
    -
    -
    -
    -
    -
    -

    Adds a table object to the document in the defined container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, table: PDFTable)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the table color will be added

    -
    -
    - - color - - -
    -

    Table to add to document

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

List -

-
-
-
    -
  • -
    - - - - add(_:list:) - -
    -
    -
    -
    -
    -
    -

    Adds a list object to the document in the defined container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, list: PDFList)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the text color will be set

    -
    -
    - - color - - -
    -

    Color of the text

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Section -

-
-
-
    -
  • -
    - - - - add(section:) - -
    -
    -
    -
    -
    -
    -

    Adds a section object to the document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(section: PDFSection)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - section - - -
    -

    Section

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Layout -

-
-
-
    -
  • -
    - - - - set(_:indent:left:) - -
    -
    -
    -
    -
    -
    -

    Change the indentation in a container, use the parameter left to define from which side.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(_ container: PDFContainer = PDFContainer.contentLeft, indent: CGFloat, left: Bool)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container whose indentation should be changed

    -
    -
    - - indent - - -
    -

    Points from the side

    -
    -
    - - left - - -
    -

    If true then the left side indentation is set, else the right indentation is set

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Change the absolute top offset in a container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(_ container: PDFContainer = PDFContainer.contentLeft, absoluteOffset: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container whose current absoilute offset should be changed

    -
    -
    - - absoluteOffset - - -
    -

    Points from the top

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - createNewPage() - -
    -
    -
    -
    -
    -
    -

    Creates a new page by adding a page break object

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func createNewPage()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - add(style:) - -
    -
    -
    -
    -
    -
    -

    Adds a new style to the list of known styles

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(style: PDFTextStyle) -> PDFTextStyle
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - style - - -
    -

    Definition of the text style

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - add(tableOfContent:) - -
    -
    -
    -
    -
    -
    -

    Adds a table of content

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(tableOfContent: PDFTableOfContent)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - tableOfContent - - -
    -

    Options of the table of content

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Column Wrapping -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Starts a column section with automatic wrapping

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func enable(_ container: PDFContainer = PDFContainer.contentLeft, columns: Int, widths: [CGFloat], spacings: [CGFloat])
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Finishes a column section

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func disableColumns(_ container: PDFContainer = PDFContainer.contentLeft, addPageBreak: Bool = true)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - add(_:group:) - -
    -
    -
    -
    -
    -
    -

    Adds a group

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFContainer = PDFContainer.contentLeft, group: PDFGroup)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the group will be added

    -
    -
    - - group - - -
    -

    Instance of PDFGroup to add

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - set(master:) - -
    -
    -
    -
    -
    -
    -

    Replaces current master group with the given one.

    - -

    See PDFDocument/masterGroup for details.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(master group: PDFMasterGroup)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - master - - -
    -

    Instance of PDFMasterGroup,

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Adds an external document to the document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(externalDocument doc: PDFExternalDocument)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - doc - - -
    -

    Instance of PDFExternalDocument

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFDocumentObject.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFDocumentObject.html deleted file mode 100644 index b5c730f3..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFDocumentObject.html +++ /dev/null @@ -1,637 +0,0 @@ - - - - PDFDocumentObject Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFDocumentObject

-
-
- -
public class PDFDocumentObject : PDFAttributableObject, PDFTaggableObject, Hashable
- -
-
-

All document objects are instances of PDFDocumentObject to share common properties, e.g. attributes.

- -
-
- -
-
-
-
    -
  • -
    - - - - attributes - -
    -
    -
    -
    -
    -
    -

    List of PDFObjectAttribute to be applied during calculations and rendering

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var attributes: [PDFObjectAttribute]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - tag - -
    -
    -
    -
    -
    -
    -

    An integer that you can use to identify view objects in delegates.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var tag: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - add(attribute:) - -
    -
    -
    -
    -
    -
    -

    Appends the given attribute to the list of attributes.

    - -

    Attributes should be considered as independend from the implementation of the object. - An example are clickable links, which can be applied to most objects and will be added as a interactive, - rectangular area in the document, opening the configured link.

    -
    -

    Note

    -

    Multiple instances of the same PDFObjectAttribute can be appended and might lead to unexpected results.

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(attribute: PDFObjectAttribute)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - attribute - - -
    -

    PDFObjectAttribute to append to list

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFDocumentObject, rhs: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFDynamicGeometryShape.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFDynamicGeometryShape.html deleted file mode 100644 index 829db390..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFDynamicGeometryShape.html +++ /dev/null @@ -1,545 +0,0 @@ - - - - PDFDynamicGeometryShape Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFDynamicGeometryShape

-
-
- -
public class PDFDynamicGeometryShape : CustomStringConvertible
- -
-
-

Renders an arbitrary path into the graphics context

- -
-
- -
-
-
-
    -
  • -
    - - - - path - -
    -
    -
    -
    -
    -
    -

    Path of the geometry shape

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var path: PDFBezierPath
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - fillColor - -
    -
    -
    -
    -
    -
    -

    Color used to fill the shape

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var fillColor: Color
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - stroke - -
    -
    -
    -
    -
    -
    -

    Line style used to stroke the shape

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var stroke: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new dynamic geometry shape

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(path: PDFBezierPath, fillColor: Color, stroke: PDFLineStyle)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - path - - -
    -

    See `path

    -
    -
    - - fillColor - - -
    -

    See `fillColor

    -
    -
    - - strolke - - -
    -

    See `stroke

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFExternalDocument.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFExternalDocument.html deleted file mode 100644 index b7b718cb..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFExternalDocument.html +++ /dev/null @@ -1,564 +0,0 @@ - - - - PDFExternalDocument Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFExternalDocument

-
-
- -
public class PDFExternalDocument
- -
-
-

Document object used for including an external PDF document

- -
-
- -
-
-
-
    -
  • -
    - - - - url - -
    -
    -
    -
    -
    -
    -

    File URL to an external document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var url: URL { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - pages - -
    -
    -
    -
    -
    -
    -

    Array of page indicies which should be included from external documents

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var pages: [Int]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(url:pages:) - -
    -
    -
    -
    -
    -
    -

    Creates a new instance using the given url to locate and the pages parameter to select the pages.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public convenience init(url: URL, pages: Int...)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - url - - -
    -

    Location of file

    -
    -
    - - pages - - -
    -

    Variadic argument of page indicies

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - init(url:pages:) - -
    -
    -
    -
    -
    -
    -

    Creates a new instance using the given url to locate and the pages parameter to select the pages.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(url: URL, pages: [Int])
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - url - - -
    -

    Location of file

    -
    -
    - - pages - - -
    -

    Array of page indicies

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFGenerator.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFGenerator.html deleted file mode 100644 index 88b9074b..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFGenerator.html +++ /dev/null @@ -1,854 +0,0 @@ - - - - PDFGenerator Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFGenerator

-
-
- -
public class PDFGenerator : PDFGeneratorProtocol, CustomStringConvertible
- -
-
-

Factory to convert a single PDFDocument into a PDF file

- -

This is one of the main classes used to interact with the framework.

- -

The PDFGenerator is a stateful object which should be used exactly once per generator task.

- -
-
- -
-
-
-
- - -
- -

INTERNAL VARS -

-
-
-
    -
  • -
    - - - - totalPages - -
    -
    -
    -
    -
    -
    -

    Total page count used for displaying in rendered PDF

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var totalPages: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - progress - -
    -
    -
    -
    -
    -
    -

    Relative value tracking progress

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let progress: Progress
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - delegate - -
    -
    -
    -
    -
    -
    -

    Object acts as a delegate during the generation process

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var delegate: PDFGeneratorDelegate?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - debug - -
    -
    -
    -
    -
    -
    -

    Enables the debugging mode, which will render additional visual information on different elements.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var debug: Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC INITS -

-
-
-
    -
  • -
    - - - - init(document:) - -
    -
    -
    -
    -
    -
    -

    Initializes the generator with a PDFDocument`.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(document: PDFDocument)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - document - - -
    -

    The document which will be used to create the PDF document file

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC FUNCS -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Convenience method for generate(to:info:) without info

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateURL(filename: String) throws -> URL
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generate(to:) - -
    -
    -
    -
    -
    -
    -

    Convenience method for generate(to:info:) without info

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generate(to url: URL) throws
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generate(to:info:) - -
    -
    -
    -
    -
    -
    -

    Generates PDF data and writes it to a temporary file at the given URL to.

    -
    -

    Throws

    -

    PDFError if the calculations or rendering fails

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generate(to url: URL, info: PDFInfo?) throws
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - to - - -
    -

    URL where file should be saved.

    -
    -
    - - info - - -
    -

    PDF file information

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - generateData() - -
    -
    -
    -
    -
    -
    -

    Convenience method for generateData(info:) without defining info

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateData() throws -> Data
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generateData(info:) - -
    -
    -
    -
    -
    -
    -

    Generates PDF data and returns it

    -
    -

    Throws

    -

    PDFError if the calculations or rendering fails

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateData(info: PDFInfo?) throws -> Data
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - info - - -
    -

    Metadata Information added to file

    -
    -
    -
    -
    -

    Return Value

    -

    PDF file data

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Generate PDF Context from PDFCommands

    -
    -

    Throws

    - PDFError if the calculations or rendering fails - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generatePDFContext(context: PDFContext) throws
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - createRenderObjects() - -
    -
    -
    -
    -
    -
    -

    Creates a list of container-object pairs which will be rendered.

    -
    -

    Throws

    -

    PDFError if the calculations fail

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func createRenderObjects() throws -> [PDFLocatedRenderObject]
    - -
    -
    -
    -

    Return Value

    -

    List of renderable objects

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFGroup.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFGroup.html deleted file mode 100644 index 23ac84f2..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFGroup.html +++ /dev/null @@ -1,1681 +0,0 @@ - - - - PDFGroup Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFGroup

-
-
- -
public class PDFGroup
- -
-
-

Object used to dynamically add multiple elements to a document, but calculate them as one.

- -

This way it is possible to add e.g. multiple PDFText elements and if the calculations require a page break, it can be disabled. - Additionally groups allow to set either an UIKit.UIColor / AppKit.NSColor as the backgroundColor - or even create a complex PDFDynamicGeometryShape which adapts to the group frame.

- -

Example:

- -

The following example will create a large text with multiple indentation levels. By setting allowsBreaks to false, - it won’t break the text, but move it to the next page in full.

-
 let group = PDFGroup(
-     allowsBreaks: false,
-     backgroundColor: .green,
-     padding: UIEdgeInsets(top: 50, left: 50, bottom: 50, right: 180)
- )
-
- for i in 0..<10 {
-     group.set(font: UIFont.systemFont(ofSize: 25))
-     group.set(indentation: 30 * CGFloat(i % 5), left: true)
-     group.set(indentation: 30 * CGFloat(i % 3), left: false)
-     group.add(text: "Text \(i)-\(i)-\(i)-\(i)-\(i)")
- }
-
- document.add(group: group)
-
- -

See PDFGroupObject/draw(generator:container:in:) for internal implementation details

- -
-
- -
-
-
-
- - -
- -

PUBLIC VARS -

-
-
-
    -
  • -
    - - - - allowsBreaks - -
    -
    -
    -
    -
    -
    -

    Flag to control if the group should allow page breaks inside, or if it should be moved to the next page in full.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allowsBreaks: Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - backgroundColor - -
    -
    -
    -
    -
    -
    -

    Filling background color in the frame of the group

    - -

    Will be overlayed by backgroundImage and backgroundShape

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var backgroundColor: Color?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - outline - -
    -
    -
    -
    -
    -
    -

    Outline style used if backgroundColor is configured.

    - -

    Setting this value without backgroundColor will not have any effect.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var outline: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - backgroundImage - -
    -
    -
    -
    -
    -
    -

    Filling background image in the frame of the group

    - -

    Will overlay backgroundColor and overlayed bybackgroundShape

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var backgroundImage: PDFImage?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - backgroundShape - -
    -
    -
    -
    -
    -
    -

    Filling background shape in the frame of the group

    - -

    Will be overlay backgroundColor and backgroundImage

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var backgroundShape: PDFDynamicGeometryShape?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - padding - -
    -
    -
    -
    -
    -
    -

    Inside padding of content to the edge

    - -

    Useful to add a spacing between the content and the outline

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var padding: EdgeInsets
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC INITIALIZERS -

-
-
- -
-
-
- - -
- -

Layout -

-
-
-
    -
  • -
    - - - - add(_:space:) - -
    -
    -
    -
    -
    -
    -

    Adds a empty space in the given container, between the previous and the next element

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, space: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - space - - -
    -

    Space distance in points

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Lines -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Adds a horizontal line spearator to the given container. The line starts at the left indentation and ends at the right indentation. - Customize by adjusting parameter style.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func addLineSeparator(_ container: PDFGroupContainer = PDFGroupContainer.left, style: PDFLineStyle)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - style - - -
    -

    Style of line

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Image -

-
-
-
    -
  • -
    - - - - add(_:image:) - -
    -
    -
    -
    -
    -
    -

    Adds an image to the given container.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, image: PDFImage)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - image - - -
    -

    Image object

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Adds an image row to the given container. - This image row will fill the full available width between left indentation and right indentation.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, imagesInRow: [PDFImage], spacing: CGFloat = 5.0)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - images - - -
    -

    Array of images, from left to right

    -
    -
    - - spacing - - -
    -

    Horizontal distance between images

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Text -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Shorthand function to add a String text to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, text: String, lineSpacing: CGFloat = 1.0)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - images - - -
    -

    Array of images, from left to right

    -
    -
    - - spacing - - -
    -

    Horizontal distance between images

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - add(_:textObject:) - -
    -
    -
    -
    -
    -
    -

    Adds an text object to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, textObject: PDFSimpleText)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - textObject - - -
    -

    Simple text object

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Shorthand function to add a attributed String text to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, attributedText: NSAttributedString)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - text - - -
    -

    An attributed string

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Adds an attributed text object to the given container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, attributedTextObject: PDFAttributedText)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - textObject - - -
    -

    Attributed text object

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - set(_:font:) - -
    -
    -
    -
    -
    -
    -

    Set font in given container. This text color will be used when adding a PDFSimpleText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func set(_ container: PDFGroupContainer = PDFGroupContainer.left, font: Font)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the font will be set

    -
    -
    - - font - - -
    -

    Font of text

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - resetFont(_:) - -
    -
    -
    -
    -
    -
    -

    Reset text color in given container to default.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func resetFont(_ container: PDFGroupContainer = PDFGroupContainer.left)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - container - - -
    -

    Container whose text color will be reset

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - set(_:textColor:) - -
    -
    -
    -
    -
    -
    -

    Set text color in given container. This text color will be used when adding a PDFSimpleText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func set(_ container: PDFGroupContainer = PDFGroupContainer.left, textColor: Color)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the text color will be set

    -
    -
    - - color - - -
    -

    Color of the text

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - resetTextColor(_:) - -
    -
    -
    -
    -
    -
    -

    Reset text color in given container to default.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func resetTextColor(_ container: PDFGroupContainer = PDFGroupContainer.left)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - container - - -
    -

    Container whose text color will be reset

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Table -

-
-
-
    -
  • -
    - - - - add(_:table:) - -
    -
    -
    -
    -
    -
    -

    Adds a table object to the document in the defined container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, table: PDFTable)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the table will be added

    -
    -
    - - table - - -
    -

    An instance of PDFTable

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

List -

-
-
-
    -
  • -
    - - - - add(_:list:) - -
    -
    -
    -
    -
    -
    -

    Adds a list object to the document in the defined container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(_ container: PDFGroupContainer = PDFGroupContainer.left, list: PDFList)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the list will be added

    -
    -
    - - table - - -
    -

    An instance of PDFList

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Layout -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Change the indentation in a container, use the parameter left to define from which side.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func set(_ container: PDFGroupContainer = PDFGroupContainer.left, indentation: CGFloat, left: Bool)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container whose indentation should be changed

    -
    -
    - - indent - - -
    -

    Points from the side

    -
    -
    - - left - - -
    -

    If true then the left side indentation is set, else the right indentation is set

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Change the absolute top offset in a container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func set(_ container: PDFGroupContainer = PDFGroupContainer.left, absoluteOffset: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container whose current absolute offset should be changed

    -
    -
    - - offset - - -
    -

    Points from the top

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFImage.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFImage.html deleted file mode 100644 index 83df1424..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFImage.html +++ /dev/null @@ -1,821 +0,0 @@ - - - - PDFImage Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFImage

-
-
- -
public class PDFImage : PDFDocumentObject
- -
-
-

Image element for the PDF document.

- -

Contains all information about an image, including the caption.

- -
-
- -
-
-
-
    -
  • -
    - - - - image - -
    -
    -
    -
    -
    -
    -

    The actual image

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var image: Image
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - caption - -
    -
    -
    -
    -
    -
    -

    An instance of a PDFText subclass. -Use PDFSimpleText for a simple, container-based styled caption and PDFAttributedText for advanced styling.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var caption: PDFText?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - size - -
    -
    -
    -
    -
    -
    -

    The size of the image in the PDF document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var size: CGSize
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - sizeFit - -
    -
    -
    -
    -
    -
    -

    Defines how the image will fit if not enough space is given

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var sizeFit: PDFImageSizeFit
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - quality - -
    -
    -
    -
    -
    -
    -

    JPEG quality of image.

    - -

    Value ranges between 0.0 and 1.0, maximum quality equals 1.0

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var quality: CGFloat
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - options - -
    -
    -
    -
    -
    -
    -

    Options used for changing the image before drawing

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var options: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - cornerRadius - -
    -
    -
    -
    -
    -
    -

    Optional corner radius, is used if the options are set.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var cornerRadius: CGFloat?
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Initializer to create a PDF image element.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    image: Image,
    -    caption: PDFText? = nil,
    -    size: CGSize = .zero,
    -    sizeFit: PDFImageSizeFit = .widthHeight,
    -    quality: CGFloat = 0.85,
    -    options: PDFImageOptions = [.resize, .compress],
    -    cornerRadius: CGFloat? = nil
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - image - - -
    -

    Image which will be drawn

    -
    -
    - - caption - - -
    -

    Optional instance of a PDFText subclass, defaults to nil

    -
    -
    - - size - - -
    -

    Size of image, defaults to zero size

    -
    -
    - - sizeFit - - -
    -

    Defines how the image will fit if not enough space is given, defaults to PDFImageSizeFit.widthHeight

    -
    -
    - - quality - - -
    -

    JPEG quality between 0.0 and 1.0, defaults to 0.85

    -
    -
    - - options - - -
    -

    Defines if the image will be modified before rendering

    -
    -
    - - cornerRadius - - -
    -

    Defines the radius of the corners

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - copy - -
    -
    -
    -
    -
    -
    -

    Creates a new PDFImage with the same properties

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var copy: PDFImage { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFInfo.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFInfo.html deleted file mode 100644 index c59a51df..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFInfo.html +++ /dev/null @@ -1,781 +0,0 @@ - - - - PDFInfo Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFInfo

-
-
- -
public class PDFInfo
-
extension PDFInfo: Equatable
- -
-
-

Information saved in PDF file metadata

- -
-
- -
-
-
-
    -
  • -
    - - - - title - -
    -
    -
    -
    -
    -
    -

    Title of document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var title: String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - author - -
    -
    -
    -
    -
    -
    -

    Author of document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var author: String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - subject - -
    -
    -
    -
    -
    -
    -

    Subject of document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var subject: String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - keywords - -
    -
    -
    -
    -
    -
    -

    Keywords of document

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var keywords: [String]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ownerPassword - -
    -
    -
    -
    -
    -
    -

    The owner password of the PDF document

    - -

    If this password is set the document is encrypted; otherwise, the document will not be encrypted.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var ownerPassword: String?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - userPassword - -
    -
    -
    -
    -
    -
    -

    The user password of the PDF document

    - -

    If the document is encrypted, then this value will be the user password for the document.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var userPassword: String?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allowsPrinting - -
    -
    -
    -
    -
    -
    -

    Whether the document allows printing when unlocked with the user password.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allowsPrinting: Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allowsCopying - -
    -
    -
    -
    -
    -
    -

    Whether the document allows copying when unlocked with the user password.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allowsCopying: Bool
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new object to manage the information metadata of a PDFDocument

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    title: String = "Title",
    -    author: String = "Author",
    -    subject: String = "Subject",
    -    keywords: [String] = ["tppdf", "pdf", "generator"],
    -    ownerPassword: String? = nil,
    -    userPassword: String? = nil,
    -    allowsPrinting: Bool = true,
    -    allowsCopying: Bool = true
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - title - - -
    -

    See title for details.

    -
    -
    - - author - - -
    -

    See author for details.

    -
    -
    - - subject - - -
    -

    See subject for details.

    -
    -
    - - keywords - - -
    -

    See keywords for details.

    -
    -
    - - ownerPassword - - -
    -

    See ownerPassword for details.

    -
    -
    - - userPassword - - -
    -

    See userPassword for details.

    -
    -
    - - allowsPrinting - - -
    -

    See allowsPrinting for details.

    -
    -
    - - allowsCopying - - -
    -

    See allowsCopying for details.

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFInfo, rhs: PDFInfo) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFList.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFList.html deleted file mode 100644 index 2346433d..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFList.html +++ /dev/null @@ -1,822 +0,0 @@ - - - - PDFList Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFList

-
-
- -
public class PDFList : PDFDocumentObject
-
extension PDFList: CustomDebugStringConvertible
-
extension PDFList: CustomStringConvertible
- -
-
-

Creates a new bullet list or numbered list with multiple, indented levels.

- -

Each list item has a pre spacing between the page indentation to the left side of the symbol, and a past spacing at - the right side of the symbol.

-
 let list = PDFList(indentations: [(pre: 0.0, past: 20.0), (pre: 20.0, past: 20.0), (pre: 40.0, past: 20.0)])
-
- -
-
- -
-
-
-
    -
  • -
    - - - - items - -
    -
    -
    -
    -
    -
    -

    Items in this list

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var items: [PDFListItem]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - levelIndentations - -
    -
    -
    -
    -
    -
    -

    Spacing before and after the symbol for each nesting level

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var levelIndentations: [(pre: CGFloat, past: CGFloat)]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(indentations:) - -
    -
    -
    -
    -
    -
    -

    Creates a new list

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(indentations: [(pre: CGFloat, past: CGFloat)])
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - indentations - - -
    -

    Spacing before and after the symbol for each nesting level. - If not enough indentation levels are provided, the default value 0 will be used for pre and past.

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - addItem(_:) - -
    -
    -
    -
    -
    -
    -

    Adds the given item to this list

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public func addItem(_ item: PDFListItem) -> PDFList
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - item - - -
    -

    Item to add

    -
    -
    -
    -
    -

    Return Value

    -

    Reference to this instance, useful for chaining

    -
    -
    -
    -
  • -
  • -
    - - - - addItems(_:) - -
    -
    -
    -
    -
    -
    -

    Appends the given items to this list

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public func addItems(_ items: [PDFListItem]) -> PDFList
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - items - - -
    -

    Items to append

    -
    -
    -
    -
    -

    Return Value

    -

    Reference to this instance, useful for chaining

    -
    -
    -
    -
  • -
  • -
    - - - - count - -
    -
    -
    -
    -
    -
    -

    Count of items in this list

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var count: Int { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - flatted() - -
    -
    -
    -
    -
    -
    -

    Converts the added instances of PDFListItem from a nested structure into an array of tuples

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func flatted() -> [(level: Int, text: String, symbol: PDFListItemSymbol)]
    - -
    -
    -
    -

    Return Value

    -

    Array of tuples with level, text and symbol for each item

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

CustomDebugStringConvertible -

-
-
-
    -
  • -
    - - - - debugDescription - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var debugDescription: String { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

CustomStringConvertible -

-
-
-
    -
  • -
    - - - - description - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var description: String { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFListItem.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFListItem.html deleted file mode 100644 index 45b92d0b..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFListItem.html +++ /dev/null @@ -1,948 +0,0 @@ - - - - PDFListItem Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFListItem

-
-
- -
public class PDFListItem : PDFDocumentObject
-
extension PDFListItem: CustomDebugStringConvertible
-
extension PDFListItem: CustomStringConvertible
- -
-
-

An item used in a PDFList

- -

By configuring the symbol it is possible to mix the symbols used by list items.

-
 let document = PDFDocument(format: .a4)
-
- let items = [
-     "Simple text drawing",
-     "Advanced text drawing using AttributedString",
-     "Multi-layer rendering by simply setting the offset",
-     "Fully calculated content sizing",
-     "Automatic page wrapping",
-     "Customizable pagination",
-     "Fully editable header and footer",
-     "Simple image positioning and rendering",
-     "Image captions"
- ]
-
- // Simple bullet point list
- let featureList = PDFList(indentations: [
-     (pre: 10.0, past: 20.0),
-     (pre: 20.0, past: 20.0),
-     (pre: 40.0, past: 20.0)
- ])
-
- // By adding the item first to a list item with the dot symbol, all of them will inherit it
- featureList
-     .addItem(PDFListItem(symbol: .dot)
-     .addItems(items.map { PDFListItem(content: $0) })
- document.add(list: featureList)
-
- document.add(space: 20)
-
- // Numbered list with unusual indentation
- let weirdIndentationList = PDFList(indentations: [
-     (pre: 10.0, past: 20.0),
-     (pre: 40.0, past: 30.0),
-     (pre: 20.0, past: 50.0)
- ])
-
- weirdIndentationList.addItems(items.enumerated().map { arg in
-     PDFListItem(symbol: .numbered(value: "\(arg.offset + 1)"), content: arg.element)
- })
- document.add(list: weirdIndentationList)
-
- -
-
- -
-
-
-
    -
  • -
    - - - - parent - -
    -
    -
    -
    -
    -
    -

    Weak reference to the parent list item, used to implement the list symbol inherit

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public weak var parent: PDFListItem?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Text content of this list item, calculated and rendered using PDFSimpleText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: String?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - children - -
    -
    -
    -
    -
    -
    -

    List of PDFListItem nested in this instance

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var children: [PDFListItem]?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - symbol - -
    -
    -
    -
    -
    -
    -

    Symbol used for this list item

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var symbol: PDFListItemSymbol
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(symbol:content:) - -
    -
    -
    -
    -
    -
    -

    Creates a new list item

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    symbol: PDFListItemSymbol = PDFListItemSymbol.inherit,
    -    content: String? = nil
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - symbol - - -
    -

    See symbol for details, defaults to inherit

    -
    -
    - - content - - -
    -

    See content, defaults to nil

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - addItems(_:) - -
    -
    -
    -
    -
    -
    -

    Appends the given items to the list of nested items

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public func addItems(_ items: [PDFListItem]) -> PDFListItem
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - items - - -
    -

    Items to append

    -
    -
    -
    -
    -

    Return Value

    -

    Reference to this instance, useful for chaining

    -
    -
    -
    -
  • -
  • -
    - - - - addItem(_:) - -
    -
    -
    -
    -
    -
    -

    Adds the given item to the list of nested items

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public func addItem(_ item: PDFListItem) -> PDFListItem
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - item - - -
    -

    Item to add

    -
    -
    -
    -
    -

    Return Value

    -

    Reference to this instance, useful for chaining

    -
    -
    -
    -
  • -
  • -
    - - - - setContent(_:) - -
    -
    -
    -
    -
    -
    -

    Sets the content of this list item

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public func setContent(_ content: String) -> PDFListItem
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - content - - -
    -

    See content for details

    -
    -
    -
    -
    -

    Return Value

    -

    Reference to this instance, useful for chaining

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Copying -

-
-
-
    -
  • -
    - - - - copy - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var copy: PDFListItem { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

CustomDebugStringConvertible -

-
-
-
    -
  • -
    - - - - debugDescription - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var debugDescription: String { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

CustomStringConvertible -

-
-
-
    -
  • -
    - - - - description - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var description: String { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFMasterGroup.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFMasterGroup.html deleted file mode 100644 index 03019df3..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFMasterGroup.html +++ /dev/null @@ -1,578 +0,0 @@ - - - - PDFMasterGroup Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFMasterGroup

-
-
- -
public class PDFMasterGroup : PDFGroup
- -
-
-

Subclass of PDFGroup with additional properties to configure page background content

- -

Each instance of PDFDocument can have one group set as the `PDFDocument/masterGroup

- -
-
- -
-
-
-
    -
  • -
    - - - - isFullPage - -
    -
    -
    -
    -
    -
    -

    Flag if true, the render frame of the group is the as large as the page allows, otherwise only as large as its content objects

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var isFullPage: Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(isFullPage:) - -
    -
    -
    -
    -
    -
    -

    Creates a new master group with default values

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(isFullPage: Bool = false)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - isFullPage - - -
    -

    See isFullPage for details

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Configures the space between the group and the edges of the page.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func setMargin(left: CGFloat? = nil, right: CGFloat? = nil, top: CGFloat? = nil, bottom: CGFloat? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    - - left - - -
    -

    Space to left page edge

    -
    -
    - - right - - -
    -

    Space to right page edge

    -
    -
    - - top - - -
    -

    Space to top page edge

    -
    -
    - - bottom - - -
    -

    Space to bottom page edge

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - resetMargin() - -
    -
    -
    -
    -
    -
    -

    Resets the margin of the group to the margin of the layout

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func resetMargin()
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFMultiDocumentGenerator.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFMultiDocumentGenerator.html deleted file mode 100644 index fdd26a08..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFMultiDocumentGenerator.html +++ /dev/null @@ -1,724 +0,0 @@ - - - - PDFMultiDocumentGenerator Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFMultiDocumentGenerator

-
-
- -
public class PDFMultiDocumentGenerator : PDFGeneratorProtocol
- -
-
-

Generates a PDF from multiple PDFDocument by appending them.

- -
-
- -
-
-
-
    -
  • -
    - - - - progress - -
    -
    -
    -
    -
    -
    -

    Instance of Progress used to track and control the multi-document generation

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let progress: Progress
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - progresses - -
    -
    -
    -
    -
    -
    -

    Instances of Progess used to track and control each individual document generation

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let progresses: [Progress]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - debug - -
    -
    -
    -
    -
    -
    -

    Flag to enable or disable the debug overlay

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var debug: Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(documents:) - -
    -
    -
    -
    -
    -
    -

    Initializes a new multi-document generator for generating the giving documents.

    - -

    It will use the page layout of the first document.

    - -

    The instance property progress is initialized to the total document count.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(documents: [PDFDocument] = [])
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - documents - - -
    -

    Array of PDFDocument instances, which will all be rendered into a single PDF context

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func generateURL(filename: String) throws -> URL
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generate(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func generate(to target: URL) throws
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generate(to:info:) - -
    -
    -
    -
    -
    -
    -

    Creates a file at the given file URL, generates the PDF context data and writes the result idata nto the file.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func generate(to target: URL, info: PDFInfo?) throws
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - target - - -
    -

    URL of output file,

    -
    -
    - - info - - -
    -

    Instance of PDFInfo with meta file information, defaults to default initializer of PDFInfo

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - generateData() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func generateData() throws -> Data
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generateData(info:) - -
    -
    -
    -
    -
    -
    -

    Generates and returns the PDF context data.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func generateData(info: PDFInfo? = nil) throws -> Data
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - info - - -
    -

    Instance of PDFInfo with meta file information, defaults to default initializer of PDFInfo

    -
    -
    -
    -
    -

    Return Value

    -

    PDF data

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFSection.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFSection.html deleted file mode 100644 index 56de889e..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFSection.html +++ /dev/null @@ -1,575 +0,0 @@ - - - - PDFSection Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFSection

-
-
- -
public class PDFSection : PDFDocumentObject
- -
-
-

A multi-column section is a nested container.

- -

Creating the section with an amount of columns and their relative width, add objects to each column and then add the whole section to the document.

- -

When adding an object to the section column, you use the Array subscript section.columns[0]. - You are able to give it an alignment as the first parameter, similar to the PDFContainer but only with .left, .center and .right - as it is not possible to add a section to the header or footer containers.

- -

Use enable(_:columns:widths:spacings:)for details on how to enable multi-columns with automatic text wrapping, - allowing to split a page into multiple columns and fill it up starting at the left.

- -

Example:

-
 let section = PDFSection(columnWidths: [0.3, 0.4, 0.3])
- section.columns[0].addText(.right, text: "right")
- section.columns[1].addText(.left, text: "left")
- section.columns[2].addText(.center, text: "center")
- document.add(section: section)
-
- -

Attention:

- -

Do not add a PDFSection multiple times to a PDFDocument, as they hold some internal state, which will lead to collisions and unpredictable - framing calculations.

- -
-
- -
-
-
-
    -
  • -
    - - - - columns - -
    -
    -
    -
    -
    -
    -

    List of section columns.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var columns: [PDFSectionColumn] { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - columnMargin - -
    -
    -
    -
    -
    -
    -

    Horizontal margin between columns in points.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var columnMargin: CGFloat
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC INITIALIZERS -

-
-
-
    -
  • -
    - - - - init(columnWidths:) - -
    -
    -
    -
    -
    -
    -

    Creates a new section with columns of the given relative widths.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public convenience init(columnWidths: [CGFloat])
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columnWidth - - -
    -

    Relative column widths. Values are between 0.0 and 1.0 and should sum up to 1.0.

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - init(_:) - -
    -
    -
    -
    -
    -
    -

    Creates a new section with the given columns.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(_ columns: [PDFSectionColumn])
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columns - - -
    -

    Preconfigured section columns

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFSectionColumn.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFSectionColumn.html deleted file mode 100644 index 93457e09..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFSectionColumn.html +++ /dev/null @@ -1,1622 +0,0 @@ - - - - PDFSectionColumn Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFSectionColumn

-
-
- -
public class PDFSectionColumn : PDFDocumentObject
- -
-
-

A configurable column of a PDFSection

- -
-
- -
-
-
-
- - -
- -

PUBLIC VARS -

-
-
-
    -
  • -
    - - - - width - -
    -
    -
    -
    -
    -
    -

    Holds the relative column width.

    - -

    Value is between 0.0 and 1.0.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var width: CGFloat { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - backgroundColor - -
    -
    -
    -
    -
    -
    -

    Background color of this section

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var backgroundColor: Color?
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC INITIALIZERS -

-
-
-
    -
  • -
    - - - - init(width:) - -
    -
    -
    -
    -
    -
    -

    Creates a new section column with the given relative width.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(width: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - width - - -
    -

    See width for details

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Layout -

-
-
-
    -
  • -
    - - - - add(_:space:) - -
    -
    -
    -
    -
    -
    -

    Adds a empty space in the given container, between the previous and the next element

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFSectionColumnContainer = PDFSectionColumnContainer.left, space: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set, defaults to PDFSectionColumnContainer.left

    -
    -
    - - space - - -
    -

    Space distance in points

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Lines -

-
-
- -
-
-
- - -
- -

Image -

-
-
-
    -
  • -
    - - - - add(_:image:) - -
    -
    -
    -
    -
    -
    -

    Adds an image to the given container.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFSectionColumnContainer = PDFSectionColumnContainer.left, image: PDFImage)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set, defaults to PDFSectionColumnContainer.left

    -
    -
    - - image - - -
    -

    Image object

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Adds an image row to the given container. - This image row will fill the full available width between left indentation and right indentation.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func add(_ container: PDFSectionColumnContainer = PDFSectionColumnContainer.left, imagesInRow images: [PDFImage], spacing: CGFloat = 5.0)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container where the space will be set

    -
    -
    - - images - - -
    -

    Array of images, from left to

    -
    -
    - - spacing - - -
    -

    Horizontal distance between images

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Text -

-
-
- -
-
-
- - -
- -

Table -

-
-
- -
-
-
- - -
- -

List -

-
-
- -
-
-
- - -
- -

Layout -

-
-
-
    -
  • -
    - - - - set(_:indent:left:) - -
    -
    -
    -
    -
    -
    -

    Change the indentation in a container, use the parameter left to define from which side.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(_ container: PDFSectionColumnContainer = PDFSectionColumnContainer.left, indent: CGFloat, left: Bool)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container whose indentation should be changed, defaults to PDFContainer.contentLeft

    -
    -
    - - indent - - -
    -

    Points from the side

    -
    -
    - - left - - -
    -

    If true then the left side indentation is set, else the right indentation is set

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Change the absolute top offset in a container

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func set(_ container: PDFSectionColumnContainer = PDFSectionColumnContainer.left, absoluteOffset: CGFloat)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - container - - -
    -

    Container whose current absoilute offset should be changed, defaults to PDFContainer.contentLeft

    -
    -
    - - absoluteOffset - - -
    -

    Points from the top

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Groups -

-
-
- -
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFSimpleText.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFSimpleText.html deleted file mode 100644 index bcc27fcb..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFSimpleText.html +++ /dev/null @@ -1,685 +0,0 @@ - - - - PDFSimpleText Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFSimpleText

-
-
- -
public class PDFSimpleText : PDFText
- -
-
-

Plain text object with basic styling.

- -

The text of a PDFSimpleText will be styled using either the referenced PDFTextStyle set on style, or otherwise using the - styling of the parent container.

- -

Use this class for simple text drawing. - For advanced use cases see PDFAttributedText.

- -
-
- -
-
-
-
    -
  • -
    - - - - text - -
    -
    -
    -
    -
    -
    -

    Text to be drawn

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var text: String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - spacing - -
    -
    -
    -
    -
    -
    -

    / Line spacing if multiple lines

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var spacing: CGFloat
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Weak reference to style used by this text object

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public weak var style: PDFTextStyle?
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new simple text object

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(text: String, spacing: CGFloat = 0, style: PDFTextStyle? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - text - - -
    -

    Text to be drawn

    -
    -
    - - spacing - - -
    -

    Spacing between text lines, defaults to 0

    -
    -
    - - style - - -
    -

    Reference to PDFTextStyle, defaults to nil

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - copy - -
    -
    -
    -
    -
    -
    -

    Creates a new PDFSimpleText with the same properties

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public var copy: PDFText { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    static func == (lhs: PDFSimpleText, rhs: PDFSimpleText) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTable.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTable.html deleted file mode 100644 index 643f4801..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTable.html +++ /dev/null @@ -1,3443 +0,0 @@ - - - - PDFTable Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTable

-
-
- -
public class PDFTable : PDFDocumentObject
- -
-
-

A table is a two dimensional list.

- -

It can be styled and can contain different data.

- -
-
- -
-
-
-
    -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Styling used for drawing

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: PDFTableStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - cells - -
    -
    -
    -
    -
    -
    -

    Two-dimensional array of cells

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var cells: [[PDFTableCell]]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - widths - -
    -
    -
    -
    -
    -
    -

    List of relative horizontal column widths.

    - -

    Values are between 0.0 and 1.0 and should sum up to 1.0 (100%)

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var widths: [CGFloat]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - padding - -
    -
    -
    -
    -
    -
    -

    Padding is the distance between the cell content and its borders.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var padding: CGFloat
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - margin - -
    -
    -
    -
    -
    -
    -

    Margin is the distance between the cell borders and other cells

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var margin: CGFloat
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Header rows will be drawn on every page

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var showHeadersOnEveryPage: Bool
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    / Cells should split when overlapping page

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var shouldSplitCellsOnPageBreak: Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - size - -
    -
    -
    -
    -
    -
    -

    Count of rows and columns in this table

    - -

    The size of the table needs to be defined beforehand, so that cells can be accessed using subscript accessors

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var size: (rows: Int, columns: Int) { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(size:) - -
    -
    -
    -
    -
    -
    -

    Creates a new table with the given size and populates it with empty cells

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public convenience init(size: (rows: Int, columns: Int))
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - size - - -
    -

    Row and column count of table

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - init(rows:columns:) - -
    -
    -
    -
    -
    -
    -

    Creates a new table with the given size and populates it with empty cells.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(rows: Int, columns: Int)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Rows of table, must be greater than 0

    -
    -
    - - columns - - -
    -

    Columns of table, must be greater than 0

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - rows - -
    -
    -
    -
    -
    -
    -

    Shorthand accessor to the rows stored in cells

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var rows: PDFTableRows { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - columns - -
    -
    -
    -
    -
    -
    -

    Shorthand accessor to the columns stored in cells

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var columns: PDFTableColumns { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Shorthand accessor to the cell values of this table

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: [[PDFTableContentable?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Shorthand accessor to the cell alignments of this table

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: [[PDFTableCellAlignment]] { get set }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - subscript(position:) - -
    -
    -
    -
    -
    -
    -

    Accessor for a specific PDFTableCell at the given position

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(position position: PDFTableCellPosition) -> PDFTableCell { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - position - - -
    -

    PDFTableCellPosition with row and column index

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableCell at the given position

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(_:_:) - -
    -
    -
    -
    -
    -
    -

    Accessor for a specific cell at the given position

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(row: Int, column: Int) -> PDFTableCell { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - row - - -
    -

    Index of row

    -
    -
    - - column - - -
    -

    Index of column

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableCellat the given position

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(column:) - -
    -
    -
    -
    -
    -
    -

    Accessor for a specific column

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(column index: Int) -> PDFTableColumn { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - column - - -
    -

    Index of column

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableColumn with references to cells of this table

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(columns:) - -
    -
    -
    -
    -
    -
    -

    Accessors of columns in the given range.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(columns range: ClosedRange<Int>) -> PDFTableColumns { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableColumns with references to columns

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(columns:) - -
    -
    -
    -
    -
    -
    -

    Accessors of columns in the given range.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(columns range: PartialRangeFrom<Int>) -> PDFTableColumns { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableColumns with references to columns

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(columns:) - -
    -
    -
    -
    -
    -
    -

    Accessors of columns in the given range.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(columns range: PartialRangeThrough<Int>) -> PDFTableColumns { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableColumns with references to columns

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(columns:) - -
    -
    -
    -
    -
    -
    -

    Accessors of columns in the given range.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(columns range: PartialRangeUpTo<Int>) -> PDFTableColumns { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableColumns with references to columns

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(columns:) - -
    -
    -
    -
    -
    -
    -

    Accessors of columns in the given range.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(columns range: Range<Int>) -> PDFTableColumns { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableColumns with references to columns

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(row:) - -
    -
    -
    -
    -
    -
    -

    Accessor for a specific row

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(row index: Int) -> PDFTableRow { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - row - - -
    -

    Index of row

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableRow with references to cells of this table

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(rows:) - -
    -
    -
    -
    -
    -
    -

    Accessor for multiple rows in the given range rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows range: ClosedRange<Int>) -> PDFTableRows { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableRows with references to rows

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(rows:) - -
    -
    -
    -
    -
    -
    -

    Accessor for multiple rows in the given range rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows range: PartialRangeFrom<Int>) -> PDFTableRows { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableRows with references to rows

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(rows:) - -
    -
    -
    -
    -
    -
    -

    Accessor for multiple rows in the given range rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows range: PartialRangeThrough<Int>) -> PDFTableRows { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableRows with references to rows

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(rows:) - -
    -
    -
    -
    -
    -
    -

    Accessor for multiple rows in the given range rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows range: PartialRangeUpTo<Int>) -> PDFTableRows { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableRows with references to rows

    -
    -
    -
    -
  • -
  • -
    - - - - subscript(rows:) - -
    -
    -
    -
    -
    -
    -

    Accessor for multiple rows in the given range rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows range: Range<Int>) -> PDFTableRows { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableRows with references to rows

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Single Row -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows row: Int, columns columns: Range<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows row: Int, columns columns: ClosedRange<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows row: Int, columns columns: PartialRangeFrom<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows row: Int, columns columns: PartialRangeThrough<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows row: Int, columns columns: PartialRangeUpTo<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Range -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: Range<Int>, columns columns: ClosedRange<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: Range<Int>, columns columns: PartialRangeFrom<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: Range<Int>, columns columns: PartialRangeThrough<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: Range<Int>, columns columns: PartialRangeUpTo<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: Range<Int>, column column: Int) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Closed Range -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: ClosedRange<Int>, columns columns: Range<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: ClosedRange<Int>, columns columns: ClosedRange<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: ClosedRange<Int>, columns columns: PartialRangeFrom<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: ClosedRange<Int>, columns columns: PartialRangeThrough<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: ClosedRange<Int>, columns columns: PartialRangeUpTo<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: ClosedRange<Int>, column column: Int) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Partial Range From -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeFrom<Int>, columns columns: Range<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeFrom<Int>, columns columns: ClosedRange<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeFrom<Int>, columns columns: PartialRangeFrom<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeFrom<Int>, columns columns: PartialRangeThrough<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeFrom<Int>, columns columns: PartialRangeUpTo<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeFrom<Int>, column column: Int) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Partial Range Up To -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeUpTo<Int>, columns columns: Range<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeUpTo<Int>, columns columns: ClosedRange<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeUpTo<Int>, columns columns: PartialRangeFrom<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeUpTo<Int>, columns columns: PartialRangeThrough<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeUpTo<Int>, columns columns: PartialRangeUpTo<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: PartialRangeUpTo<Int>, column column: Int) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Accessors to the cells in the section defined by given ranges rows and columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    subscript(rows rows: Range<Int>, columns columns: Range<Int>) -> PDFTableSection { get set }
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - rows - - -
    -

    Range of indicies

    -
    -
    - - columns - - -
    -

    Range of indicies

    -
    -
    -
    -
    -

    Return Value

    -

    PDFTableSection with references to cells

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableCell.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableCell.html deleted file mode 100644 index e08cb78b..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableCell.html +++ /dev/null @@ -1,616 +0,0 @@ - - - - PDFTableCell Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableCell

-
-
- -
public class PDFTableCell : PDFDocumentObject
- -
-
-

An instance of a table cell

- -
-
- -
-
-
-
    -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Content of this cell, can be different kinds of data inside a PDFTableContent object.

    - -

    Might be nil, meaning the cell can be empty.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: PDFTableContent?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Custom style of this particular cell

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: PDFTableCellStyle?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Alignment of content inside cell

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: PDFTableCellAlignment
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new cell with the optionally given content, alignment and style.

    - -

    If none are given, see defaults.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(content: PDFTableContent? = nil, alignment: PDFTableCellAlignment = .center, style: PDFTableCellStyle? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - content - - -
    -

    PDFTableContent holding different kinds of data, defaults to nil, meaning the cell is empty

    -
    -
    - - alignment - - -
    -

    PDFTableCellAignment setting the alignment position of the conten

    -
    -
    - - style - - -
    -

    PDFTableCelStyle for overwriting table wide styling for this particular cell

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - isEqual(to:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func isEqual(to other: PDFDocumentObject) -> Bool
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    override public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableColumn.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableColumn.html deleted file mode 100644 index 9c9527b2..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableColumn.html +++ /dev/null @@ -1,720 +0,0 @@ - - - - PDFTableColumn Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableColumn

-
-
- -
public class PDFTableColumn
-
extension PDFTableColumn: PDFTableMergable
- -
-
-

Reference to a single column of cells in a PDFTable

- -
-
- -
-
-
-
    -
  • -
    - - - - cells - -
    -
    -
    -
    -
    -
    -

    References to the cells in the column

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var cells: [PDFTableCell] { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - subscript(_:) - -
    -
    -
    -
    -
    -
    -

    Access and modifier for a specific cell in a given row

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(row: Int) -> PDFTableCell { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in column or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: [PDFTableContentable?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the column

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsContent: PDFTableContent? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in column or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: [PDFTableCellStyle?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the column

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsStyle: PDFTableCellStyle? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in column or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: [PDFTableCellAlignment] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the column

    -
    -

    Note

    - This method can not be used to get values, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsAlignment: PDFTableCellAlignment { get set }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableMergable -

-
-
-
    -
  • -
    - - - - merge() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge(with:) - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    If no parameter cell is given, the first cell in the column will be used.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge(with cell: PDFTableCell? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - cell - - -
    -

    Cell to use after merge, may be nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableColumns.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableColumns.html deleted file mode 100644 index 39d6b23a..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableColumns.html +++ /dev/null @@ -1,789 +0,0 @@ - - - - PDFTableColumns Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableColumns

-
-
- -
public class PDFTableColumns
-
extension PDFTableColumns: PDFTableMergable
- -
-
-

References to multiple columns (PDFTableColumn) of a PDFTable

- -
-
- -
-
-
-
    -
  • -
    - - - - columns - -
    -
    -
    -
    -
    -
    -

    Array of references to PDFTableColumn

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let columns: [PDFTableColumn]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in all columns or sets the content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: [[PDFTableContentable?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allColumnsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the column

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value per column. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allColumnsContent: [PDFTableContent?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the column

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsContent: PDFTableContent? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Access style of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: [[PDFTableCellStyle?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allColumnsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the column

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value per column - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allColumnsStyle: [PDFTableCellStyle?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the column

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsStyle: PDFTableCellStyle? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Access alignment of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: [[PDFTableCellAlignment]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allColumnsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the columns

    -
    -

    Note

    - This method can not be used to get alignment, because the type can only be a single value per column - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allColumnsAlignment: [PDFTableCellAlignment] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the columns

    -
    -

    Note

    - This method can not be used to get alignments, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsAlignment: PDFTableCellAlignment { get set }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableMergable -

-
-
-
    -
  • -
    - - - - merge() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge(with:) - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    If no parameter cell is given, the first cell in the first column will be used.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge(with cell: PDFTableCell? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - cell - - -
    -

    Cell to use after merge, may be nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableContent.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableContent.html deleted file mode 100644 index cb3ee7f3..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableContent.html +++ /dev/null @@ -1,594 +0,0 @@ - - - - PDFTableContent Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableContent

-
-
- -
public class PDFTableContent : CustomStringConvertible, Hashable
-
extension PDFTableContent: PDFTableContentable
- -
-
-

Structure used to manage cell content

- -
-
- -
-
-
-
    -
  • -
    - - - - init(content:) - -
    -
    -
    -
    -
    -
    -

    Creates a new table cell content wrapping the given `content

    -
    -

    Throws

    -

    tableContentInvalid(value:) if the content has an unsupported type

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(content: Any?) throws
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - content - - -
    -

    Content of this cell, see ContentType for list of supported types.

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFTableContent, rhs: PDFTableContent) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ContentType - -
    -
    -
    -
    -
    -
    -

    Internal enumeration type used to identify the type-erased PDFTableContent/content

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    enum ContentType
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableContentable -

-
-
-
    -
  • -
    - - - - asTableContent - -
    -
    -
    -
    -
    -
    -

    Casts this instance to a PDFTableContent

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var asTableContent: PDFTableContent { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableContent/ContentType.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableContent/ContentType.html deleted file mode 100644 index 280a7714..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableContent/ContentType.html +++ /dev/null @@ -1,502 +0,0 @@ - - - - ContentType Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

ContentType

-
-
- -
enum ContentType
- -
-
-

Internal enumeration type used to identify the type-erased PDFTableContent/content

- -
-
- -
-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Undefined content type

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case none
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - string - -
    -
    -
    -
    -
    -
    -

    Content is a string value

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case string
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - attributedString - -
    -
    -
    -
    -
    -
    -

    Content is an attributed string

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case attributedString
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - image - -
    -
    -
    -
    -
    -
    -

    Content is an image

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case image
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableOfContent.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableOfContent.html deleted file mode 100644 index 614b05b5..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableOfContent.html +++ /dev/null @@ -1,537 +0,0 @@ - - - - PDFTableOfContent Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableOfContent

-
-
- -
public class PDFTableOfContent : PDFDocumentObject
- -
-
-

Creates a table of content for the given list of render objects.

- -

The given list of styles are used to identify which PDFAttributedTextObject should be considered as “headers” and therefore be in the table of contents.

- -

Furthermore, the index of the style in the list of styles is used as the nesting level.

- -

Looking at the following example document, there are 3 levels of headers defined:

- -
    -
  • Title
  • -
  • Heading 1
  • -
  • Heading 2
  • -
- -

Any other text which is not using these styles, should be considered body content text.

-
 let document = PDFDocument(format: .a4)
-
- // Define document wide styles
- let titleStyle = document.add(style: PDFTextStyle(name: "Title"))
- let headingStyle1 = document.add(style: PDFTextStyle(name: "Heading 1"))
- let headingStyle2 = document.add(style: PDFTextStyle(name: "Heading 2"))
-
- // Add a string using the title style
- document.add(textObject: PDFSimpleText(text: "TPPDF", style: titleStyle))
-
- // Add a table of content, the content will be calculated based on the usages of the styles
- document.add(text: "Table of Contents")
- document.add(tableOfContent: PDFTableOfContent(styles: [
-     headingStyle1,
-     headingStyle2,
- ], symbol: .none))
-
- // Add headline with extra spacing
- document.add(textObject: PDFSimpleText(text: "1. Introduction", style: headingStyle1))
- document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
-
- document.add(textObject: PDFSimpleText(text: "2. Images", style: headingStyle1))
- document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
-
- document.add(textObject: PDFSimpleText(text: "2.1 Special Images", style: headingStyle2))
- document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
-
- document.add(textObject: PDFSimpleText(text: "3. Tables", style: headingStyle1))
- document.add(text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")
-
- -

The output of the table of contents nested lists will look like this:

- -
    -
  • 1. Introduction - -
      -
    • 2. Images
    • -
    • 2.1 Special Images
    • -
    • 3. Tables
    • -
  • -
- -
-
- -
-
-
-
    -
  • -
    - - - - symbol - -
    -
    -
    -
    -
    -
    -

    Symbol used in the PDFList after converting the table of contents.

    - -

    See symbol for further information

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var symbol: PDFListItemSymbol
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(styles:symbol:) - -
    -
    -
    -
    -
    -
    -

    Creates a new Table Of Contents by selecting render objects matching the given styles

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(styles: [PDFTextStyle], symbol: PDFListItemSymbol)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - styles - - -
    -

    List of PDFTextStyle to select the relevant PDFAttributedText objects in the document

    -
    -
    - - symbol - - -
    -

    Symbol used for the resulting PDFList

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableRow.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableRow.html deleted file mode 100644 index 01228e53..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableRow.html +++ /dev/null @@ -1,720 +0,0 @@ - - - - PDFTableRow Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableRow

-
-
- -
public class PDFTableRow
-
extension PDFTableRow: PDFTableMergable
- -
-
-

Reference to a single row of cells in a PDFTable

- -
-
- -
-
-
-
    -
  • -
    - - - - cells - -
    -
    -
    -
    -
    -
    -

    Array of references to PDFTableCell in this row

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public private(set) var cells: [PDFTableCell] { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - subscript(_:) - -
    -
    -
    -
    -
    -
    -

    Access and modifier for a specific cell in a given row

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public subscript(column: Int) -> PDFTableCell { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in all rows or sets the content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: [PDFTableContentable?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the row

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsContent: PDFTableContent? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in row or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: [PDFTableCellStyle?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the row

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsStyle: PDFTableCellStyle? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Access alignment of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: [PDFTableCellAlignment] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the rows

    -
    -

    Note

    - This method can not be used to get alignments, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsAlignment: PDFTableCellAlignment { get set }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableMergable -

-
-
-
    -
  • -
    - - - - merge() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge(with:) - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    If no parameter cell is given, the first cell in the first row will be used.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge(with cell: PDFTableCell? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - cell - - -
    -

    Cell to use after merge, may be nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableRows.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableRows.html deleted file mode 100644 index 390e3593..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableRows.html +++ /dev/null @@ -1,789 +0,0 @@ - - - - PDFTableRows Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableRows

-
-
- -
public class PDFTableRows
-
extension PDFTableRows: PDFTableMergable
- -
-
-

References to multiple rows (PDFTableRow) of a PDFTable

- -
-
- -
-
-
-
    -
  • -
    - - - - rows - -
    -
    -
    -
    -
    -
    -

    Array of references to PDFTableRow

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let rows: [PDFTableRow]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in all rows or sets the content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: [[PDFTableContentable?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allRowsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all rows to the same

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value per row. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allRowsContent: [PDFTableContent?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the row

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsContent: PDFTableContent? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Access style of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: [[PDFTableCellStyle?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allRowsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the row

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value per row - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allRowsStyle: [PDFTableCellStyle?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the row

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsStyle: PDFTableCellStyle? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Access alignment of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: [[PDFTableCellAlignment]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allRowsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the rows

    -
    -

    Note

    - This method can not be used to get alignment, because the type can only be a single value per row - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allRowsAlignment: [PDFTableCellAlignment] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the rows

    -
    -

    Note

    - This method can not be used to get alignments, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsAlignment: PDFTableCellAlignment { get set }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableMergable -

-
-
-
    -
  • -
    - - - - merge() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge(with:) - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    If no parameter cell is given, the first cell in the first row will be used.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func merge(with cell: PDFTableCell? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - cell - - -
    -

    Cell to use after merge, may be nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableSection.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableSection.html deleted file mode 100644 index d66dd007..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableSection.html +++ /dev/null @@ -1,871 +0,0 @@ - - - - PDFTableSection Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableSection

-
-
- -
public class PDFTableSection
- -
-
-

Reference to a range of cells in a PDFTable

- -
-
- -
-
-
-
    -
  • -
    - - - - cells - -
    -
    -
    -
    -
    -
    -

    References to cells in the PDFTable

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let cells: [[PDFTableCell]]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - content - -
    -
    -
    -
    -
    -
    -

    Access content of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var content: [[PDFTableContent?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allRowsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all rows to the same

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value per row. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allRowsContent: [PDFTableContent?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allColumnsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the column

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value per column. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allColumnsContent: [PDFTableContent?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsContent - -
    -
    -
    -
    -
    -
    -

    Setter method to change the content of all cells in the section

    -
    -

    Note

    - This method can not be used to get contents, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsContent: PDFTableContent? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Access style of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: [[PDFTableCellStyle?]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allRowsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the row

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value per row - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allRowsStyle: [PDFTableCellStyle?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allColumnsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the column

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value per column - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allColumnsStyle: [PDFTableCellStyle?] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsStyle - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the column

    -
    -

    Note

    - This method can not be used to get styles, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsStyle: PDFTableCellStyle? { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - alignment - -
    -
    -
    -
    -
    -
    -

    Access alignment of all cells in section or sets a content of a subsection of cells.

    - -

    If the bounds of the section is exceeded, when setting values, an assertion error will be thrown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alignment: [[PDFTableCellAlignment]] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allRowsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the rows

    -
    -

    Note

    - This method can not be used to get alignment, because the type can only be a single value per row - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allRowsAlignment: [PDFTableCellAlignment] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allColumnsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the columns

    -
    -

    Note

    - This method can not be used to get alignment, because the type can only be a single value per column - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allColumnsAlignment: [PDFTableCellAlignment] { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCellsAlignment - -
    -
    -
    -
    -
    -
    -

    Setter method to change the style of all cells in the rows

    -
    -

    Note

    - This method can not be used to get alignments, because the type can only be a single value. - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var allCellsAlignment: PDFTableCellAlignment { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge() - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func merge()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge(with:) - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    If no parameter cell is given, the first cell in the first row and the first column will be used.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func merge(with cell: PDFTableCell? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - cell - - -
    -

    Cell to use after merge, may be nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableStyle.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableStyle.html deleted file mode 100644 index 69143698..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTableStyle.html +++ /dev/null @@ -1,884 +0,0 @@ - - - - PDFTableStyle Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableStyle

-
-
- -
public class PDFTableStyle
-
extension PDFTableStyle: Equatable
- -
-
-

Structure used to manage the styling of a PDFTable

- -

The styling of a PDFTable can be defined by setting the property style

- -
-
- -
-
-
-
    -
  • -
    - - - - rowHeaderCount - -
    -
    -
    -
    -
    -
    -

    Count of rows which will use the style configured in rowHeaderStyle

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var rowHeaderCount: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - columnHeaderCount - -
    -
    -
    -
    -
    -
    -

    Count of columns which will use the style configured in columnHeaderStyle

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var columnHeaderCount: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - footerCount - -
    -
    -
    -
    -
    -
    -

    Count of footers which will use the style configured in footerStyle

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var footerCount: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - outline - -
    -
    -
    -
    -
    -
    -

    Style used for the outer border

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var outline: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - rowHeaderStyle - -
    -
    -
    -
    -
    -
    -

    Style of cells in the header rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var rowHeaderStyle: PDFTableCellStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - columnHeaderStyle - -
    -
    -
    -
    -
    -
    -

    Style of cells in the header columns

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var columnHeaderStyle: PDFTableCellStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - footerStyle - -
    -
    -
    -
    -
    -
    -

    Style of cells in the footer rows

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var footerStyle: PDFTableCellStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - contentStyle - -
    -
    -
    -
    -
    -
    -

    Style of cells without special purpose

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var contentStyle: PDFTableCellStyle
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Style used for alternating content rows

    - -

    Setting this property will enable alternating row styling, which will apply this style to every other row

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var alternatingContentStyle: PDFTableCellStyle?
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Create a table style

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    rowHeaderCount: Int = 1,
    -    columnHeaderCount: Int = 1,
    -    footerCount: Int = 1,
    -    outline: PDFLineStyle = PDFLineStyle(),
    -    rowHeaderStyle: PDFTableCellStyle = PDFTableCellStyle(),
    -    columnHeaderStyle: PDFTableCellStyle = PDFTableCellStyle(),
    -    footerStyle: PDFTableCellStyle = PDFTableCellStyle(),
    -    contentStyle: PDFTableCellStyle = PDFTableCellStyle(),
    -    alternatingContentStyle: PDFTableCellStyle? = nil
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - rowHeaderCount - - -
    -

    Number of top rows which have header style

    -
    -
    - - columnHeaderCount - - -
    -

    Number of left columns with header style

    -
    -
    - - footerCount - - -
    -

    Number of footer rows with header style

    -
    -
    - - outline - - -
    -

    Line style of the outer borderlines

    -
    -
    - - showHorizontalGridLines - - -
    -

    Render horizontal grid lines

    -
    -
    - - showVerticalGridLines - - -
    -

    Render vertical grid lines

    -
    -
    - - showRowHeaderGridLines - - -
    -

    Render row header grid lines

    -
    -
    - - showColumnHeaderGridLines - - -
    -

    Render column header grid lines

    -
    -
    - - showFooterGridLines - - -
    -

    Render footer grid lines

    -
    -
    - - rowHeaderStyle - - -
    -

    The cell style of row header cells

    -
    -
    - - columnHeaderStyle - - -
    -

    The cell style of row header cells

    -
    -
    - - footerStyle - - -
    -

    The cell style of row header cells

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - copy() - -
    -
    -
    -
    -
    -
    -

    Creates a identical copy of this style

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func copy() -> PDFTableStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFTableStyle, rhs: PDFTableStyle) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFText.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFText.html deleted file mode 100644 index 3498d62e..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFText.html +++ /dev/null @@ -1,426 +0,0 @@ - - - - PDFText Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFText

-
-
- -
public class PDFText : PDFDocumentObject, CustomStringConvertible
- -
-
-

Abstract class all text objects should implement

- -
-
- -
-
-
-
    -
  • -
    - - - - copy - -
    -
    -
    -
    -
    -
    -

    Creates a new copy of this text

    -
    -

    Note

    - Must be implemented by all subclasses - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var copy: PDFText { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTextStyle.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTextStyle.html deleted file mode 100644 index 122b2730..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Classes/PDFTextStyle.html +++ /dev/null @@ -1,633 +0,0 @@ - - - - PDFTextStyle Class Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTextStyle

-
-
- -
public class PDFTextStyle : Hashable
- -
-
-

Structure to combine multiple aspects of text styling.

- -

Used to define text styling configuration in a global context.

- -

Furthermore, styles of a PDFDocument should be used to select headers for a PDFTableOfContent. - See PDFTableOfContent for details.

- -
-
- -
-
-
-
    -
  • -
    - - - - name - -
    -
    -
    -
    -
    -
    -

    Name of style

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var name: String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - font - -
    -
    -
    -
    -
    -
    -

    Font of the text

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var font: Font?
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - color - -
    -
    -
    -
    -
    -
    -

    Color of the text

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var color: Color?
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new style with the given parameters.

    - -

    By setting all parameters to nil (except name, which is required) the style can be used only to detect text objects - for the PDFTableOfContent, without actually affecting the styling of the text.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(name: String, font: Font? = nil, color: Color? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - name - - -
    -

    Name of style

    -
    -
    - - font - - -
    -

    Font of text, defaults to nil

    -
    -
    - - color - - -
    -

    Color of text, defaults to nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFTextStyle, rhs: PDFTextStyle) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums.html deleted file mode 100644 index 61cc8def..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums.html +++ /dev/null @@ -1,764 +0,0 @@ - - - - Enumerations Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Enumerations

-

The following enumerations are available globally.

- -
-
- -
-
-
-
    -
  • -
    - - - - PDFLineType - -
    -
    -
    -
    -
    -
    -

    Different types of lines

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFLineType : String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFGroupContainer - -
    -
    -
    -
    -
    -
    -

    A section container defines the position of an element in a column of a given container.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFGroupContainer
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFImageSizeFit - -
    -
    -
    -
    -
    -
    -

    Constants defining scaling behaviour of an image, if not enough space to render full size is given.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFImageSizeFit
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFContainer - -
    -
    -
    -
    -
    -
    -

    A container defines the position of an element in the page.

    - -

    Generally a document is vertically split up into a header, a content and a footer area. - Also each part is horizontally split up into a left, a center and a right area.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFContainer : CaseIterable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFListItemSymbol - -
    -
    -
    -
    -
    -
    -

    Symbol used by a list item in a PDFList

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFListItemSymbol : RawRepresentable, Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFPageFormat - -
    -
    -
    -
    -
    -
    -

    Standardized paper formats, commonly used around the world.

    - -

    All sizes are calculated using 72 points/inch

    -
    -

    See also

    - Source - -
    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFPageFormat : String, CaseIterable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableCellAlignment - -
    -
    -
    -
    -
    -
    -

    Options for aligning content inside a table cell

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFTableCellAlignment : String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableStyleDefaults - -
    -
    -
    -
    -
    -
    -

    A collection of commonly used “PDFTableStyle

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFTableStyleDefaults
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFConstants - -
    -
    -
    -
    -
    -
    -

    Constants used throught the framework

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFConstants
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFError - -
    -
    -
    -
    -
    -
    -

    List of errors which can be thrown during configuration, calculations or rendering

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFError : LocalizedError
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    A section container defines the position of an element in a column of a given container.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFSectionColumnContainer
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFPaginationStyle - -
    -
    -
    -
    -
    -
    -

    Use predefined pagination styles or create a custom one, using .CustomNumberFormat or .CustomClosure.

    - -

    Enums using a template String as parameter will replace the first instance of %@ with the index and the second one with the total amount of pages.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFPaginationStyle
    -
    extension PDFPaginationStyle: Equatable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFObjectAttribute - -
    -
    -
    -
    -
    -
    -

    List of attributes an object can obtain

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum PDFObjectAttribute : Hashable
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFConstants.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFConstants.html deleted file mode 100644 index 4f30c45c..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFConstants.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - PDFConstants Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFConstants

-
-
- -
public enum PDFConstants
- -
-
-

Constants used throught the framework

- -
-
- -
-
-
-
    -
  • -
    - - - - defaultFontSize - -
    -
    -
    -
    -
    -
    -

    Default font size for objects

    - -

    In earlier versions the default UIFont.systemFontSize was used, but during implementation of macOS support, - findings showed that it differs toNSFont.systemFontSize. Therefore the new default font size is declared here.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let defaultFontSize: CGFloat
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFContainer.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFContainer.html deleted file mode 100644 index ad3ea06c..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFContainer.html +++ /dev/null @@ -1,667 +0,0 @@ - - - - PDFContainer Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFContainer

-
-
- -
public enum PDFContainer : CaseIterable
- -
-
-

A container defines the position of an element in the page.

- -

Generally a document is vertically split up into a header, a content and a footer area. - Also each part is horizontally split up into a left, a center and a right area.

- -
-
- -
-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Element is in no container, only real use is as a default value

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case none
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - headerLeft - -
    -
    -
    -
    -
    -
    -

    Container at the top left

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case headerLeft
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - headerCenter - -
    -
    -
    -
    -
    -
    -

    Container at the top center

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case headerCenter
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - headerRight - -
    -
    -
    -
    -
    -
    -

    Container at the top right

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case headerRight
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - contentLeft - -
    -
    -
    -
    -
    -
    -

    Container in the center, aligned to left

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case contentLeft
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - contentCenter - -
    -
    -
    -
    -
    -
    -

    Container in the center, aligned to center

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case contentCenter
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - contentRight - -
    -
    -
    -
    -
    -
    -

    Container in the center, aligned to right

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case contentRight
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - footerLeft - -
    -
    -
    -
    -
    -
    -

    Container at the bottom left

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case footerLeft
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - footerCenter - -
    -
    -
    -
    -
    -
    -

    Container at the bottom center

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case footerCenter
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - footerRight - -
    -
    -
    -
    -
    -
    -

    Container at the bottom right

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case footerRight
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFError.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFError.html deleted file mode 100644 index b28155ad..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFError.html +++ /dev/null @@ -1,693 +0,0 @@ - - - - PDFError Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFError

-
-
- -
public enum PDFError : LocalizedError
- -
-
-

List of errors which can be thrown during configuration, calculations or rendering

- -
-
- -
-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    The associated value is an instance of an unsupported type.

    - -

    See PDFTableContent/setContent(content:) for details.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case tableContentInvalid(value: Any?)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - tableIsEmpty - -
    -
    -
    -
    -
    -
    -

    Indicates that a table without any data was added to the document, which is unsupported

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case tableIsEmpty
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    The given table structure does not match, i.e. the data matrix size does not match the cell alignment configuration

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case tableStructureInvalid(message: String)
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Thrown when accessing a cell outside of the table bounds

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case tableIndexOutOfBounds(index: Int, length: Int)
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Indicates that the cell is too big to be rendered onto a single page

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case tableCellTooBig(cell: PDFTableCell)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - textObjectIsNil - -
    -
    -
    -
    -
    -
    -

    Thrown when neither a PDFSimpleText nor a NSAttributedString is set in an PDFAttributedText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case textObjectIsNil
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Thrown when a PDFAttributedText should be rendered without being calculated first

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case textObjectNotCalculated
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - copyingFailed - -
    -
    -
    -
    -
    -
    -

    Thrown when copying of a PDF object fails

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case copyingFailed
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Thrown when an external PDF document could not be loaded from the given url

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case externalDocumentURLInvalid(url: URL)
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Index of page in external document is out of bounds

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case pageOutOfBounds(index: Int)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - errorDescription - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var errorDescription: String? { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFGroupContainer.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFGroupContainer.html deleted file mode 100644 index 71e9208d..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFGroupContainer.html +++ /dev/null @@ -1,502 +0,0 @@ - - - - PDFGroupContainer Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFGroupContainer

-
-
- -
public enum PDFGroupContainer
- -
-
-

A section container defines the position of an element in a column of a given container.

- -
-
- -
-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Element is in no container, only real use is as a default value

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case none
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - left - -
    -
    -
    -
    -
    -
    -

    Container aligned to left

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case left
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - center - -
    -
    -
    -
    -
    -
    -

    Container aligned to center

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case center
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - right - -
    -
    -
    -
    -
    -
    -

    Container aligned to right

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case right
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFImageSizeFit.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFImageSizeFit.html deleted file mode 100644 index 890f4141..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFImageSizeFit.html +++ /dev/null @@ -1,475 +0,0 @@ - - - - PDFImageSizeFit Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFImageSizeFit

-
-
- -
public enum PDFImageSizeFit
- -
-
-

Constants defining scaling behaviour of an image, if not enough space to render full size is given.

- -
-
- -
-
-
-
    -
  • -
    - - - - width - -
    -
    -
    -
    -
    -
    -

    Scale the image to fit the available width, while keeping the aspect ratio

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case width
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - height - -
    -
    -
    -
    -
    -
    -

    Scale the image to fit the available height, while keeping the aspect ratio

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case height
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - widthHeight - -
    -
    -
    -
    -
    -
    -

    Scale the image to fit the available width or height, while keeping the aspect ratio

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case widthHeight
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFLineType.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFLineType.html deleted file mode 100644 index fa2918a2..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFLineType.html +++ /dev/null @@ -1,506 +0,0 @@ - - - - PDFLineType Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFLineType

-
-
- -
public enum PDFLineType : String
- -
-
-

Different types of lines

- -
-
- -
-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    No visible line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case none
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - full - -
    -
    -
    -
    -
    -
    -

    Full line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case full
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - dashed - -
    -
    -
    -
    -
    -
    -

    Dashed Line

    - -

    Dash length and spacing is three times the line width

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case dashed
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - dotted - -
    -
    -
    -
    -
    -
    -

    Dotted Line

    - -

    Dot spacing is twice the line width

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case dotted
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFListItemSymbol.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFListItemSymbol.html deleted file mode 100644 index d55c2934..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFListItemSymbol.html +++ /dev/null @@ -1,750 +0,0 @@ - - - - PDFListItemSymbol Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFListItemSymbol

-
-
- -
public enum PDFListItemSymbol : RawRepresentable, Hashable
- -
-
-

Symbol used by a list item in a PDFList

- -
-
- -
-
-
-
    -
  • -
    - - - - RawValue - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias RawValue = String
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Doesn’t display a symbol before the content

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case none
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - inherit - -
    -
    -
    -
    -
    -
    -

    If an item is nested and uses this symbol, it will take the same one as the parent.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case inherit
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - dot - -
    -
    -
    -
    -
    -
    -

    Symbol is a middle-dot

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case dot
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - dash - -
    -
    -
    -
    -
    -
    -

    Symbol is a dash/minus.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case dash
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - custom(value:) - -
    -
    -
    -
    -
    -
    -

    Any string value must be provided, which will then be used as the symbol.

    - -

    The indentation value of the PDFList must be set correctly in the initializer init(indentations:), - as the indentation is not based on the symbol frame width.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case custom(value: String)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - numbered(value:) - -
    -
    -
    -
    -
    -
    -

    When the parent of multiple list items is of type numbered, it will then use the index as the symbol, starting with 1 and - append a dot . to the number.

    - -

    If a value is provided, this will be used for the parent item, in case you want to override the value.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case numbered(value: String?)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - stringValue - -
    -
    -
    -
    -
    -
    -

    Returns the symbol as a string, to be calculated and rendered using PDFText

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var stringValue: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - rawValue - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var rawValue: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(rawValue:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init?(rawValue: PDFListItemSymbol.RawValue)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFListItemSymbol, rhs: PDFListItemSymbol) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFObjectAttribute.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFObjectAttribute.html deleted file mode 100644 index a4c507c2..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFObjectAttribute.html +++ /dev/null @@ -1,421 +0,0 @@ - - - - PDFObjectAttribute Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFObjectAttribute

-
-
- -
public enum PDFObjectAttribute : Hashable
- -
-
-

List of attributes an object can obtain

- -
-
- -
-
-
-
    -
  • -
    - - - - link(url:) - -
    -
    -
    -
    -
    -
    -

    Adds a clickable link with a redirection to the given URL

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case link(url: URL)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFPageFormat.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFPageFormat.html deleted file mode 100644 index 3730e1b5..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFPageFormat.html +++ /dev/null @@ -1,1934 +0,0 @@ - - - - PDFPageFormat Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFPageFormat

-
-
- -
public enum PDFPageFormat : String, CaseIterable
- -
-
-

Standardized paper formats, commonly used around the world.

- -

All sizes are calculated using 72 points/inch

-
-

See also

- Source - -
- -
-
- -
-
-
-
    -
  • -
    - - - - usHalfLetter - -
    -
    -
    -
    -
    -
    -

    Page formats mostly used in the USA

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case usHalfLetter = "us.half-letter"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - usLetter - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case usLetter = "us.letter"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - usLegal - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case usLegal = "us.legal"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - usJuniorLegal - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case usJuniorLegal = "us.junior-legal"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - usLedger - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case usLedger = "us.ledger"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiA - -
    -
    -
    -
    -
    -
    -

    Page formats according to the American National Standards Institute

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case ansiA = "ansi.a"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiB - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case ansiB = "ansi.b"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiC - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case ansiC = "ansi.c"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiD - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case ansiD = "ansi.d"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiE - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case ansiE = "ansi.e"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a0 - -
    -
    -
    -
    -
    -
    -

    A-Series of paper standard DIN 476

    - - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a0
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a1 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a1
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a2 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a2
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a3 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a3
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a4 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a4
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a5 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a5
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a6 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a6
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a7 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a7
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a8 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a8
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a9 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a9
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - a10 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case a10
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b0 - -
    -
    -
    -
    -
    -
    -

    B-Series is the geometric mean of the A-series

    - - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b0
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b1 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b1
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b2 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b2
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b3 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b3
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b4 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b4
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b5 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b5
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b6 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b6
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b7 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b7
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b8 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b8
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b9 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b9
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - b10 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case b10
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c0 - -
    -
    -
    -
    -
    -
    -

    C-Series is ususally used for envelopes. Definition is written in ISO 269

    - -

    For more detail: https://en.wikipedia.org/wiki/Paper_size#C_series

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c0
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c1 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c1
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c2 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c2
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c3 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c3
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c4 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c4
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c5 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c5
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c6 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c6
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c7 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c7
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c8 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c8
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c9 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c9
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - c10 - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case c10
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - size - -
    -
    -
    -
    -
    -
    -

    Size defined in constants

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var size: CGSize { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - landscapeSize - -
    -
    -
    -
    -
    -
    -

    Swaps height and width to create a landscape format

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var landscapeSize: CGSize { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - name - -
    -
    -
    -
    -
    -
    -

    Name defined in constants

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var name: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - layout - -
    -
    -
    -
    -
    -
    -

    Shorthand method to create a default PDFPageLayout based on the this formats size.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var layout: PDFPageLayout { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - usName - -
    -
    -
    -
    -
    -
    -

    Returns the defined US names if this format is a US format.

    - -

    If it is not a US format, it will check other constants for correct name

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var usName: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiName - -
    -
    -
    -
    -
    -
    -

    Returns the defined ANSI name if this format is a ANSI format.

    - -

    If it is not a ANSI format, it will check other constants for correct name

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var ansiName: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - aName - -
    -
    -
    -
    -
    -
    -

    Returns the defined A-Series name if this format is a A-Series format.

    - -

    If it is not a A-Series format, it will check other constants for correct name

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var aName: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bName - -
    -
    -
    -
    -
    -
    -

    Returns the defined B-Series name if this format is a B-Series format.

    - -

    If it is not a B-Series format, it will check other constants for correct name

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var bName: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - cName - -
    -
    -
    -
    -
    -
    -

    Returns the defined C-Series name if this format is a C-Series format.

    - -

    If it is not a C-Series format, it will check other constants for correct name

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var cName: String { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - usSize - -
    -
    -
    -
    -
    -
    -

    Returns the defined US paper size if this format is a US format.

    - -

    If it is not a US format, it will check other constants for correct size

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var usSize: CGSize { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ansiSize - -
    -
    -
    -
    -
    -
    -

    Returns the defined ANSI paper size if this format is a ANSI format.

    - -

    If it is not a ANSI format, it will check other constants for correct size

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var ansiSize: CGSize { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - aSize - -
    -
    -
    -
    -
    -
    -

    Returns the defined A-Series paper size if this format is a A-Series format.

    - -

    If it is not a A-Series format, it will check other constants for correct size

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var aSize: CGSize { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bSize - -
    -
    -
    -
    -
    -
    -

    Returns the defined B-Series paper size if this format is a B-Series format.

    - -

    If it is not a B-Series format, it will check other constants for correct size

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var bSize: CGSize { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - cSize - -
    -
    -
    -
    -
    -
    -

    Returns the defined C-Series paper size if this format is a C-Series format.

    - -

    If it is not a C-Series format, it will check other constants for correct size

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var cSize: CGSize { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFPaginationStyle.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFPaginationStyle.html deleted file mode 100644 index c3febe2b..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFPaginationStyle.html +++ /dev/null @@ -1,646 +0,0 @@ - - - - PDFPaginationStyle Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFPaginationStyle

-
-
- -
public enum PDFPaginationStyle
-
extension PDFPaginationStyle: Equatable
- -
-
-

Use predefined pagination styles or create a custom one, using .CustomNumberFormat or .CustomClosure.

- -

Enums using a template String as parameter will replace the first instance of %@ with the index and the second one with the total amount of pages.

- -
-
- -
-
-
-
    -
  • -
    - - - - default - -
    -
    -
    -
    -
    -
    -

    Default format, concats current page and total pages with a dash.

    - -

    e.g. Converts page 1 of 3 to “1 - 3”

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case `default`
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - roman(template:) - -
    -
    -
    -
    -
    -
    -

    Returns pagination in roman numerals.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case roman(template: String)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - template - - -
    -

    Template String, instances of %@ will be replaced.

    -
    -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Formats pagination numbers using the formatter and formatting the string using the given template.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case customNumberFormat(template: String, formatter: NumberFormatter)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - template - - -
    -

    Template string where $@ is replaced

    -
    -
    - - formatter - - -
    -

    Number formatter

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - customClosure(_:) - -
    -
    -
    -
    -
    -
    -

    Formats the pagination using the provided closure

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case customClosure(PDFPaginationClosure)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - format(page:total:) - -
    -
    -
    -
    -
    -
    -

    Creates formatted pagination string.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func format(page: Int, total: Int) -> String
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - page - - -
    -

    Int - Current page

    -
    -
    - - total - - -
    -

    Int - Total amount of pages.

    -
    -
    -
    -
    -

    Return Value

    -

    Formatted String

    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    TODO: Documentation

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFPaginationStyle, rhs: PDFPaginationStyle) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFSectionColumnContainer.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFSectionColumnContainer.html deleted file mode 100644 index e8e02e3e..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFSectionColumnContainer.html +++ /dev/null @@ -1,502 +0,0 @@ - - - - PDFSectionColumnContainer Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFSectionColumnContainer

-
-
- -
public enum PDFSectionColumnContainer
- -
-
-

A section container defines the position of an element in a column of a given container.

- -
-
- -
-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Element is in no container, only real use is as a default value

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case none
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - left - -
    -
    -
    -
    -
    -
    -

    Container aligned to left

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case left
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - center - -
    -
    -
    -
    -
    -
    -

    Container aligned to center

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case center
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - right - -
    -
    -
    -
    -
    -
    -

    Container aligned to right

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case right
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFTableCellAlignment.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFTableCellAlignment.html deleted file mode 100644 index 808c35f5..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFTableCellAlignment.html +++ /dev/null @@ -1,637 +0,0 @@ - - - - PDFTableCellAlignment Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableCellAlignment

-
-
- -
public enum PDFTableCellAlignment : String
- -
-
-

Options for aligning content inside a table cell

- -
-
- -
-
-
-
    -
  • -
    - - - - topLeft - -
    -
    -
    -
    -
    -
    -

    Content will be aligned in the top left corner

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case topLeft = "top-left"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - top - -
    -
    -
    -
    -
    -
    -

    Content will be aligned with the top edge, centered horizontally

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case top
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - topRight - -
    -
    -
    -
    -
    -
    -

    Content will be aligned in the top right corner

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case topRight = "top-right"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - left - -
    -
    -
    -
    -
    -
    -

    Content will be aligned with the left edge, centered vertically

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case left
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - center - -
    -
    -
    -
    -
    -
    -

    Content will be centered horizontally & vertically

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case center
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - right - -
    -
    -
    -
    -
    -
    -

    Content will be aligned with the right edge, centered horizontally

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case right
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomLeft - -
    -
    -
    -
    -
    -
    -

    Content will be aligned in the bottom left corner

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case bottomLeft = "bottom-left"
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottom - -
    -
    -
    -
    -
    -
    -

    Content will be aligned with the bottom edge, centered horizontally

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case bottom
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomRight - -
    -
    -
    -
    -
    -
    -

    Content will be aligned in the top right corner

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    case bottomRight = "bottom-right"
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFTableStyleDefaults.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFTableStyleDefaults.html deleted file mode 100644 index b8179374..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Enums/PDFTableStyleDefaults.html +++ /dev/null @@ -1,468 +0,0 @@ - - - - PDFTableStyleDefaults Enumeration Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableStyleDefaults

-
-
- -
public enum PDFTableStyleDefaults
- -
-
-

A collection of commonly used “PDFTableStyle

- -
-
- -
-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    None:

    - -
      -
    • No header rows
    • -
    • No header columns
    • -
    • No footer row
    • -
    • No alternating rows
    • -
    • Simple outline
    • -
    • Simple borders
    • -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var none: PDFTableStyle { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - simple - -
    -
    -
    -
    -
    -
    -

    Simple table:

    - -
      -
    • One header row
    • -
    • One header column
    • -
    • Row Header:
    • -
    • Text color white
    • -
    • No border, only light gray border at bottom
    • -
    • Column Header:
    • -
    • Bold font
    • -
    • Alternating content rows
    • -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var simple: PDFTableStyle { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions.html deleted file mode 100644 index 537c1b7d..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions.html +++ /dev/null @@ -1,711 +0,0 @@ - - - - Extensions Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Extensions

-

The following extensions are available globally.

- -
-
- -
-
-
- -
-
-
- - -
- -

Int + PDFTableContentable -

-
-
- -
-
-
- - -
- -

Double + PDFTableContentable -

-
-
- -
-
-
- - -
- -

Float + PDFTableContentable -

-
-
- -
-
-
- - -
- -

Image + PDFTableContentable -

-
-
- -
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/CGPoint.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/CGPoint.html deleted file mode 100644 index 58aaca36..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/CGPoint.html +++ /dev/null @@ -1,641 +0,0 @@ - - - - CGPoint Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

CGPoint

-
-
- -
extension CGPoint
- -
-
- -
-
- -
-
-
-
    -
  • -
    - - - - +(_:_:) - -
    -
    -
    -
    -
    -
    -

    Adds a vector to a point

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func + (lhs: CGPoint, rhs: CGVector) -> CGPoint
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - lhs - - -
    -

    CGPoint

    -
    -
    - - rhs - - -
    -

    CGVector

    -
    -
    -
    -
    -

    Return Value

    -

    Translated point

    -
    -
    -
    -
  • -
  • -
    - - - - +(_:_:) - -
    -
    -
    -
    -
    -
    -

    Adds two points together, by adding their components.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func + (lhs: CGPoint, rhs: CGPoint) -> CGPoint
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - lhs - - -
    -

    CGPoint

    -
    -
    - - rhs - - -
    -

    CGPoint

    -
    -
    -
    -
    -

    Return Value

    -

    Added point

    -
    -
    -
    -
  • -
  • -
    - - - - -(_:_:) - -
    -
    -
    -
    -
    -
    -

    Subtracts two points from each other, by subtracting their components.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func - (lhs: CGPoint, rhs: CGPoint) -> CGPoint
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - lhs - - -
    -

    CGPoint

    -
    -
    - - rhs - - -
    -

    CGPoint

    -
    -
    -
    -
    -

    Return Value

    -

    Subtracted point

    -
    -
    -
    -
  • -
  • -
    - - - - +(_:_:) - -
    -
    -
    -
    -
    -
    -

    Adds a value to both components of a point

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func + (lhs: CGPoint, value: CGFloat) -> CGPoint
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - lhs - - -
    -

    Point

    -
    -
    - - value - - -
    -

    Value

    -
    -
    -
    -
    -

    Return Value

    -

    Moved point

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/CustomDebugStringConvertible.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/CustomDebugStringConvertible.html deleted file mode 100644 index 4ce7c2cb..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/CustomDebugStringConvertible.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - CustomDebugStringConvertible Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

CustomDebugStringConvertible

-
-
- -
extension CustomDebugStringConvertible
- -
-
- -
-
- -
-
-
-
    -
  • -
    - - - - debugDescription - -
    -
    -
    -
    -
    -
    -

    Default implementation for debugDescription using class reflection to create a comma concatenated list of properties and values

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var debugDescription: String { get }
    - -
    -
    -
    -

    Return Value

    -

    String of comma-separated key/value pairs

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/CustomStringConvertible.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/CustomStringConvertible.html deleted file mode 100644 index bc9057c0..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/CustomStringConvertible.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - CustomStringConvertible Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

CustomStringConvertible

-
-
- -
extension CustomStringConvertible
- -
-
- -
-
- -
-
-
-
    -
  • -
    - - - - description - -
    -
    -
    -
    -
    -
    -

    Default implementation for description using class reflection to create a comma concatenated list of properties and values

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var description: String { get }
    - -
    -
    -
    -

    Return Value

    -

    String of comma-separated key/value pairs

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/Double.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/Double.html deleted file mode 100644 index 2c457fa3..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/Double.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - Double Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Double

-
-
- -
extension Double: PDFTableContentable
- -
-
- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/Float.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/Float.html deleted file mode 100644 index a6589cfd..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/Float.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - Float Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Float

-
-
- -
extension Float: PDFTableContentable
- -
-
- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/Image.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/Image.html deleted file mode 100644 index d4803fa4..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/Image.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - Image Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Image

-
-
- -
extension Image: PDFTableContentable
- -
-
- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/Int.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/Int.html deleted file mode 100644 index 2a9c6c81..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/Int.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - Int Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Int

-
-
- -
extension Int: PDFTableContentable
- -
-
- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/NSAttributedString.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/NSAttributedString.html deleted file mode 100644 index 9289b923..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/NSAttributedString.html +++ /dev/null @@ -1,421 +0,0 @@ - - - - NSAttributedString Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

NSAttributedString

-
-
- -
extension NSAttributedString: PDFTableContentable
- -
-
-

Adds functionality to convert to PDF table content

- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/NSEdgeInsets.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/NSEdgeInsets.html deleted file mode 100644 index 38826d82..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/NSEdgeInsets.html +++ /dev/null @@ -1,447 +0,0 @@ - - - - NSEdgeInsets Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

NSEdgeInsets

-
-
- -
public extension NSEdgeInsets
-
extension NSEdgeInsets: Equatable
- -
-
- -
-
- -
-
-
-
    -
  • -
    - - - - zero - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    static var zero: NSEdgeInsets { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: NSEdgeInsets, rhs: NSEdgeInsets) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/String.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/String.html deleted file mode 100644 index ed441e8a..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Extensions/String.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - String Extension Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

String

-
-
- -
extension String: PDFTableContentable
- -
-
- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols.html deleted file mode 100644 index 0f37a1c9..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols.html +++ /dev/null @@ -1,583 +0,0 @@ - - - - Protocols Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Protocols

-

The following protocols are available globally.

- -
-
- -
-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Protocol used to delegate drawing of images

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFGeneratorImageDelegate : AnyObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFGeneratorProtocol - -
    -
    -
    -
    -
    -
    -

    Protocol including all public methods and accessors available for generating documents

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFGeneratorProtocol : AnyObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableContentable - -
    -
    -
    -
    -
    -
    -

    Protocol to extend a type with a converter to PDFTableContent

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFTableContentable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableMergable - -
    -
    -
    -
    -
    -
    -

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

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFTableMergable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFCopy - -
    -
    -
    -
    -
    -
    -

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

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFCopy
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTaggableObject - -
    -
    -
    -
    -
    -
    -

    Object can be identified using the tag property

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFTaggableObject
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFAttributableObject - -
    -
    -
    -
    -
    -
    -

    Protocol for adding attributes to an object

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public protocol PDFAttributableObject
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFAttributableObject.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFAttributableObject.html deleted file mode 100644 index 9cb2e07b..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFAttributableObject.html +++ /dev/null @@ -1,470 +0,0 @@ - - - - PDFAttributableObject Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFAttributableObject

-
-
- -
public protocol PDFAttributableObject
- -
-
-

Protocol for adding attributes to an object

- -
-
- -
-
-
-
    -
  • -
    - - - - attributes - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var attributes: [PDFObjectAttribute] { get }
    - -
    -
    -
    -

    Return Value

    -

    List off attributes of this object

    -
    -
    -
    -
  • -
  • -
    - - - - add(attribute:) - -
    -
    -
    -
    -
    -
    -

    Adds an attribute to the list of this object

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func add(attribute: PDFObjectAttribute)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - attribute - - -
    -

    Attribute used for further calculations

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFCopy.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFCopy.html deleted file mode 100644 index e5bcb90c..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFCopy.html +++ /dev/null @@ -1,448 +0,0 @@ - - - - PDFCopy Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFCopy

-
-
- -
public protocol PDFCopy
- -
-
-

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

- -
-
- -
-
-
-
    -
  • -
    - - - - Element - -
    -
    -
    -
    -
    -
    -

    Type of intance, used to add generic to protocol

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    associatedtype Element
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - copy - -
    -
    -
    -
    -
    -
    -

    Returns a new instance that’s a copy of the receiver.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var copy: Element { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFGeneratorImageDelegate.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFGeneratorImageDelegate.html deleted file mode 100644 index 2bb70f4a..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFGeneratorImageDelegate.html +++ /dev/null @@ -1,425 +0,0 @@ - - - - PDFGeneratorImageDelegate Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFGeneratorImageDelegate

-
-
- -
public protocol PDFGeneratorImageDelegate : AnyObject
- -
-
-

Protocol used to delegate drawing of images

- -
-
- -
-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Called directly before a PDFImage is drawn into the graphics context

    - -

    As the image is a reference object, it is possible to read and manipulate the object before rendering.

    - -

    One use-case could be overlaying the image with a watermark, after it final frame is calculated.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generator(willBeginDrawingImage image: PDFImage, with context: PDFContext, in frame: CGRect)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFGeneratorProtocol.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFGeneratorProtocol.html deleted file mode 100644 index 57f81881..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFGeneratorProtocol.html +++ /dev/null @@ -1,794 +0,0 @@ - - - - PDFGeneratorProtocol Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFGeneratorProtocol

-
-
- -
public protocol PDFGeneratorProtocol : AnyObject
- -
-
-

Protocol including all public methods and accessors available for generating documents

- -
-
- -
-
-
-
    -
  • -
    - - - - progress - -
    -
    -
    -
    -
    -
    -

    Instance of Progress used to track and control the multi-document generation

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var progress: Progress { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - debug - -
    -
    -
    -
    -
    -
    -

    Flag to enable or disable the debug overlay

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var debug: Bool { get set }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - generateURL(filename:info:) - - - Default implementation - -
    -
    -
    -
    -
    -
    -

    Creates a file in a guaranteed temporary folder with the given filename, generates the PDF context data and writes the result into the file.

    - -

    Keep in mind, the output file is in a temporary folder of the OS and should be persisted by your own logic.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -

    Default Implementation

    -
    -

    Creates a file in a guaranteed temporary folder with the given filename, generates the PDF context data and writes the result into the file.

    - -

    Keep in mind, the output file is in a temporary folder of the OS and should be persisted by your own logic.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateURL(filename: String, info: PDFInfo?) throws -> URL
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - filename - - -
    -

    Name of output file, .pdf will be appended if not given

    -
    -
    - - info - - -
    -

    Instance of PDFInfo with meta file information, defaults to default initializer of PDFInfo

    -
    -
    -
    -
    -

    Return Value

    -

    Temporary URL to the output file

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a file in a guaranteed temporary folder with the given filename, generates the PDF context data and writes the result into the file.

    - -

    Keep in mind, the output file is in a temporary folder of the OS and should be persisted by your own logic.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateURL(filename: String) throws -> URL
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - filename - - -
    -

    Name of output file, .pdf will be appended if not given

    -
    -
    -
    -
    -

    Return Value

    -

    Temporary URL to the output file

    -
    -
    -
    -
  • -
  • -
    - - - - generate(to:info:) - -
    -
    -
    -
    -
    -
    -

    Creates a file at the given file URL, generates the PDF context data and writes the result idata nto the file.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generate(to url: URL, info: PDFInfo?) throws
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - target - - -
    -

    URL of output file,

    -
    -
    - - info - - -
    -

    Instance of PDFInfo with meta file information

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - generate(to:) - -
    -
    -
    -
    -
    -
    -

    Creates a file at the given file URL, generates the PDF context data and writes the result idata nto the file.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generate(to url: URL) throws
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - target - - -
    -

    URL of output file,

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - generateData(info:) - -
    -
    -
    -
    -
    -
    -

    Generates and returns the PDF context data.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateData(info: PDFInfo?) throws -> Data
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - info - - -
    -

    Instance of PDFInfo with meta file information

    -
    -
    -
    -
    -

    Return Value

    -

    PDF data

    -
    -
    -
    -
  • -
  • -
    - - - - generateData() - -
    -
    -
    -
    -
    -
    -

    Generates and returns the PDF context data.

    -
    -

    Throws

    -

    Exception, if something went wrong

    - -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func generateData() throws -> Data
    - -
    -
    -
    -

    Return Value

    -

    PDF data

    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFTableContentable.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFTableContentable.html deleted file mode 100644 index 854ab804..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFTableContentable.html +++ /dev/null @@ -1,421 +0,0 @@ - - - - PDFTableContentable Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableContentable

-
-
- -
public protocol PDFTableContentable
- -
-
-

Protocol to extend a type with a converter to PDFTableContent

- -
-
- -
-
-
- -
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFTableMergable.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFTableMergable.html deleted file mode 100644 index edc6bdcd..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFTableMergable.html +++ /dev/null @@ -1,472 +0,0 @@ - - - - PDFTableMergable Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableMergable

-
-
- -
public protocol PDFTableMergable
- -
-
-

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

- -
-
- -
-
-
-
    -
  • -
    - - - - merge() - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    See merge(with cell:) for more.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func merge()
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - merge(with:) - -
    -
    -
    -
    -
    -
    -

    Merges all cells by replacing them with the same reference.

    - -

    If parameter cell is given, it will be the value after the merge. - Otherwise the implementation behaviour is unknown.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    func merge(with cell: PDFTableCell?)
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - cell - - -
    -

    Cell to use after merge, may be nil

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFTaggableObject.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFTaggableObject.html deleted file mode 100644 index dc932274..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Protocols/PDFTaggableObject.html +++ /dev/null @@ -1,423 +0,0 @@ - - - - PDFTaggableObject Protocol Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTaggableObject

-
-
- -
public protocol PDFTaggableObject
- -
-
-

Object can be identified using the tag property

- -
-
- -
-
-
-
    -
  • -
    - - - - tag - -
    -
    -
    -
    -
    -
    -

    An integer that you can use to identify document objects in your application.

    - -

    The default value is 0. You can set the value of this tag and use that value to identify the object later.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    var tag: Int { get set }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs.html deleted file mode 100644 index 82602c13..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs.html +++ /dev/null @@ -1,681 +0,0 @@ - - - - Structures Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Structures

-

The following structures are available globally.

- -
-
- -
-
-
-
    -
  • -
    - - - - PDFDocumentBackground - -
    -
    -
    -
    -
    -
    -

    Document background configuration

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFDocumentBackground
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFLineStyle - -
    -
    -
    -
    -
    -
    -

    Structure defining how a line should be drawn into graphics context

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFLineStyle : Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFImageOptions - -
    -
    -
    -
    -
    -
    -

    Options used to configure the behaviour of PDFImage

    - -

    Multiple options can be combined by using the OptionSet operators, i.e. using the array syntax.

    - -

    Example:

    -
     let image = PDFImage(
    -     options: [.resize, .compress]
    - )
    -
    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFImageOptions : OptionSet, Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFPageLayout - -
    -
    -
    -
    -
    -
    -

    Contains all relevant layout informations of a pdf document

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFPageLayout
    -
    extension PDFPageLayout: Equatable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableCellPosition - -
    -
    -
    -
    -
    -
    -

    A cell position represent the coordinate of a cell in a given table

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFTableCellPosition
    -
    extension PDFTableCellPosition: Hashable
    -
    extension PDFTableCellPosition: Equatable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableCellBorders - -
    -
    -
    -
    -
    -
    -

    Structure used to style the border lines of a PDFTableCell

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFTableCellBorders : Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFTableCellStyle - -
    -
    -
    -
    -
    -
    -

    Structure used to manage the custom style of a PDFTableCell

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFTableCellStyle : Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - RectCorner - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct RectCorner : OptionSet
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFPagination - -
    -
    -
    -
    -
    -
    -

    Used to define the pagination behaviour of a document.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct PDFPagination
    -
    extension PDFPagination: Equatable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - Stack - -
    -
    -
    -
    -
    -
    -

    Data Structure used to manage a collection of elements after the LIFO (last in, first out) principle.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct Stack<T>
    -
    extension Stack: CustomStringConvertible where T: CustomStringConvertible
    -
    extension Stack: CustomDebugStringConvertible where T: CustomDebugStringConvertible
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFDocumentBackground.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFDocumentBackground.html deleted file mode 100644 index a1cbb759..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFDocumentBackground.html +++ /dev/null @@ -1,423 +0,0 @@ - - - - PDFDocumentBackground Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFDocumentBackground

-
-
- -
public struct PDFDocumentBackground
- -
-
-

Document background configuration

- -
-
- -
-
-
-
    -
  • -
    - - - - color - -
    -
    -
    -
    -
    -
    -

    Color used to fill the background on every page.

    - -

    Defaults to nil, which results in a transparent background

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var color: Color?
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFImageOptions.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFImageOptions.html deleted file mode 100644 index 4cd00a36..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFImageOptions.html +++ /dev/null @@ -1,672 +0,0 @@ - - - - PDFImageOptions Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFImageOptions

-
-
- -
public struct PDFImageOptions : OptionSet, Hashable
- -
-
-

Options used to configure the behaviour of PDFImage

- -

Multiple options can be combined by using the OptionSet operators, i.e. using the array syntax.

- -

Example:

-
 let image = PDFImage(
-     options: [.resize, .compress]
- )
-
- -
-
- -
-
-
-
    -
  • -
    - - - - rawValue - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let rawValue: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(rawValue:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(rawValue: Int)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - resize - -
    -
    -
    -
    -
    -
    -

    Image will be resized to the calculated frame

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let resize: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - compress - -
    -
    -
    -
    -
    -
    -

    Image will be compressed using the value set in the property quality

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let compress: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - roundedTopLeft - -
    -
    -
    -
    -
    -
    -

    Top-left corner of image will be rounded

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let roundedTopLeft: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - roundedTopRight - -
    -
    -
    -
    -
    -
    -

    Top-right corner of image will be rounded

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let roundedTopRight: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - roundedBottomRight - -
    -
    -
    -
    -
    -
    -

    Bottom-right corner of image will be rounded

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let roundedBottomRight: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - roundedBottomLeft - -
    -
    -
    -
    -
    -
    -

    Bottom-left corner of image will be rounded

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let roundedBottomLeft: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - rounded - -
    -
    -
    -
    -
    -
    -

    Short-hand option to round all corners

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let rounded: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Disables all options

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static let none: PDFImageOptions
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFLineStyle.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFLineStyle.html deleted file mode 100644 index 29adb8aa..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFLineStyle.html +++ /dev/null @@ -1,704 +0,0 @@ - - - - PDFLineStyle Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFLineStyle

-
-
- -
public struct PDFLineStyle : Hashable
- -
-
-

Structure defining how a line should be drawn into graphics context

- -
-
- -
-
-
-
    -
  • -
    - - - - type - -
    -
    -
    -
    -
    -
    -

    Type of the line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var type: PDFLineType
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - color - -
    -
    -
    -
    -
    -
    -

    Color of the line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var color: Color
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - width - -
    -
    -
    -
    -
    -
    -

    Width of the line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var width: CGFloat
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - radius - -
    -
    -
    -
    -
    -
    -

    Defines the width of this radius (Only for rect draw, not for line)

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var radius: CGFloat?
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Initialize a table line style

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(type: PDFLineType = .full, color: Color = .black, width: CGFloat = 0.25, radius: CGFloat? = nil)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    - - type - - -
    -

    See type

    -
    -
    - - color - - -
    -

    See color

    -
    -
    - - width - - -
    -

    See width

    -
    -
    - - radius - - -
    -

    See radius

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFLineStyle, rhs: PDFLineStyle) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Defaults -

-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Shorthand method for creating an invisible line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    static var none: PDFLineStyle { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFPageLayout.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFPageLayout.html deleted file mode 100644 index c7adf86a..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFPageLayout.html +++ /dev/null @@ -1,701 +0,0 @@ - - - - PDFPageLayout Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFPageLayout

-
-
- -
public struct PDFPageLayout
-
extension PDFPageLayout: Equatable
- -
-
-

Contains all relevant layout informations of a pdf document

- -
-
- -
-
-
-
- - -
- -

PUBLIC VARS -

-
-
-
    -
  • -
    - - - - size - -
    -
    -
    -
    -
    -
    -

    Size of each page

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var size: CGSize
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - margin - -
    -
    -
    -
    -
    -
    -

    Margins of each page.

    - -

    header: Top inset of page - footer: Bottom inset of page - left: Left inset of page - right: Right inset of page

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var margin: EdgeInsets
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - space - -
    -
    -
    -
    -
    -
    -

    Spaces between header, content and footer.

    - -

    header: Space between header and content - footer: Space between content and footer

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var space: (header: CGFloat, footer: CGFloat)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PUBLIC FUNCTIONS -

-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Creates a new layout object using the given parameters.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    size: CGSize = .zero,
    -    margin: EdgeInsets = .zero,
    -    space: (header: CGFloat, footer: CGFloat) = (0, 0)
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - size - - -
    -

    See size for details

    -
    -
    - - margin - - -
    -

    See margin for details

    -
    -
    - - space - - -
    -

    See space for details

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

INTERNAL COMPUTED VARS -

-
-
-
    -
  • -
    - - - - bounds - -
    -
    -
    -
    -
    -
    -

    Returns a CGRect with a origin at zero and the size of the layout.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var bounds: CGRect { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - width - -
    -
    -
    -
    -
    -
    -

    Shorthand access to layout width

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var width: CGFloat { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - height - -
    -
    -
    -
    -
    -
    -

    Shorthand access to layout height

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var height: CGFloat { get }
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    TODO: documentation

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFPageLayout, rhs: PDFPageLayout) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFPagination.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFPagination.html deleted file mode 100644 index 8d500a13..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFPagination.html +++ /dev/null @@ -1,644 +0,0 @@ - - - - PDFPagination Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFPagination

-
-
- -
public struct PDFPagination
-
extension PDFPagination: Equatable
- -
-
-

Used to define the pagination behaviour of a document.

- -
-
- -
-
-
-
    -
  • -
    - - - - container - -
    -
    -
    -
    -
    -
    -

    Container where the pagination will be placed

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var container: PDFContainer
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - style - -
    -
    -
    -
    -
    -
    -

    Style of the pagination

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var style: PDFPaginationStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - range - -
    -
    -
    -
    -
    -
    -

    Range of pages which will be paginated

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var range: (start: Int, end: Int)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - hiddenPages - -
    -
    -
    -
    -
    -
    -

    Add a page number to this list to exclude it from the pagination. -This will not skip the page but instead not render the pagination object

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var hiddenPages: [Int]
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - textAttributes - -
    -
    -
    -
    -
    -
    -

    These text attribtues are used to create the attributed pagination string

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var textAttributes: [NSAttributedString.Key : Any]
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Initializer

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(container: PDFContainer = .none,
    -            style: PDFPaginationStyle = .default,
    -            range: (start: Int, end: Int) = (0, Int.max),
    -            hiddenPages: [Int] = [],
    -            textAttributes: [NSAttributedString.Key: Any] = [:])
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    - - container - - -
    -

    Container where pagination is placed, defaults to PDFContainer.none, meaning it won’t be rendered

    -
    -
    - - style - - -
    -

    Style of pagination, defaults to PDFPaginationStyle.default

    -
    -
    - - range - - -
    -

    Start and end of pages which will be included

    -
    -
    - - hiddenPages - - -
    -

    List of numbers which are excluded from rendering

    -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    TODO: Documentation

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFPagination, rhs: PDFPagination) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFTableCellBorders.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFTableCellBorders.html deleted file mode 100644 index 8f86643e..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFTableCellBorders.html +++ /dev/null @@ -1,709 +0,0 @@ - - - - PDFTableCellBorders Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableCellBorders

-
-
- -
public struct PDFTableCellBorders : Hashable
- -
-
-

Structure used to style the border lines of a PDFTableCell

- -
-
- -
-
-
-
    -
  • -
    - - - - left - -
    -
    -
    -
    -
    -
    -

    Style of left edge line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var left: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - top - -
    -
    -
    -
    -
    -
    -

    Style of top edge line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var top: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - right - -
    -
    -
    -
    -
    -
    -

    Style of right edge line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var right: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottom - -
    -
    -
    -
    -
    -
    -

    Style of bottom edge line

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var bottom: PDFLineStyle
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new instance with the given line styles

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    left: PDFLineStyle = .none,
    -    top: PDFLineStyle = .none,
    -    right: PDFLineStyle = .none,
    -    bottom: PDFLineStyle = .none
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - - - - - -
    - - left - - -
    -

    See left

    -
    -
    - - top - - -
    -

    See top

    -
    -
    - - right - - -
    -

    See right

    -
    -
    - - bottom - - -
    -

    See bottom

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFTableCellBorders, rhs: PDFTableCellBorders) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Defaults -

-
-
-
    -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Convenience configuration for not displaying any cell border

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    static let none: PDFTableCellBorders
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFTableCellPosition.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFTableCellPosition.html deleted file mode 100644 index 079c2b77..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFTableCellPosition.html +++ /dev/null @@ -1,557 +0,0 @@ - - - - PDFTableCellPosition Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableCellPosition

-
-
- -
public struct PDFTableCellPosition
-
extension PDFTableCellPosition: Hashable
-
extension PDFTableCellPosition: Equatable
- -
-
-

A cell position represent the coordinate of a cell in a given table

- -
-
- -
-
-
-
    -
  • -
    - - - - row - -
    -
    -
    -
    -
    -
    -

    Vertical row index, starting at zero

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var row: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - column - -
    -
    -
    -
    -
    -
    -

    Horizontal column index, starting at zero

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var column: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(row:column:) - -
    -
    -
    -
    -
    -
    -

    Creates a new position with the given row and column

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(row: Int, column: Int)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableCellPosition + Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    Creates a hash value of the cell position

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

PDFTableCellPosition + Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFTableCellPosition, rhs: PDFTableCellPosition) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFTableCellStyle.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFTableCellStyle.html deleted file mode 100644 index 9dc4466c..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/PDFTableCellStyle.html +++ /dev/null @@ -1,656 +0,0 @@ - - - - PDFTableCellStyle Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

PDFTableCellStyle

-
-
- -
public struct PDFTableCellStyle : Hashable
- -
-
-

Structure used to manage the custom style of a PDFTableCell

- -
-
- -
-
-
-
    -
  • -
    - - - - colors - -
    -
    -
    -
    -
    -
    -

    The cell fill (background) color and the text color

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var colors: (fill: Color, text: Color)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - borders - -
    -
    -
    -
    -
    -
    -

    Custom border styling (see PDFTableCellBorders for details)

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var borders: PDFTableCellBorders
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - font - -
    -
    -
    -
    -
    -
    -

    Font used for text content in cells

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var font: Font
    - -
    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Creates a new cell style

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(
    -    colors: (fill: Color, text: Color) = (Color.clear, Color.black),
    -    borders: PDFTableCellBorders = PDFTableCellBorders(),
    -    font: Font = Font.systemFont(ofSize: PDFConstants.defaultFontSize)
    -)
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - - - - - -
    - - colors - - -
    -

    See colors

    -
    -
    - - borders - - -
    -

    See borders

    -
    -
    - - font - - -
    -

    See font

    -
    -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Equatable -

-
-
-
    -
  • -
    - - - - ==(_:_:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static func == (lhs: PDFTableCellStyle, rhs: PDFTableCellStyle) -> Bool
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Hashable -

-
-
-
    -
  • -
    - - - - hash(into:) - -
    -
    -
    -
    -
    -
    -

    nodoc

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func hash(into hasher: inout Hasher)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - none - -
    -
    -
    -
    -
    -
    -

    Default cell style not displaying any background or borders

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    static let none: PDFTableCellStyle
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/RectCorner.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/RectCorner.html deleted file mode 100644 index 5e6879ed..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/RectCorner.html +++ /dev/null @@ -1,581 +0,0 @@ - - - - RectCorner Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

RectCorner

-
-
- -
public struct RectCorner : OptionSet
- -
-
-

Undocumented

- -
-
- -
-
-
-
    -
  • -
    - - - - topLeft - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var topLeft: RectCorner
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - topRight - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var topRight: RectCorner
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomLeft - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var bottomLeft: RectCorner
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - bottomRight - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var bottomRight: RectCorner
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - allCorners - -
    -
    -
    -
    -
    -
    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public static var allCorners: RectCorner
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - init(rawValue:) - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(rawValue: Int)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - rawValue - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var rawValue: Int { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/Stack.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/Stack.html deleted file mode 100644 index bdd93ea5..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Structs/Stack.html +++ /dev/null @@ -1,795 +0,0 @@ - - - - Stack Structure Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Stack

-
-
- -
public struct Stack<T>
-
extension Stack: CustomStringConvertible where T: CustomStringConvertible
-
extension Stack: CustomDebugStringConvertible where T: CustomDebugStringConvertible
- -
-
-

Data Structure used to manage a collection of elements after the LIFO (last in, first out) principle.

- -
-
- -
-
-
-
    -
  • -
    - - - - init(values:) - -
    -
    -
    -
    -
    -
    -

    Creates a new stack with the given elements.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public init(values: T...)
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - isEmpty - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var isEmpty: Bool { get }
    - -
    -
    -
    -

    Return Value

    -

    true if element count is zero, false otherwise

    -
    -
    -
    -
  • -
  • -
    - - - - count - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var count: Int { get }
    - -
    -
    -
    -

    Return Value

    -

    Number of elements in stack

    -
    -
    -
    -
  • -
  • -
    - - - - push(_:) - -
    -
    -
    -
    -
    -
    -

    Adds an element on top of the stack

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public mutating func push(_ element: T) -> Stack<T>
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - element - - -
    -

    Element to be pushed on top of stack

    -
    -
    -
    -
    -

    Return Value

    -

    Instance of stack for chaining

    -
    -
    -
    -
  • -
  • -
    - - - - pop(to:) - -
    -
    -
    -
    -
    -
    -

    Removes the last element or if a count is given as many until the stack is empty. -Afterwards it returns the last removed element.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @discardableResult
    -public mutating func pop(to count: Int? = nil) -> T?
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - count - - -
    -

    Amount of elements to remove, can be nil

    -
    -
    -
    -
    -

    Return Value

    -

    Last element which was removed, or nil if stack is empty

    -
    -
    -
    -
  • -
  • -
    - - - - peek(at:) - -
    -
    -
    -
    -
    -
    -

    Returns the element at the given index without changing the stack

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func peek(at index: Int) -> T?
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - index - - -
    -

    from bottom up

    -
    -
    -
    -
    -

    Return Value

    -

    element at index or nil if out of bounds

    -
    -
    -
    -
  • -
  • -
    - - - - top - -
    -
    -
    -
    -
    -
    -

    Returns the last inserted element

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var top: T? { get }
    - -
    -
    -
    -

    Return Value

    -

    Element` or nil if empty

    -
    -
    -
    -
  • -
  • -
    - - - - fromTop(index:) - -
    -
    -
    -
    -
    -
    -

    Returns the element from the reverse order

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func fromTop(index: Int) -> T?
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - index - - -
    -

    distance to most top element

    -
    -
    -
    -
    -

    Return Value

    -

    element at index or nil if out of bounds

    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Available where T: CustomStringConvertible -

-
-
-
    -
  • -
    - - - - description - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var description: String { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- - -
- -

Available where T: CustomDebugStringConvertible -

-
-
-
    -
  • -
    - - - - debugDescription - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public var debugDescription: String { get }
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Typealiases.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Typealiases.html deleted file mode 100644 index 143f67e5..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/Typealiases.html +++ /dev/null @@ -1,798 +0,0 @@ - - - - Type Aliases Reference - - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
-

Type Aliases

-

The following type aliases are available globally.

- -
-
- -
-
-
-
    -
  • -
    - - - - PDFGeneratorDelegate - -
    -
    -
    -
    -
    -
    -

    Delegation protocol combining all delegates supported by the PDFGenerator

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias PDFGeneratorDelegate = PDFGeneratorImageDelegate
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - Image - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIImage and NSImage

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias Image = NSImage
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - Color - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIColor and NSColor

    - -
    -
    -
    -
  • -
  • -
    - - - - Font - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIFont and NSFont

    - -
    -
    -
    -
  • -
  • -
    - - - - Image - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIImage and NSImage

    - -
    -
    -
    -
  • -
  • -
    - - - - EdgeInsets - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIEdgeInsets and NSEdgeInsets

    - -
    -
    -
    -
  • -
  • -
    - - - - BezierPath - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIBezierPath and NSBezierPath

    - -
    -
    -
    -
  • -
  • -
    - - - - Point - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for CGPoint and NSPoint

    - -
    -
    -
    -
  • -
  • -
    - - - - RectCorner - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIRectCorner and RectCorner

    - -
    -
    -
    -
  • -
  • -
    - - - - Color - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIColor and NSColor

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias Color = NSColor
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - Font - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIFont and NSFont

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias Font = NSFont
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - EdgeInsets - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIEdgeInsets and NSEdgeInsets

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias EdgeInsets = NSEdgeInsets
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - BezierPath - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for UIBezierPath and NSBezierPath

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias BezierPath = NSBezierPath
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - Point - -
    -
    -
    -
    -
    -
    -

    Cross-plattform type for CGPoint and NSPoint

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias Point = NSPoint
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - PDFPaginationClosure - -
    -
    -
    -
    -
    -
    -

    Closure for custom pagination formatting.

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias PDFPaginationClosure = (_ page: Int, _ total: Int) -> String
    - -
    -
    -
    -

    Parameters

    - - - - - - - - - - - -
    - - page - - -
    -

    Int - Current page number

    -
    -
    - - total - - -
    -

    Int - Total amount of pages

    -
    -
    -
    -
    -

    Return Value

    -

    Formatted pagination string

    -
    -
    -
    -
  • -
  • - -
    -
    -
    -
    -
    -

    Structure to extend PDFRenderObject with the PDFContainer it is located in

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public typealias PDFLocatedRenderObject = (PDFContainer, PDFRenderObject)
    - -
    -
    -
    -
    -
  • -
-
-
-
- -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/css/highlight.css b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/css/highlight.css deleted file mode 100644 index c170357c..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/css/highlight.css +++ /dev/null @@ -1,202 +0,0 @@ -/*! Jazzy - https://github.com/realm/jazzy - * Copyright Realm Inc. - * SPDX-License-Identifier: MIT - */ -/* Credit to https://gist.github.com/wataru420/2048287 */ -.highlight .c { - color: #999988; - font-style: italic; } - -.highlight .err { - color: #a61717; - background-color: #e3d2d2; } - -.highlight .k { - color: #000000; - font-weight: bold; } - -.highlight .o { - color: #000000; - font-weight: bold; } - -.highlight .cm { - color: #999988; - font-style: italic; } - -.highlight .cp { - color: #999999; - font-weight: bold; } - -.highlight .c1 { - color: #999988; - font-style: italic; } - -.highlight .cs { - color: #999999; - font-weight: bold; - font-style: italic; } - -.highlight .gd { - color: #000000; - background-color: #ffdddd; } - -.highlight .gd .x { - color: #000000; - background-color: #ffaaaa; } - -.highlight .ge { - color: #000000; - font-style: italic; } - -.highlight .gr { - color: #aa0000; } - -.highlight .gh { - color: #999999; } - -.highlight .gi { - color: #000000; - background-color: #ddffdd; } - -.highlight .gi .x { - color: #000000; - background-color: #aaffaa; } - -.highlight .go { - color: #888888; } - -.highlight .gp { - color: #555555; } - -.highlight .gs { - font-weight: bold; } - -.highlight .gu { - color: #aaaaaa; } - -.highlight .gt { - color: #aa0000; } - -.highlight .kc { - color: #000000; - font-weight: bold; } - -.highlight .kd { - color: #000000; - font-weight: bold; } - -.highlight .kp { - color: #000000; - font-weight: bold; } - -.highlight .kr { - color: #000000; - font-weight: bold; } - -.highlight .kt { - color: #445588; } - -.highlight .m { - color: #009999; } - -.highlight .s { - color: #d14; } - -.highlight .na { - color: #008080; } - -.highlight .nb { - color: #0086B3; } - -.highlight .nc { - color: #445588; - font-weight: bold; } - -.highlight .no { - color: #008080; } - -.highlight .ni { - color: #800080; } - -.highlight .ne { - color: #990000; - font-weight: bold; } - -.highlight .nf { - color: #990000; } - -.highlight .nn { - color: #555555; } - -.highlight .nt { - color: #000080; } - -.highlight .nv { - color: #008080; } - -.highlight .ow { - color: #000000; - font-weight: bold; } - -.highlight .w { - color: #bbbbbb; } - -.highlight .mf { - color: #009999; } - -.highlight .mh { - color: #009999; } - -.highlight .mi { - color: #009999; } - -.highlight .mo { - color: #009999; } - -.highlight .sb { - color: #d14; } - -.highlight .sc { - color: #d14; } - -.highlight .sd { - color: #d14; } - -.highlight .s2 { - color: #d14; } - -.highlight .se { - color: #d14; } - -.highlight .sh { - color: #d14; } - -.highlight .si { - color: #d14; } - -.highlight .sx { - color: #d14; } - -.highlight .sr { - color: #009926; } - -.highlight .s1 { - color: #d14; } - -.highlight .ss { - color: #990073; } - -.highlight .bp { - color: #999999; } - -.highlight .vc { - color: #008080; } - -.highlight .vg { - color: #008080; } - -.highlight .vi { - color: #008080; } - -.highlight .il { - color: #009999; } diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/css/jazzy.css b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/css/jazzy.css deleted file mode 100644 index c7bb9fe2..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/css/jazzy.css +++ /dev/null @@ -1,404 +0,0 @@ -/*! Jazzy - https://github.com/realm/jazzy - * Copyright Realm Inc. - * SPDX-License-Identifier: MIT - */ -*, *:before, *:after { - box-sizing: inherit; } - -body { - margin: 0; - background: #fff; - color: #333; - font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; - letter-spacing: .2px; - -webkit-font-smoothing: antialiased; - box-sizing: border-box; } - -h1 { - font-size: 2rem; - font-weight: 700; - margin: 1.275em 0 0.6em; } - -h2 { - font-size: 1.75rem; - font-weight: 700; - margin: 1.275em 0 0.3em; } - -h3 { - font-size: 1.5rem; - font-weight: 700; - margin: 1em 0 0.3em; } - -h4 { - font-size: 1.25rem; - font-weight: 700; - margin: 1.275em 0 0.85em; } - -h5 { - font-size: 1rem; - font-weight: 700; - margin: 1.275em 0 0.85em; } - -h6 { - font-size: 1rem; - font-weight: 700; - margin: 1.275em 0 0.85em; - color: #777; } - -p { - margin: 0 0 1em; } - -ul, ol { - padding: 0 0 0 2em; - margin: 0 0 0.85em; } - -blockquote { - margin: 0 0 0.85em; - padding: 0 15px; - color: #858585; - border-left: 4px solid #e5e5e5; } - -img { - max-width: 100%; } - -a { - color: #4183c4; - text-decoration: none; } - a:hover, a:focus { - outline: 0; - text-decoration: underline; } - a.discouraged { - text-decoration: line-through; } - a.discouraged:hover, a.discouraged:focus { - text-decoration: underline line-through; } - -table { - background: #fff; - width: 100%; - border-collapse: collapse; - border-spacing: 0; - overflow: auto; - margin: 0 0 0.85em; } - -tr:nth-child(2n) { - background-color: #fbfbfb; } - -th, td { - padding: 6px 13px; - border: 1px solid #ddd; } - -hr { - height: 1px; - border: none; - background-color: #ddd; } - -pre { - margin: 0 0 1.275em; - padding: .85em 1em; - overflow: auto; - background: #f7f7f7; - font-size: .85em; - font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } - -code { - font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } - -.item-container p > code, .item-container li > code, .top-matter p > code, .top-matter li > code { - background: #f7f7f7; - padding: .2em; } - .item-container p > code:before, .item-container p > code:after, .item-container li > code:before, .item-container li > code:after, .top-matter p > code:before, .top-matter p > code:after, .top-matter li > code:before, .top-matter li > code:after { - letter-spacing: -.2em; - content: "\00a0"; } - -pre code { - padding: 0; - white-space: pre; } - -.content-wrapper { - display: flex; - flex-direction: column; } - @media (min-width: 768px) { - .content-wrapper { - flex-direction: row; } } -.header { - display: flex; - padding: 8px; - font-size: 0.875em; - background: #444; - color: #999; } - -.header-col { - margin: 0; - padding: 0 8px; } - -.header-col--primary { - flex: 1; } - -.header-link { - color: #fff; } - -.header-icon { - padding-right: 2px; - vertical-align: -3px; - height: 16px; } - -.breadcrumbs { - font-size: 0.875em; - padding: 8px 16px; - margin: 0; - background: #fbfbfb; - border-bottom: 1px solid #ddd; } - -.carat { - height: 10px; - margin: 0 5px; } - -.navigation { - order: 2; } - @media (min-width: 768px) { - .navigation { - order: 1; - width: 25%; - max-width: 300px; - padding-bottom: 64px; - overflow: hidden; - word-wrap: normal; - background: #fbfbfb; - border-right: 1px solid #ddd; } } -.nav-groups { - list-style-type: none; - padding-left: 0; } - -.nav-group-name { - border-bottom: 1px solid #ddd; - padding: 8px 0 8px 16px; } - -.nav-group-name-link { - color: #333; } - -.nav-group-tasks { - margin: 8px 0; - padding: 0 0 0 8px; } - -.nav-group-task { - font-size: 1em; - list-style-type: none; - white-space: nowrap; } - -.nav-group-task-link { - color: #808080; } - -.main-content { - order: 1; } - @media (min-width: 768px) { - .main-content { - order: 2; - flex: 1; - padding-bottom: 60px; } } -.section { - padding: 0 32px; - border-bottom: 1px solid #ddd; } - -.section-content { - max-width: 834px; - margin: 0 auto; - padding: 16px 0; } - -.section-name { - color: #666; - display: block; } - .section-name p { - margin-bottom: inherit; } - -.declaration .highlight { - overflow-x: initial; - padding: 8px 0; - margin: 0; - background-color: transparent; - border: none; } - -.task-group-section { - border-top: 1px solid #ddd; } - -.task-group { - padding-top: 0px; } - -.task-name-container a[name]:before { - content: ""; - display: block; } - -.section-name-container { - position: relative; } - .section-name-container .section-name-link { - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; - margin-bottom: 0; } - .section-name-container .section-name { - position: relative; - pointer-events: none; - z-index: 1; } - .section-name-container .section-name a { - pointer-events: auto; } - -.item-container { - padding: 0; } - -.item { - padding-top: 8px; - width: 100%; - list-style-type: none; } - .item a[name]:before { - content: ""; - display: block; } - .item .token, .item .direct-link { - display: inline-block; - text-indent: -20px; - padding-left: 3px; - margin-left: 20px; - font-size: 1rem; } - .item .declaration-note { - font-size: .85em; - color: #808080; - font-style: italic; } - -.pointer-container { - border-bottom: 1px solid #ddd; - left: -23px; - padding-bottom: 13px; - position: relative; - width: 110%; } - -.pointer { - left: 21px; - top: 7px; - display: block; - position: absolute; - width: 12px; - height: 12px; - border-left: 1px solid #ddd; - border-top: 1px solid #ddd; - background: #fff; - transform: rotate(45deg); } - -.height-container { - display: none; - position: relative; - width: 100%; - overflow: hidden; } - .height-container .section { - background: #fff; - border: 1px solid #ddd; - border-top-width: 0; - padding-top: 10px; - padding-bottom: 5px; - padding: 8px 16px; } - -.aside, .language { - padding: 6px 12px; - margin: 12px 0; - border-left: 5px solid #dddddd; - overflow-y: hidden; } - .aside .aside-title, .language .aside-title { - font-size: 9px; - letter-spacing: 2px; - text-transform: uppercase; - padding-bottom: 0; - margin: 0; - color: #aaa; - -webkit-user-select: none; } - .aside p:last-child, .language p:last-child { - margin-bottom: 0; } - -.language { - border-left: 5px solid #cde9f4; } - .language .aside-title { - color: #4183c4; } - -.aside-warning, .aside-deprecated, .aside-unavailable { - border-left: 5px solid #ff6666; } - .aside-warning .aside-title, .aside-deprecated .aside-title, .aside-unavailable .aside-title { - color: #ff0000; } - -.graybox { - border-collapse: collapse; - width: 100%; } - .graybox p { - margin: 0; - word-break: break-word; - min-width: 50px; } - .graybox td { - border: 1px solid #ddd; - padding: 5px 25px 5px 10px; - vertical-align: middle; } - .graybox tr td:first-of-type { - text-align: right; - padding: 7px; - vertical-align: top; - word-break: normal; - width: 40px; } - -.slightly-smaller { - font-size: 0.9em; } - -.footer { - padding: 8px 16px; - background: #444; - color: #ddd; - font-size: 0.8em; } - .footer p { - margin: 8px 0; } - .footer a { - color: #fff; } - -html.dash .header, html.dash .breadcrumbs, html.dash .navigation { - display: none; } - -html.dash .height-container { - display: block; } - -form[role=search] input { - font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; - line-height: 24px; - padding: 0 10px; - margin: 0; - border: none; - border-radius: 1em; } - .loading form[role=search] input { - background: white url(../img/spinner.gif) center right 4px no-repeat; } - -form[role=search] .tt-menu { - margin: 0; - min-width: 300px; - background: #fbfbfb; - color: #333; - border: 1px solid #ddd; } - -form[role=search] .tt-highlight { - font-weight: bold; } - -form[role=search] .tt-suggestion { - font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; - padding: 0 8px; } - form[role=search] .tt-suggestion span { - display: table-cell; - white-space: nowrap; } - form[role=search] .tt-suggestion .doc-parent-name { - width: 100%; - text-align: right; - font-weight: normal; - font-size: 0.9em; - padding-left: 16px; } - -form[role=search] .tt-suggestion:hover, -form[role=search] .tt-suggestion.tt-cursor { - cursor: pointer; - background-color: #4183c4; - color: #fff; } - -form[role=search] .tt-suggestion:hover .doc-parent-name, -form[role=search] .tt-suggestion.tt-cursor .doc-parent-name { - color: #fff; } diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/img/carat.png b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/img/carat.png deleted file mode 100755 index 29d2f7fd..00000000 Binary files a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/img/carat.png and /dev/null differ diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/img/dash.png b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/img/dash.png deleted file mode 100755 index 6f694c7a..00000000 Binary files a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/img/dash.png and /dev/null differ diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/img/gh.png b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/img/gh.png deleted file mode 100755 index 628da97c..00000000 Binary files a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/img/gh.png and /dev/null differ diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/img/spinner.gif b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/img/spinner.gif deleted file mode 100644 index e3038d0a..00000000 Binary files a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/img/spinner.gif and /dev/null differ diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/index.html b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/index.html deleted file mode 100644 index 91e4a73c..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/index.html +++ /dev/null @@ -1,590 +0,0 @@ - - - - TPPDF Reference - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
- -

- TPPDF -

- -

- - TPPDF is a fast PDF builder for iOS & macOS using simple commands to create advanced documents! - -

- -
- Swift - iOS|macOS - License -
- -
- - Travis - - - - - - codebeat - - - codecov - -
- -
- Swift Package Manager - Cocoapods - Carthage -
- -

- Created and maintained by Philip Niedertscheider and all the amazing contributors. -

- -

- Features - • Getting Started - • Communication - • Usage - • Installation - • Credits - • License -

-

Features

- -
    -
  • [x] Page header and footer
  • -
  • [x] Dynamic content layout with page alignment
  • -
  • [x] Support for tables and cell alignment
  • -
  • [x] Attributed strings
  • -
  • [x] Custom spacing
  • -
  • [x] Image support
  • -
  • [x] Horizontal line separators
  • -
  • [x] Custom indentation
  • -
  • [x] Custom top offset (good for layered rendering)
  • -
  • [x] Pagination
  • -
  • [x] Image caption
  • -
  • [x] Compress images
  • -
  • [x] Custom image size fit
  • -
  • [x] Images in the header and footer
  • -
  • [x] Horizontal line separators in the header and footer
  • -
  • [x] Generate PDF files directly to handle large PDF files (Details)
  • -
  • [x] PDF metadata
  • -
  • [x] Custom table styling
  • -
  • [x] Multi-column sections
  • -
  • [x] Swift Package Manager Support
  • -
  • [x] Tables with cell merging & automatic page breaking
  • -
  • [x] Hyperlinks in text
  • -
  • [x] Native progress tracking using Foundation.Progress
  • -
  • [ ] Documentation
  • -
-

Getting Started

- -

Building a PDF document is very easy:

- -

First, you create a document with a paperformat…

-
let document = PDFDocument(format: .a4)
-
- -

…then you add your information to a container…

-
document.add(.contentCenter, text: "Create PDF documents easily.")
-
- -

…then you render the document…

-
let generator = PDFGenerator(document: document)
-let url  = try generator.generateURL(filename: "Example.pdf")
-
- -

…done!

- -

If you need more details, checkout Usage.

-

Communication

- -

Attention:

- -

TPPDF is an Open Source side-project of techprimate. -As we are currently working on multiple other projects, we only have limited time for fixing bugs and enhancing TPPDF.

- -

That’s why any issue reporting and especially Pull Requests are very welcome!

- -

If you need professional support for your company, you can reach out to @philprimes on Twitter or on our website techprimate.com! -This is mainly for custom or high-priority requests, therefore we won’t publish a consulting pricing for now.

- -

For everything else, please see Communication and this message. Thank you!

- -
    -
  • If you need help, use Stack Overflow. (Tag ‘TPPDF’) Just open up another issue, it might lead to better documentation.
  • -
  • If you found a bug, open an issue.
  • -
  • If you have a feature request, open an issue.
  • -
  • If you want to contribute, submit a pull request.
  • -
-

Example

- -

Take a look at the Getting Started Guide or checkout the Examples (using of one of the following):

- -
    -
  • Clone the repository and look at the Example folders
  • -
  • Run pod try TPPDF
  • -
-

Apps using TPPDF

- -

If you are using TPPDF in your app and want to be listed here, simply create a pull request or let us know on Twitter or via GitHub. We are always curious to see, who is using our project :)

- - - - - - - - - - - - - - - - - - -
- - Burnout Coach - - - - ChatHistory - - - - Hikingbook - - - - Bug Journal - - - - EnergyTracker - - - - Lyrcs - -
- Burnout Coach
- by Stéphane Mégy -
- ChatHistory
- by techprimate -
- Hikingbook
- by Zheng-Xiang Ke -
- Bug Journal
- by David Johnson -
- EnergyTracker
- by Stefan Nebel -
- Lyrcs
- by ptrkstr -
-

Credits

- -

TPPDF is created and maintained by Philip Niedertscheider, founder of techprimate.

- -

- - techprimate.com - - - twitter - - - facebook - - - facebook - -

-

Contributors

- -

Please consider backing this project by using the following GitHub Sponsor button.

- -

We want to thank all contributors for their effort!

- -
-
- - -
-
- - - diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/js/jazzy.js b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/js/jazzy.js deleted file mode 100755 index 19844166..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/js/jazzy.js +++ /dev/null @@ -1,74 +0,0 @@ -// Jazzy - https://github.com/realm/jazzy -// Copyright Realm Inc. -// SPDX-License-Identifier: MIT - -window.jazzy = {'docset': false} -if (typeof window.dash != 'undefined') { - document.documentElement.className += ' dash' - window.jazzy.docset = true -} -if (navigator.userAgent.match(/xcode/i)) { - document.documentElement.className += ' xcode' - window.jazzy.docset = true -} - -function toggleItem($link, $content) { - var animationDuration = 300; - $link.toggleClass('token-open'); - $content.slideToggle(animationDuration); -} - -function itemLinkToContent($link) { - return $link.parent().parent().next(); -} - -// On doc load + hash-change, open any targetted item -function openCurrentItemIfClosed() { - if (window.jazzy.docset) { - return; - } - var $link = $(`a[name="${location.hash.substring(1)}"]`).nextAll('.token'); - $content = itemLinkToContent($link); - if ($content.is(':hidden')) { - toggleItem($link, $content); - } -} - -$(openCurrentItemIfClosed); -$(window).on('hashchange', openCurrentItemIfClosed); - -// On item link ('token') click, toggle its discussion -$('.token').on('click', function(event) { - if (window.jazzy.docset) { - return; - } - var $link = $(this); - toggleItem($link, itemLinkToContent($link)); - - // Keeps the document from jumping to the hash. - var href = $link.attr('href'); - if (history.pushState) { - history.pushState({}, '', href); - } else { - location.hash = href; - } - event.preventDefault(); -}); - -// Clicks on links to the current, closed, item need to open the item -$("a:not('.token')").on('click', function() { - if (location == this.href) { - openCurrentItemIfClosed(); - } -}); - -// KaTeX rendering -if ("katex" in window) { - $($('.math').each( (_, element) => { - katex.render(element.textContent, element, { - displayMode: $(element).hasClass('m-block'), - throwOnError: false, - trust: true - }); - })) -} diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/js/jazzy.search.js b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/js/jazzy.search.js deleted file mode 100644 index 359cdbb8..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/js/jazzy.search.js +++ /dev/null @@ -1,74 +0,0 @@ -// Jazzy - https://github.com/realm/jazzy -// Copyright Realm Inc. -// SPDX-License-Identifier: MIT - -$(function(){ - var $typeahead = $('[data-typeahead]'); - var $form = $typeahead.parents('form'); - var searchURL = $form.attr('action'); - - function displayTemplate(result) { - return result.name; - } - - function suggestionTemplate(result) { - var t = '
'; - t += '' + result.name + ''; - if (result.parent_name) { - t += '' + result.parent_name + ''; - } - t += '
'; - return t; - } - - $typeahead.one('focus', function() { - $form.addClass('loading'); - - $.getJSON(searchURL).then(function(searchData) { - const searchIndex = lunr(function() { - this.ref('url'); - this.field('name'); - this.field('abstract'); - for (const [url, doc] of Object.entries(searchData)) { - this.add({url: url, name: doc.name, abstract: doc.abstract}); - } - }); - - $typeahead.typeahead( - { - highlight: true, - minLength: 3, - autoselect: true - }, - { - limit: 10, - display: displayTemplate, - templates: { suggestion: suggestionTemplate }, - source: function(query, sync) { - const lcSearch = query.toLowerCase(); - const results = searchIndex.query(function(q) { - q.term(lcSearch, { boost: 100 }); - q.term(lcSearch, { - boost: 10, - wildcard: lunr.Query.wildcard.TRAILING - }); - }).map(function(result) { - var doc = searchData[result.ref]; - doc.url = result.ref; - return doc; - }); - sync(results); - } - } - ); - $form.removeClass('loading'); - $typeahead.trigger('focus'); - }); - }); - - var baseURL = searchURL.slice(0, -"search.json".length); - - $typeahead.on('typeahead:select', function(e, result) { - window.location = baseURL + result.url; - }); -}); diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/js/jquery.min.js b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/js/jquery.min.js deleted file mode 100644 index 7f37b5d9..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/js/jquery.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 00){var c=e.utils.clone(r)||{};c.position=[a,l],c.index=s.length,s.push(new e.Token(i.slice(a,o),c))}a=o+1}}return s},e.tokenizer.separator=/[\s\-]+/,e.Pipeline=function(){this._stack=[]},e.Pipeline.registeredFunctions=Object.create(null),e.Pipeline.registerFunction=function(t,r){r in this.registeredFunctions&&e.utils.warn("Overwriting existing registered function: "+r),t.label=r,e.Pipeline.registeredFunctions[t.label]=t},e.Pipeline.warnIfFunctionNotRegistered=function(t){var r=t.label&&t.label in this.registeredFunctions;r||e.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},e.Pipeline.load=function(t){var r=new e.Pipeline;return t.forEach(function(t){var i=e.Pipeline.registeredFunctions[t];if(!i)throw new Error("Cannot load unregistered function: "+t);r.add(i)}),r},e.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){e.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)},this)},e.Pipeline.prototype.after=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,r)},e.Pipeline.prototype.before=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");this._stack.splice(i,0,r)},e.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);t!=-1&&this._stack.splice(t,1)},e.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r1&&(se&&(r=n),s!=e);)i=r-t,n=t+Math.floor(i/2),s=this.elements[2*n];return s==e?2*n:s>e?2*n:sa?l+=2:o==a&&(t+=r[u+1]*i[l+1],u+=2,l+=2);return t},e.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},e.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t0){var o,a=s.str.charAt(0);a in s.node.edges?o=s.node.edges[a]:(o=new e.TokenSet,s.node.edges[a]=o),1==s.str.length&&(o["final"]=!0),n.push({node:o,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(0!=s.editsRemaining){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new e.TokenSet;s.node.edges["*"]=u}if(0==s.str.length&&(u["final"]=!0),n.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&n.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),1==s.str.length&&(s.node["final"]=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new e.TokenSet;s.node.edges["*"]=l}1==s.str.length&&(l["final"]=!0),n.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var c,h=s.str.charAt(0),d=s.str.charAt(1);d in s.node.edges?c=s.node.edges[d]:(c=new e.TokenSet,s.node.edges[d]=c),1==s.str.length&&(c["final"]=!0),n.push({node:c,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return i},e.TokenSet.fromString=function(t){for(var r=new e.TokenSet,i=r,n=0,s=t.length;n=e;t--){var r=this.uncheckedNodes[t],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r["char"]]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}},e.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},e.Index.prototype.search=function(t){return this.query(function(r){var i=new e.QueryParser(t,r);i.parse()})},e.Index.prototype.query=function(t){for(var r=new e.Query(this.fields),i=Object.create(null),n=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},e.Builder.prototype.k1=function(e){this._k1=e},e.Builder.prototype.add=function(t,r){var i=t[this._ref],n=Object.keys(this._fields);this._documents[i]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return e.QueryLexer.EOS;var t=this.str.charAt(this.pos);return this.pos+=1,t},e.QueryLexer.prototype.width=function(){return this.pos-this.start},e.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},e.QueryLexer.prototype.backup=function(){this.pos-=1},e.QueryLexer.prototype.acceptDigitRun=function(){var t,r;do t=this.next(),r=t.charCodeAt(0);while(r>47&&r<58);t!=e.QueryLexer.EOS&&this.backup()},e.QueryLexer.prototype.more=function(){return this.pos1&&(t.backup(),t.emit(e.QueryLexer.TERM)),t.ignore(),t.more())return e.QueryLexer.lexText},e.QueryLexer.lexEditDistance=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.EDIT_DISTANCE),e.QueryLexer.lexText},e.QueryLexer.lexBoost=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.BOOST),e.QueryLexer.lexText},e.QueryLexer.lexEOS=function(t){t.width()>0&&t.emit(e.QueryLexer.TERM)},e.QueryLexer.termSeparator=e.tokenizer.separator,e.QueryLexer.lexText=function(t){for(;;){var r=t.next();if(r==e.QueryLexer.EOS)return e.QueryLexer.lexEOS;if(92!=r.charCodeAt(0)){if(":"==r)return e.QueryLexer.lexField;if("~"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexEditDistance;if("^"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexBoost;if("+"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if("-"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if(r.match(e.QueryLexer.termSeparator))return e.QueryLexer.lexTerm}else t.escapeCharacter()}},e.QueryParser=function(t,r){this.lexer=new e.QueryLexer(t),this.query=r,this.currentClause={},this.lexemeIdx=0},e.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var t=e.QueryParser.parseClause;t;)t=t(this);return this.query},e.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},e.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},e.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},e.QueryParser.parseClause=function(t){var r=t.peekLexeme();if(void 0!=r)switch(r.type){case e.QueryLexer.PRESENCE:return e.QueryParser.parsePresence;case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(i+=" with value '"+r.str+"'"),new e.QueryParseError(i,r.start,r.end)}},e.QueryParser.parsePresence=function(t){var r=t.consumeLexeme();if(void 0!=r){switch(r.str){case"-":t.currentClause.presence=e.Query.presence.PROHIBITED;break;case"+":t.currentClause.presence=e.Query.presence.REQUIRED;break;default:var i="unrecognised presence operator'"+r.str+"'";throw new e.QueryParseError(i,r.start,r.end)}var n=t.peekLexeme();if(void 0==n){var i="expecting term or field, found nothing";throw new e.QueryParseError(i,r.start,r.end)}switch(n.type){case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expecting term or field, found '"+n.type+"'";throw new e.QueryParseError(i,n.start,n.end)}}},e.QueryParser.parseField=function(t){var r=t.consumeLexeme();if(void 0!=r){if(t.query.allFields.indexOf(r.str)==-1){var i=t.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),n="unrecognised field '"+r.str+"', possible fields: "+i;throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.fields=[r.str];var s=t.peekLexeme();if(void 0==s){var n="expecting term, found nothing";throw new e.QueryParseError(n,r.start,r.end)}switch(s.type){case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var n="expecting term, found '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseTerm=function(t){var r=t.consumeLexeme();if(void 0!=r){t.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(t.currentClause.usePipeline=!1);var i=t.peekLexeme();if(void 0==i)return void t.nextClause();switch(i.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+i.type+"'";throw new e.QueryParseError(n,i.start,i.end)}}},e.QueryParser.parseEditDistance=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="edit distance must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.editDistance=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseBoost=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="boost must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.boost=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.lunr=t()}(this,function(){return e})}(); diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/js/typeahead.jquery.js b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/js/typeahead.jquery.js deleted file mode 100644 index 3a2d2ab0..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/js/typeahead.jquery.js +++ /dev/null @@ -1,1694 +0,0 @@ -/*! - * typeahead.js 1.3.1 - * https://github.com/corejavascript/typeahead.js - * Copyright 2013-2020 Twitter, Inc. and other contributors; Licensed MIT - */ - - -(function(root, factory) { - if (typeof define === "function" && define.amd) { - define([ "jquery" ], function(a0) { - return factory(a0); - }); - } else if (typeof module === "object" && module.exports) { - module.exports = factory(require("jquery")); - } else { - factory(root["jQuery"]); - } -})(this, function($) { - var _ = function() { - "use strict"; - return { - isMsie: function() { - return /(msie|trident)/i.test(navigator.userAgent) ? navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2] : false; - }, - isBlankString: function(str) { - return !str || /^\s*$/.test(str); - }, - escapeRegExChars: function(str) { - return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); - }, - isString: function(obj) { - return typeof obj === "string"; - }, - isNumber: function(obj) { - return typeof obj === "number"; - }, - isArray: $.isArray, - isFunction: $.isFunction, - isObject: $.isPlainObject, - isUndefined: function(obj) { - return typeof obj === "undefined"; - }, - isElement: function(obj) { - return !!(obj && obj.nodeType === 1); - }, - isJQuery: function(obj) { - return obj instanceof $; - }, - toStr: function toStr(s) { - return _.isUndefined(s) || s === null ? "" : s + ""; - }, - bind: $.proxy, - each: function(collection, cb) { - $.each(collection, reverseArgs); - function reverseArgs(index, value) { - return cb(value, index); - } - }, - map: $.map, - filter: $.grep, - every: function(obj, test) { - var result = true; - if (!obj) { - return result; - } - $.each(obj, function(key, val) { - if (!(result = test.call(null, val, key, obj))) { - return false; - } - }); - return !!result; - }, - some: function(obj, test) { - var result = false; - if (!obj) { - return result; - } - $.each(obj, function(key, val) { - if (result = test.call(null, val, key, obj)) { - return false; - } - }); - return !!result; - }, - mixin: $.extend, - identity: function(x) { - return x; - }, - clone: function(obj) { - return $.extend(true, {}, obj); - }, - getIdGenerator: function() { - var counter = 0; - return function() { - return counter++; - }; - }, - templatify: function templatify(obj) { - return $.isFunction(obj) ? obj : template; - function template() { - return String(obj); - } - }, - defer: function(fn) { - setTimeout(fn, 0); - }, - debounce: function(func, wait, immediate) { - var timeout, result; - return function() { - var context = this, args = arguments, later, callNow; - later = function() { - timeout = null; - if (!immediate) { - result = func.apply(context, args); - } - }; - callNow = immediate && !timeout; - clearTimeout(timeout); - timeout = setTimeout(later, wait); - if (callNow) { - result = func.apply(context, args); - } - return result; - }; - }, - throttle: function(func, wait) { - var context, args, timeout, result, previous, later; - previous = 0; - later = function() { - previous = new Date(); - timeout = null; - result = func.apply(context, args); - }; - return function() { - var now = new Date(), remaining = wait - (now - previous); - context = this; - args = arguments; - if (remaining <= 0) { - clearTimeout(timeout); - timeout = null; - previous = now; - result = func.apply(context, args); - } else if (!timeout) { - timeout = setTimeout(later, remaining); - } - return result; - }; - }, - stringify: function(val) { - return _.isString(val) ? val : JSON.stringify(val); - }, - guid: function() { - function _p8(s) { - var p = (Math.random().toString(16) + "000000000").substr(2, 8); - return s ? "-" + p.substr(0, 4) + "-" + p.substr(4, 4) : p; - } - return "tt-" + _p8() + _p8(true) + _p8(true) + _p8(); - }, - noop: function() {} - }; - }(); - var WWW = function() { - "use strict"; - var defaultClassNames = { - wrapper: "twitter-typeahead", - input: "tt-input", - hint: "tt-hint", - menu: "tt-menu", - dataset: "tt-dataset", - suggestion: "tt-suggestion", - selectable: "tt-selectable", - empty: "tt-empty", - open: "tt-open", - cursor: "tt-cursor", - highlight: "tt-highlight" - }; - return build; - function build(o) { - var www, classes; - classes = _.mixin({}, defaultClassNames, o); - www = { - css: buildCss(), - classes: classes, - html: buildHtml(classes), - selectors: buildSelectors(classes) - }; - return { - css: www.css, - html: www.html, - classes: www.classes, - selectors: www.selectors, - mixin: function(o) { - _.mixin(o, www); - } - }; - } - function buildHtml(c) { - return { - wrapper: '', - menu: '
' - }; - } - function buildSelectors(classes) { - var selectors = {}; - _.each(classes, function(v, k) { - selectors[k] = "." + v; - }); - return selectors; - } - function buildCss() { - var css = { - wrapper: { - position: "relative", - display: "inline-block" - }, - hint: { - position: "absolute", - top: "0", - left: "0", - borderColor: "transparent", - boxShadow: "none", - opacity: "1" - }, - input: { - position: "relative", - verticalAlign: "top", - backgroundColor: "transparent" - }, - inputWithNoHint: { - position: "relative", - verticalAlign: "top" - }, - menu: { - position: "absolute", - top: "100%", - left: "0", - zIndex: "100", - display: "none" - }, - ltr: { - left: "0", - right: "auto" - }, - rtl: { - left: "auto", - right: " 0" - } - }; - if (_.isMsie()) { - _.mixin(css.input, { - backgroundImage: "url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)" - }); - } - return css; - } - }(); - var EventBus = function() { - "use strict"; - var namespace, deprecationMap; - namespace = "typeahead:"; - deprecationMap = { - render: "rendered", - cursorchange: "cursorchanged", - select: "selected", - autocomplete: "autocompleted" - }; - function EventBus(o) { - if (!o || !o.el) { - $.error("EventBus initialized without el"); - } - this.$el = $(o.el); - } - _.mixin(EventBus.prototype, { - _trigger: function(type, args) { - var $e = $.Event(namespace + type); - this.$el.trigger.call(this.$el, $e, args || []); - return $e; - }, - before: function(type) { - var args, $e; - args = [].slice.call(arguments, 1); - $e = this._trigger("before" + type, args); - return $e.isDefaultPrevented(); - }, - trigger: function(type) { - var deprecatedType; - this._trigger(type, [].slice.call(arguments, 1)); - if (deprecatedType = deprecationMap[type]) { - this._trigger(deprecatedType, [].slice.call(arguments, 1)); - } - } - }); - return EventBus; - }(); - var EventEmitter = function() { - "use strict"; - var splitter = /\s+/, nextTick = getNextTick(); - return { - onSync: onSync, - onAsync: onAsync, - off: off, - trigger: trigger - }; - function on(method, types, cb, context) { - var type; - if (!cb) { - return this; - } - types = types.split(splitter); - cb = context ? bindContext(cb, context) : cb; - this._callbacks = this._callbacks || {}; - while (type = types.shift()) { - this._callbacks[type] = this._callbacks[type] || { - sync: [], - async: [] - }; - this._callbacks[type][method].push(cb); - } - return this; - } - function onAsync(types, cb, context) { - return on.call(this, "async", types, cb, context); - } - function onSync(types, cb, context) { - return on.call(this, "sync", types, cb, context); - } - function off(types) { - var type; - if (!this._callbacks) { - return this; - } - types = types.split(splitter); - while (type = types.shift()) { - delete this._callbacks[type]; - } - return this; - } - function trigger(types) { - var type, callbacks, args, syncFlush, asyncFlush; - if (!this._callbacks) { - return this; - } - types = types.split(splitter); - args = [].slice.call(arguments, 1); - while ((type = types.shift()) && (callbacks = this._callbacks[type])) { - syncFlush = getFlush(callbacks.sync, this, [ type ].concat(args)); - asyncFlush = getFlush(callbacks.async, this, [ type ].concat(args)); - syncFlush() && nextTick(asyncFlush); - } - return this; - } - function getFlush(callbacks, context, args) { - return flush; - function flush() { - var cancelled; - for (var i = 0, len = callbacks.length; !cancelled && i < len; i += 1) { - cancelled = callbacks[i].apply(context, args) === false; - } - return !cancelled; - } - } - function getNextTick() { - var nextTickFn; - if (window.setImmediate) { - nextTickFn = function nextTickSetImmediate(fn) { - setImmediate(function() { - fn(); - }); - }; - } else { - nextTickFn = function nextTickSetTimeout(fn) { - setTimeout(function() { - fn(); - }, 0); - }; - } - return nextTickFn; - } - function bindContext(fn, context) { - return fn.bind ? fn.bind(context) : function() { - fn.apply(context, [].slice.call(arguments, 0)); - }; - } - }(); - var highlight = function(doc) { - "use strict"; - var defaults = { - node: null, - pattern: null, - tagName: "strong", - className: null, - wordsOnly: false, - caseSensitive: false, - diacriticInsensitive: false - }; - var accented = { - A: "[AaªÀ-Åà-åĀ-ąǍǎȀ-ȃȦȧᴬᵃḀḁẚẠ-ảₐ℀℁℻⒜Ⓐⓐ㍱-㍴㎀-㎄㎈㎉㎩-㎯㏂㏊㏟㏿Aa]", - B: "[BbᴮᵇḂ-ḇℬ⒝Ⓑⓑ㍴㎅-㎇㏃㏈㏔㏝Bb]", - C: "[CcÇçĆ-čᶜ℀ℂ℃℅℆ℭⅭⅽ⒞Ⓒⓒ㍶㎈㎉㎝㎠㎤㏄-㏇Cc]", - D: "[DdĎďDŽ-džDZ-dzᴰᵈḊ-ḓⅅⅆⅮⅾ⒟Ⓓⓓ㋏㍲㍷-㍹㎗㎭-㎯㏅㏈Dd]", - E: "[EeÈ-Ëè-ëĒ-ěȄ-ȇȨȩᴱᵉḘ-ḛẸ-ẽₑ℡ℯℰⅇ⒠Ⓔⓔ㉐㋍㋎Ee]", - F: "[FfᶠḞḟ℉ℱ℻⒡Ⓕⓕ㎊-㎌㎙ff-fflFf]", - G: "[GgĜ-ģǦǧǴǵᴳᵍḠḡℊ⒢Ⓖⓖ㋌㋍㎇㎍-㎏㎓㎬㏆㏉㏒㏿Gg]", - H: "[HhĤĥȞȟʰᴴḢ-ḫẖℋ-ℎ⒣Ⓗⓗ㋌㍱㎐-㎔㏊㏋㏗Hh]", - I: "[IiÌ-Ïì-ïĨ-İIJijǏǐȈ-ȋᴵᵢḬḭỈ-ịⁱℐℑℹⅈⅠ-ⅣⅥ-ⅨⅪⅫⅰ-ⅳⅵ-ⅸⅺⅻ⒤Ⓘⓘ㍺㏌㏕fiffiIi]", - J: "[JjIJ-ĵLJ-njǰʲᴶⅉ⒥ⒿⓙⱼJj]", - K: "[KkĶķǨǩᴷᵏḰ-ḵK⒦Ⓚⓚ㎄㎅㎉㎏㎑㎘㎞㎢㎦㎪㎸㎾㏀㏆㏍-㏏Kk]", - L: "[LlĹ-ŀLJ-ljˡᴸḶḷḺ-ḽℒℓ℡Ⅼⅼ⒧Ⓛⓛ㋏㎈㎉㏐-㏓㏕㏖㏿flfflLl]", - M: "[MmᴹᵐḾ-ṃ℠™ℳⅯⅿ⒨Ⓜⓜ㍷-㍹㎃㎆㎎㎒㎖㎙-㎨㎫㎳㎷㎹㎽㎿㏁㏂㏎㏐㏔-㏖㏘㏙㏞㏟Mm]", - N: "[NnÑñŃ-ʼnNJ-njǸǹᴺṄ-ṋⁿℕ№⒩Ⓝⓝ㎁㎋㎚㎱㎵㎻㏌㏑Nn]", - O: "[OoºÒ-Öò-öŌ-őƠơǑǒǪǫȌ-ȏȮȯᴼᵒỌ-ỏₒ℅№ℴ⒪Ⓞⓞ㍵㏇㏒㏖Oo]", - P: "[PpᴾᵖṔ-ṗℙ⒫Ⓟⓟ㉐㍱㍶㎀㎊㎩-㎬㎰㎴㎺㏋㏗-㏚Pp]", - Q: "[Qqℚ⒬Ⓠⓠ㏃Qq]", - R: "[RrŔ-řȐ-ȓʳᴿᵣṘ-ṛṞṟ₨ℛ-ℝ⒭Ⓡⓡ㋍㍴㎭-㎯㏚㏛Rr]", - S: "[SsŚ-šſȘșˢṠ-ṣ₨℁℠⒮Ⓢⓢ㎧㎨㎮-㎳㏛㏜stSs]", - T: "[TtŢ-ťȚțᵀᵗṪ-ṱẗ℡™⒯Ⓣⓣ㉐㋏㎔㏏ſtstTt]", - U: "[UuÙ-Üù-üŨ-ųƯưǓǔȔ-ȗᵁᵘᵤṲ-ṷỤ-ủ℆⒰Ⓤⓤ㍳㍺Uu]", - V: "[VvᵛᵥṼ-ṿⅣ-Ⅷⅳ-ⅷ⒱Ⓥⓥⱽ㋎㍵㎴-㎹㏜㏞Vv]", - W: "[WwŴŵʷᵂẀ-ẉẘ⒲Ⓦⓦ㎺-㎿㏝Ww]", - X: "[XxˣẊ-ẍₓ℻Ⅸ-Ⅻⅸ-ⅻ⒳Ⓧⓧ㏓Xx]", - Y: "[YyÝýÿŶ-ŸȲȳʸẎẏẙỲ-ỹ⒴Ⓨⓨ㏉Yy]", - Z: "[ZzŹ-žDZ-dzᶻẐ-ẕℤℨ⒵Ⓩⓩ㎐-㎔Zz]" - }; - return function hightlight(o) { - var regex; - o = _.mixin({}, defaults, o); - if (!o.node || !o.pattern) { - return; - } - o.pattern = _.isArray(o.pattern) ? o.pattern : [ o.pattern ]; - regex = getRegex(o.pattern, o.caseSensitive, o.wordsOnly, o.diacriticInsensitive); - traverse(o.node, hightlightTextNode); - function hightlightTextNode(textNode) { - var match, patternNode, wrapperNode; - if (match = regex.exec(textNode.data)) { - wrapperNode = doc.createElement(o.tagName); - o.className && (wrapperNode.className = o.className); - patternNode = textNode.splitText(match.index); - patternNode.splitText(match[0].length); - wrapperNode.appendChild(patternNode.cloneNode(true)); - textNode.parentNode.replaceChild(wrapperNode, patternNode); - } - return !!match; - } - function traverse(el, hightlightTextNode) { - var childNode, TEXT_NODE_TYPE = 3; - for (var i = 0; i < el.childNodes.length; i++) { - childNode = el.childNodes[i]; - if (childNode.nodeType === TEXT_NODE_TYPE) { - i += hightlightTextNode(childNode) ? 1 : 0; - } else { - traverse(childNode, hightlightTextNode); - } - } - } - }; - function accent_replacer(chr) { - return accented[chr.toUpperCase()] || chr; - } - function getRegex(patterns, caseSensitive, wordsOnly, diacriticInsensitive) { - var escapedPatterns = [], regexStr; - for (var i = 0, len = patterns.length; i < len; i++) { - var escapedWord = _.escapeRegExChars(patterns[i]); - if (diacriticInsensitive) { - escapedWord = escapedWord.replace(/\S/g, accent_replacer); - } - escapedPatterns.push(escapedWord); - } - regexStr = wordsOnly ? "\\b(" + escapedPatterns.join("|") + ")\\b" : "(" + escapedPatterns.join("|") + ")"; - return caseSensitive ? new RegExp(regexStr) : new RegExp(regexStr, "i"); - } - }(window.document); - var Input = function() { - "use strict"; - var specialKeyCodeMap; - specialKeyCodeMap = { - 9: "tab", - 27: "esc", - 37: "left", - 39: "right", - 13: "enter", - 38: "up", - 40: "down" - }; - function Input(o, www) { - var id; - o = o || {}; - if (!o.input) { - $.error("input is missing"); - } - www.mixin(this); - this.$hint = $(o.hint); - this.$input = $(o.input); - this.$menu = $(o.menu); - id = this.$input.attr("id") || _.guid(); - this.$menu.attr("id", id + "_listbox"); - this.$hint.attr({ - "aria-hidden": true - }); - this.$input.attr({ - "aria-owns": id + "_listbox", - role: "combobox", - "aria-autocomplete": "list", - "aria-expanded": false - }); - this.query = this.$input.val(); - this.queryWhenFocused = this.hasFocus() ? this.query : null; - this.$overflowHelper = buildOverflowHelper(this.$input); - this._checkLanguageDirection(); - if (this.$hint.length === 0) { - this.setHint = this.getHint = this.clearHint = this.clearHintIfInvalid = _.noop; - } - this.onSync("cursorchange", this._updateDescendent); - } - Input.normalizeQuery = function(str) { - return _.toStr(str).replace(/^\s*/g, "").replace(/\s{2,}/g, " "); - }; - _.mixin(Input.prototype, EventEmitter, { - _onBlur: function onBlur() { - this.resetInputValue(); - this.trigger("blurred"); - }, - _onFocus: function onFocus() { - this.queryWhenFocused = this.query; - this.trigger("focused"); - }, - _onKeydown: function onKeydown($e) { - var keyName = specialKeyCodeMap[$e.which || $e.keyCode]; - this._managePreventDefault(keyName, $e); - if (keyName && this._shouldTrigger(keyName, $e)) { - this.trigger(keyName + "Keyed", $e); - } - }, - _onInput: function onInput() { - this._setQuery(this.getInputValue()); - this.clearHintIfInvalid(); - this._checkLanguageDirection(); - }, - _managePreventDefault: function managePreventDefault(keyName, $e) { - var preventDefault; - switch (keyName) { - case "up": - case "down": - preventDefault = !withModifier($e); - break; - - default: - preventDefault = false; - } - preventDefault && $e.preventDefault(); - }, - _shouldTrigger: function shouldTrigger(keyName, $e) { - var trigger; - switch (keyName) { - case "tab": - trigger = !withModifier($e); - break; - - default: - trigger = true; - } - return trigger; - }, - _checkLanguageDirection: function checkLanguageDirection() { - var dir = (this.$input.css("direction") || "ltr").toLowerCase(); - if (this.dir !== dir) { - this.dir = dir; - this.$hint.attr("dir", dir); - this.trigger("langDirChanged", dir); - } - }, - _setQuery: function setQuery(val, silent) { - var areEquivalent, hasDifferentWhitespace; - areEquivalent = areQueriesEquivalent(val, this.query); - hasDifferentWhitespace = areEquivalent ? this.query.length !== val.length : false; - this.query = val; - if (!silent && !areEquivalent) { - this.trigger("queryChanged", this.query); - } else if (!silent && hasDifferentWhitespace) { - this.trigger("whitespaceChanged", this.query); - } - }, - _updateDescendent: function updateDescendent(event, id) { - this.$input.attr("aria-activedescendant", id); - }, - bind: function() { - var that = this, onBlur, onFocus, onKeydown, onInput; - onBlur = _.bind(this._onBlur, this); - onFocus = _.bind(this._onFocus, this); - onKeydown = _.bind(this._onKeydown, this); - onInput = _.bind(this._onInput, this); - this.$input.on("blur.tt", onBlur).on("focus.tt", onFocus).on("keydown.tt", onKeydown); - if (!_.isMsie() || _.isMsie() > 9) { - this.$input.on("input.tt", onInput); - } else { - this.$input.on("keydown.tt keypress.tt cut.tt paste.tt", function($e) { - if (specialKeyCodeMap[$e.which || $e.keyCode]) { - return; - } - _.defer(_.bind(that._onInput, that, $e)); - }); - } - return this; - }, - focus: function focus() { - this.$input.focus(); - }, - blur: function blur() { - this.$input.blur(); - }, - getLangDir: function getLangDir() { - return this.dir; - }, - getQuery: function getQuery() { - return this.query || ""; - }, - setQuery: function setQuery(val, silent) { - this.setInputValue(val); - this._setQuery(val, silent); - }, - hasQueryChangedSinceLastFocus: function hasQueryChangedSinceLastFocus() { - return this.query !== this.queryWhenFocused; - }, - getInputValue: function getInputValue() { - return this.$input.val(); - }, - setInputValue: function setInputValue(value) { - this.$input.val(value); - this.clearHintIfInvalid(); - this._checkLanguageDirection(); - }, - resetInputValue: function resetInputValue() { - this.setInputValue(this.query); - }, - getHint: function getHint() { - return this.$hint.val(); - }, - setHint: function setHint(value) { - this.$hint.val(value); - }, - clearHint: function clearHint() { - this.setHint(""); - }, - clearHintIfInvalid: function clearHintIfInvalid() { - var val, hint, valIsPrefixOfHint, isValid; - val = this.getInputValue(); - hint = this.getHint(); - valIsPrefixOfHint = val !== hint && hint.indexOf(val) === 0; - isValid = val !== "" && valIsPrefixOfHint && !this.hasOverflow(); - !isValid && this.clearHint(); - }, - hasFocus: function hasFocus() { - return this.$input.is(":focus"); - }, - hasOverflow: function hasOverflow() { - var constraint = this.$input.width() - 2; - this.$overflowHelper.text(this.getInputValue()); - return this.$overflowHelper.width() >= constraint; - }, - isCursorAtEnd: function() { - var valueLength, selectionStart, range; - valueLength = this.$input.val().length; - selectionStart = this.$input[0].selectionStart; - if (_.isNumber(selectionStart)) { - return selectionStart === valueLength; - } else if (document.selection) { - range = document.selection.createRange(); - range.moveStart("character", -valueLength); - return valueLength === range.text.length; - } - return true; - }, - destroy: function destroy() { - this.$hint.off(".tt"); - this.$input.off(".tt"); - this.$overflowHelper.remove(); - this.$hint = this.$input = this.$overflowHelper = $("
"); - }, - setAriaExpanded: function setAriaExpanded(value) { - this.$input.attr("aria-expanded", value); - } - }); - return Input; - function buildOverflowHelper($input) { - return $('').css({ - position: "absolute", - visibility: "hidden", - whiteSpace: "pre", - fontFamily: $input.css("font-family"), - fontSize: $input.css("font-size"), - fontStyle: $input.css("font-style"), - fontVariant: $input.css("font-variant"), - fontWeight: $input.css("font-weight"), - wordSpacing: $input.css("word-spacing"), - letterSpacing: $input.css("letter-spacing"), - textIndent: $input.css("text-indent"), - textRendering: $input.css("text-rendering"), - textTransform: $input.css("text-transform") - }).insertAfter($input); - } - function areQueriesEquivalent(a, b) { - return Input.normalizeQuery(a) === Input.normalizeQuery(b); - } - function withModifier($e) { - return $e.altKey || $e.ctrlKey || $e.metaKey || $e.shiftKey; - } - }(); - var Dataset = function() { - "use strict"; - var keys, nameGenerator; - keys = { - dataset: "tt-selectable-dataset", - val: "tt-selectable-display", - obj: "tt-selectable-object" - }; - nameGenerator = _.getIdGenerator(); - function Dataset(o, www) { - o = o || {}; - o.templates = o.templates || {}; - o.templates.notFound = o.templates.notFound || o.templates.empty; - if (!o.source) { - $.error("missing source"); - } - if (!o.node) { - $.error("missing node"); - } - if (o.name && !isValidName(o.name)) { - $.error("invalid dataset name: " + o.name); - } - www.mixin(this); - this.highlight = !!o.highlight; - this.name = _.toStr(o.name || nameGenerator()); - this.limit = o.limit || 5; - this.displayFn = getDisplayFn(o.display || o.displayKey); - this.templates = getTemplates(o.templates, this.displayFn); - this.source = o.source.__ttAdapter ? o.source.__ttAdapter() : o.source; - this.async = _.isUndefined(o.async) ? this.source.length > 2 : !!o.async; - this._resetLastSuggestion(); - this.$el = $(o.node).attr("role", "presentation").addClass(this.classes.dataset).addClass(this.classes.dataset + "-" + this.name); - } - Dataset.extractData = function extractData(el) { - var $el = $(el); - if ($el.data(keys.obj)) { - return { - dataset: $el.data(keys.dataset) || "", - val: $el.data(keys.val) || "", - obj: $el.data(keys.obj) || null - }; - } - return null; - }; - _.mixin(Dataset.prototype, EventEmitter, { - _overwrite: function overwrite(query, suggestions) { - suggestions = suggestions || []; - if (suggestions.length) { - this._renderSuggestions(query, suggestions); - } else if (this.async && this.templates.pending) { - this._renderPending(query); - } else if (!this.async && this.templates.notFound) { - this._renderNotFound(query); - } else { - this._empty(); - } - this.trigger("rendered", suggestions, false, this.name); - }, - _append: function append(query, suggestions) { - suggestions = suggestions || []; - if (suggestions.length && this.$lastSuggestion.length) { - this._appendSuggestions(query, suggestions); - } else if (suggestions.length) { - this._renderSuggestions(query, suggestions); - } else if (!this.$lastSuggestion.length && this.templates.notFound) { - this._renderNotFound(query); - } - this.trigger("rendered", suggestions, true, this.name); - }, - _renderSuggestions: function renderSuggestions(query, suggestions) { - var $fragment; - $fragment = this._getSuggestionsFragment(query, suggestions); - this.$lastSuggestion = $fragment.children().last(); - this.$el.html($fragment).prepend(this._getHeader(query, suggestions)).append(this._getFooter(query, suggestions)); - }, - _appendSuggestions: function appendSuggestions(query, suggestions) { - var $fragment, $lastSuggestion; - $fragment = this._getSuggestionsFragment(query, suggestions); - $lastSuggestion = $fragment.children().last(); - this.$lastSuggestion.after($fragment); - this.$lastSuggestion = $lastSuggestion; - }, - _renderPending: function renderPending(query) { - var template = this.templates.pending; - this._resetLastSuggestion(); - template && this.$el.html(template({ - query: query, - dataset: this.name - })); - }, - _renderNotFound: function renderNotFound(query) { - var template = this.templates.notFound; - this._resetLastSuggestion(); - template && this.$el.html(template({ - query: query, - dataset: this.name - })); - }, - _empty: function empty() { - this.$el.empty(); - this._resetLastSuggestion(); - }, - _getSuggestionsFragment: function getSuggestionsFragment(query, suggestions) { - var that = this, fragment; - fragment = document.createDocumentFragment(); - _.each(suggestions, function getSuggestionNode(suggestion) { - var $el, context; - context = that._injectQuery(query, suggestion); - $el = $(that.templates.suggestion(context)).data(keys.dataset, that.name).data(keys.obj, suggestion).data(keys.val, that.displayFn(suggestion)).addClass(that.classes.suggestion + " " + that.classes.selectable); - fragment.appendChild($el[0]); - }); - this.highlight && highlight({ - className: this.classes.highlight, - node: fragment, - pattern: query - }); - return $(fragment); - }, - _getFooter: function getFooter(query, suggestions) { - return this.templates.footer ? this.templates.footer({ - query: query, - suggestions: suggestions, - dataset: this.name - }) : null; - }, - _getHeader: function getHeader(query, suggestions) { - return this.templates.header ? this.templates.header({ - query: query, - suggestions: suggestions, - dataset: this.name - }) : null; - }, - _resetLastSuggestion: function resetLastSuggestion() { - this.$lastSuggestion = $(); - }, - _injectQuery: function injectQuery(query, obj) { - return _.isObject(obj) ? _.mixin({ - _query: query - }, obj) : obj; - }, - update: function update(query) { - var that = this, canceled = false, syncCalled = false, rendered = 0; - this.cancel(); - this.cancel = function cancel() { - canceled = true; - that.cancel = $.noop; - that.async && that.trigger("asyncCanceled", query, that.name); - }; - this.source(query, sync, async); - !syncCalled && sync([]); - function sync(suggestions) { - if (syncCalled) { - return; - } - syncCalled = true; - suggestions = (suggestions || []).slice(0, that.limit); - rendered = suggestions.length; - that._overwrite(query, suggestions); - if (rendered < that.limit && that.async) { - that.trigger("asyncRequested", query, that.name); - } - } - function async(suggestions) { - suggestions = suggestions || []; - if (!canceled && rendered < that.limit) { - that.cancel = $.noop; - var idx = Math.abs(rendered - that.limit); - rendered += idx; - that._append(query, suggestions.slice(0, idx)); - that.async && that.trigger("asyncReceived", query, that.name); - } - } - }, - cancel: $.noop, - clear: function clear() { - this._empty(); - this.cancel(); - this.trigger("cleared"); - }, - isEmpty: function isEmpty() { - return this.$el.is(":empty"); - }, - destroy: function destroy() { - this.$el = $("
"); - } - }); - return Dataset; - function getDisplayFn(display) { - display = display || _.stringify; - return _.isFunction(display) ? display : displayFn; - function displayFn(obj) { - return obj[display]; - } - } - function getTemplates(templates, displayFn) { - return { - notFound: templates.notFound && _.templatify(templates.notFound), - pending: templates.pending && _.templatify(templates.pending), - header: templates.header && _.templatify(templates.header), - footer: templates.footer && _.templatify(templates.footer), - suggestion: templates.suggestion ? userSuggestionTemplate : suggestionTemplate - }; - function userSuggestionTemplate(context) { - var template = templates.suggestion; - return $(template(context)).attr("id", _.guid()); - } - function suggestionTemplate(context) { - return $('
').attr("id", _.guid()).text(displayFn(context)); - } - } - function isValidName(str) { - return /^[_a-zA-Z0-9-]+$/.test(str); - } - }(); - var Menu = function() { - "use strict"; - function Menu(o, www) { - var that = this; - o = o || {}; - if (!o.node) { - $.error("node is required"); - } - www.mixin(this); - this.$node = $(o.node); - this.query = null; - this.datasets = _.map(o.datasets, initializeDataset); - function initializeDataset(oDataset) { - var node = that.$node.find(oDataset.node).first(); - oDataset.node = node.length ? node : $("
").appendTo(that.$node); - return new Dataset(oDataset, www); - } - } - _.mixin(Menu.prototype, EventEmitter, { - _onSelectableClick: function onSelectableClick($e) { - this.trigger("selectableClicked", $($e.currentTarget)); - }, - _onRendered: function onRendered(type, dataset, suggestions, async) { - this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty()); - this.trigger("datasetRendered", dataset, suggestions, async); - }, - _onCleared: function onCleared() { - this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty()); - this.trigger("datasetCleared"); - }, - _propagate: function propagate() { - this.trigger.apply(this, arguments); - }, - _allDatasetsEmpty: function allDatasetsEmpty() { - return _.every(this.datasets, _.bind(function isDatasetEmpty(dataset) { - var isEmpty = dataset.isEmpty(); - this.$node.attr("aria-expanded", !isEmpty); - return isEmpty; - }, this)); - }, - _getSelectables: function getSelectables() { - return this.$node.find(this.selectors.selectable); - }, - _removeCursor: function _removeCursor() { - var $selectable = this.getActiveSelectable(); - $selectable && $selectable.removeClass(this.classes.cursor); - }, - _ensureVisible: function ensureVisible($el) { - var elTop, elBottom, nodeScrollTop, nodeHeight; - elTop = $el.position().top; - elBottom = elTop + $el.outerHeight(true); - nodeScrollTop = this.$node.scrollTop(); - nodeHeight = this.$node.height() + parseInt(this.$node.css("paddingTop"), 10) + parseInt(this.$node.css("paddingBottom"), 10); - if (elTop < 0) { - this.$node.scrollTop(nodeScrollTop + elTop); - } else if (nodeHeight < elBottom) { - this.$node.scrollTop(nodeScrollTop + (elBottom - nodeHeight)); - } - }, - bind: function() { - var that = this, onSelectableClick; - onSelectableClick = _.bind(this._onSelectableClick, this); - this.$node.on("click.tt", this.selectors.selectable, onSelectableClick); - this.$node.on("mouseover", this.selectors.selectable, function() { - that.setCursor($(this)); - }); - this.$node.on("mouseleave", function() { - that._removeCursor(); - }); - _.each(this.datasets, function(dataset) { - dataset.onSync("asyncRequested", that._propagate, that).onSync("asyncCanceled", that._propagate, that).onSync("asyncReceived", that._propagate, that).onSync("rendered", that._onRendered, that).onSync("cleared", that._onCleared, that); - }); - return this; - }, - isOpen: function isOpen() { - return this.$node.hasClass(this.classes.open); - }, - open: function open() { - this.$node.scrollTop(0); - this.$node.addClass(this.classes.open); - }, - close: function close() { - this.$node.attr("aria-expanded", false); - this.$node.removeClass(this.classes.open); - this._removeCursor(); - }, - setLanguageDirection: function setLanguageDirection(dir) { - this.$node.attr("dir", dir); - }, - selectableRelativeToCursor: function selectableRelativeToCursor(delta) { - var $selectables, $oldCursor, oldIndex, newIndex; - $oldCursor = this.getActiveSelectable(); - $selectables = this._getSelectables(); - oldIndex = $oldCursor ? $selectables.index($oldCursor) : -1; - newIndex = oldIndex + delta; - newIndex = (newIndex + 1) % ($selectables.length + 1) - 1; - newIndex = newIndex < -1 ? $selectables.length - 1 : newIndex; - return newIndex === -1 ? null : $selectables.eq(newIndex); - }, - setCursor: function setCursor($selectable) { - this._removeCursor(); - if ($selectable = $selectable && $selectable.first()) { - $selectable.addClass(this.classes.cursor); - this._ensureVisible($selectable); - } - }, - getSelectableData: function getSelectableData($el) { - return $el && $el.length ? Dataset.extractData($el) : null; - }, - getActiveSelectable: function getActiveSelectable() { - var $selectable = this._getSelectables().filter(this.selectors.cursor).first(); - return $selectable.length ? $selectable : null; - }, - getTopSelectable: function getTopSelectable() { - var $selectable = this._getSelectables().first(); - return $selectable.length ? $selectable : null; - }, - update: function update(query) { - var isValidUpdate = query !== this.query; - if (isValidUpdate) { - this.query = query; - _.each(this.datasets, updateDataset); - } - return isValidUpdate; - function updateDataset(dataset) { - dataset.update(query); - } - }, - empty: function empty() { - _.each(this.datasets, clearDataset); - this.query = null; - this.$node.addClass(this.classes.empty); - function clearDataset(dataset) { - dataset.clear(); - } - }, - destroy: function destroy() { - this.$node.off(".tt"); - this.$node = $("
"); - _.each(this.datasets, destroyDataset); - function destroyDataset(dataset) { - dataset.destroy(); - } - } - }); - return Menu; - }(); - var Status = function() { - "use strict"; - function Status(options) { - this.$el = $("", { - role: "status", - "aria-live": "polite" - }).css({ - position: "absolute", - padding: "0", - border: "0", - height: "1px", - width: "1px", - "margin-bottom": "-1px", - "margin-right": "-1px", - overflow: "hidden", - clip: "rect(0 0 0 0)", - "white-space": "nowrap" - }); - options.$input.after(this.$el); - _.each(options.menu.datasets, _.bind(function(dataset) { - if (dataset.onSync) { - dataset.onSync("rendered", _.bind(this.update, this)); - dataset.onSync("cleared", _.bind(this.cleared, this)); - } - }, this)); - } - _.mixin(Status.prototype, { - update: function update(event, suggestions) { - var length = suggestions.length; - var words; - if (length === 1) { - words = { - result: "result", - is: "is" - }; - } else { - words = { - result: "results", - is: "are" - }; - } - this.$el.text(length + " " + words.result + " " + words.is + " available, use up and down arrow keys to navigate."); - }, - cleared: function() { - this.$el.text(""); - } - }); - return Status; - }(); - var DefaultMenu = function() { - "use strict"; - var s = Menu.prototype; - function DefaultMenu() { - Menu.apply(this, [].slice.call(arguments, 0)); - } - _.mixin(DefaultMenu.prototype, Menu.prototype, { - open: function open() { - !this._allDatasetsEmpty() && this._show(); - return s.open.apply(this, [].slice.call(arguments, 0)); - }, - close: function close() { - this._hide(); - return s.close.apply(this, [].slice.call(arguments, 0)); - }, - _onRendered: function onRendered() { - if (this._allDatasetsEmpty()) { - this._hide(); - } else { - this.isOpen() && this._show(); - } - return s._onRendered.apply(this, [].slice.call(arguments, 0)); - }, - _onCleared: function onCleared() { - if (this._allDatasetsEmpty()) { - this._hide(); - } else { - this.isOpen() && this._show(); - } - return s._onCleared.apply(this, [].slice.call(arguments, 0)); - }, - setLanguageDirection: function setLanguageDirection(dir) { - this.$node.css(dir === "ltr" ? this.css.ltr : this.css.rtl); - return s.setLanguageDirection.apply(this, [].slice.call(arguments, 0)); - }, - _hide: function hide() { - this.$node.hide(); - }, - _show: function show() { - this.$node.css("display", "block"); - } - }); - return DefaultMenu; - }(); - var Typeahead = function() { - "use strict"; - function Typeahead(o, www) { - var onFocused, onBlurred, onEnterKeyed, onTabKeyed, onEscKeyed, onUpKeyed, onDownKeyed, onLeftKeyed, onRightKeyed, onQueryChanged, onWhitespaceChanged; - o = o || {}; - if (!o.input) { - $.error("missing input"); - } - if (!o.menu) { - $.error("missing menu"); - } - if (!o.eventBus) { - $.error("missing event bus"); - } - www.mixin(this); - this.eventBus = o.eventBus; - this.minLength = _.isNumber(o.minLength) ? o.minLength : 1; - this.input = o.input; - this.menu = o.menu; - this.enabled = true; - this.autoselect = !!o.autoselect; - this.active = false; - this.input.hasFocus() && this.activate(); - this.dir = this.input.getLangDir(); - this._hacks(); - this.menu.bind().onSync("selectableClicked", this._onSelectableClicked, this).onSync("asyncRequested", this._onAsyncRequested, this).onSync("asyncCanceled", this._onAsyncCanceled, this).onSync("asyncReceived", this._onAsyncReceived, this).onSync("datasetRendered", this._onDatasetRendered, this).onSync("datasetCleared", this._onDatasetCleared, this); - onFocused = c(this, "activate", "open", "_onFocused"); - onBlurred = c(this, "deactivate", "_onBlurred"); - onEnterKeyed = c(this, "isActive", "isOpen", "_onEnterKeyed"); - onTabKeyed = c(this, "isActive", "isOpen", "_onTabKeyed"); - onEscKeyed = c(this, "isActive", "_onEscKeyed"); - onUpKeyed = c(this, "isActive", "open", "_onUpKeyed"); - onDownKeyed = c(this, "isActive", "open", "_onDownKeyed"); - onLeftKeyed = c(this, "isActive", "isOpen", "_onLeftKeyed"); - onRightKeyed = c(this, "isActive", "isOpen", "_onRightKeyed"); - onQueryChanged = c(this, "_openIfActive", "_onQueryChanged"); - onWhitespaceChanged = c(this, "_openIfActive", "_onWhitespaceChanged"); - this.input.bind().onSync("focused", onFocused, this).onSync("blurred", onBlurred, this).onSync("enterKeyed", onEnterKeyed, this).onSync("tabKeyed", onTabKeyed, this).onSync("escKeyed", onEscKeyed, this).onSync("upKeyed", onUpKeyed, this).onSync("downKeyed", onDownKeyed, this).onSync("leftKeyed", onLeftKeyed, this).onSync("rightKeyed", onRightKeyed, this).onSync("queryChanged", onQueryChanged, this).onSync("whitespaceChanged", onWhitespaceChanged, this).onSync("langDirChanged", this._onLangDirChanged, this); - } - _.mixin(Typeahead.prototype, { - _hacks: function hacks() { - var $input, $menu; - $input = this.input.$input || $("
"); - $menu = this.menu.$node || $("
"); - $input.on("blur.tt", function($e) { - var active, isActive, hasActive; - active = document.activeElement; - isActive = $menu.is(active); - hasActive = $menu.has(active).length > 0; - if (_.isMsie() && (isActive || hasActive)) { - $e.preventDefault(); - $e.stopImmediatePropagation(); - _.defer(function() { - $input.focus(); - }); - } - }); - $menu.on("mousedown.tt", function($e) { - $e.preventDefault(); - }); - }, - _onSelectableClicked: function onSelectableClicked(type, $el) { - this.select($el); - }, - _onDatasetCleared: function onDatasetCleared() { - this._updateHint(); - }, - _onDatasetRendered: function onDatasetRendered(type, suggestions, async, dataset) { - this._updateHint(); - if (this.autoselect) { - var cursorClass = this.selectors.cursor.substr(1); - this.menu.$node.find(this.selectors.suggestion).first().addClass(cursorClass); - } - this.eventBus.trigger("render", suggestions, async, dataset); - }, - _onAsyncRequested: function onAsyncRequested(type, dataset, query) { - this.eventBus.trigger("asyncrequest", query, dataset); - }, - _onAsyncCanceled: function onAsyncCanceled(type, dataset, query) { - this.eventBus.trigger("asynccancel", query, dataset); - }, - _onAsyncReceived: function onAsyncReceived(type, dataset, query) { - this.eventBus.trigger("asyncreceive", query, dataset); - }, - _onFocused: function onFocused() { - this._minLengthMet() && this.menu.update(this.input.getQuery()); - }, - _onBlurred: function onBlurred() { - if (this.input.hasQueryChangedSinceLastFocus()) { - this.eventBus.trigger("change", this.input.getQuery()); - } - }, - _onEnterKeyed: function onEnterKeyed(type, $e) { - var $selectable; - if ($selectable = this.menu.getActiveSelectable()) { - if (this.select($selectable)) { - $e.preventDefault(); - $e.stopPropagation(); - } - } else if (this.autoselect) { - if (this.select(this.menu.getTopSelectable())) { - $e.preventDefault(); - $e.stopPropagation(); - } - } - }, - _onTabKeyed: function onTabKeyed(type, $e) { - var $selectable; - if ($selectable = this.menu.getActiveSelectable()) { - this.select($selectable) && $e.preventDefault(); - } else if (this.autoselect) { - if ($selectable = this.menu.getTopSelectable()) { - this.autocomplete($selectable) && $e.preventDefault(); - } - } - }, - _onEscKeyed: function onEscKeyed() { - this.close(); - }, - _onUpKeyed: function onUpKeyed() { - this.moveCursor(-1); - }, - _onDownKeyed: function onDownKeyed() { - this.moveCursor(+1); - }, - _onLeftKeyed: function onLeftKeyed() { - if (this.dir === "rtl" && this.input.isCursorAtEnd()) { - this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable()); - } - }, - _onRightKeyed: function onRightKeyed() { - if (this.dir === "ltr" && this.input.isCursorAtEnd()) { - this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable()); - } - }, - _onQueryChanged: function onQueryChanged(e, query) { - this._minLengthMet(query) ? this.menu.update(query) : this.menu.empty(); - }, - _onWhitespaceChanged: function onWhitespaceChanged() { - this._updateHint(); - }, - _onLangDirChanged: function onLangDirChanged(e, dir) { - if (this.dir !== dir) { - this.dir = dir; - this.menu.setLanguageDirection(dir); - } - }, - _openIfActive: function openIfActive() { - this.isActive() && this.open(); - }, - _minLengthMet: function minLengthMet(query) { - query = _.isString(query) ? query : this.input.getQuery() || ""; - return query.length >= this.minLength; - }, - _updateHint: function updateHint() { - var $selectable, data, val, query, escapedQuery, frontMatchRegEx, match; - $selectable = this.menu.getTopSelectable(); - data = this.menu.getSelectableData($selectable); - val = this.input.getInputValue(); - if (data && !_.isBlankString(val) && !this.input.hasOverflow()) { - query = Input.normalizeQuery(val); - escapedQuery = _.escapeRegExChars(query); - frontMatchRegEx = new RegExp("^(?:" + escapedQuery + ")(.+$)", "i"); - match = frontMatchRegEx.exec(data.val); - match && this.input.setHint(val + match[1]); - } else { - this.input.clearHint(); - } - }, - isEnabled: function isEnabled() { - return this.enabled; - }, - enable: function enable() { - this.enabled = true; - }, - disable: function disable() { - this.enabled = false; - }, - isActive: function isActive() { - return this.active; - }, - activate: function activate() { - if (this.isActive()) { - return true; - } else if (!this.isEnabled() || this.eventBus.before("active")) { - return false; - } else { - this.active = true; - this.eventBus.trigger("active"); - return true; - } - }, - deactivate: function deactivate() { - if (!this.isActive()) { - return true; - } else if (this.eventBus.before("idle")) { - return false; - } else { - this.active = false; - this.close(); - this.eventBus.trigger("idle"); - return true; - } - }, - isOpen: function isOpen() { - return this.menu.isOpen(); - }, - open: function open() { - if (!this.isOpen() && !this.eventBus.before("open")) { - this.input.setAriaExpanded(true); - this.menu.open(); - this._updateHint(); - this.eventBus.trigger("open"); - } - return this.isOpen(); - }, - close: function close() { - if (this.isOpen() && !this.eventBus.before("close")) { - this.input.setAriaExpanded(false); - this.menu.close(); - this.input.clearHint(); - this.input.resetInputValue(); - this.eventBus.trigger("close"); - } - return !this.isOpen(); - }, - setVal: function setVal(val) { - this.input.setQuery(_.toStr(val)); - }, - getVal: function getVal() { - return this.input.getQuery(); - }, - select: function select($selectable) { - var data = this.menu.getSelectableData($selectable); - if (data && !this.eventBus.before("select", data.obj, data.dataset)) { - this.input.setQuery(data.val, true); - this.eventBus.trigger("select", data.obj, data.dataset); - this.close(); - return true; - } - return false; - }, - autocomplete: function autocomplete($selectable) { - var query, data, isValid; - query = this.input.getQuery(); - data = this.menu.getSelectableData($selectable); - isValid = data && query !== data.val; - if (isValid && !this.eventBus.before("autocomplete", data.obj, data.dataset)) { - this.input.setQuery(data.val); - this.eventBus.trigger("autocomplete", data.obj, data.dataset); - return true; - } - return false; - }, - moveCursor: function moveCursor(delta) { - var query, $candidate, data, suggestion, datasetName, cancelMove, id; - query = this.input.getQuery(); - $candidate = this.menu.selectableRelativeToCursor(delta); - data = this.menu.getSelectableData($candidate); - suggestion = data ? data.obj : null; - datasetName = data ? data.dataset : null; - id = $candidate ? $candidate.attr("id") : null; - this.input.trigger("cursorchange", id); - cancelMove = this._minLengthMet() && this.menu.update(query); - if (!cancelMove && !this.eventBus.before("cursorchange", suggestion, datasetName)) { - this.menu.setCursor($candidate); - if (data) { - if (typeof data.val === "string") { - this.input.setInputValue(data.val); - } - } else { - this.input.resetInputValue(); - this._updateHint(); - } - this.eventBus.trigger("cursorchange", suggestion, datasetName); - return true; - } - return false; - }, - destroy: function destroy() { - this.input.destroy(); - this.menu.destroy(); - } - }); - return Typeahead; - function c(ctx) { - var methods = [].slice.call(arguments, 1); - return function() { - var args = [].slice.call(arguments); - _.each(methods, function(method) { - return ctx[method].apply(ctx, args); - }); - }; - } - }(); - (function() { - "use strict"; - var old, keys, methods; - old = $.fn.typeahead; - keys = { - www: "tt-www", - attrs: "tt-attrs", - typeahead: "tt-typeahead" - }; - methods = { - initialize: function initialize(o, datasets) { - var www; - datasets = _.isArray(datasets) ? datasets : [].slice.call(arguments, 1); - o = o || {}; - www = WWW(o.classNames); - return this.each(attach); - function attach() { - var $input, $wrapper, $hint, $menu, defaultHint, defaultMenu, eventBus, input, menu, status, typeahead, MenuConstructor; - _.each(datasets, function(d) { - d.highlight = !!o.highlight; - }); - $input = $(this); - $wrapper = $(www.html.wrapper); - $hint = $elOrNull(o.hint); - $menu = $elOrNull(o.menu); - defaultHint = o.hint !== false && !$hint; - defaultMenu = o.menu !== false && !$menu; - defaultHint && ($hint = buildHintFromInput($input, www)); - defaultMenu && ($menu = $(www.html.menu).css(www.css.menu)); - $hint && $hint.val(""); - $input = prepInput($input, www); - if (defaultHint || defaultMenu) { - $wrapper.css(www.css.wrapper); - $input.css(defaultHint ? www.css.input : www.css.inputWithNoHint); - $input.wrap($wrapper).parent().prepend(defaultHint ? $hint : null).append(defaultMenu ? $menu : null); - } - MenuConstructor = defaultMenu ? DefaultMenu : Menu; - eventBus = new EventBus({ - el: $input - }); - input = new Input({ - hint: $hint, - input: $input, - menu: $menu - }, www); - menu = new MenuConstructor({ - node: $menu, - datasets: datasets - }, www); - status = new Status({ - $input: $input, - menu: menu - }); - typeahead = new Typeahead({ - input: input, - menu: menu, - eventBus: eventBus, - minLength: o.minLength, - autoselect: o.autoselect - }, www); - $input.data(keys.www, www); - $input.data(keys.typeahead, typeahead); - } - }, - isEnabled: function isEnabled() { - var enabled; - ttEach(this.first(), function(t) { - enabled = t.isEnabled(); - }); - return enabled; - }, - enable: function enable() { - ttEach(this, function(t) { - t.enable(); - }); - return this; - }, - disable: function disable() { - ttEach(this, function(t) { - t.disable(); - }); - return this; - }, - isActive: function isActive() { - var active; - ttEach(this.first(), function(t) { - active = t.isActive(); - }); - return active; - }, - activate: function activate() { - ttEach(this, function(t) { - t.activate(); - }); - return this; - }, - deactivate: function deactivate() { - ttEach(this, function(t) { - t.deactivate(); - }); - return this; - }, - isOpen: function isOpen() { - var open; - ttEach(this.first(), function(t) { - open = t.isOpen(); - }); - return open; - }, - open: function open() { - ttEach(this, function(t) { - t.open(); - }); - return this; - }, - close: function close() { - ttEach(this, function(t) { - t.close(); - }); - return this; - }, - select: function select(el) { - var success = false, $el = $(el); - ttEach(this.first(), function(t) { - success = t.select($el); - }); - return success; - }, - autocomplete: function autocomplete(el) { - var success = false, $el = $(el); - ttEach(this.first(), function(t) { - success = t.autocomplete($el); - }); - return success; - }, - moveCursor: function moveCursoe(delta) { - var success = false; - ttEach(this.first(), function(t) { - success = t.moveCursor(delta); - }); - return success; - }, - val: function val(newVal) { - var query; - if (!arguments.length) { - ttEach(this.first(), function(t) { - query = t.getVal(); - }); - return query; - } else { - ttEach(this, function(t) { - t.setVal(_.toStr(newVal)); - }); - return this; - } - }, - destroy: function destroy() { - ttEach(this, function(typeahead, $input) { - revert($input); - typeahead.destroy(); - }); - return this; - } - }; - $.fn.typeahead = function(method) { - if (methods[method]) { - return methods[method].apply(this, [].slice.call(arguments, 1)); - } else { - return methods.initialize.apply(this, arguments); - } - }; - $.fn.typeahead.noConflict = function noConflict() { - $.fn.typeahead = old; - return this; - }; - function ttEach($els, fn) { - $els.each(function() { - var $input = $(this), typeahead; - (typeahead = $input.data(keys.typeahead)) && fn(typeahead, $input); - }); - } - function buildHintFromInput($input, www) { - return $input.clone().addClass(www.classes.hint).removeData().css(www.css.hint).css(getBackgroundStyles($input)).prop({ - readonly: true, - required: false - }).removeAttr("id name placeholder").removeClass("required").attr({ - spellcheck: "false", - tabindex: -1 - }); - } - function prepInput($input, www) { - $input.data(keys.attrs, { - dir: $input.attr("dir"), - autocomplete: $input.attr("autocomplete"), - spellcheck: $input.attr("spellcheck"), - style: $input.attr("style") - }); - $input.addClass(www.classes.input).attr({ - spellcheck: false - }); - try { - !$input.attr("dir") && $input.attr("dir", "auto"); - } catch (e) {} - return $input; - } - function getBackgroundStyles($el) { - return { - backgroundAttachment: $el.css("background-attachment"), - backgroundClip: $el.css("background-clip"), - backgroundColor: $el.css("background-color"), - backgroundImage: $el.css("background-image"), - backgroundOrigin: $el.css("background-origin"), - backgroundPosition: $el.css("background-position"), - backgroundRepeat: $el.css("background-repeat"), - backgroundSize: $el.css("background-size") - }; - } - function revert($input) { - var www, $wrapper; - www = $input.data(keys.www); - $wrapper = $input.parent().filter(www.selectors.wrapper); - _.each($input.data(keys.attrs), function(val, key) { - _.isUndefined(val) ? $input.removeAttr(key) : $input.attr(key, val); - }); - $input.removeData(keys.typeahead).removeData(keys.www).removeData(keys.attr).removeClass(www.classes.input); - if ($wrapper.length) { - $input.detach().insertAfter($wrapper); - $wrapper.remove(); - } - } - function $elOrNull(obj) { - var isValid, $el; - isValid = _.isJQuery(obj) || _.isElement(obj); - $el = isValid ? $(obj).first() : []; - return $el.length ? $el : null; - } - })(); -}); \ No newline at end of file diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/search.json b/docs/docsets/TPPDF.docset/Contents/Resources/Documents/search.json deleted file mode 100644 index c8f5b7ba..00000000 --- a/docs/docsets/TPPDF.docset/Contents/Resources/Documents/search.json +++ /dev/null @@ -1 +0,0 @@ -{"Typealiases.html#/s:5TPPDF20PDFGeneratorDelegatea":{"name":"PDFGeneratorDelegate","abstract":"\u003cp\u003eDelegation protocol combining all delegates supported by the PDFGenerator\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF5Imagea":{"name":"Image","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIImage\u003c/code\u003e and \u003ccode\u003eNSImage\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/Color":{"name":"Color","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIColor\u003c/code\u003e and \u003ccode\u003eNSColor\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/Font":{"name":"Font","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIFont\u003c/code\u003e and \u003ccode\u003eNSFont\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/Image":{"name":"Image","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIImage\u003c/code\u003e and \u003ccode\u003eNSImage\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/EdgeInsets":{"name":"EdgeInsets","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIEdgeInsets\u003c/code\u003e and \u003ccode\u003eNSEdgeInsets\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/BezierPath":{"name":"BezierPath","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIBezierPath\u003c/code\u003e and \u003ccode\u003eNSBezierPath\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/Point":{"name":"Point","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eCGPoint\u003c/code\u003e and \u003ccode\u003eNSPoint\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/RectCorner":{"name":"RectCorner","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIRectCorner\u003c/code\u003e and \u003ccode\u003eRectCorner\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF5Colora":{"name":"Color","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIColor\u003c/code\u003e and \u003ccode\u003eNSColor\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF4Fonta":{"name":"Font","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIFont\u003c/code\u003e and \u003ccode\u003eNSFont\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF10EdgeInsetsa":{"name":"EdgeInsets","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIEdgeInsets\u003c/code\u003e and \u003ccode\u003eNSEdgeInsets\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF10BezierPatha":{"name":"BezierPath","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIBezierPath\u003c/code\u003e and \u003ccode\u003eNSBezierPath\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF5Pointa":{"name":"Point","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eCGPoint\u003c/code\u003e and \u003ccode\u003eNSPoint\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF20PDFPaginationClosurea":{"name":"PDFPaginationClosure","abstract":"\u003cp\u003eClosure for custom pagination formatting.\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF22PDFLocatedRenderObjecta":{"name":"PDFLocatedRenderObject","abstract":"\u003cp\u003eStructure to extend \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses.html#/s:5TPPDF15PDFRenderObjectC\"\u003ePDFRenderObject\u003c/a\u003e\u003c/code\u003e with the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbEnums/PDFContainer.html\"\u003ePDFContainer\u003c/a\u003e\u003c/code\u003e it is located in\u003c/p\u003e"},"Structs/Stack.html#/s:5TPPDF5StackV6valuesACyxGxd_tcfc":{"name":"init(values:)","abstract":"\u003cp\u003eCreates a new stack with the given elements.\u003c/p\u003e","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV7isEmptySbvp":{"name":"isEmpty","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV5countSivp":{"name":"count","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV4pushyACyxGxF":{"name":"push(_:)","abstract":"\u003cp\u003eAdds an element on top of the stack\u003c/p\u003e","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV3pop2toxSgSiSg_tF":{"name":"pop(to:)","abstract":"\u003cp\u003eRemoves the last element or if a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbStructs/Stack.html#/s:5TPPDF5StackV5countSivp\"\u003ecount\u003c/a\u003e\u003c/code\u003e is given as many until the stack is empty.","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV4peek2atxSgSi_tF":{"name":"peek(at:)","abstract":"\u003cp\u003eReturns the element at the given index without changing the stack\u003c/p\u003e","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV3topxSgvp":{"name":"top","abstract":"\u003cp\u003eReturns the last inserted element\u003c/p\u003e","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV7fromTop5indexxSgSi_tF":{"name":"fromTop(index:)","abstract":"\u003cp\u003eReturns the element from the reverse order\u003c/p\u003e","parent_name":"Stack"},"Structs/Stack.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"Stack"},"Structs/Stack.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"Stack"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV9containerAA12PDFContainerOvp":{"name":"container","abstract":"\u003cp\u003eContainer where the pagination will be placed\u003c/p\u003e","parent_name":"PDFPagination"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV5styleAA0B5StyleOvp":{"name":"style","abstract":"\u003cp\u003eStyle of the pagination\u003c/p\u003e","parent_name":"PDFPagination"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV5rangeSi5start_Si3endtvp":{"name":"range","abstract":"\u003cp\u003eRange of pages which will be paginated\u003c/p\u003e","parent_name":"PDFPagination"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV11hiddenPagesSaySiGvp":{"name":"hiddenPages","abstract":"\u003cp\u003eAdd a page number to this list to exclude it from the pagination.","parent_name":"PDFPagination"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV14textAttributesSDySo21NSAttributedStringKeyaypGvp":{"name":"textAttributes","abstract":"\u003cp\u003eThese text attribtues are used to create the attributed pagination string\u003c/p\u003e","parent_name":"PDFPagination"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV9container5style5range11hiddenPages14textAttributesAcA12PDFContainerO_AA0B5StyleOSi5start_Si3endtSaySiGSDySo21NSAttributedStringKeyaypGtcfc":{"name":"init(container:style:range:hiddenPages:textAttributes:)","abstract":"\u003cp\u003eInitializer\u003c/p\u003e","parent_name":"PDFPagination"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003eTODO: Documentation\u003c/p\u003e","parent_name":"PDFPagination"},"Structs/RectCorner.html#/s:5TPPDF10RectCornerV7topLeftACvpZ":{"name":"topLeft","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RectCorner"},"Structs/RectCorner.html#/s:5TPPDF10RectCornerV8topRightACvpZ":{"name":"topRight","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RectCorner"},"Structs/RectCorner.html#/s:5TPPDF10RectCornerV10bottomLeftACvpZ":{"name":"bottomLeft","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RectCorner"},"Structs/RectCorner.html#/s:5TPPDF10RectCornerV11bottomRightACvpZ":{"name":"bottomRight","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RectCorner"},"Structs/RectCorner.html#/s:5TPPDF10RectCornerV10allCornersACvpZ":{"name":"allCorners","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RectCorner"},"Structs/RectCorner.html#/s:s9OptionSetP8rawValuex03RawD0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"RectCorner"},"Structs/RectCorner.html#/s:SY8rawValue03RawB0Qzvp":{"name":"rawValue","parent_name":"RectCorner"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV6colorsSo7NSColorC4fill_AF4texttvp":{"name":"colors","abstract":"\u003cp\u003eThe cell fill (background) color and the text color\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV7bordersAA0bC7BordersVvp":{"name":"borders","abstract":"\u003cp\u003eCustom border styling (see \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbStructs/PDFTableCellBorders.html\"\u003ePDFTableCellBorders\u003c/a\u003e\u003c/code\u003e for details)\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV4fontSo6NSFontCvp":{"name":"font","abstract":"\u003cp\u003eFont used for text content in cells\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV6colors7borders4fontACSo7NSColorC4fill_AH4textt_AA0bC7BordersVSo6NSFontCtcfc":{"name":"init(colors:borders:font:)","abstract":"\u003cp\u003eCreates a new cell style\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV4noneACvpZ":{"name":"none","abstract":"\u003cp\u003eDefault cell style not displaying any background or borders\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV4leftAA12PDFLineStyleVvp":{"name":"left","abstract":"\u003cp\u003eStyle of left edge line\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV3topAA12PDFLineStyleVvp":{"name":"top","abstract":"\u003cp\u003eStyle of top edge line\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV5rightAA12PDFLineStyleVvp":{"name":"right","abstract":"\u003cp\u003eStyle of right edge line\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV6bottomAA12PDFLineStyleVvp":{"name":"bottom","abstract":"\u003cp\u003eStyle of bottom edge line\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV4left3top5right6bottomAcA12PDFLineStyleV_A3Itcfc":{"name":"init(left:top:right:bottom:)","abstract":"\u003cp\u003eCreates a new instance with the given line styles\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV4noneACvpZ":{"name":"none","abstract":"\u003cp\u003eConvenience configuration for not displaying any cell border\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellPosition.html#/s:5TPPDF20PDFTableCellPositionV3rowSivp":{"name":"row","abstract":"\u003cp\u003eVertical row index, starting at zero\u003c/p\u003e","parent_name":"PDFTableCellPosition"},"Structs/PDFTableCellPosition.html#/s:5TPPDF20PDFTableCellPositionV6columnSivp":{"name":"column","abstract":"\u003cp\u003eHorizontal column index, starting at zero\u003c/p\u003e","parent_name":"PDFTableCellPosition"},"Structs/PDFTableCellPosition.html#/s:5TPPDF20PDFTableCellPositionV3row6columnACSi_Sitcfc":{"name":"init(row:column:)","abstract":"\u003cp\u003eCreates a new position with the given row and column\u003c/p\u003e","parent_name":"PDFTableCellPosition"},"Structs/PDFTableCellPosition.html#/s:5TPPDF20PDFTableCellPositionV4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003eCreates a hash value of the cell position\u003c/p\u003e","parent_name":"PDFTableCellPosition"},"Structs/PDFTableCellPosition.html#/s:5TPPDF20PDFTableCellPositionV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCellPosition"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV4sizeSo6CGSizeVvp":{"name":"size","abstract":"\u003cp\u003eSize of each page\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV6marginSo12NSEdgeInsetsVvp":{"name":"margin","abstract":"\u003cp\u003eMargins of each page.\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV5space14CoreFoundation7CGFloatV6header_AG6footertvp":{"name":"space","abstract":"\u003cp\u003eSpaces between header, content and footer.\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV4size6margin5spaceACSo6CGSizeV_So12NSEdgeInsetsV14CoreFoundation7CGFloatV6header_AM6footerttcfc":{"name":"init(size:margin:space:)","abstract":"\u003cp\u003eCreates a new layout object using the given parameters.\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV6boundsSo6CGRectVvp":{"name":"bounds","abstract":"\u003cp\u003eReturns a \u003ccode\u003eCGRect\u003c/code\u003e with a origin at zero and the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbStructs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV4sizeSo6CGSizeVvp\"\u003esize\u003c/a\u003e\u003c/code\u003e of the layout.\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV5width14CoreFoundation7CGFloatVvp":{"name":"width","abstract":"\u003cp\u003eShorthand access to layout width\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV6height14CoreFoundation7CGFloatVvp":{"name":"height","abstract":"\u003cp\u003eShorthand access to layout height\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003eTODO: documentation\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV8rawValueSivp":{"name":"rawValue","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV8rawValueACSi_tcfc":{"name":"init(rawValue:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV6resizeACvpZ":{"name":"resize","abstract":"\u003cp\u003eImage will be resized to the calculated frame\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV8compressACvpZ":{"name":"compress","abstract":"\u003cp\u003eImage will be compressed using the value set in the property \u003ccode\u003equality\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV14roundedTopLeftACvpZ":{"name":"roundedTopLeft","abstract":"\u003cp\u003eTop-left corner of image will be rounded\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV15roundedTopRightACvpZ":{"name":"roundedTopRight","abstract":"\u003cp\u003eTop-right corner of image will be rounded\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV18roundedBottomRightACvpZ":{"name":"roundedBottomRight","abstract":"\u003cp\u003eBottom-right corner of image will be rounded\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV17roundedBottomLeftACvpZ":{"name":"roundedBottomLeft","abstract":"\u003cp\u003eBottom-left corner of image will be rounded\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV7roundedACvpZ":{"name":"rounded","abstract":"\u003cp\u003eShort-hand option to round all corners\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV4noneACvpZ":{"name":"none","abstract":"\u003cp\u003eDisables all options\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV4typeAA0B4TypeOvp":{"name":"type","abstract":"\u003cp\u003eType of the line\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV5colorSo7NSColorCvp":{"name":"color","abstract":"\u003cp\u003eColor of the line\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV5width14CoreFoundation7CGFloatVvp":{"name":"width","abstract":"\u003cp\u003eWidth of the line\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV6radius14CoreFoundation7CGFloatVSgvp":{"name":"radius","abstract":"\u003cp\u003eDefines the width of this radius (Only for rect draw, not for line)\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV4type5color5width6radiusAcA0B4TypeO_So7NSColorC14CoreFoundation7CGFloatVANSgtcfc":{"name":"init(type:color:width:radius:)","abstract":"\u003cp\u003eInitialize a table line style\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV4noneACvpZ":{"name":"none","abstract":"\u003cp\u003eShorthand method for creating an invisible line\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFDocumentBackground.html#/s:5TPPDF21PDFDocumentBackgroundV5colorSo7NSColorCSgvp":{"name":"color","abstract":"\u003cp\u003eColor used to fill the background on every page.\u003c/p\u003e","parent_name":"PDFDocumentBackground"},"Structs/PDFDocumentBackground.html":{"name":"PDFDocumentBackground","abstract":"\u003cp\u003eDocument background configuration\u003c/p\u003e"},"Structs/PDFLineStyle.html":{"name":"PDFLineStyle","abstract":"\u003cp\u003eStructure defining how a line should be drawn into graphics context\u003c/p\u003e"},"Structs/PDFImageOptions.html":{"name":"PDFImageOptions","abstract":"\u003cp\u003eOptions used to configure the behaviour of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFImage.html\"\u003ePDFImage\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Structs/PDFPageLayout.html":{"name":"PDFPageLayout","abstract":"\u003cp\u003eContains all relevant layout informations of a pdf document\u003c/p\u003e"},"Structs/PDFTableCellPosition.html":{"name":"PDFTableCellPosition","abstract":"\u003cp\u003eA cell position represent the coordinate of a cell in a given table\u003c/p\u003e"},"Structs/PDFTableCellBorders.html":{"name":"PDFTableCellBorders","abstract":"\u003cp\u003eStructure used to style the border lines of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableCell.html\"\u003ePDFTableCell\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Structs/PDFTableCellStyle.html":{"name":"PDFTableCellStyle","abstract":"\u003cp\u003eStructure used to manage the custom style of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableCell.html\"\u003ePDFTableCell\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Structs/RectCorner.html":{"name":"RectCorner","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Structs/PDFPagination.html":{"name":"PDFPagination","abstract":"\u003cp\u003eUsed to define the pagination behaviour of a document.\u003c/p\u003e"},"Structs/Stack.html":{"name":"Stack","abstract":"\u003cp\u003eData Structure used to manage a collection of elements after the LIFO (last in, first out) principle.\u003c/p\u003e"},"Protocols/PDFAttributableObject.html#/s:5TPPDF21PDFAttributableObjectP10attributesSayAA18PDFObjectAttributeOGvp":{"name":"attributes","parent_name":"PDFAttributableObject"},"Protocols/PDFAttributableObject.html#/s:5TPPDF21PDFAttributableObjectP3add9attributeyAA18PDFObjectAttributeO_tF":{"name":"add(attribute:)","abstract":"\u003cp\u003eAdds an attribute to the list of this object\u003c/p\u003e","parent_name":"PDFAttributableObject"},"Protocols/PDFTaggableObject.html#/s:5TPPDF17PDFTaggableObjectP3tagSivp":{"name":"tag","abstract":"\u003cp\u003eAn integer that you can use to identify document objects in your application.\u003c/p\u003e","parent_name":"PDFTaggableObject"},"Protocols/PDFCopy.html#/s:5TPPDF7PDFCopyP7ElementQa":{"name":"Element","abstract":"\u003cp\u003eType of intance, used to add generic to protocol\u003c/p\u003e","parent_name":"PDFCopy"},"Protocols/PDFCopy.html#/s:5TPPDF7PDFCopyP4copy7ElementQzvp":{"name":"copy","abstract":"\u003cp\u003eReturns a new instance that’s a copy of the receiver.\u003c/p\u003e","parent_name":"PDFCopy"},"Protocols/PDFTableMergable.html#/s:5TPPDF16PDFTableMergableP5mergeyyF":{"name":"merge()","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableMergable"},"Protocols/PDFTableMergable.html#/s:5TPPDF16PDFTableMergableP5merge4withyAA0B4CellCSg_tF":{"name":"merge(with:)","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableMergable"},"Protocols/PDFTableContentable.html#/s:5TPPDF19PDFTableContentableP14asTableContentAA0bF0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eInstance of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e holding \u003ccode\u003eself\u003c/code\u003e as the content value\u003c/p\u003e","parent_name":"PDFTableContentable"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP8progressSo10NSProgressCvp":{"name":"progress","abstract":"\u003cp\u003eInstance of \u003ccode\u003eProgress\u003c/code\u003e used to track and control the multi-document generation\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP5debugSbvp":{"name":"debug","abstract":"\u003cp\u003eFlag to enable or disable the debug overlay\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP11generateURL8filename4info10Foundation0E0VSS_AA7PDFInfoCSgtKF":{"name":"generateURL(filename:info:)","abstract":"\u003cp\u003eCreates a file in a guaranteed temporary folder with the given filename, generates the PDF context data and writes the result into the file.\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP11generateURL8filename10Foundation0E0VSS_tKF":{"name":"generateURL(filename:)","abstract":"\u003cp\u003eCreates a file in a guaranteed temporary folder with the given filename, generates the PDF context data and writes the result into the file.\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP8generate2to4infoy10Foundation3URLV_AA7PDFInfoCSgtKF":{"name":"generate(to:info:)","abstract":"\u003cp\u003eCreates a file at the given file URL, generates the PDF context data and writes the result idata nto the file.\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP8generate2toy10Foundation3URLV_tKF":{"name":"generate(to:)","abstract":"\u003cp\u003eCreates a file at the given file URL, generates the PDF context data and writes the result idata nto the file.\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP12generateData4info10Foundation0E0VAA7PDFInfoCSg_tKF":{"name":"generateData(info:)","abstract":"\u003cp\u003eGenerates and returns the PDF context data.\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP12generateData10Foundation0E0VyKF":{"name":"generateData()","abstract":"\u003cp\u003eGenerates and returns the PDF context data.\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorImageDelegate.html#/s:5TPPDF25PDFGeneratorImageDelegateP9generator016willBeginDrawingC04with2inyAA8PDFImageC_AA10PDFContextCSo6CGRectVtF":{"name":"generator(willBeginDrawingImage:with:in:)","abstract":"\u003cp\u003eCalled directly before a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFImage.html\"\u003ePDFImage\u003c/a\u003e\u003c/code\u003e is drawn into the graphics context\u003c/p\u003e","parent_name":"PDFGeneratorImageDelegate"},"Protocols/PDFGeneratorImageDelegate.html":{"name":"PDFGeneratorImageDelegate","abstract":"\u003cp\u003eProtocol used to delegate drawing of images\u003c/p\u003e"},"Protocols/PDFGeneratorProtocol.html":{"name":"PDFGeneratorProtocol","abstract":"\u003cp\u003eProtocol including all public methods and accessors available for generating documents\u003c/p\u003e"},"Protocols/PDFTableContentable.html":{"name":"PDFTableContentable","abstract":"\u003cp\u003eProtocol to extend a type with a converter to \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Protocols/PDFTableMergable.html":{"name":"PDFTableMergable","abstract":"\u003cp\u003eObject implementing this protocol should offer the functionality to merge itself into a single value\u003c/p\u003e"},"Protocols/PDFCopy.html":{"name":"PDFCopy","abstract":"\u003cp\u003eA protocol that objects adopt to provide functional copies of themselves.\u003c/p\u003e"},"Protocols/PDFTaggableObject.html":{"name":"PDFTaggableObject","abstract":"\u003cp\u003eObject can be identified using the \u003ccode\u003etag\u003c/code\u003e property\u003c/p\u003e"},"Protocols/PDFAttributableObject.html":{"name":"PDFAttributableObject","abstract":"\u003cp\u003eProtocol for adding attributes to an object\u003c/p\u003e"},"Extensions/CustomDebugStringConvertible.html#/s:s28CustomDebugStringConvertibleP5TPPDFE16debugDescriptionSSvp":{"name":"debugDescription","abstract":"\u003cp\u003eDefault implementation for \u003ccode\u003edebugDescription\u003c/code\u003e using class reflection to create a comma concatenated list of properties and values\u003c/p\u003e","parent_name":"CustomDebugStringConvertible"},"Extensions/CustomStringConvertible.html#/s:s23CustomStringConvertibleP5TPPDFE11descriptionSSvp":{"name":"description","abstract":"\u003cp\u003eDefault implementation for \u003ccode\u003edescription\u003c/code\u003e using class reflection to create a comma concatenated list of properties and values\u003c/p\u003e","parent_name":"CustomStringConvertible"},"Extensions/CGPoint.html#/s:So7CGPointV5TPPDFE1poiyA2B_So8CGVectorVtFZ":{"name":"+(_:_:)","abstract":"\u003cp\u003eAdds a vector to a point\u003c/p\u003e","parent_name":"CGPoint"},"Extensions/CGPoint.html#/s:So7CGPointV5TPPDFE1poiyA2B_ABtFZ":{"name":"+(_:_:)","abstract":"\u003cp\u003eAdds two points together, by adding their components.\u003c/p\u003e","parent_name":"CGPoint"},"Extensions/CGPoint.html#/s:So7CGPointV5TPPDFE1soiyA2B_ABtFZ":{"name":"-(_:_:)","abstract":"\u003cp\u003eSubtracts two points from each other, by subtracting their components.\u003c/p\u003e","parent_name":"CGPoint"},"Extensions/CGPoint.html#/s:So7CGPointV5TPPDFE1poiyA2B_14CoreFoundation7CGFloatVtFZ":{"name":"+(_:_:)","abstract":"\u003cp\u003eAdds a value to both components of a point\u003c/p\u003e","parent_name":"CGPoint"},"Extensions/NSEdgeInsets.html#/s:So12NSEdgeInsetsV5TPPDFE4zeroABvpZ":{"name":"zero","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"NSEdgeInsets"},"Extensions/NSEdgeInsets.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"NSEdgeInsets"},"Extensions/Image.html#/s:So7NSImageC5TPPDFE14asTableContentAC08PDFTableE0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eInstance of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e holding \u003ccode\u003eself\u003c/code\u003e as the content value\u003c/p\u003e","parent_name":"Image"},"Extensions/String.html#/s:SS5TPPDFE14asTableContentAA08PDFTableD0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eInstance of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e holding \u003ccode\u003eself\u003c/code\u003e as the content value\u003c/p\u003e","parent_name":"String"},"Extensions/Float.html#/s:Sf5TPPDFE14asTableContentAA08PDFTableD0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eConverts this \u003ccode\u003eFloat\u003c/code\u003e to a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"Float"},"Extensions/Double.html#/s:Sd5TPPDFE14asTableContentAA08PDFTableD0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eConverts this \u003ccode\u003eDouble\u003c/code\u003e to a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"Double"},"Extensions/Int.html#/s:Si5TPPDFE14asTableContentAA08PDFTableD0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eConverts this \u003ccode\u003eInt\u003c/code\u003e to a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"Int"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC5TPPDFE14asTableContentAC08PDFTableF0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eInstance of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e of type attributed string, using \u003ccode\u003eself\u003c/code\u003e as content\u003c/p\u003e","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html":{"name":"NSAttributedString","abstract":"\u003cp\u003eAdds functionality to convert to PDF table content\u003c/p\u003e"},"Extensions/Int.html":{"name":"Int"},"Extensions/Double.html":{"name":"Double"},"Extensions/Float.html":{"name":"Float"},"Extensions/String.html":{"name":"String"},"Extensions/Image.html":{"name":"Image"},"Extensions/NSEdgeInsets.html":{"name":"NSEdgeInsets"},"Extensions/CGPoint.html":{"name":"CGPoint"},"Extensions/CustomStringConvertible.html":{"name":"CustomStringConvertible"},"Extensions/CustomDebugStringConvertible.html":{"name":"CustomDebugStringConvertible"},"Enums/PDFObjectAttribute.html#/s:5TPPDF18PDFObjectAttributeO4linkyAC10Foundation3URLV_tcACmF":{"name":"link(url:)","abstract":"\u003cp\u003eAdds a clickable link with a redirection to the given URL\u003c/p\u003e","parent_name":"PDFObjectAttribute"},"Enums/PDFPaginationStyle.html#/s:5TPPDF18PDFPaginationStyleO7defaultyA2CmF":{"name":"default","abstract":"\u003cp\u003eDefault format, concats current page and total pages with a dash.\u003c/p\u003e","parent_name":"PDFPaginationStyle"},"Enums/PDFPaginationStyle.html#/s:5TPPDF18PDFPaginationStyleO5romanyACSS_tcACmF":{"name":"roman(template:)","abstract":"\u003cp\u003eReturns pagination in roman numerals.\u003c/p\u003e","parent_name":"PDFPaginationStyle"},"Enums/PDFPaginationStyle.html#/s:5TPPDF18PDFPaginationStyleO18customNumberFormatyACSS_So17NSNumberFormatterCtcACmF":{"name":"customNumberFormat(template:formatter:)","abstract":"\u003cp\u003eFormats pagination numbers using the \u003ccode\u003eformatter\u003c/code\u003e and formatting the string using the given \u003ccode\u003etemplate\u003c/code\u003e.\u003c/p\u003e","parent_name":"PDFPaginationStyle"},"Enums/PDFPaginationStyle.html#/s:5TPPDF18PDFPaginationStyleO13customClosureyACSSSi_SitccACmF":{"name":"customClosure(_:)","abstract":"\u003cp\u003eFormats the pagination using the provided closure\u003c/p\u003e","parent_name":"PDFPaginationStyle"},"Enums/PDFPaginationStyle.html#/s:5TPPDF18PDFPaginationStyleO6format4page5totalSSSi_SitF":{"name":"format(page:total:)","abstract":"\u003cp\u003eCreates formatted pagination string.\u003c/p\u003e","parent_name":"PDFPaginationStyle"},"Enums/PDFPaginationStyle.html#/s:5TPPDF18PDFPaginationStyleO2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003eTODO: Documentation\u003c/p\u003e","parent_name":"PDFPaginationStyle"},"Enums/PDFSectionColumnContainer.html#/s:5TPPDF25PDFSectionColumnContainerO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eElement is in no container, only real use is as a default value\u003c/p\u003e","parent_name":"PDFSectionColumnContainer"},"Enums/PDFSectionColumnContainer.html#/s:5TPPDF25PDFSectionColumnContainerO4leftyA2CmF":{"name":"left","abstract":"\u003cp\u003eContainer aligned to left\u003c/p\u003e","parent_name":"PDFSectionColumnContainer"},"Enums/PDFSectionColumnContainer.html#/s:5TPPDF25PDFSectionColumnContainerO6centeryA2CmF":{"name":"center","abstract":"\u003cp\u003eContainer aligned to center\u003c/p\u003e","parent_name":"PDFSectionColumnContainer"},"Enums/PDFSectionColumnContainer.html#/s:5TPPDF25PDFSectionColumnContainerO5rightyA2CmF":{"name":"right","abstract":"\u003cp\u003eContainer aligned to right\u003c/p\u003e","parent_name":"PDFSectionColumnContainer"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO19tableContentInvalidyACypSg_tcACmF":{"name":"tableContentInvalid(value:)","abstract":"\u003cp\u003eThe associated \u003ccode\u003evalue\u003c/code\u003e is an instance of an unsupported type.\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO12tableIsEmptyyA2CmF":{"name":"tableIsEmpty","abstract":"\u003cp\u003eIndicates that a table without any data was added to the document, which is unsupported\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO21tableStructureInvalidyACSS_tcACmF":{"name":"tableStructureInvalid(message:)","abstract":"\u003cp\u003eThe given table structure does not match, i.e. the data matrix size does not match the cell alignment configuration\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO21tableIndexOutOfBoundsyACSi_SitcACmF":{"name":"tableIndexOutOfBounds(index:length:)","abstract":"\u003cp\u003eThrown when accessing a cell outside of the table bounds\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO15tableCellTooBigyAcA08PDFTableD0C_tcACmF":{"name":"tableCellTooBig(cell:)","abstract":"\u003cp\u003eIndicates that the cell is too big to be rendered onto a single page\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO15textObjectIsNilyA2CmF":{"name":"textObjectIsNil","abstract":"\u003cp\u003eThrown when neither a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e nor a \u003ccode\u003eNSAttributedString\u003c/code\u003e is set in an \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFAttributedText.html\"\u003ePDFAttributedText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO23textObjectNotCalculatedyA2CmF":{"name":"textObjectNotCalculated","abstract":"\u003cp\u003eThrown when a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFAttributedText.html\"\u003ePDFAttributedText\u003c/a\u003e\u003c/code\u003e should be rendered without being calculated first\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO13copyingFailedyA2CmF":{"name":"copyingFailed","abstract":"\u003cp\u003eThrown when copying of a PDF object fails\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO26externalDocumentURLInvalidyAC10Foundation3URLV_tcACmF":{"name":"externalDocumentURLInvalid(url:)","abstract":"\u003cp\u003eThrown when an external PDF document could not be loaded from the given \u003ccode\u003eurl\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO15pageOutOfBoundsyACSi_tcACmF":{"name":"pageOutOfBounds(index:)","abstract":"\u003cp\u003eIndex of page in external document is out of bounds\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO16errorDescriptionSSSgvp":{"name":"errorDescription","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFConstants.html#/s:5TPPDF12PDFConstantsO15defaultFontSize14CoreFoundation7CGFloatVvpZ":{"name":"defaultFontSize","abstract":"\u003cp\u003eDefault font size for objects\u003c/p\u003e","parent_name":"PDFConstants"},"Enums/PDFTableStyleDefaults.html#/s:5TPPDF21PDFTableStyleDefaultsO4noneAA0bC0CvpZ":{"name":"none","abstract":"\u003cp\u003eNone:\u003c/p\u003e","parent_name":"PDFTableStyleDefaults"},"Enums/PDFTableStyleDefaults.html#/s:5TPPDF21PDFTableStyleDefaultsO6simpleAA0bC0CvpZ":{"name":"simple","abstract":"\u003cp\u003eSimple table:\u003c/p\u003e","parent_name":"PDFTableStyleDefaults"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO7topLeftyA2CmF":{"name":"topLeft","abstract":"\u003cp\u003eContent will be aligned in the top left corner\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO3topyA2CmF":{"name":"top","abstract":"\u003cp\u003eContent will be aligned with the top edge, centered horizontally\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO8topRightyA2CmF":{"name":"topRight","abstract":"\u003cp\u003eContent will be aligned in the top right corner\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO4leftyA2CmF":{"name":"left","abstract":"\u003cp\u003eContent will be aligned with the left edge, centered vertically\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO6centeryA2CmF":{"name":"center","abstract":"\u003cp\u003eContent will be centered horizontally \u0026amp; vertically\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO5rightyA2CmF":{"name":"right","abstract":"\u003cp\u003eContent will be aligned with the right edge, centered horizontally\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO10bottomLeftyA2CmF":{"name":"bottomLeft","abstract":"\u003cp\u003eContent will be aligned in the bottom left corner\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO6bottomyA2CmF":{"name":"bottom","abstract":"\u003cp\u003eContent will be aligned with the bottom edge, centered horizontally\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO11bottomRightyA2CmF":{"name":"bottomRight","abstract":"\u003cp\u003eContent will be aligned in the top right corner\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO12usHalfLetteryA2CmF":{"name":"usHalfLetter","abstract":"\u003cp\u003ePage formats mostly used in the USA\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO8usLetteryA2CmF":{"name":"usLetter","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO7usLegalyA2CmF":{"name":"usLegal","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO13usJuniorLegalyA2CmF":{"name":"usJuniorLegal","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO8usLedgeryA2CmF":{"name":"usLedger","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5ansiAyA2CmF":{"name":"ansiA","abstract":"\u003cp\u003ePage formats according to the American National Standards Institute\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5ansiByA2CmF":{"name":"ansiB","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5ansiCyA2CmF":{"name":"ansiC","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5ansiDyA2CmF":{"name":"ansiD","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5ansiEyA2CmF":{"name":"ansiE","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a0yA2CmF":{"name":"a0","abstract":"\u003cp\u003eA-Series of paper standard DIN 476\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a1yA2CmF":{"name":"a1","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a2yA2CmF":{"name":"a2","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a3yA2CmF":{"name":"a3","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a4yA2CmF":{"name":"a4","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a5yA2CmF":{"name":"a5","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a6yA2CmF":{"name":"a6","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a7yA2CmF":{"name":"a7","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a8yA2CmF":{"name":"a8","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a9yA2CmF":{"name":"a9","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO3a10yA2CmF":{"name":"a10","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b0yA2CmF":{"name":"b0","abstract":"\u003cp\u003eB-Series is the geometric mean of the A-series\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b1yA2CmF":{"name":"b1","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b2yA2CmF":{"name":"b2","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b3yA2CmF":{"name":"b3","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b4yA2CmF":{"name":"b4","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b5yA2CmF":{"name":"b5","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b6yA2CmF":{"name":"b6","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b7yA2CmF":{"name":"b7","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b8yA2CmF":{"name":"b8","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b9yA2CmF":{"name":"b9","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO3b10yA2CmF":{"name":"b10","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c0yA2CmF":{"name":"c0","abstract":"\u003cp\u003eC-Series is ususally used for envelopes. Definition is written in ISO 269\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c1yA2CmF":{"name":"c1","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c2yA2CmF":{"name":"c2","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c3yA2CmF":{"name":"c3","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c4yA2CmF":{"name":"c4","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c5yA2CmF":{"name":"c5","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c6yA2CmF":{"name":"c6","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c7yA2CmF":{"name":"c7","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c8yA2CmF":{"name":"c8","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c9yA2CmF":{"name":"c9","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO3c10yA2CmF":{"name":"c10","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO4sizeSo6CGSizeVvp":{"name":"size","abstract":"\u003cp\u003eSize defined in constants\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO13landscapeSizeSo6CGSizeVvp":{"name":"landscapeSize","abstract":"\u003cp\u003eSwaps height and width to create a landscape format\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO4nameSSvp":{"name":"name","abstract":"\u003cp\u003eName defined in constants\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO6layoutAA0B6LayoutVvp":{"name":"layout","abstract":"\u003cp\u003eShorthand method to create a default \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbStructs/PDFPageLayout.html\"\u003ePDFPageLayout\u003c/a\u003e\u003c/code\u003e based on the this formats \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbEnums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO4sizeSo6CGSizeVvp\"\u003esize\u003c/a\u003e\u003c/code\u003e.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO6usNameSSvp":{"name":"usName","abstract":"\u003cp\u003eReturns the defined US names if this format is a US format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO8ansiNameSSvp":{"name":"ansiName","abstract":"\u003cp\u003eReturns the defined ANSI name if this format is a ANSI format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5aNameSSvp":{"name":"aName","abstract":"\u003cp\u003eReturns the defined A-Series name if this format is a A-Series format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5bNameSSvp":{"name":"bName","abstract":"\u003cp\u003eReturns the defined B-Series name if this format is a B-Series format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5cNameSSvp":{"name":"cName","abstract":"\u003cp\u003eReturns the defined C-Series name if this format is a C-Series format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO6usSizeSo6CGSizeVvp":{"name":"usSize","abstract":"\u003cp\u003eReturns the defined US paper size if this format is a US format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO8ansiSizeSo6CGSizeVvp":{"name":"ansiSize","abstract":"\u003cp\u003eReturns the defined ANSI paper size if this format is a ANSI format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5aSizeSo6CGSizeVvp":{"name":"aSize","abstract":"\u003cp\u003eReturns the defined A-Series paper size if this format is a A-Series format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5bSizeSo6CGSizeVvp":{"name":"bSize","abstract":"\u003cp\u003eReturns the defined B-Series paper size if this format is a B-Series format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5cSizeSo6CGSizeVvp":{"name":"cSize","abstract":"\u003cp\u003eReturns the defined C-Series paper size if this format is a C-Series format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO8RawValuea":{"name":"RawValue","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eDoesn\u0026rsquo;t display a symbol before the content\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO7inherityA2CmF":{"name":"inherit","abstract":"\u003cp\u003eIf an item is nested and uses this symbol, it will take the same one as the parent.\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO3dotyA2CmF":{"name":"dot","abstract":"\u003cp\u003eSymbol is a middle-dot\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO4dashyA2CmF":{"name":"dash","abstract":"\u003cp\u003eSymbol is a dash/minus.\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO6customyACSS_tcACmF":{"name":"custom(value:)","abstract":"\u003cp\u003eAny string \u003ccode\u003evalue\u003c/code\u003e must be provided, which will then be used as the symbol.\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO8numberedyACSSSg_tcACmF":{"name":"numbered(value:)","abstract":"\u003cp\u003eWhen the parent of multiple list items is of type \u003ccode\u003enumbered\u003c/code\u003e, it will then use the index as the symbol, starting with \u003ccode\u003e1\u003c/code\u003e and","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO11stringValueSSvp":{"name":"stringValue","abstract":"\u003cp\u003eReturns the symbol as a string, to be calculated and rendered using \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFText.html\"\u003ePDFText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO8rawValueSSvp":{"name":"rawValue","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO8rawValueACSgSS_tcfc":{"name":"init(rawValue:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eElement is in no container, only real use is as a default value\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO10headerLeftyA2CmF":{"name":"headerLeft","abstract":"\u003cp\u003eContainer at the top left\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO12headerCenteryA2CmF":{"name":"headerCenter","abstract":"\u003cp\u003eContainer at the top center\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO11headerRightyA2CmF":{"name":"headerRight","abstract":"\u003cp\u003eContainer at the top right\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO11contentLeftyA2CmF":{"name":"contentLeft","abstract":"\u003cp\u003eContainer in the center, aligned to left\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO13contentCenteryA2CmF":{"name":"contentCenter","abstract":"\u003cp\u003eContainer in the center, aligned to center\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO12contentRightyA2CmF":{"name":"contentRight","abstract":"\u003cp\u003eContainer in the center, aligned to right\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO10footerLeftyA2CmF":{"name":"footerLeft","abstract":"\u003cp\u003eContainer at the bottom left\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO12footerCenteryA2CmF":{"name":"footerCenter","abstract":"\u003cp\u003eContainer at the bottom center\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO11footerRightyA2CmF":{"name":"footerRight","abstract":"\u003cp\u003eContainer at the bottom right\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFImageSizeFit.html#/s:5TPPDF15PDFImageSizeFitO5widthyA2CmF":{"name":"width","abstract":"\u003cp\u003eScale the image to fit the available width, while keeping the aspect ratio\u003c/p\u003e","parent_name":"PDFImageSizeFit"},"Enums/PDFImageSizeFit.html#/s:5TPPDF15PDFImageSizeFitO6heightyA2CmF":{"name":"height","abstract":"\u003cp\u003eScale the image to fit the available height, while keeping the aspect ratio\u003c/p\u003e","parent_name":"PDFImageSizeFit"},"Enums/PDFImageSizeFit.html#/s:5TPPDF15PDFImageSizeFitO11widthHeightyA2CmF":{"name":"widthHeight","abstract":"\u003cp\u003eScale the image to fit the available width or height, while keeping the aspect ratio\u003c/p\u003e","parent_name":"PDFImageSizeFit"},"Enums/PDFGroupContainer.html#/s:5TPPDF17PDFGroupContainerO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eElement is in no container, only real use is as a default value\u003c/p\u003e","parent_name":"PDFGroupContainer"},"Enums/PDFGroupContainer.html#/s:5TPPDF17PDFGroupContainerO4leftyA2CmF":{"name":"left","abstract":"\u003cp\u003eContainer aligned to left\u003c/p\u003e","parent_name":"PDFGroupContainer"},"Enums/PDFGroupContainer.html#/s:5TPPDF17PDFGroupContainerO6centeryA2CmF":{"name":"center","abstract":"\u003cp\u003eContainer aligned to center\u003c/p\u003e","parent_name":"PDFGroupContainer"},"Enums/PDFGroupContainer.html#/s:5TPPDF17PDFGroupContainerO5rightyA2CmF":{"name":"right","abstract":"\u003cp\u003eContainer aligned to right\u003c/p\u003e","parent_name":"PDFGroupContainer"},"Enums/PDFLineType.html#/s:5TPPDF11PDFLineTypeO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo visible line\u003c/p\u003e","parent_name":"PDFLineType"},"Enums/PDFLineType.html#/s:5TPPDF11PDFLineTypeO4fullyA2CmF":{"name":"full","abstract":"\u003cp\u003eFull line\u003c/p\u003e","parent_name":"PDFLineType"},"Enums/PDFLineType.html#/s:5TPPDF11PDFLineTypeO6dashedyA2CmF":{"name":"dashed","abstract":"\u003cp\u003eDashed Line\u003c/p\u003e","parent_name":"PDFLineType"},"Enums/PDFLineType.html#/s:5TPPDF11PDFLineTypeO6dottedyA2CmF":{"name":"dotted","abstract":"\u003cp\u003eDotted Line\u003c/p\u003e","parent_name":"PDFLineType"},"Enums/PDFLineType.html":{"name":"PDFLineType","abstract":"\u003cp\u003eDifferent types of lines\u003c/p\u003e"},"Enums/PDFGroupContainer.html":{"name":"PDFGroupContainer","abstract":"\u003cp\u003eA section container defines the position of an element in a column of a given container.\u003c/p\u003e"},"Enums/PDFImageSizeFit.html":{"name":"PDFImageSizeFit","abstract":"\u003cp\u003eConstants defining scaling behaviour of an image, if not enough space to render full size is given.\u003c/p\u003e"},"Enums/PDFContainer.html":{"name":"PDFContainer","abstract":"\u003cp\u003eA container defines the position of an element in the page.\u003c/p\u003e"},"Enums/PDFListItemSymbol.html":{"name":"PDFListItemSymbol","abstract":"\u003cp\u003eSymbol used by a list item in a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFList.html\"\u003ePDFList\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Enums/PDFPageFormat.html":{"name":"PDFPageFormat","abstract":"\u003cp\u003eStandardized paper formats, commonly used around the world.\u003c/p\u003e"},"Enums/PDFTableCellAlignment.html":{"name":"PDFTableCellAlignment","abstract":"\u003cp\u003eOptions for aligning content inside a table cell\u003c/p\u003e"},"Enums/PDFTableStyleDefaults.html":{"name":"PDFTableStyleDefaults","abstract":"\u003cp\u003eA collection of commonly used \u0026ldquo;PDFTableStyle\u003c/p\u003e"},"Enums/PDFConstants.html":{"name":"PDFConstants","abstract":"\u003cp\u003eConstants used throught the framework\u003c/p\u003e"},"Enums/PDFError.html":{"name":"PDFError","abstract":"\u003cp\u003eList of errors which can be thrown during configuration, calculations or rendering\u003c/p\u003e"},"Enums/PDFSectionColumnContainer.html":{"name":"PDFSectionColumnContainer","abstract":"\u003cp\u003eA section container defines the position of an element in a column of a given container.\u003c/p\u003e"},"Enums/PDFPaginationStyle.html":{"name":"PDFPaginationStyle","abstract":"\u003cp\u003eUse predefined pagination styles or create a custom one, using \u003ccode\u003e.CustomNumberFormat\u003c/code\u003e or \u003ccode\u003e.CustomClosure\u003c/code\u003e.\u003c/p\u003e"},"Enums/PDFObjectAttribute.html":{"name":"PDFObjectAttribute","abstract":"\u003cp\u003eList of attributes an object can obtain\u003c/p\u003e"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC10attributesSayAA18PDFObjectAttributeOGvp":{"name":"attributes","abstract":"\u003cp\u003eList of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbEnums/PDFObjectAttribute.html\"\u003ePDFObjectAttribute\u003c/a\u003e\u003c/code\u003e to be applied during calculations and rendering\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC3tagSivp":{"name":"tag","abstract":"\u003cp\u003eAn integer that you can use to identify view objects in delegates.\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectCACycfc":{"name":"init()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC3add9attributeyAA18PDFObjectAttributeO_tF":{"name":"add(attribute:)","abstract":"\u003cp\u003eAppends the given \u003ccode\u003eattribute\u003c/code\u003e to the list of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC10attributesSayAA18PDFObjectAttributeOGvp\"\u003eattributes\u003c/a\u003e\u003c/code\u003e.\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC7isEqual2toSbAC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFTextStyle.html#/s:5TPPDF12PDFTextStyleC4nameSSvp":{"name":"name","abstract":"\u003cp\u003eName of style\u003c/p\u003e","parent_name":"PDFTextStyle"},"Classes/PDFTextStyle.html#/s:5TPPDF12PDFTextStyleC4fontSo6NSFontCSgvp":{"name":"font","abstract":"\u003cp\u003eFont of the text\u003c/p\u003e","parent_name":"PDFTextStyle"},"Classes/PDFTextStyle.html#/s:5TPPDF12PDFTextStyleC5colorSo7NSColorCSgvp":{"name":"color","abstract":"\u003cp\u003eColor of the text\u003c/p\u003e","parent_name":"PDFTextStyle"},"Classes/PDFTextStyle.html#/s:5TPPDF12PDFTextStyleC4name4font5colorACSS_So6NSFontCSgSo7NSColorCSgtcfc":{"name":"init(name:font:color:)","abstract":"\u003cp\u003eCreates a new style with the given parameters.\u003c/p\u003e","parent_name":"PDFTextStyle"},"Classes/PDFTextStyle.html#/s:5TPPDF12PDFTextStyleC2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTextStyle"},"Classes/PDFTextStyle.html#/s:5TPPDF12PDFTextStyleC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTextStyle"},"Classes/PDFText.html#/s:5TPPDF7PDFTextC4copyACvp":{"name":"copy","abstract":"\u003cp\u003eCreates a new copy of this text\u003c/p\u003e","parent_name":"PDFText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC4textSSvp":{"name":"text","abstract":"\u003cp\u003eText to be drawn\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC7spacing14CoreFoundation7CGFloatVvp":{"name":"spacing","abstract":"\u003cp\u003e/ Line spacing if multiple lines\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC5styleAA12PDFTextStyleCSgvp":{"name":"style","abstract":"\u003cp\u003eWeak reference to style used by this text object\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC4text7spacing5styleACSS_14CoreFoundation7CGFloatVAA12PDFTextStyleCSgtcfc":{"name":"init(text:spacing:style:)","abstract":"\u003cp\u003eCreates a new simple text object\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC4copyAA7PDFTextCvp":{"name":"copy","abstract":"\u003cp\u003eCreates a new \u003ccode\u003ePDFSimpleText\u003c/code\u003e with the same properties\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFAttributedText.html#/s:5TPPDF17PDFAttributedTextC4textSo18NSAttributedStringCvp":{"name":"text","abstract":"\u003cp\u003eAttributed string which will be drawn in the PDF graphics context\u003c/p\u003e","parent_name":"PDFAttributedText"},"Classes/PDFAttributedText.html#/s:5TPPDF17PDFAttributedTextC4textACSo18NSAttributedStringC_tcfc":{"name":"init(text:)","abstract":"\u003cp\u003eCreates a new attributed text object with the given \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFAttributedText.html#/s:5TPPDF17PDFAttributedTextC4textSo18NSAttributedStringCvp\"\u003etext\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFAttributedText"},"Classes/PDFAttributedText.html#/s:5TPPDF17PDFAttributedTextC4copyAA7PDFTextCvp":{"name":"copy","abstract":"\u003cp\u003eCreates a new \u003ccode\u003ePDFAttributedText\u003c/code\u003e with the same properties\u003c/p\u003e","parent_name":"PDFAttributedText"},"Classes/PDFAttributedText.html#/s:5TPPDF17PDFAttributedTextC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003eCompares two instances of \u003ccode\u003ePDFAttributedText\u003c/code\u003e for equality\u003c/p\u003e","parent_name":"PDFAttributedText"},"Classes/PDFAttributedText.html#/s:5TPPDF17PDFAttributedTextC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFAttributedText"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC14rowHeaderCountSivp":{"name":"rowHeaderCount","abstract":"\u003cp\u003eCount of rows which will use the style configured in \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC09rowHeaderC0AA0b4CellC0Vvp\"\u003erowHeaderStyle\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC17columnHeaderCountSivp":{"name":"columnHeaderCount","abstract":"\u003cp\u003eCount of columns which will use the style configured in \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC012columnHeaderC0AA0b4CellC0Vvp\"\u003ecolumnHeaderStyle\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC11footerCountSivp":{"name":"footerCount","abstract":"\u003cp\u003eCount of footers which will use the style configured in \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC06footerC0AA0b4CellC0Vvp\"\u003efooterStyle\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC7outlineAA07PDFLineC0Vvp":{"name":"outline","abstract":"\u003cp\u003eStyle used for the outer border\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC09rowHeaderC0AA0b4CellC0Vvp":{"name":"rowHeaderStyle","abstract":"\u003cp\u003eStyle of cells in the header rows\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC012columnHeaderC0AA0b4CellC0Vvp":{"name":"columnHeaderStyle","abstract":"\u003cp\u003eStyle of cells in the header columns\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC06footerC0AA0b4CellC0Vvp":{"name":"footerStyle","abstract":"\u003cp\u003eStyle of cells in the footer rows\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC07contentC0AA0b4CellC0Vvp":{"name":"contentStyle","abstract":"\u003cp\u003eStyle of cells without special purpose\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC018alternatingContentC0AA0b4CellC0VSgvp":{"name":"alternatingContentStyle","abstract":"\u003cp\u003eStyle used for alternating content rows\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC14rowHeaderCount06columneF006footerF07outline0deC00geC00hC007contentC0018alternatingContentC0ACSi_S2iAA07PDFLineC0VAA0b4CellC0VA4PSgtcfc":{"name":"init(rowHeaderCount:columnHeaderCount:footerCount:outline:rowHeaderStyle:columnHeaderStyle:footerStyle:contentStyle:alternatingContentStyle:)","abstract":"\u003cp\u003eCreate a table style\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC4copyACyF":{"name":"copy()","abstract":"\u003cp\u003eCreates a identical copy of this style\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC5cellsSaySayAA0B4CellCGGvp":{"name":"cells","abstract":"\u003cp\u003eReferences to cells in the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC7contentSaySayAA0B7ContentCSgGGvp":{"name":"content","abstract":"\u003cp\u003eAccess content of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC14allRowsContentSayAA0bF0CSgGvp":{"name":"allRowsContent","abstract":"\u003cp\u003eSetter method to change the content of all rows to the same\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC17allColumnsContentSayAA0bF0CSgGvp":{"name":"allColumnsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the column\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC15allCellsContentAA0bF0CSgvp":{"name":"allCellsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the section\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC5styleSaySayAA0B9CellStyleVSgGGvp":{"name":"style","abstract":"\u003cp\u003eAccess style of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC12allRowsStyleSayAA0b4CellF0VSgGvp":{"name":"allRowsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the row\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC15allColumnsStyleSayAA0b4CellF0VSgGvp":{"name":"allColumnsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the column\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC13allCellsStyleAA0b4CellF0VSgvp":{"name":"allCellsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the column\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC9alignmentSaySayAA0B13CellAlignmentOGGvp":{"name":"alignment","abstract":"\u003cp\u003eAccess alignment of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC16allRowsAlignmentSayAA0b4CellF0OGvp":{"name":"allRowsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the rows\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC19allColumnsAlignmentSayAA0b4CellF0OGvp":{"name":"allColumnsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the columns\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC17allCellsAlignmentAA0b4CellF0Ovp":{"name":"allCellsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the rows\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC5mergeyyF":{"name":"merge()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC5merge4withyAA0B4CellCSg_tF":{"name":"merge(with:)","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC4rowsSayAA0B3RowCGvp":{"name":"rows","abstract":"\u003cp\u003eArray of references to \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableRow.html\"\u003ePDFTableRow\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC7contentSaySayAA0B11Contentable_pSgGGvp":{"name":"content","abstract":"\u003cp\u003eAccess content of all cells in all rows or sets the content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC03allC7ContentSayAA0bE0CSgGvp":{"name":"allRowsContent","abstract":"\u003cp\u003eSetter method to change the content of all rows to the same\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC15allCellsContentAA0bF0CSgvp":{"name":"allCellsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the row\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC5styleSaySayAA0B9CellStyleVSgGGvp":{"name":"style","abstract":"\u003cp\u003eAccess style of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC03allC5StyleSayAA0b4CellE0VSgGvp":{"name":"allRowsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the row\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC13allCellsStyleAA0b4CellF0VSgvp":{"name":"allCellsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the row\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC9alignmentSaySayAA0B13CellAlignmentOGGvp":{"name":"alignment","abstract":"\u003cp\u003eAccess alignment of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC03allC9AlignmentSayAA0b4CellE0OGvp":{"name":"allRowsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the rows\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC17allCellsAlignmentAA0b4CellF0Ovp":{"name":"allCellsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the rows\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC5mergeyyF":{"name":"merge()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC5merge4withyAA0B4CellCSg_tF":{"name":"merge(with:)","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC5cellsSayAA0B4CellCGvp":{"name":"cells","abstract":"\u003cp\u003eArray of references to \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableCell.html\"\u003ePDFTableCell\u003c/a\u003e\u003c/code\u003e in this row\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowCyAA0B4CellCSicip":{"name":"subscript(_:)","abstract":"\u003cp\u003eAccess and modifier for a specific cell in a given row\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC7contentSayAA0B11Contentable_pSgGvp":{"name":"content","abstract":"\u003cp\u003eAccess content of all cells in all rows or sets the content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC15allCellsContentAA0bF0CSgvp":{"name":"allCellsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the row\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC5styleSayAA0B9CellStyleVSgGvp":{"name":"style","abstract":"\u003cp\u003eAccess content of all cells in row or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC13allCellsStyleAA0b4CellF0VSgvp":{"name":"allCellsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the row\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC9alignmentSayAA0B13CellAlignmentOGvp":{"name":"alignment","abstract":"\u003cp\u003eAccess alignment of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC17allCellsAlignmentAA0b4CellF0Ovp":{"name":"allCellsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the rows\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC5mergeyyF":{"name":"merge()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC5merge4withyAA0B4CellCSg_tF":{"name":"merge(with:)","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC7columnsSayAA0B6ColumnCGvp":{"name":"columns","abstract":"\u003cp\u003eArray of references to \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableColumn.html\"\u003ePDFTableColumn\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC7contentSaySayAA0B11Contentable_pSgGGvp":{"name":"content","abstract":"\u003cp\u003eAccess content of all cells in all columns or sets the content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC03allC7ContentSayAA0bE0CSgGvp":{"name":"allColumnsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC15allCellsContentAA0bF0CSgvp":{"name":"allCellsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC5styleSaySayAA0B9CellStyleVSgGGvp":{"name":"style","abstract":"\u003cp\u003eAccess style of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC03allC5StyleSayAA0b4CellE0VSgGvp":{"name":"allColumnsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC13allCellsStyleAA0b4CellF0VSgvp":{"name":"allCellsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC9alignmentSaySayAA0B13CellAlignmentOGGvp":{"name":"alignment","abstract":"\u003cp\u003eAccess alignment of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC03allC9AlignmentSayAA0b4CellE0OGvp":{"name":"allColumnsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the columns\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC17allCellsAlignmentAA0b4CellF0Ovp":{"name":"allCellsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the columns\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC5mergeyyF":{"name":"merge()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC5merge4withyAA0B4CellCSg_tF":{"name":"merge(with:)","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC5cellsSayAA0B4CellCGvp":{"name":"cells","abstract":"\u003cp\u003eReferences to the cells in the column\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnCyAA0B4CellCSicip":{"name":"subscript(_:)","abstract":"\u003cp\u003eAccess and modifier for a specific cell in a given row\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC7contentSayAA0B11Contentable_pSgGvp":{"name":"content","abstract":"\u003cp\u003eAccess content of all cells in column or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC15allCellsContentAA0bF0CSgvp":{"name":"allCellsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC5styleSayAA0B9CellStyleVSgGvp":{"name":"style","abstract":"\u003cp\u003eAccess content of all cells in column or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC13allCellsStyleAA0b4CellF0VSgvp":{"name":"allCellsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC9alignmentSayAA0B13CellAlignmentOGvp":{"name":"alignment","abstract":"\u003cp\u003eAccess content of all cells in column or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC17allCellsAlignmentAA0b4CellF0Ovp":{"name":"allCellsAlignment","abstract":"\u003cp\u003eSetter method to change the content of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC5mergeyyF":{"name":"merge()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC5merge4withyAA0B4CellCSg_tF":{"name":"merge(with:)","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableCell.html#/s:5TPPDF12PDFTableCellC7contentAA0B7ContentCSgvp":{"name":"content","abstract":"\u003cp\u003eContent of this cell, can be different kinds of data inside a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e object.\u003c/p\u003e","parent_name":"PDFTableCell"},"Classes/PDFTableCell.html#/s:5TPPDF12PDFTableCellC5styleAA0bC5StyleVSgvp":{"name":"style","abstract":"\u003cp\u003eCustom style of this particular cell\u003c/p\u003e","parent_name":"PDFTableCell"},"Classes/PDFTableCell.html#/s:5TPPDF12PDFTableCellC9alignmentAA0bC9AlignmentOvp":{"name":"alignment","abstract":"\u003cp\u003eAlignment of content inside cell\u003c/p\u003e","parent_name":"PDFTableCell"},"Classes/PDFTableCell.html#/s:5TPPDF12PDFTableCellC7content9alignment5styleAcA0B7ContentCSg_AA0bC9AlignmentOAA0bC5StyleVSgtcfc":{"name":"init(content:alignment:style:)","abstract":"\u003cp\u003eCreates a new cell with the optionally given content, alignment and style.\u003c/p\u003e","parent_name":"PDFTableCell"},"Classes/PDFTableCell.html#/s:5TPPDF12PDFTableCellC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCell"},"Classes/PDFTableCell.html#/s:5TPPDF12PDFTableCellC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCell"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC5styleAA0B5StyleCvp":{"name":"style","abstract":"\u003cp\u003eStyling used for drawing\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC5cellsSaySayAA0B4CellCGGvp":{"name":"cells","abstract":"\u003cp\u003eTwo-dimensional array of cells\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC6widthsSay14CoreFoundation7CGFloatVGvp":{"name":"widths","abstract":"\u003cp\u003eList of relative horizontal column widths.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7padding14CoreFoundation7CGFloatVvp":{"name":"padding","abstract":"\u003cp\u003ePadding is the distance between the cell content and its borders.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC6margin14CoreFoundation7CGFloatVvp":{"name":"margin","abstract":"\u003cp\u003eMargin is the distance between the cell borders and other cells\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC22showHeadersOnEveryPageSbvp":{"name":"showHeadersOnEveryPage","abstract":"\u003cp\u003eHeader rows will be drawn on every page\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC27shouldSplitCellsOnPageBreakSbvp":{"name":"shouldSplitCellsOnPageBreak","abstract":"\u003cp\u003e/ Cells should split when overlapping page\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4sizeSi4rows_Si7columnstvp":{"name":"size","abstract":"\u003cp\u003eCount of rows and columns in this table\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4sizeACSi4rows_Si7columnst_tcfc":{"name":"init(size:)","abstract":"\u003cp\u003eCreates a new table with the given size and populates it with empty cells\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsACSi_Sitcfc":{"name":"init(rows:columns:)","abstract":"\u003cp\u003eCreates a new table with the given size and populates it with empty cells.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp":{"name":"rows","abstract":"\u003cp\u003eShorthand accessor to the rows stored in \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC5cellsSaySayAA0B4CellCGGvp\"\u003ecells\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp":{"name":"columns","abstract":"\u003cp\u003eShorthand accessor to the columns stored in \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC5cellsSaySayAA0B4CellCGGvp\"\u003ecells\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7contentSaySayAA0B11Contentable_pSgGGvp":{"name":"content","abstract":"\u003cp\u003eShorthand accessor to the cell values of this table\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC9alignmentSaySayAA0B13CellAlignmentOGGvp":{"name":"alignment","abstract":"\u003cp\u003eShorthand accessor to the cell alignments of this table\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC8positionAA0B4CellCAA0bD8PositionV_tcip":{"name":"subscript(position:)","abstract":"\u003cp\u003eAccessor for a specific \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableCell.html\"\u003ePDFTableCell\u003c/a\u003e\u003c/code\u003e at the given position\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableCyAA0B4CellCSi_Sitcip":{"name":"subscript(_:_:)","abstract":"\u003cp\u003eAccessor for a specific cell at the given position\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC6columnAA0B6ColumnCSi_tcip":{"name":"subscript(column:)","abstract":"\u003cp\u003eAccessor for a specific column\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCSNySiG_tcip":{"name":"subscript(columns:)","abstract":"\u003cp\u003eAccessors of columns in the given range.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCs16PartialRangeFromVySiG_tcip":{"name":"subscript(columns:)","abstract":"\u003cp\u003eAccessors of columns in the given range.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCs19PartialRangeThroughVySiG_tcip":{"name":"subscript(columns:)","abstract":"\u003cp\u003eAccessors of columns in the given range.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCs16PartialRangeUpToVySiG_tcip":{"name":"subscript(columns:)","abstract":"\u003cp\u003eAccessors of columns in the given range.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCSnySiG_tcip":{"name":"subscript(columns:)","abstract":"\u003cp\u003eAccessors of columns in the given range.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC3rowAA0B3RowCSi_tcip":{"name":"subscript(row:)","abstract":"\u003cp\u003eAccessor for a specific row\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCSNySiG_tcip":{"name":"subscript(rows:)","abstract":"\u003cp\u003eAccessor for multiple rows in the given range \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCs16PartialRangeFromVySiG_tcip":{"name":"subscript(rows:)","abstract":"\u003cp\u003eAccessor for multiple rows in the given range \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCs19PartialRangeThroughVySiG_tcip":{"name":"subscript(rows:)","abstract":"\u003cp\u003eAccessor for multiple rows in the given range \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCs16PartialRangeUpToVySiG_tcip":{"name":"subscript(rows:)","abstract":"\u003cp\u003eAccessor for multiple rows in the given range \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCSnySiG_tcip":{"name":"subscript(rows:)","abstract":"\u003cp\u003eAccessor for multiple rows in the given range \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSi_SnySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSi_SNySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSi_s16PartialRangeFromVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSi_s19PartialRangeThroughVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSi_s16PartialRangeUpToVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSnySiG_SNySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSnySiG_s16PartialRangeFromVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSnySiG_s19PartialRangeThroughVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSnySiG_s16PartialRangeUpToVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows6columnAA0B7SectionCSnySiG_Sitcip":{"name":"subscript(rows:column:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSNySiG_SnySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSNySiG_AHtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSNySiG_s16PartialRangeFromVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSNySiG_s19PartialRangeThroughVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSNySiG_s16PartialRangeUpToVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows6columnAA0B7SectionCSNySiG_Sitcip":{"name":"subscript(rows:column:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeFromVySiG_SnySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeFromVySiG_SNySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeFromVySiG_AJtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeFromVySiG_s0fG7ThroughVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeFromVySiG_s0fG4UpToVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows6columnAA0B7SectionCs16PartialRangeFromVySiG_Sitcip":{"name":"subscript(rows:column:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeUpToVySiG_SnySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeUpToVySiG_SNySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeUpToVySiG_s0fG4FromVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeUpToVySiG_s0fG7ThroughVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeUpToVySiG_AJtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows6columnAA0B7SectionCs16PartialRangeUpToVySiG_Sitcip":{"name":"subscript(rows:column:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSnySiG_AHtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTableContent/ContentType.html#/s:5TPPDF15PDFTableContentC0C4TypeO4noneyA2EmF":{"name":"none","abstract":"\u003cp\u003eUndefined content type\u003c/p\u003e","parent_name":"ContentType"},"Classes/PDFTableContent/ContentType.html#/s:5TPPDF15PDFTableContentC0C4TypeO6stringyA2EmF":{"name":"string","abstract":"\u003cp\u003eContent is a string value\u003c/p\u003e","parent_name":"ContentType"},"Classes/PDFTableContent/ContentType.html#/s:5TPPDF15PDFTableContentC0C4TypeO16attributedStringyA2EmF":{"name":"attributedString","abstract":"\u003cp\u003eContent is an attributed string\u003c/p\u003e","parent_name":"ContentType"},"Classes/PDFTableContent/ContentType.html#/s:5TPPDF15PDFTableContentC0C4TypeO5imageyA2EmF":{"name":"image","abstract":"\u003cp\u003eContent is an image\u003c/p\u003e","parent_name":"ContentType"},"Classes/PDFTableContent.html#/s:5TPPDF15PDFTableContentC7contentACypSg_tKcfc":{"name":"init(content:)","abstract":"\u003cp\u003eCreates a new table cell content wrapping the given `content\u003c/p\u003e","parent_name":"PDFTableContent"},"Classes/PDFTableContent.html#/s:5TPPDF15PDFTableContentC2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableContent"},"Classes/PDFTableContent.html#/s:5TPPDF15PDFTableContentC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableContent"},"Classes/PDFTableContent/ContentType.html":{"name":"ContentType","abstract":"\u003cp\u003eInternal enumeration type used to identify the type-erased \u003ccode\u003ePDFTableContent/content\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableContent"},"Classes/PDFTableContent.html#/s:5TPPDF15PDFTableContentC07asTableC0ACvp":{"name":"asTableContent","abstract":"\u003cp\u003eCasts this instance to a \u003ccode\u003ePDFTableContent\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableContent"},"Classes/PDFTableOfContent.html#/s:5TPPDF17PDFTableOfContentC6symbolAA17PDFListItemSymbolOvp":{"name":"symbol","abstract":"\u003cp\u003eSymbol used in the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFList.html\"\u003ePDFList\u003c/a\u003e\u003c/code\u003e after converting the table of contents.\u003c/p\u003e","parent_name":"PDFTableOfContent"},"Classes/PDFTableOfContent.html#/s:5TPPDF17PDFTableOfContentC6styles6symbolACSayAA12PDFTextStyleCG_AA17PDFListItemSymbolOtcfc":{"name":"init(styles:symbol:)","abstract":"\u003cp\u003eCreates a new Table Of Contents by selecting render objects matching the given \u003ccode\u003estyles\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableOfContent"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC5width14CoreFoundation7CGFloatVvp":{"name":"width","abstract":"\u003cp\u003eHolds the relative column width.\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC15backgroundColorSo7NSColorCSgvp":{"name":"backgroundColor","abstract":"\u003cp\u003eBackground color of this section\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC5widthAC14CoreFoundation7CGFloatV_tcfc":{"name":"init(width:)","abstract":"\u003cp\u003eCreates a new section column with the given relative width.\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_5spaceyAA0bC9ContainerO_14CoreFoundation7CGFloatVtF":{"name":"add(_:space:)","abstract":"\u003cp\u003eAdds a empty space in the given container, between the previous and the next element\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC16addLineSeparator_5styleyAA0bC9ContainerO_AA12PDFLineStyleVtF":{"name":"addLineSeparator(_:style:)","abstract":"\u003cp\u003eAdds a horizontal line spearator to the given container. The line starts at the left indentation and ends at the right indentation.","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_5imageyAA0bC9ContainerO_AA8PDFImageCtF":{"name":"add(_:image:)","abstract":"\u003cp\u003eAdds an image to the given container.\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_11imagesInRow7spacingyAA0bC9ContainerO_SayAA8PDFImageCG14CoreFoundation7CGFloatVtF":{"name":"add(_:imagesInRow:spacing:)","abstract":"\u003cp\u003eAdds an image row to the given container.","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_4text11lineSpacingyAA0bC9ContainerO_SS14CoreFoundation7CGFloatVtF":{"name":"add(_:text:lineSpacing:)","abstract":"\u003cp\u003eShorthand public function to add a String text to the given container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_10textObjectyAA0bC9ContainerO_AA13PDFSimpleTextCtF":{"name":"add(_:textObject:)","abstract":"\u003cp\u003eAdds an text object to the given container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_14attributedTextyAA0bC9ContainerO_So18NSAttributedStringCtF":{"name":"add(_:attributedText:)","abstract":"\u003cp\u003eShorthand public function to add a attributed String text to the given container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_20attributedTextObjectyAA0bC9ContainerO_AA013PDFAttributedF0CtF":{"name":"add(_:attributedTextObject:)","abstract":"\u003cp\u003eAdds an attributed text object to the given container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3set_4fontyAA0bC9ContainerO_So6NSFontCtF":{"name":"set(_:font:)","abstract":"\u003cp\u003eSet font in given container. This text color will be used when adding a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC9resetFontyyAA0bC9ContainerOF":{"name":"resetFont(_:)","abstract":"\u003cp\u003eReset text color in given container to default.\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3set_9textColoryAA0bC9ContainerO_So7NSColorCtF":{"name":"set(_:textColor:)","abstract":"\u003cp\u003eSet text color in given container. This text color will be used when adding a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC14resetTextColoryyAA0bC9ContainerOF":{"name":"resetTextColor(_:)","abstract":"\u003cp\u003eReset text color in given container to default.\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_5tableyAA0bC9ContainerO_AA8PDFTableCtF":{"name":"add(_:table:)","abstract":"\u003cp\u003eAdds a table object to the document in the defined container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_4listyAA0bC9ContainerO_AA7PDFListCtF":{"name":"add(_:list:)","abstract":"\u003cp\u003eAdds a list object to the document in the defined container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3set_6indent4leftyAA0bC9ContainerO_14CoreFoundation7CGFloatVSbtF":{"name":"set(_:indent:left:)","abstract":"\u003cp\u003eChange the indentation in a container, use the parameter \u003ccode\u003eleft\u003c/code\u003e to define from which side.\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3set_14absoluteOffsetyAA0bC9ContainerO_14CoreFoundation7CGFloatVtF":{"name":"set(_:absoluteOffset:)","abstract":"\u003cp\u003eChange the absolute top offset in a container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_5groupyAA0bC9ContainerO_AA8PDFGroupCtF":{"name":"add(_:group:)","abstract":"\u003cp\u003eAdds a group\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSection.html#/s:5TPPDF10PDFSectionC7columnsSayAA0B6ColumnCGvp":{"name":"columns","abstract":"\u003cp\u003eList of section columns.\u003c/p\u003e","parent_name":"PDFSection"},"Classes/PDFSection.html#/s:5TPPDF10PDFSectionC12columnMargin14CoreFoundation7CGFloatVvp":{"name":"columnMargin","abstract":"\u003cp\u003eHorizontal margin between columns in points.\u003c/p\u003e","parent_name":"PDFSection"},"Classes/PDFSection.html#/s:5TPPDF10PDFSectionC12columnWidthsACSay14CoreFoundation7CGFloatVG_tcfc":{"name":"init(columnWidths:)","abstract":"\u003cp\u003eCreates a new section with columns of the given relative widths.\u003c/p\u003e","parent_name":"PDFSection"},"Classes/PDFSection.html#/s:5TPPDF10PDFSectionCyACSayAA0B6ColumnCGcfc":{"name":"init(_:)","abstract":"\u003cp\u003eCreates a new section with the given columns.\u003c/p\u003e","parent_name":"PDFSection"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC8progressSo10NSProgressCvp":{"name":"progress","abstract":"\u003cp\u003eInstance of \u003ccode\u003eProgress\u003c/code\u003e used to track and control the multi-document generation\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC10progressesSaySo10NSProgressCGvp":{"name":"progresses","abstract":"\u003cp\u003eInstances of \u003ccode\u003eProgess\u003c/code\u003e used to track and control each individual document generation\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC5debugSbvp":{"name":"debug","abstract":"\u003cp\u003eFlag to enable or disable the debug overlay\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC9documentsACSayAA11PDFDocumentCG_tcfc":{"name":"init(documents:)","abstract":"\u003cp\u003eInitializes a new multi-document generator for generating the giving documents.\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC11generateURL8filename10Foundation0F0VSS_tKF":{"name":"generateURL(filename:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC8generate2toy10Foundation3URLV_tKF":{"name":"generate(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC8generate2to4infoy10Foundation3URLV_AA7PDFInfoCSgtKF":{"name":"generate(to:info:)","abstract":"\u003cp\u003eCreates a file at the given file URL, generates the PDF context data and writes the result idata nto the file.\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC12generateData10Foundation0F0VyKF":{"name":"generateData()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC12generateData4info10Foundation0F0VAA7PDFInfoCSg_tKF":{"name":"generateData(info:)","abstract":"\u003cp\u003eGenerates and returns the PDF context data.\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC10totalPagesSivp":{"name":"totalPages","abstract":"\u003cp\u003eTotal page count used for displaying in rendered PDF\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8progressSo10NSProgressCvp":{"name":"progress","abstract":"\u003cp\u003eRelative value tracking progress\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8delegateAA0B13ImageDelegate_pSgvp":{"name":"delegate","abstract":"\u003cp\u003eObject acts as a delegate during the generation process\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC5debugSbvp":{"name":"debug","abstract":"\u003cp\u003eEnables the debugging mode, which will render additional visual information on different elements.\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8documentAcA11PDFDocumentC_tcfc":{"name":"init(document:)","abstract":"\u003cp\u003eInitializes the generator with a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocument.html\"\u003ePDFDocument\u003c/a\u003e\u003c/code\u003e`.\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC11generateURL8filename10Foundation0D0VSS_tKF":{"name":"generateURL(filename:)","abstract":"\u003cp\u003eConvenience method for \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8generate2to4infoy10Foundation3URLV_AA7PDFInfoCSgtKF\"\u003egenerate(to:info:)\u003c/a\u003e\u003c/code\u003e without \u003ccode\u003einfo\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8generate2toy10Foundation3URLV_tKF":{"name":"generate(to:)","abstract":"\u003cp\u003eConvenience method for \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8generate2to4infoy10Foundation3URLV_AA7PDFInfoCSgtKF\"\u003egenerate(to:info:)\u003c/a\u003e\u003c/code\u003e without \u003ccode\u003einfo\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8generate2to4infoy10Foundation3URLV_AA7PDFInfoCSgtKF":{"name":"generate(to:info:)","abstract":"\u003cp\u003eGenerates PDF data and writes it to a temporary file at the given URL \u003ccode\u003eto\u003c/code\u003e.\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC12generateData10Foundation0D0VyKF":{"name":"generateData()","abstract":"\u003cp\u003eConvenience method for \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC12generateData4info10Foundation0D0VAA7PDFInfoCSg_tKF\"\u003egenerateData(info:)\u003c/a\u003e\u003c/code\u003e without defining \u003ccode\u003einfo\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC12generateData4info10Foundation0D0VAA7PDFInfoCSg_tKF":{"name":"generateData(info:)","abstract":"\u003cp\u003eGenerates PDF data and returns it\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC18generatePDFContext7contextyAA0D0C_tKF":{"name":"generatePDFContext(context:)","abstract":"\u003cp\u003eGenerate PDF Context from PDFCommands\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC19createRenderObjectsSayAA12PDFContainerO_AA15PDFRenderObjectCtGyKF":{"name":"createRenderObjects()","abstract":"\u003cp\u003eCreates a list of container-object pairs which will be rendered.\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC5titleSSvp":{"name":"title","abstract":"\u003cp\u003eTitle of document\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC6authorSSvp":{"name":"author","abstract":"\u003cp\u003eAuthor of document\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC7subjectSSvp":{"name":"subject","abstract":"\u003cp\u003eSubject of document\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC8keywordsSaySSGvp":{"name":"keywords","abstract":"\u003cp\u003eKeywords of document\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC13ownerPasswordSSSgvp":{"name":"ownerPassword","abstract":"\u003cp\u003eThe owner password of the PDF document\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC12userPasswordSSSgvp":{"name":"userPassword","abstract":"\u003cp\u003eThe user password of the PDF document\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC14allowsPrintingSbvp":{"name":"allowsPrinting","abstract":"\u003cp\u003eWhether the document allows printing when unlocked with the user password.\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC13allowsCopyingSbvp":{"name":"allowsCopying","abstract":"\u003cp\u003eWhether the document allows copying when unlocked with the user password.\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC5title6author7subject8keywords13ownerPassword04userH014allowsPrinting0J7CopyingACSS_S2SSaySSGSSSgAMS2btcfc":{"name":"init(title:author:subject:keywords:ownerPassword:userPassword:allowsPrinting:allowsCopying:)","abstract":"\u003cp\u003eCreates a new object to manage the information metadata of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocument.html\"\u003ePDFDocument\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC6parentACSgvp":{"name":"parent","abstract":"\u003cp\u003eWeak reference to the parent list item, used to implement the list symbol \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbEnums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO7inherityA2CmF\"\u003einherit\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC7contentSSSgvp":{"name":"content","abstract":"\u003cp\u003eText content of this list item, calculated and rendered using \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC8childrenSayACGSgvp":{"name":"children","abstract":"\u003cp\u003eList of \u003ccode\u003ePDFListItem\u003c/code\u003e nested in this instance\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC6symbolAA0bC6SymbolOvp":{"name":"symbol","abstract":"\u003cp\u003eSymbol used for this list item\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC6symbol7contentAcA0bC6SymbolO_SSSgtcfc":{"name":"init(symbol:content:)","abstract":"\u003cp\u003eCreates a new list item\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC8addItemsyACSayACGF":{"name":"addItems(_:)","abstract":"\u003cp\u003eAppends the given \u003ccode\u003eitems\u003c/code\u003e to the list of nested items\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC03addC0yA2CF":{"name":"addItem(_:)","abstract":"\u003cp\u003eAdds the given \u003ccode\u003eitem\u003c/code\u003e to the list of nested items\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC10setContentyACSSF":{"name":"setContent(_:)","abstract":"\u003cp\u003eSets the content of this list item\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC4copyACvp":{"name":"copy","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC16debugDescriptionSSvp":{"name":"debugDescription","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC11descriptionSSvp":{"name":"description","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFList.html#/s:5TPPDF7PDFListC5itemsSayAA0B4ItemCGvp":{"name":"items","abstract":"\u003cp\u003eItems in this list\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC17levelIndentationsSay14CoreFoundation7CGFloatV3pre_AG4pasttGvp":{"name":"levelIndentations","abstract":"\u003cp\u003eSpacing before and after the symbol for each nesting level\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC12indentationsACSay14CoreFoundation7CGFloatV3pre_AG4pasttG_tcfc":{"name":"init(indentations:)","abstract":"\u003cp\u003eCreates a new list\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC7addItemyAcA0bD0CF":{"name":"addItem(_:)","abstract":"\u003cp\u003eAdds the given \u003ccode\u003eitem\u003c/code\u003e to this list\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC8addItemsyACSayAA0B4ItemCGF":{"name":"addItems(_:)","abstract":"\u003cp\u003eAppends the given \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFList.html#/s:5TPPDF7PDFListC5itemsSayAA0B4ItemCGvp\"\u003eitems\u003c/a\u003e\u003c/code\u003e to this list\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC5countSivp":{"name":"count","abstract":"\u003cp\u003eCount of items in this list\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC7flattedSaySi5level_SS4textAA0B10ItemSymbolO6symboltGyF":{"name":"flatted()","abstract":"\u003cp\u003eConverts the added instances of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFListItem.html\"\u003ePDFListItem\u003c/a\u003e\u003c/code\u003e from a nested structure into an array of tuples\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC16debugDescriptionSSvp":{"name":"debugDescription","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC11descriptionSSvp":{"name":"description","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC5imageSo7NSImageCvp":{"name":"image","abstract":"\u003cp\u003eThe actual image\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC7captionAA7PDFTextCSgvp":{"name":"caption","abstract":"\u003cp\u003eAn instance of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFText.html\"\u003ePDFText\u003c/a\u003e\u003c/code\u003e subclass.","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC4sizeSo6CGSizeVvp":{"name":"size","abstract":"\u003cp\u003eThe size of the image in the PDF document\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC7sizeFitAA0b4SizeD0Ovp":{"name":"sizeFit","abstract":"\u003cp\u003eDefines how the image will fit if not enough space is given\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC7quality14CoreFoundation7CGFloatVvp":{"name":"quality","abstract":"\u003cp\u003eJPEG quality of image.\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC7optionsAA0B7OptionsVvp":{"name":"options","abstract":"\u003cp\u003eOptions used for changing the image before drawing\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC12cornerRadius14CoreFoundation7CGFloatVSgvp":{"name":"cornerRadius","abstract":"\u003cp\u003eOptional corner radius, is used if the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFImage.html#/s:5TPPDF8PDFImageC7optionsAA0B7OptionsVvp\"\u003eoptions\u003c/a\u003e\u003c/code\u003e are set.\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC5image7caption4size0E3Fit7quality7options12cornerRadiusACSo7NSImageC_AA7PDFTextCSgSo6CGSizeVAA0b4SizeF0O14CoreFoundation7CGFloatVAA0B7OptionsVAVSgtcfc":{"name":"init(image:caption:size:sizeFit:quality:options:cornerRadius:)","abstract":"\u003cp\u003eInitializer to create a PDF image element.\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC4copyACvp":{"name":"copy","abstract":"\u003cp\u003eCreates a new \u003ccode\u003ePDFImage\u003c/code\u003e with the same properties\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFMasterGroup.html#/s:5TPPDF14PDFMasterGroupC10isFullPageSbvp":{"name":"isFullPage","abstract":"\u003cp\u003eFlag if \u003ccode\u003etrue\u003c/code\u003e, the render frame of the group is the as large as the page allows, otherwise only as large as its content objects\u003c/p\u003e","parent_name":"PDFMasterGroup"},"Classes/PDFMasterGroup.html#/s:5TPPDF14PDFMasterGroupC10isFullPageACSb_tcfc":{"name":"init(isFullPage:)","abstract":"\u003cp\u003eCreates a new master group with default values\u003c/p\u003e","parent_name":"PDFMasterGroup"},"Classes/PDFMasterGroup.html#/s:5TPPDF14PDFMasterGroupC9setMargin4left5right3top6bottomy14CoreFoundation7CGFloatVSg_A3LtF":{"name":"setMargin(left:right:top:bottom:)","abstract":"\u003cp\u003eConfigures the space between the group and the edges of the page.\u003c/p\u003e","parent_name":"PDFMasterGroup"},"Classes/PDFMasterGroup.html#/s:5TPPDF14PDFMasterGroupC11resetMarginyyF":{"name":"resetMargin()","abstract":"\u003cp\u003eResets the margin of the group to the margin of the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocument.html#/s:5TPPDF11PDFDocumentC6layoutAA13PDFPageLayoutVvp\"\u003elayout\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFMasterGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC12allowsBreaksSbvp":{"name":"allowsBreaks","abstract":"\u003cp\u003eFlag to control if the group should allow page breaks inside, or if it should be moved to the next page in full.\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC15backgroundColorSo7NSColorCSgvp":{"name":"backgroundColor","abstract":"\u003cp\u003eFilling background color in the frame of the group\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC7outlineAA12PDFLineStyleVvp":{"name":"outline","abstract":"\u003cp\u003eOutline style used if \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFGroup.html#/s:5TPPDF8PDFGroupC15backgroundColorSo7NSColorCSgvp\"\u003ebackgroundColor\u003c/a\u003e\u003c/code\u003e is configured.\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC15backgroundImageAA8PDFImageCSgvp":{"name":"backgroundImage","abstract":"\u003cp\u003eFilling background image in the frame of the group\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC15backgroundShapeAA018PDFDynamicGeometryD0CSgvp":{"name":"backgroundShape","abstract":"\u003cp\u003eFilling background shape in the frame of the group\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC7paddingSo12NSEdgeInsetsVvp":{"name":"padding","abstract":"\u003cp\u003eInside padding of content to the edge\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC12allowsBreaks15backgroundColor0E5Image0E5Shape7outline7paddingACSb_So7NSColorCSgAA8PDFImageCSgAA018PDFDynamicGeometryH0CSgAA12PDFLineStyleVSo12NSEdgeInsetsVtcfc":{"name":"init(allowsBreaks:backgroundColor:backgroundImage:backgroundShape:outline:padding:)","abstract":"\u003cp\u003eCreates a new instance of \u003ccode\u003ePDFGroup\u003c/code\u003e with default configuration\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_5spaceyAA0B9ContainerO_14CoreFoundation7CGFloatVtF":{"name":"add(_:space:)","abstract":"\u003cp\u003eAdds a empty space in the given container, between the previous and the next element\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC16addLineSeparator_5styleyAA0B9ContainerO_AA12PDFLineStyleVtF":{"name":"addLineSeparator(_:style:)","abstract":"\u003cp\u003eAdds a horizontal line spearator to the given container. The line starts at the left indentation and ends at the right indentation.","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_5imageyAA0B9ContainerO_AA8PDFImageCtF":{"name":"add(_:image:)","abstract":"\u003cp\u003eAdds an image to the given container.\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_11imagesInRow7spacingyAA0B9ContainerO_SayAA8PDFImageCG14CoreFoundation7CGFloatVtF":{"name":"add(_:imagesInRow:spacing:)","abstract":"\u003cp\u003eAdds an image row to the given container.","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_4text11lineSpacingyAA0B9ContainerO_SS14CoreFoundation7CGFloatVtF":{"name":"add(_:text:lineSpacing:)","abstract":"\u003cp\u003eShorthand function to add a String text to the given container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_10textObjectyAA0B9ContainerO_AA13PDFSimpleTextCtF":{"name":"add(_:textObject:)","abstract":"\u003cp\u003eAdds an text object to the given container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_14attributedTextyAA0B9ContainerO_So18NSAttributedStringCtF":{"name":"add(_:attributedText:)","abstract":"\u003cp\u003eShorthand function to add a attributed String text to the given container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_20attributedTextObjectyAA0B9ContainerO_AA013PDFAttributedE0CtF":{"name":"add(_:attributedTextObject:)","abstract":"\u003cp\u003eAdds an attributed text object to the given container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3set_4fontyAA0B9ContainerO_So6NSFontCtF":{"name":"set(_:font:)","abstract":"\u003cp\u003eSet font in given container. This text color will be used when adding a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC9resetFontyyAA0B9ContainerOF":{"name":"resetFont(_:)","abstract":"\u003cp\u003eReset text color in given container to default.\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3set_9textColoryAA0B9ContainerO_So7NSColorCtF":{"name":"set(_:textColor:)","abstract":"\u003cp\u003eSet text color in given container. This text color will be used when adding a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC14resetTextColoryyAA0B9ContainerOF":{"name":"resetTextColor(_:)","abstract":"\u003cp\u003eReset text color in given container to default.\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_5tableyAA0B9ContainerO_AA8PDFTableCtF":{"name":"add(_:table:)","abstract":"\u003cp\u003eAdds a table object to the document in the defined container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_4listyAA0B9ContainerO_AA7PDFListCtF":{"name":"add(_:list:)","abstract":"\u003cp\u003eAdds a list object to the document in the defined container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3set_11indentation4leftyAA0B9ContainerO_14CoreFoundation7CGFloatVSbtF":{"name":"set(_:indentation:left:)","abstract":"\u003cp\u003eChange the indentation in a container, use the parameter \u003ccode\u003eleft\u003c/code\u003e to define from which side.\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3set_14absoluteOffsetyAA0B9ContainerO_14CoreFoundation7CGFloatVtF":{"name":"set(_:absoluteOffset:)","abstract":"\u003cp\u003eChange the absolute top offset in a container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFDynamicGeometryShape.html#/s:5TPPDF23PDFDynamicGeometryShapeC4pathAA13PDFBezierPathCvp":{"name":"path","abstract":"\u003cp\u003ePath of the geometry shape\u003c/p\u003e","parent_name":"PDFDynamicGeometryShape"},"Classes/PDFDynamicGeometryShape.html#/s:5TPPDF23PDFDynamicGeometryShapeC9fillColorSo7NSColorCvp":{"name":"fillColor","abstract":"\u003cp\u003eColor used to fill the shape\u003c/p\u003e","parent_name":"PDFDynamicGeometryShape"},"Classes/PDFDynamicGeometryShape.html#/s:5TPPDF23PDFDynamicGeometryShapeC6strokeAA12PDFLineStyleVvp":{"name":"stroke","abstract":"\u003cp\u003eLine style used to stroke the shape\u003c/p\u003e","parent_name":"PDFDynamicGeometryShape"},"Classes/PDFDynamicGeometryShape.html#/s:5TPPDF23PDFDynamicGeometryShapeC4path9fillColor6strokeAcA13PDFBezierPathC_So7NSColorCAA12PDFLineStyleVtcfc":{"name":"init(path:fillColor:stroke:)","abstract":"\u003cp\u003eCreates a new dynamic geometry shape\u003c/p\u003e","parent_name":"PDFDynamicGeometryShape"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO7topLeftyA2EmF":{"name":"topLeft","abstract":"\u003cp\u003eKeep distance to top and left edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO9topCenteryA2EmF":{"name":"topCenter","abstract":"\u003cp\u003eKeep distance to top and horizontal center edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO8topRightyA2EmF":{"name":"topRight","abstract":"\u003cp\u003eKeep distance to top and right edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO10middleLeftyA2EmF":{"name":"middleLeft","abstract":"\u003cp\u003eKeep distance to vertical middle and left edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO12middleCenteryA2EmF":{"name":"middleCenter","abstract":"\u003cp\u003eKeep distance to center of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO11middleRightyA2EmF":{"name":"middleRight","abstract":"\u003cp\u003eKeep distance to vertical middle and right edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO10bottomLeftyA2EmF":{"name":"bottomLeft","abstract":"\u003cp\u003eKeep distance to bottom and left edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO12bottomCenteryA2EmF":{"name":"bottomCenter","abstract":"\u003cp\u003eKeep distance to bottom edge and horizontal of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO11bottomRightyA2EmF":{"name":"bottomRight","abstract":"\u003cp\u003eKeep distance to bottom and right edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html":{"name":"Anchor","abstract":"\u003cp\u003eAnchor used to define the handling of scaling a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFBezierPath.html\"\u003ePDFBezierPath\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFBezierPathVertex"},"Classes/PDFBezierPathVertex.html#/s:5TPPDF19PDFBezierPathVertexC8positionSo7CGPointVvp":{"name":"position","abstract":"\u003cp\u003ePosition of the vertex, relative to the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFBezierPath.html\"\u003ePDFBezierPath\u003c/a\u003e\u003c/code\u003e using this vertex.\u003c/p\u003e","parent_name":"PDFBezierPathVertex"},"Classes/PDFBezierPathVertex.html#/s:5TPPDF19PDFBezierPathVertexC6anchorAC6AnchorOvp":{"name":"anchor","abstract":"\u003cp\u003eAnchor used modify the position during scaling\u003c/p\u003e","parent_name":"PDFBezierPathVertex"},"Classes/PDFBezierPathVertex.html#/s:5TPPDF19PDFBezierPathVertexC8position6anchorACSo7CGPointV_AC6AnchorOtcfc":{"name":"init(position:anchor:)","abstract":"\u003cp\u003eCreates a new instance of a bezier path to be used with \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDynamicGeometryShape.html\"\u003ePDFDynamicGeometryShape\u003c/a\u003e\u003c/code\u003e to render complex but dynamic shapes\u003c/p\u003e","parent_name":"PDFBezierPathVertex"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC3refACSo6CGRectV_tcfc":{"name":"init(ref:)","abstract":"\u003cp\u003eCreates a new bezier path with the given reference frame.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC4move2toyAA0bC6VertexC_tF":{"name":"move(to:)","abstract":"\u003cp\u003eMoves the path’s current point to the specified location.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC7addLine2toyAA0bC6VertexC_tF":{"name":"addLine(to:)","abstract":"\u003cp\u003eAppends a straight line to the path.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC8addCurve2to13controlPoint10G6Point2yAA0bC6VertexC_A2ItF":{"name":"addCurve(to:controlPoint1:controlPoint2:)","abstract":"\u003cp\u003eAppends a cubic Bézier curve to the path.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC12addQuadCurve2to12controlPointyAA0bC6VertexC_AHtF":{"name":"addQuadCurve(to:controlPoint:)","abstract":"\u003cp\u003eAppends a quadratic Bézier curve to the path.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC6addArc10withCenter6radius10startAngle03endJ09clockwiseyAA0bC6VertexC_14CoreFoundation7CGFloatVA2NSbtF":{"name":"addArc(withCenter:radius:startAngle:endAngle:clockwise:)","abstract":"\u003cp\u003eAppends an arc to the path.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC5closeyyF":{"name":"close()","abstract":"\u003cp\u003eCloses the most recent subpath.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC06bezierC02inSo08NSBezierC0CSo6CGRectV_tF":{"name":"bezierPath(in:)","abstract":"\u003cp\u003eConverts this path into an \u003ccode\u003eUIBezierPath\u003c/code\u003e / \u003ccode\u003eNSBezierPath\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC4copy4withyp10ObjectiveC6NSZoneVSg_tF":{"name":"copy(with:)","abstract":"\u003cp\u003eCreates a copy of this path with references to the same vertices\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC3url10Foundation3URLVvp":{"name":"url","abstract":"\u003cp\u003eFile URL to an external document\u003c/p\u003e","parent_name":"PDFExternalDocument"},"Classes/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC5pagesSaySiGvp":{"name":"pages","abstract":"\u003cp\u003eArray of page indicies which should be included from external documents\u003c/p\u003e","parent_name":"PDFExternalDocument"},"Classes/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC3url5pagesAC10Foundation3URLV_Sidtcfc":{"name":"init(url:pages:)","abstract":"\u003cp\u003eCreates a new instance using the given \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC3url10Foundation3URLVvp\"\u003eurl\u003c/a\u003e\u003c/code\u003e to locate and the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC5pagesSaySiGvp\"\u003epages\u003c/a\u003e\u003c/code\u003e parameter to select the pages.\u003c/p\u003e","parent_name":"PDFExternalDocument"},"Classes/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC3url5pagesAC10Foundation3URLV_SaySiGtcfc":{"name":"init(url:pages:)","abstract":"\u003cp\u003eCreates a new instance using the given \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC3url10Foundation3URLVvp\"\u003eurl\u003c/a\u003e\u003c/code\u003e to locate and the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC5pagesSaySiGvp\"\u003epages\u003c/a\u003e\u003c/code\u003e parameter to select the pages.\u003c/p\u003e","parent_name":"PDFExternalDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC6layoutAA13PDFPageLayoutVvp":{"name":"layout","abstract":"\u003cp\u003eHolds all layout information\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC4infoAA7PDFInfoCvp":{"name":"info","abstract":"\u003cp\u003eHolds all document information\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC10paginationAA13PDFPaginationVvp":{"name":"pagination","abstract":"\u003cp\u003eHolds all pagination information\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC6stylesSayAA12PDFTextStyleCGvp":{"name":"styles","abstract":"\u003cp\u003eHolds strong references to all text styles\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC10backgroundAA0B10BackgroundVvp":{"name":"background","abstract":"\u003cp\u003eConfiguration for document/paper background\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC6layoutAcA13PDFPageLayoutV_tcfc":{"name":"init(layout:)","abstract":"\u003cp\u003eCreates a new document with the given \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocument.html#/s:5TPPDF11PDFDocumentC6layoutAA13PDFPageLayoutVvp\"\u003elayout\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC6formatAcA13PDFPageFormatO_tcfc":{"name":"init(format:)","abstract":"\u003cp\u003eCreates a new document with a predefined \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbEnums/PDFPageFormat.html\"\u003ePDFPageFormat\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_5spaceyAA12PDFContainerO_14CoreFoundation7CGFloatVtF":{"name":"add(_:space:)","abstract":"\u003cp\u003eAdds a empty space in the given container, between the previous and the next element\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC16addLineSeparator_5styleyAA12PDFContainerO_AA12PDFLineStyleVtF":{"name":"addLineSeparator(_:style:)","abstract":"\u003cp\u003eAdds a horizontal line spearator to the given container. The line starts at the left indentation and ends at the right indentation.","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_5imageyAA12PDFContainerO_AA8PDFImageCtF":{"name":"add(_:image:)","abstract":"\u003cp\u003eAdds an image to the given container.\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_11imagesInRow7spacingyAA12PDFContainerO_SayAA8PDFImageCG14CoreFoundation7CGFloatVtF":{"name":"add(_:imagesInRow:spacing:)","abstract":"\u003cp\u003eAdds an image row to the given container.","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_4text11lineSpacingyAA12PDFContainerO_SS14CoreFoundation7CGFloatVtF":{"name":"add(_:text:lineSpacing:)","abstract":"\u003cp\u003eShorthand public function to add a String text to the given container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_10textObjectyAA12PDFContainerO_AA13PDFSimpleTextCtF":{"name":"add(_:textObject:)","abstract":"\u003cp\u003eAdds an text object to the given container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_14attributedTextyAA12PDFContainerO_So18NSAttributedStringCtF":{"name":"add(_:attributedText:)","abstract":"\u003cp\u003eShorthand public function to add a attributed String text to the given container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_20attributedTextObjectyAA12PDFContainerO_AA013PDFAttributedE0CtF":{"name":"add(_:attributedTextObject:)","abstract":"\u003cp\u003eAdds an attributed text object to the given container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3set_4fontyAA12PDFContainerO_So6NSFontCtF":{"name":"set(_:font:)","abstract":"\u003cp\u003eSet font in given container. This text color will be used when adding a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC9resetFontyyAA12PDFContainerOF":{"name":"resetFont(_:)","abstract":"\u003cp\u003eReset text color in given container to default.\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3set_9textColoryAA12PDFContainerO_So7NSColorCtF":{"name":"set(_:textColor:)","abstract":"\u003cp\u003eSet text color in given container. This text color will be used when adding a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC14resetTextColoryyAA12PDFContainerOF":{"name":"resetTextColor(_:)","abstract":"\u003cp\u003eReset text color in given container to default.\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_5tableyAA12PDFContainerO_AA8PDFTableCtF":{"name":"add(_:table:)","abstract":"\u003cp\u003eAdds a table object to the document in the defined container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_4listyAA12PDFContainerO_AA7PDFListCtF":{"name":"add(_:list:)","abstract":"\u003cp\u003eAdds a list object to the document in the defined container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add7sectionyAA10PDFSectionC_tF":{"name":"add(section:)","abstract":"\u003cp\u003eAdds a section object to the document\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3set_6indent4leftyAA12PDFContainerO_14CoreFoundation7CGFloatVSbtF":{"name":"set(_:indent:left:)","abstract":"\u003cp\u003eChange the indentation in a container, use the parameter \u003ccode\u003eleft\u003c/code\u003e to define from which side.\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3set_14absoluteOffsetyAA12PDFContainerO_14CoreFoundation7CGFloatVtF":{"name":"set(_:absoluteOffset:)","abstract":"\u003cp\u003eChange the absolute top offset in a container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC13createNewPageyyF":{"name":"createNewPage()","abstract":"\u003cp\u003eCreates a new page by adding a page break object\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add5styleAA12PDFTextStyleCAG_tF":{"name":"add(style:)","abstract":"\u003cp\u003eAdds a new style to the list of known styles\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add14tableOfContentyAA08PDFTableeF0C_tF":{"name":"add(tableOfContent:)","abstract":"\u003cp\u003eAdds a table of content\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC6enable_7columns6widths8spacingsyAA12PDFContainerO_SiSay14CoreFoundation7CGFloatVGAMtF":{"name":"enable(_:columns:widths:spacings:)","abstract":"\u003cp\u003eStarts a column section with automatic wrapping\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC14disableColumns_12addPageBreakyAA12PDFContainerO_SbtF":{"name":"disableColumns(_:addPageBreak:)","abstract":"\u003cp\u003eFinishes a column section\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_5groupyAA12PDFContainerO_AA8PDFGroupCtF":{"name":"add(_:group:)","abstract":"\u003cp\u003eAdds a group\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3set6masteryAA14PDFMasterGroupC_tF":{"name":"set(master:)","abstract":"\u003cp\u003eReplaces current master group with the given one.\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add16externalDocumentyAA011PDFExternalE0C_tF":{"name":"add(externalDocument:)","abstract":"\u003cp\u003eAdds an external document to the document\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html":{"name":"PDFDocument","abstract":"\u003cp\u003eThis object holds the information about the document and also all PDF objects.\u003c/p\u003e"},"Classes/PDFExternalDocument.html":{"name":"PDFExternalDocument","abstract":"\u003cp\u003eDocument object used for including an external PDF document\u003c/p\u003e"},"Classes/PDFBezierPath.html":{"name":"PDFBezierPath","abstract":"\u003cp\u003eStructure to create a bezier path, similar to \u003ccode\u003eUIKit.UIBezierPath\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFBezierPathVertex.html":{"name":"PDFBezierPathVertex","abstract":"\u003cp\u003eA vertex in a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFBezierPath.html\"\u003ePDFBezierPath\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFDynamicGeometryShape.html":{"name":"PDFDynamicGeometryShape","abstract":"\u003cp\u003eRenders an arbitrary path into the graphics context\u003c/p\u003e"},"Classes/PDFGroup.html":{"name":"PDFGroup","abstract":"\u003cp\u003eObject used to dynamically add multiple elements to a document, but calculate them as one.\u003c/p\u003e"},"Classes/PDFMasterGroup.html":{"name":"PDFMasterGroup","abstract":"\u003cp\u003eSubclass of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFGroup.html\"\u003ePDFGroup\u003c/a\u003e\u003c/code\u003e with additional properties to configure page background content\u003c/p\u003e"},"Classes/PDFImage.html":{"name":"PDFImage","abstract":"\u003cp\u003eImage element for the PDF document.\u003c/p\u003e"},"Classes/PDFList.html":{"name":"PDFList","abstract":"\u003cp\u003eCreates a new bullet list or numbered list with multiple, indented levels.\u003c/p\u003e"},"Classes/PDFListItem.html":{"name":"PDFListItem","abstract":"\u003cp\u003eAn item used in a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFList.html\"\u003ePDFList\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFInfo.html":{"name":"PDFInfo","abstract":"\u003cp\u003eInformation saved in PDF file metadata\u003c/p\u003e"},"Classes/PDFGenerator.html":{"name":"PDFGenerator","abstract":"\u003cp\u003eFactory to convert a single \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocument.html\"\u003ePDFDocument\u003c/a\u003e\u003c/code\u003e into a PDF file\u003c/p\u003e"},"Classes/PDFMultiDocumentGenerator.html":{"name":"PDFMultiDocumentGenerator","abstract":"\u003cp\u003eGenerates a PDF from multiple \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocument.html\"\u003ePDFDocument\u003c/a\u003e\u003c/code\u003e by appending them.\u003c/p\u003e"},"Classes/PDFSection.html":{"name":"PDFSection","abstract":"\u003cp\u003eA multi-column section is a nested container.\u003c/p\u003e"},"Classes/PDFSectionColumn.html":{"name":"PDFSectionColumn","abstract":"\u003cp\u003eA configurable column of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSection.html\"\u003ePDFSection\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFTableOfContent.html":{"name":"PDFTableOfContent","abstract":"\u003cp\u003eCreates a table of content for the given list of render objects.\u003c/p\u003e"},"Classes/PDFTableContent.html":{"name":"PDFTableContent","abstract":"\u003cp\u003eStructure used to manage cell content\u003c/p\u003e"},"Classes/PDFTable.html":{"name":"PDFTable","abstract":"\u003cp\u003eA table is a two dimensional list.\u003c/p\u003e"},"Classes/PDFTableCell.html":{"name":"PDFTableCell","abstract":"\u003cp\u003eAn instance of a table cell\u003c/p\u003e"},"Classes/PDFTableColumn.html":{"name":"PDFTableColumn","abstract":"\u003cp\u003eReference to a single column of cells in a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFTableColumns.html":{"name":"PDFTableColumns","abstract":"\u003cp\u003eReferences to multiple columns (\u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableColumn.html\"\u003ePDFTableColumn\u003c/a\u003e\u003c/code\u003e) of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFTableRow.html":{"name":"PDFTableRow","abstract":"\u003cp\u003eReference to a single row of cells in a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFTableRows.html":{"name":"PDFTableRows","abstract":"\u003cp\u003eReferences to multiple rows (\u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableRow.html\"\u003ePDFTableRow\u003c/a\u003e\u003c/code\u003e) of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFTableSection.html":{"name":"PDFTableSection","abstract":"\u003cp\u003eReference to a range of cells in a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFTableStyle.html":{"name":"PDFTableStyle","abstract":"\u003cp\u003eStructure used to manage the styling of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFAttributedText.html":{"name":"PDFAttributedText","abstract":"\u003cp\u003eAdvanced text objects using an attributed string\u003ccode\u003eFoundation.NSAttributedString\u003c/code\u003e as the internal structure.\u003c/p\u003e"},"Classes/PDFSimpleText.html":{"name":"PDFSimpleText","abstract":"\u003cp\u003ePlain text object with basic styling.\u003c/p\u003e"},"Classes/PDFText.html":{"name":"PDFText","abstract":"\u003cp\u003eAbstract class all text objects should implement\u003c/p\u003e"},"Classes/PDFTextStyle.html":{"name":"PDFTextStyle","abstract":"\u003cp\u003eStructure to combine multiple aspects of text styling.\u003c/p\u003e"},"Classes/PDFDocumentObject.html":{"name":"PDFDocumentObject","abstract":"\u003cp\u003eAll document objects are instances of \u003ccode\u003ePDFDocumentObject\u003c/code\u003e to share common properties, e.g. \u003ccode\u003eattributes\u003c/code\u003e.\u003c/p\u003e"},"Classes.html#/s:5TPPDF15PDFRenderObjectC":{"name":"PDFRenderObject","abstract":"\u003cp\u003eAll renderable objects subclass from this object.\u003c/p\u003e"},"Classes.html#/s:5TPPDF10PDFContextC":{"name":"PDFContext","abstract":"\u003cp\u003eEncapsulates the graphics context\u003c/p\u003e"},"Classes.html":{"name":"Classes","abstract":"\u003cp\u003eThe following classes are available globally.\u003c/p\u003e"},"Enums.html":{"name":"Enumerations","abstract":"\u003cp\u003eThe following enumerations are available globally.\u003c/p\u003e"},"Extensions.html":{"name":"Extensions","abstract":"\u003cp\u003eThe following extensions are available globally.\u003c/p\u003e"},"Protocols.html":{"name":"Protocols","abstract":"\u003cp\u003eThe following protocols are available globally.\u003c/p\u003e"},"Structs.html":{"name":"Structures","abstract":"\u003cp\u003eThe following structures are available globally.\u003c/p\u003e"},"Typealiases.html":{"name":"Type Aliases","abstract":"\u003cp\u003eThe following type aliases are available globally.\u003c/p\u003e"}} \ No newline at end of file diff --git a/docs/docsets/TPPDF.docset/Contents/Resources/docSet.dsidx b/docs/docsets/TPPDF.docset/Contents/Resources/docSet.dsidx deleted file mode 100644 index 9c7bbcd4..00000000 Binary files a/docs/docsets/TPPDF.docset/Contents/Resources/docSet.dsidx and /dev/null differ diff --git a/docs/docsets/TPPDF.tgz b/docs/docsets/TPPDF.tgz deleted file mode 100644 index 77dd5813..00000000 Binary files a/docs/docsets/TPPDF.tgz and /dev/null differ diff --git a/docs/docsets/TPPDF.xml b/docs/docsets/TPPDF.xml deleted file mode 100644 index 2584bea1..00000000 --- a/docs/docsets/TPPDF.xml +++ /dev/null @@ -1 +0,0 @@ -2.4.1https://techprimate.github.io/TPPDF/docsets/TPPDF.tgz diff --git a/docs/img/carat.png b/docs/img/carat.png deleted file mode 100755 index 29d2f7fd..00000000 Binary files a/docs/img/carat.png and /dev/null differ diff --git a/docs/img/dash.png b/docs/img/dash.png deleted file mode 100755 index 6f694c7a..00000000 Binary files a/docs/img/dash.png and /dev/null differ diff --git a/docs/img/gh.png b/docs/img/gh.png deleted file mode 100755 index 628da97c..00000000 Binary files a/docs/img/gh.png and /dev/null differ diff --git a/docs/img/spinner.gif b/docs/img/spinner.gif deleted file mode 100644 index e3038d0a..00000000 Binary files a/docs/img/spinner.gif and /dev/null differ diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index 91e4a73c..00000000 --- a/docs/index.html +++ /dev/null @@ -1,590 +0,0 @@ - - - - TPPDF Reference - - - - - - - - - - - - - - - -
-

- - TPPDF 2.4.1 Docs - - (99% documented) -

- -
-
- -
-
- -

- - GitHub - View on GitHub - -

- -

- - Dash - Install in Dash - -

-
- - - -
- -
- -
-
- -

- TPPDF -

- -

- - TPPDF is a fast PDF builder for iOS & macOS using simple commands to create advanced documents! - -

- -
- Swift - iOS|macOS - License -
- - - -
- Swift Package Manager - Cocoapods - Carthage -
- -

- Created and maintained by Philip Niedertscheider and all the amazing contributors. -

- -

- Features - • Getting Started - • Communication - • Usage - • Installation - • Credits - • License -

-

Features

- -
    -
  • [x] Page header and footer
  • -
  • [x] Dynamic content layout with page alignment
  • -
  • [x] Support for tables and cell alignment
  • -
  • [x] Attributed strings
  • -
  • [x] Custom spacing
  • -
  • [x] Image support
  • -
  • [x] Horizontal line separators
  • -
  • [x] Custom indentation
  • -
  • [x] Custom top offset (good for layered rendering)
  • -
  • [x] Pagination
  • -
  • [x] Image caption
  • -
  • [x] Compress images
  • -
  • [x] Custom image size fit
  • -
  • [x] Images in the header and footer
  • -
  • [x] Horizontal line separators in the header and footer
  • -
  • [x] Generate PDF files directly to handle large PDF files (Details)
  • -
  • [x] PDF metadata
  • -
  • [x] Custom table styling
  • -
  • [x] Multi-column sections
  • -
  • [x] Swift Package Manager Support
  • -
  • [x] Tables with cell merging & automatic page breaking
  • -
  • [x] Hyperlinks in text
  • -
  • [x] Native progress tracking using Foundation.Progress
  • -
  • [ ] Documentation
  • -
-

Getting Started

- -

Building a PDF document is very easy:

- -

First, you create a document with a paperformat…

-
let document = PDFDocument(format: .a4)
-
- -

…then you add your information to a container…

-
document.add(.contentCenter, text: "Create PDF documents easily.")
-
- -

…then you render the document…

-
let generator = PDFGenerator(document: document)
-let url  = try generator.generateURL(filename: "Example.pdf")
-
- -

…done!

- -

If you need more details, checkout Usage.

-

Communication

- -

Attention:

- -

TPPDF is an Open Source side-project of techprimate. -As we are currently working on multiple other projects, we only have limited time for fixing bugs and enhancing TPPDF.

- -

That’s why any issue reporting and especially Pull Requests are very welcome!

- -

If you need professional support for your company, you can reach out to @philprimes on Twitter or on our website techprimate.com! -This is mainly for custom or high-priority requests, therefore we won’t publish a consulting pricing for now.

- -

For everything else, please see Communication and this message. Thank you!

- -
    -
  • If you need help, use Stack Overflow. (Tag ‘TPPDF’) Just open up another issue, it might lead to better documentation.
  • -
  • If you found a bug, open an issue.
  • -
  • If you have a feature request, open an issue.
  • -
  • If you want to contribute, submit a pull request.
  • -
-

Example

- -

Take a look at the Getting Started Guide or checkout the Examples (using of one of the following):

- -
    -
  • Clone the repository and look at the Example folders
  • -
  • Run pod try TPPDF
  • -
-

Apps using TPPDF

- -

If you are using TPPDF in your app and want to be listed here, simply create a pull request or let us know on Twitter or via GitHub. We are always curious to see, who is using our project :)

- - - - - - - - - - - - - - - - - - -
- - Burnout Coach - - - - ChatHistory - - - - Hikingbook - - - - Bug Journal - - - - EnergyTracker - - - - Lyrcs - -
- Burnout Coach
- by Stéphane Mégy -
- ChatHistory
- by techprimate -
- Hikingbook
- by Zheng-Xiang Ke -
- Bug Journal
- by David Johnson -
- EnergyTracker
- by Stefan Nebel -
- Lyrcs
- by ptrkstr -
-

Credits

- -

TPPDF is created and maintained by Philip Niedertscheider, founder of techprimate.

- -

- - techprimate.com - - - twitter - - - facebook - - - facebook - -

-

Contributors

- -

Please consider backing this project by using the following GitHub Sponsor button.

- -

We want to thank all contributors for their effort!

- -
-
- - -
-
- - - diff --git a/docs/js/jazzy.js b/docs/js/jazzy.js deleted file mode 100755 index 19844166..00000000 --- a/docs/js/jazzy.js +++ /dev/null @@ -1,74 +0,0 @@ -// Jazzy - https://github.com/realm/jazzy -// Copyright Realm Inc. -// SPDX-License-Identifier: MIT - -window.jazzy = {'docset': false} -if (typeof window.dash != 'undefined') { - document.documentElement.className += ' dash' - window.jazzy.docset = true -} -if (navigator.userAgent.match(/xcode/i)) { - document.documentElement.className += ' xcode' - window.jazzy.docset = true -} - -function toggleItem($link, $content) { - var animationDuration = 300; - $link.toggleClass('token-open'); - $content.slideToggle(animationDuration); -} - -function itemLinkToContent($link) { - return $link.parent().parent().next(); -} - -// On doc load + hash-change, open any targetted item -function openCurrentItemIfClosed() { - if (window.jazzy.docset) { - return; - } - var $link = $(`a[name="${location.hash.substring(1)}"]`).nextAll('.token'); - $content = itemLinkToContent($link); - if ($content.is(':hidden')) { - toggleItem($link, $content); - } -} - -$(openCurrentItemIfClosed); -$(window).on('hashchange', openCurrentItemIfClosed); - -// On item link ('token') click, toggle its discussion -$('.token').on('click', function(event) { - if (window.jazzy.docset) { - return; - } - var $link = $(this); - toggleItem($link, itemLinkToContent($link)); - - // Keeps the document from jumping to the hash. - var href = $link.attr('href'); - if (history.pushState) { - history.pushState({}, '', href); - } else { - location.hash = href; - } - event.preventDefault(); -}); - -// Clicks on links to the current, closed, item need to open the item -$("a:not('.token')").on('click', function() { - if (location == this.href) { - openCurrentItemIfClosed(); - } -}); - -// KaTeX rendering -if ("katex" in window) { - $($('.math').each( (_, element) => { - katex.render(element.textContent, element, { - displayMode: $(element).hasClass('m-block'), - throwOnError: false, - trust: true - }); - })) -} diff --git a/docs/js/jazzy.search.js b/docs/js/jazzy.search.js deleted file mode 100644 index 359cdbb8..00000000 --- a/docs/js/jazzy.search.js +++ /dev/null @@ -1,74 +0,0 @@ -// Jazzy - https://github.com/realm/jazzy -// Copyright Realm Inc. -// SPDX-License-Identifier: MIT - -$(function(){ - var $typeahead = $('[data-typeahead]'); - var $form = $typeahead.parents('form'); - var searchURL = $form.attr('action'); - - function displayTemplate(result) { - return result.name; - } - - function suggestionTemplate(result) { - var t = '
'; - t += '' + result.name + ''; - if (result.parent_name) { - t += '' + result.parent_name + ''; - } - t += '
'; - return t; - } - - $typeahead.one('focus', function() { - $form.addClass('loading'); - - $.getJSON(searchURL).then(function(searchData) { - const searchIndex = lunr(function() { - this.ref('url'); - this.field('name'); - this.field('abstract'); - for (const [url, doc] of Object.entries(searchData)) { - this.add({url: url, name: doc.name, abstract: doc.abstract}); - } - }); - - $typeahead.typeahead( - { - highlight: true, - minLength: 3, - autoselect: true - }, - { - limit: 10, - display: displayTemplate, - templates: { suggestion: suggestionTemplate }, - source: function(query, sync) { - const lcSearch = query.toLowerCase(); - const results = searchIndex.query(function(q) { - q.term(lcSearch, { boost: 100 }); - q.term(lcSearch, { - boost: 10, - wildcard: lunr.Query.wildcard.TRAILING - }); - }).map(function(result) { - var doc = searchData[result.ref]; - doc.url = result.ref; - return doc; - }); - sync(results); - } - } - ); - $form.removeClass('loading'); - $typeahead.trigger('focus'); - }); - }); - - var baseURL = searchURL.slice(0, -"search.json".length); - - $typeahead.on('typeahead:select', function(e, result) { - window.location = baseURL + result.url; - }); -}); diff --git a/docs/js/jquery.min.js b/docs/js/jquery.min.js deleted file mode 100644 index 7f37b5d9..00000000 --- a/docs/js/jquery.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 00){var c=e.utils.clone(r)||{};c.position=[a,l],c.index=s.length,s.push(new e.Token(i.slice(a,o),c))}a=o+1}}return s},e.tokenizer.separator=/[\s\-]+/,e.Pipeline=function(){this._stack=[]},e.Pipeline.registeredFunctions=Object.create(null),e.Pipeline.registerFunction=function(t,r){r in this.registeredFunctions&&e.utils.warn("Overwriting existing registered function: "+r),t.label=r,e.Pipeline.registeredFunctions[t.label]=t},e.Pipeline.warnIfFunctionNotRegistered=function(t){var r=t.label&&t.label in this.registeredFunctions;r||e.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},e.Pipeline.load=function(t){var r=new e.Pipeline;return t.forEach(function(t){var i=e.Pipeline.registeredFunctions[t];if(!i)throw new Error("Cannot load unregistered function: "+t);r.add(i)}),r},e.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){e.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)},this)},e.Pipeline.prototype.after=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,r)},e.Pipeline.prototype.before=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");this._stack.splice(i,0,r)},e.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);t!=-1&&this._stack.splice(t,1)},e.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r1&&(se&&(r=n),s!=e);)i=r-t,n=t+Math.floor(i/2),s=this.elements[2*n];return s==e?2*n:s>e?2*n:sa?l+=2:o==a&&(t+=r[u+1]*i[l+1],u+=2,l+=2);return t},e.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},e.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t0){var o,a=s.str.charAt(0);a in s.node.edges?o=s.node.edges[a]:(o=new e.TokenSet,s.node.edges[a]=o),1==s.str.length&&(o["final"]=!0),n.push({node:o,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(0!=s.editsRemaining){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new e.TokenSet;s.node.edges["*"]=u}if(0==s.str.length&&(u["final"]=!0),n.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&n.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),1==s.str.length&&(s.node["final"]=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new e.TokenSet;s.node.edges["*"]=l}1==s.str.length&&(l["final"]=!0),n.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var c,h=s.str.charAt(0),d=s.str.charAt(1);d in s.node.edges?c=s.node.edges[d]:(c=new e.TokenSet,s.node.edges[d]=c),1==s.str.length&&(c["final"]=!0),n.push({node:c,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return i},e.TokenSet.fromString=function(t){for(var r=new e.TokenSet,i=r,n=0,s=t.length;n=e;t--){var r=this.uncheckedNodes[t],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r["char"]]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}},e.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},e.Index.prototype.search=function(t){return this.query(function(r){var i=new e.QueryParser(t,r);i.parse()})},e.Index.prototype.query=function(t){for(var r=new e.Query(this.fields),i=Object.create(null),n=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},e.Builder.prototype.k1=function(e){this._k1=e},e.Builder.prototype.add=function(t,r){var i=t[this._ref],n=Object.keys(this._fields);this._documents[i]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return e.QueryLexer.EOS;var t=this.str.charAt(this.pos);return this.pos+=1,t},e.QueryLexer.prototype.width=function(){return this.pos-this.start},e.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},e.QueryLexer.prototype.backup=function(){this.pos-=1},e.QueryLexer.prototype.acceptDigitRun=function(){var t,r;do t=this.next(),r=t.charCodeAt(0);while(r>47&&r<58);t!=e.QueryLexer.EOS&&this.backup()},e.QueryLexer.prototype.more=function(){return this.pos1&&(t.backup(),t.emit(e.QueryLexer.TERM)),t.ignore(),t.more())return e.QueryLexer.lexText},e.QueryLexer.lexEditDistance=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.EDIT_DISTANCE),e.QueryLexer.lexText},e.QueryLexer.lexBoost=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.BOOST),e.QueryLexer.lexText},e.QueryLexer.lexEOS=function(t){t.width()>0&&t.emit(e.QueryLexer.TERM)},e.QueryLexer.termSeparator=e.tokenizer.separator,e.QueryLexer.lexText=function(t){for(;;){var r=t.next();if(r==e.QueryLexer.EOS)return e.QueryLexer.lexEOS;if(92!=r.charCodeAt(0)){if(":"==r)return e.QueryLexer.lexField;if("~"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexEditDistance;if("^"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexBoost;if("+"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if("-"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if(r.match(e.QueryLexer.termSeparator))return e.QueryLexer.lexTerm}else t.escapeCharacter()}},e.QueryParser=function(t,r){this.lexer=new e.QueryLexer(t),this.query=r,this.currentClause={},this.lexemeIdx=0},e.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var t=e.QueryParser.parseClause;t;)t=t(this);return this.query},e.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},e.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},e.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},e.QueryParser.parseClause=function(t){var r=t.peekLexeme();if(void 0!=r)switch(r.type){case e.QueryLexer.PRESENCE:return e.QueryParser.parsePresence;case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(i+=" with value '"+r.str+"'"),new e.QueryParseError(i,r.start,r.end)}},e.QueryParser.parsePresence=function(t){var r=t.consumeLexeme();if(void 0!=r){switch(r.str){case"-":t.currentClause.presence=e.Query.presence.PROHIBITED;break;case"+":t.currentClause.presence=e.Query.presence.REQUIRED;break;default:var i="unrecognised presence operator'"+r.str+"'";throw new e.QueryParseError(i,r.start,r.end)}var n=t.peekLexeme();if(void 0==n){var i="expecting term or field, found nothing";throw new e.QueryParseError(i,r.start,r.end)}switch(n.type){case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expecting term or field, found '"+n.type+"'";throw new e.QueryParseError(i,n.start,n.end)}}},e.QueryParser.parseField=function(t){var r=t.consumeLexeme();if(void 0!=r){if(t.query.allFields.indexOf(r.str)==-1){var i=t.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),n="unrecognised field '"+r.str+"', possible fields: "+i;throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.fields=[r.str];var s=t.peekLexeme();if(void 0==s){var n="expecting term, found nothing";throw new e.QueryParseError(n,r.start,r.end)}switch(s.type){case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var n="expecting term, found '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseTerm=function(t){var r=t.consumeLexeme();if(void 0!=r){t.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(t.currentClause.usePipeline=!1);var i=t.peekLexeme();if(void 0==i)return void t.nextClause();switch(i.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+i.type+"'";throw new e.QueryParseError(n,i.start,i.end)}}},e.QueryParser.parseEditDistance=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="edit distance must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.editDistance=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseBoost=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="boost must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.boost=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.lunr=t()}(this,function(){return e})}(); diff --git a/docs/js/typeahead.jquery.js b/docs/js/typeahead.jquery.js deleted file mode 100644 index 3a2d2ab0..00000000 --- a/docs/js/typeahead.jquery.js +++ /dev/null @@ -1,1694 +0,0 @@ -/*! - * typeahead.js 1.3.1 - * https://github.com/corejavascript/typeahead.js - * Copyright 2013-2020 Twitter, Inc. and other contributors; Licensed MIT - */ - - -(function(root, factory) { - if (typeof define === "function" && define.amd) { - define([ "jquery" ], function(a0) { - return factory(a0); - }); - } else if (typeof module === "object" && module.exports) { - module.exports = factory(require("jquery")); - } else { - factory(root["jQuery"]); - } -})(this, function($) { - var _ = function() { - "use strict"; - return { - isMsie: function() { - return /(msie|trident)/i.test(navigator.userAgent) ? navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2] : false; - }, - isBlankString: function(str) { - return !str || /^\s*$/.test(str); - }, - escapeRegExChars: function(str) { - return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); - }, - isString: function(obj) { - return typeof obj === "string"; - }, - isNumber: function(obj) { - return typeof obj === "number"; - }, - isArray: $.isArray, - isFunction: $.isFunction, - isObject: $.isPlainObject, - isUndefined: function(obj) { - return typeof obj === "undefined"; - }, - isElement: function(obj) { - return !!(obj && obj.nodeType === 1); - }, - isJQuery: function(obj) { - return obj instanceof $; - }, - toStr: function toStr(s) { - return _.isUndefined(s) || s === null ? "" : s + ""; - }, - bind: $.proxy, - each: function(collection, cb) { - $.each(collection, reverseArgs); - function reverseArgs(index, value) { - return cb(value, index); - } - }, - map: $.map, - filter: $.grep, - every: function(obj, test) { - var result = true; - if (!obj) { - return result; - } - $.each(obj, function(key, val) { - if (!(result = test.call(null, val, key, obj))) { - return false; - } - }); - return !!result; - }, - some: function(obj, test) { - var result = false; - if (!obj) { - return result; - } - $.each(obj, function(key, val) { - if (result = test.call(null, val, key, obj)) { - return false; - } - }); - return !!result; - }, - mixin: $.extend, - identity: function(x) { - return x; - }, - clone: function(obj) { - return $.extend(true, {}, obj); - }, - getIdGenerator: function() { - var counter = 0; - return function() { - return counter++; - }; - }, - templatify: function templatify(obj) { - return $.isFunction(obj) ? obj : template; - function template() { - return String(obj); - } - }, - defer: function(fn) { - setTimeout(fn, 0); - }, - debounce: function(func, wait, immediate) { - var timeout, result; - return function() { - var context = this, args = arguments, later, callNow; - later = function() { - timeout = null; - if (!immediate) { - result = func.apply(context, args); - } - }; - callNow = immediate && !timeout; - clearTimeout(timeout); - timeout = setTimeout(later, wait); - if (callNow) { - result = func.apply(context, args); - } - return result; - }; - }, - throttle: function(func, wait) { - var context, args, timeout, result, previous, later; - previous = 0; - later = function() { - previous = new Date(); - timeout = null; - result = func.apply(context, args); - }; - return function() { - var now = new Date(), remaining = wait - (now - previous); - context = this; - args = arguments; - if (remaining <= 0) { - clearTimeout(timeout); - timeout = null; - previous = now; - result = func.apply(context, args); - } else if (!timeout) { - timeout = setTimeout(later, remaining); - } - return result; - }; - }, - stringify: function(val) { - return _.isString(val) ? val : JSON.stringify(val); - }, - guid: function() { - function _p8(s) { - var p = (Math.random().toString(16) + "000000000").substr(2, 8); - return s ? "-" + p.substr(0, 4) + "-" + p.substr(4, 4) : p; - } - return "tt-" + _p8() + _p8(true) + _p8(true) + _p8(); - }, - noop: function() {} - }; - }(); - var WWW = function() { - "use strict"; - var defaultClassNames = { - wrapper: "twitter-typeahead", - input: "tt-input", - hint: "tt-hint", - menu: "tt-menu", - dataset: "tt-dataset", - suggestion: "tt-suggestion", - selectable: "tt-selectable", - empty: "tt-empty", - open: "tt-open", - cursor: "tt-cursor", - highlight: "tt-highlight" - }; - return build; - function build(o) { - var www, classes; - classes = _.mixin({}, defaultClassNames, o); - www = { - css: buildCss(), - classes: classes, - html: buildHtml(classes), - selectors: buildSelectors(classes) - }; - return { - css: www.css, - html: www.html, - classes: www.classes, - selectors: www.selectors, - mixin: function(o) { - _.mixin(o, www); - } - }; - } - function buildHtml(c) { - return { - wrapper: '', - menu: '
' - }; - } - function buildSelectors(classes) { - var selectors = {}; - _.each(classes, function(v, k) { - selectors[k] = "." + v; - }); - return selectors; - } - function buildCss() { - var css = { - wrapper: { - position: "relative", - display: "inline-block" - }, - hint: { - position: "absolute", - top: "0", - left: "0", - borderColor: "transparent", - boxShadow: "none", - opacity: "1" - }, - input: { - position: "relative", - verticalAlign: "top", - backgroundColor: "transparent" - }, - inputWithNoHint: { - position: "relative", - verticalAlign: "top" - }, - menu: { - position: "absolute", - top: "100%", - left: "0", - zIndex: "100", - display: "none" - }, - ltr: { - left: "0", - right: "auto" - }, - rtl: { - left: "auto", - right: " 0" - } - }; - if (_.isMsie()) { - _.mixin(css.input, { - backgroundImage: "url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)" - }); - } - return css; - } - }(); - var EventBus = function() { - "use strict"; - var namespace, deprecationMap; - namespace = "typeahead:"; - deprecationMap = { - render: "rendered", - cursorchange: "cursorchanged", - select: "selected", - autocomplete: "autocompleted" - }; - function EventBus(o) { - if (!o || !o.el) { - $.error("EventBus initialized without el"); - } - this.$el = $(o.el); - } - _.mixin(EventBus.prototype, { - _trigger: function(type, args) { - var $e = $.Event(namespace + type); - this.$el.trigger.call(this.$el, $e, args || []); - return $e; - }, - before: function(type) { - var args, $e; - args = [].slice.call(arguments, 1); - $e = this._trigger("before" + type, args); - return $e.isDefaultPrevented(); - }, - trigger: function(type) { - var deprecatedType; - this._trigger(type, [].slice.call(arguments, 1)); - if (deprecatedType = deprecationMap[type]) { - this._trigger(deprecatedType, [].slice.call(arguments, 1)); - } - } - }); - return EventBus; - }(); - var EventEmitter = function() { - "use strict"; - var splitter = /\s+/, nextTick = getNextTick(); - return { - onSync: onSync, - onAsync: onAsync, - off: off, - trigger: trigger - }; - function on(method, types, cb, context) { - var type; - if (!cb) { - return this; - } - types = types.split(splitter); - cb = context ? bindContext(cb, context) : cb; - this._callbacks = this._callbacks || {}; - while (type = types.shift()) { - this._callbacks[type] = this._callbacks[type] || { - sync: [], - async: [] - }; - this._callbacks[type][method].push(cb); - } - return this; - } - function onAsync(types, cb, context) { - return on.call(this, "async", types, cb, context); - } - function onSync(types, cb, context) { - return on.call(this, "sync", types, cb, context); - } - function off(types) { - var type; - if (!this._callbacks) { - return this; - } - types = types.split(splitter); - while (type = types.shift()) { - delete this._callbacks[type]; - } - return this; - } - function trigger(types) { - var type, callbacks, args, syncFlush, asyncFlush; - if (!this._callbacks) { - return this; - } - types = types.split(splitter); - args = [].slice.call(arguments, 1); - while ((type = types.shift()) && (callbacks = this._callbacks[type])) { - syncFlush = getFlush(callbacks.sync, this, [ type ].concat(args)); - asyncFlush = getFlush(callbacks.async, this, [ type ].concat(args)); - syncFlush() && nextTick(asyncFlush); - } - return this; - } - function getFlush(callbacks, context, args) { - return flush; - function flush() { - var cancelled; - for (var i = 0, len = callbacks.length; !cancelled && i < len; i += 1) { - cancelled = callbacks[i].apply(context, args) === false; - } - return !cancelled; - } - } - function getNextTick() { - var nextTickFn; - if (window.setImmediate) { - nextTickFn = function nextTickSetImmediate(fn) { - setImmediate(function() { - fn(); - }); - }; - } else { - nextTickFn = function nextTickSetTimeout(fn) { - setTimeout(function() { - fn(); - }, 0); - }; - } - return nextTickFn; - } - function bindContext(fn, context) { - return fn.bind ? fn.bind(context) : function() { - fn.apply(context, [].slice.call(arguments, 0)); - }; - } - }(); - var highlight = function(doc) { - "use strict"; - var defaults = { - node: null, - pattern: null, - tagName: "strong", - className: null, - wordsOnly: false, - caseSensitive: false, - diacriticInsensitive: false - }; - var accented = { - A: "[AaªÀ-Åà-åĀ-ąǍǎȀ-ȃȦȧᴬᵃḀḁẚẠ-ảₐ℀℁℻⒜Ⓐⓐ㍱-㍴㎀-㎄㎈㎉㎩-㎯㏂㏊㏟㏿Aa]", - B: "[BbᴮᵇḂ-ḇℬ⒝Ⓑⓑ㍴㎅-㎇㏃㏈㏔㏝Bb]", - C: "[CcÇçĆ-čᶜ℀ℂ℃℅℆ℭⅭⅽ⒞Ⓒⓒ㍶㎈㎉㎝㎠㎤㏄-㏇Cc]", - D: "[DdĎďDŽ-džDZ-dzᴰᵈḊ-ḓⅅⅆⅮⅾ⒟Ⓓⓓ㋏㍲㍷-㍹㎗㎭-㎯㏅㏈Dd]", - E: "[EeÈ-Ëè-ëĒ-ěȄ-ȇȨȩᴱᵉḘ-ḛẸ-ẽₑ℡ℯℰⅇ⒠Ⓔⓔ㉐㋍㋎Ee]", - F: "[FfᶠḞḟ℉ℱ℻⒡Ⓕⓕ㎊-㎌㎙ff-fflFf]", - G: "[GgĜ-ģǦǧǴǵᴳᵍḠḡℊ⒢Ⓖⓖ㋌㋍㎇㎍-㎏㎓㎬㏆㏉㏒㏿Gg]", - H: "[HhĤĥȞȟʰᴴḢ-ḫẖℋ-ℎ⒣Ⓗⓗ㋌㍱㎐-㎔㏊㏋㏗Hh]", - I: "[IiÌ-Ïì-ïĨ-İIJijǏǐȈ-ȋᴵᵢḬḭỈ-ịⁱℐℑℹⅈⅠ-ⅣⅥ-ⅨⅪⅫⅰ-ⅳⅵ-ⅸⅺⅻ⒤Ⓘⓘ㍺㏌㏕fiffiIi]", - J: "[JjIJ-ĵLJ-njǰʲᴶⅉ⒥ⒿⓙⱼJj]", - K: "[KkĶķǨǩᴷᵏḰ-ḵK⒦Ⓚⓚ㎄㎅㎉㎏㎑㎘㎞㎢㎦㎪㎸㎾㏀㏆㏍-㏏Kk]", - L: "[LlĹ-ŀLJ-ljˡᴸḶḷḺ-ḽℒℓ℡Ⅼⅼ⒧Ⓛⓛ㋏㎈㎉㏐-㏓㏕㏖㏿flfflLl]", - M: "[MmᴹᵐḾ-ṃ℠™ℳⅯⅿ⒨Ⓜⓜ㍷-㍹㎃㎆㎎㎒㎖㎙-㎨㎫㎳㎷㎹㎽㎿㏁㏂㏎㏐㏔-㏖㏘㏙㏞㏟Mm]", - N: "[NnÑñŃ-ʼnNJ-njǸǹᴺṄ-ṋⁿℕ№⒩Ⓝⓝ㎁㎋㎚㎱㎵㎻㏌㏑Nn]", - O: "[OoºÒ-Öò-öŌ-őƠơǑǒǪǫȌ-ȏȮȯᴼᵒỌ-ỏₒ℅№ℴ⒪Ⓞⓞ㍵㏇㏒㏖Oo]", - P: "[PpᴾᵖṔ-ṗℙ⒫Ⓟⓟ㉐㍱㍶㎀㎊㎩-㎬㎰㎴㎺㏋㏗-㏚Pp]", - Q: "[Qqℚ⒬Ⓠⓠ㏃Qq]", - R: "[RrŔ-řȐ-ȓʳᴿᵣṘ-ṛṞṟ₨ℛ-ℝ⒭Ⓡⓡ㋍㍴㎭-㎯㏚㏛Rr]", - S: "[SsŚ-šſȘșˢṠ-ṣ₨℁℠⒮Ⓢⓢ㎧㎨㎮-㎳㏛㏜stSs]", - T: "[TtŢ-ťȚțᵀᵗṪ-ṱẗ℡™⒯Ⓣⓣ㉐㋏㎔㏏ſtstTt]", - U: "[UuÙ-Üù-üŨ-ųƯưǓǔȔ-ȗᵁᵘᵤṲ-ṷỤ-ủ℆⒰Ⓤⓤ㍳㍺Uu]", - V: "[VvᵛᵥṼ-ṿⅣ-Ⅷⅳ-ⅷ⒱Ⓥⓥⱽ㋎㍵㎴-㎹㏜㏞Vv]", - W: "[WwŴŵʷᵂẀ-ẉẘ⒲Ⓦⓦ㎺-㎿㏝Ww]", - X: "[XxˣẊ-ẍₓ℻Ⅸ-Ⅻⅸ-ⅻ⒳Ⓧⓧ㏓Xx]", - Y: "[YyÝýÿŶ-ŸȲȳʸẎẏẙỲ-ỹ⒴Ⓨⓨ㏉Yy]", - Z: "[ZzŹ-žDZ-dzᶻẐ-ẕℤℨ⒵Ⓩⓩ㎐-㎔Zz]" - }; - return function hightlight(o) { - var regex; - o = _.mixin({}, defaults, o); - if (!o.node || !o.pattern) { - return; - } - o.pattern = _.isArray(o.pattern) ? o.pattern : [ o.pattern ]; - regex = getRegex(o.pattern, o.caseSensitive, o.wordsOnly, o.diacriticInsensitive); - traverse(o.node, hightlightTextNode); - function hightlightTextNode(textNode) { - var match, patternNode, wrapperNode; - if (match = regex.exec(textNode.data)) { - wrapperNode = doc.createElement(o.tagName); - o.className && (wrapperNode.className = o.className); - patternNode = textNode.splitText(match.index); - patternNode.splitText(match[0].length); - wrapperNode.appendChild(patternNode.cloneNode(true)); - textNode.parentNode.replaceChild(wrapperNode, patternNode); - } - return !!match; - } - function traverse(el, hightlightTextNode) { - var childNode, TEXT_NODE_TYPE = 3; - for (var i = 0; i < el.childNodes.length; i++) { - childNode = el.childNodes[i]; - if (childNode.nodeType === TEXT_NODE_TYPE) { - i += hightlightTextNode(childNode) ? 1 : 0; - } else { - traverse(childNode, hightlightTextNode); - } - } - } - }; - function accent_replacer(chr) { - return accented[chr.toUpperCase()] || chr; - } - function getRegex(patterns, caseSensitive, wordsOnly, diacriticInsensitive) { - var escapedPatterns = [], regexStr; - for (var i = 0, len = patterns.length; i < len; i++) { - var escapedWord = _.escapeRegExChars(patterns[i]); - if (diacriticInsensitive) { - escapedWord = escapedWord.replace(/\S/g, accent_replacer); - } - escapedPatterns.push(escapedWord); - } - regexStr = wordsOnly ? "\\b(" + escapedPatterns.join("|") + ")\\b" : "(" + escapedPatterns.join("|") + ")"; - return caseSensitive ? new RegExp(regexStr) : new RegExp(regexStr, "i"); - } - }(window.document); - var Input = function() { - "use strict"; - var specialKeyCodeMap; - specialKeyCodeMap = { - 9: "tab", - 27: "esc", - 37: "left", - 39: "right", - 13: "enter", - 38: "up", - 40: "down" - }; - function Input(o, www) { - var id; - o = o || {}; - if (!o.input) { - $.error("input is missing"); - } - www.mixin(this); - this.$hint = $(o.hint); - this.$input = $(o.input); - this.$menu = $(o.menu); - id = this.$input.attr("id") || _.guid(); - this.$menu.attr("id", id + "_listbox"); - this.$hint.attr({ - "aria-hidden": true - }); - this.$input.attr({ - "aria-owns": id + "_listbox", - role: "combobox", - "aria-autocomplete": "list", - "aria-expanded": false - }); - this.query = this.$input.val(); - this.queryWhenFocused = this.hasFocus() ? this.query : null; - this.$overflowHelper = buildOverflowHelper(this.$input); - this._checkLanguageDirection(); - if (this.$hint.length === 0) { - this.setHint = this.getHint = this.clearHint = this.clearHintIfInvalid = _.noop; - } - this.onSync("cursorchange", this._updateDescendent); - } - Input.normalizeQuery = function(str) { - return _.toStr(str).replace(/^\s*/g, "").replace(/\s{2,}/g, " "); - }; - _.mixin(Input.prototype, EventEmitter, { - _onBlur: function onBlur() { - this.resetInputValue(); - this.trigger("blurred"); - }, - _onFocus: function onFocus() { - this.queryWhenFocused = this.query; - this.trigger("focused"); - }, - _onKeydown: function onKeydown($e) { - var keyName = specialKeyCodeMap[$e.which || $e.keyCode]; - this._managePreventDefault(keyName, $e); - if (keyName && this._shouldTrigger(keyName, $e)) { - this.trigger(keyName + "Keyed", $e); - } - }, - _onInput: function onInput() { - this._setQuery(this.getInputValue()); - this.clearHintIfInvalid(); - this._checkLanguageDirection(); - }, - _managePreventDefault: function managePreventDefault(keyName, $e) { - var preventDefault; - switch (keyName) { - case "up": - case "down": - preventDefault = !withModifier($e); - break; - - default: - preventDefault = false; - } - preventDefault && $e.preventDefault(); - }, - _shouldTrigger: function shouldTrigger(keyName, $e) { - var trigger; - switch (keyName) { - case "tab": - trigger = !withModifier($e); - break; - - default: - trigger = true; - } - return trigger; - }, - _checkLanguageDirection: function checkLanguageDirection() { - var dir = (this.$input.css("direction") || "ltr").toLowerCase(); - if (this.dir !== dir) { - this.dir = dir; - this.$hint.attr("dir", dir); - this.trigger("langDirChanged", dir); - } - }, - _setQuery: function setQuery(val, silent) { - var areEquivalent, hasDifferentWhitespace; - areEquivalent = areQueriesEquivalent(val, this.query); - hasDifferentWhitespace = areEquivalent ? this.query.length !== val.length : false; - this.query = val; - if (!silent && !areEquivalent) { - this.trigger("queryChanged", this.query); - } else if (!silent && hasDifferentWhitespace) { - this.trigger("whitespaceChanged", this.query); - } - }, - _updateDescendent: function updateDescendent(event, id) { - this.$input.attr("aria-activedescendant", id); - }, - bind: function() { - var that = this, onBlur, onFocus, onKeydown, onInput; - onBlur = _.bind(this._onBlur, this); - onFocus = _.bind(this._onFocus, this); - onKeydown = _.bind(this._onKeydown, this); - onInput = _.bind(this._onInput, this); - this.$input.on("blur.tt", onBlur).on("focus.tt", onFocus).on("keydown.tt", onKeydown); - if (!_.isMsie() || _.isMsie() > 9) { - this.$input.on("input.tt", onInput); - } else { - this.$input.on("keydown.tt keypress.tt cut.tt paste.tt", function($e) { - if (specialKeyCodeMap[$e.which || $e.keyCode]) { - return; - } - _.defer(_.bind(that._onInput, that, $e)); - }); - } - return this; - }, - focus: function focus() { - this.$input.focus(); - }, - blur: function blur() { - this.$input.blur(); - }, - getLangDir: function getLangDir() { - return this.dir; - }, - getQuery: function getQuery() { - return this.query || ""; - }, - setQuery: function setQuery(val, silent) { - this.setInputValue(val); - this._setQuery(val, silent); - }, - hasQueryChangedSinceLastFocus: function hasQueryChangedSinceLastFocus() { - return this.query !== this.queryWhenFocused; - }, - getInputValue: function getInputValue() { - return this.$input.val(); - }, - setInputValue: function setInputValue(value) { - this.$input.val(value); - this.clearHintIfInvalid(); - this._checkLanguageDirection(); - }, - resetInputValue: function resetInputValue() { - this.setInputValue(this.query); - }, - getHint: function getHint() { - return this.$hint.val(); - }, - setHint: function setHint(value) { - this.$hint.val(value); - }, - clearHint: function clearHint() { - this.setHint(""); - }, - clearHintIfInvalid: function clearHintIfInvalid() { - var val, hint, valIsPrefixOfHint, isValid; - val = this.getInputValue(); - hint = this.getHint(); - valIsPrefixOfHint = val !== hint && hint.indexOf(val) === 0; - isValid = val !== "" && valIsPrefixOfHint && !this.hasOverflow(); - !isValid && this.clearHint(); - }, - hasFocus: function hasFocus() { - return this.$input.is(":focus"); - }, - hasOverflow: function hasOverflow() { - var constraint = this.$input.width() - 2; - this.$overflowHelper.text(this.getInputValue()); - return this.$overflowHelper.width() >= constraint; - }, - isCursorAtEnd: function() { - var valueLength, selectionStart, range; - valueLength = this.$input.val().length; - selectionStart = this.$input[0].selectionStart; - if (_.isNumber(selectionStart)) { - return selectionStart === valueLength; - } else if (document.selection) { - range = document.selection.createRange(); - range.moveStart("character", -valueLength); - return valueLength === range.text.length; - } - return true; - }, - destroy: function destroy() { - this.$hint.off(".tt"); - this.$input.off(".tt"); - this.$overflowHelper.remove(); - this.$hint = this.$input = this.$overflowHelper = $("
"); - }, - setAriaExpanded: function setAriaExpanded(value) { - this.$input.attr("aria-expanded", value); - } - }); - return Input; - function buildOverflowHelper($input) { - return $('').css({ - position: "absolute", - visibility: "hidden", - whiteSpace: "pre", - fontFamily: $input.css("font-family"), - fontSize: $input.css("font-size"), - fontStyle: $input.css("font-style"), - fontVariant: $input.css("font-variant"), - fontWeight: $input.css("font-weight"), - wordSpacing: $input.css("word-spacing"), - letterSpacing: $input.css("letter-spacing"), - textIndent: $input.css("text-indent"), - textRendering: $input.css("text-rendering"), - textTransform: $input.css("text-transform") - }).insertAfter($input); - } - function areQueriesEquivalent(a, b) { - return Input.normalizeQuery(a) === Input.normalizeQuery(b); - } - function withModifier($e) { - return $e.altKey || $e.ctrlKey || $e.metaKey || $e.shiftKey; - } - }(); - var Dataset = function() { - "use strict"; - var keys, nameGenerator; - keys = { - dataset: "tt-selectable-dataset", - val: "tt-selectable-display", - obj: "tt-selectable-object" - }; - nameGenerator = _.getIdGenerator(); - function Dataset(o, www) { - o = o || {}; - o.templates = o.templates || {}; - o.templates.notFound = o.templates.notFound || o.templates.empty; - if (!o.source) { - $.error("missing source"); - } - if (!o.node) { - $.error("missing node"); - } - if (o.name && !isValidName(o.name)) { - $.error("invalid dataset name: " + o.name); - } - www.mixin(this); - this.highlight = !!o.highlight; - this.name = _.toStr(o.name || nameGenerator()); - this.limit = o.limit || 5; - this.displayFn = getDisplayFn(o.display || o.displayKey); - this.templates = getTemplates(o.templates, this.displayFn); - this.source = o.source.__ttAdapter ? o.source.__ttAdapter() : o.source; - this.async = _.isUndefined(o.async) ? this.source.length > 2 : !!o.async; - this._resetLastSuggestion(); - this.$el = $(o.node).attr("role", "presentation").addClass(this.classes.dataset).addClass(this.classes.dataset + "-" + this.name); - } - Dataset.extractData = function extractData(el) { - var $el = $(el); - if ($el.data(keys.obj)) { - return { - dataset: $el.data(keys.dataset) || "", - val: $el.data(keys.val) || "", - obj: $el.data(keys.obj) || null - }; - } - return null; - }; - _.mixin(Dataset.prototype, EventEmitter, { - _overwrite: function overwrite(query, suggestions) { - suggestions = suggestions || []; - if (suggestions.length) { - this._renderSuggestions(query, suggestions); - } else if (this.async && this.templates.pending) { - this._renderPending(query); - } else if (!this.async && this.templates.notFound) { - this._renderNotFound(query); - } else { - this._empty(); - } - this.trigger("rendered", suggestions, false, this.name); - }, - _append: function append(query, suggestions) { - suggestions = suggestions || []; - if (suggestions.length && this.$lastSuggestion.length) { - this._appendSuggestions(query, suggestions); - } else if (suggestions.length) { - this._renderSuggestions(query, suggestions); - } else if (!this.$lastSuggestion.length && this.templates.notFound) { - this._renderNotFound(query); - } - this.trigger("rendered", suggestions, true, this.name); - }, - _renderSuggestions: function renderSuggestions(query, suggestions) { - var $fragment; - $fragment = this._getSuggestionsFragment(query, suggestions); - this.$lastSuggestion = $fragment.children().last(); - this.$el.html($fragment).prepend(this._getHeader(query, suggestions)).append(this._getFooter(query, suggestions)); - }, - _appendSuggestions: function appendSuggestions(query, suggestions) { - var $fragment, $lastSuggestion; - $fragment = this._getSuggestionsFragment(query, suggestions); - $lastSuggestion = $fragment.children().last(); - this.$lastSuggestion.after($fragment); - this.$lastSuggestion = $lastSuggestion; - }, - _renderPending: function renderPending(query) { - var template = this.templates.pending; - this._resetLastSuggestion(); - template && this.$el.html(template({ - query: query, - dataset: this.name - })); - }, - _renderNotFound: function renderNotFound(query) { - var template = this.templates.notFound; - this._resetLastSuggestion(); - template && this.$el.html(template({ - query: query, - dataset: this.name - })); - }, - _empty: function empty() { - this.$el.empty(); - this._resetLastSuggestion(); - }, - _getSuggestionsFragment: function getSuggestionsFragment(query, suggestions) { - var that = this, fragment; - fragment = document.createDocumentFragment(); - _.each(suggestions, function getSuggestionNode(suggestion) { - var $el, context; - context = that._injectQuery(query, suggestion); - $el = $(that.templates.suggestion(context)).data(keys.dataset, that.name).data(keys.obj, suggestion).data(keys.val, that.displayFn(suggestion)).addClass(that.classes.suggestion + " " + that.classes.selectable); - fragment.appendChild($el[0]); - }); - this.highlight && highlight({ - className: this.classes.highlight, - node: fragment, - pattern: query - }); - return $(fragment); - }, - _getFooter: function getFooter(query, suggestions) { - return this.templates.footer ? this.templates.footer({ - query: query, - suggestions: suggestions, - dataset: this.name - }) : null; - }, - _getHeader: function getHeader(query, suggestions) { - return this.templates.header ? this.templates.header({ - query: query, - suggestions: suggestions, - dataset: this.name - }) : null; - }, - _resetLastSuggestion: function resetLastSuggestion() { - this.$lastSuggestion = $(); - }, - _injectQuery: function injectQuery(query, obj) { - return _.isObject(obj) ? _.mixin({ - _query: query - }, obj) : obj; - }, - update: function update(query) { - var that = this, canceled = false, syncCalled = false, rendered = 0; - this.cancel(); - this.cancel = function cancel() { - canceled = true; - that.cancel = $.noop; - that.async && that.trigger("asyncCanceled", query, that.name); - }; - this.source(query, sync, async); - !syncCalled && sync([]); - function sync(suggestions) { - if (syncCalled) { - return; - } - syncCalled = true; - suggestions = (suggestions || []).slice(0, that.limit); - rendered = suggestions.length; - that._overwrite(query, suggestions); - if (rendered < that.limit && that.async) { - that.trigger("asyncRequested", query, that.name); - } - } - function async(suggestions) { - suggestions = suggestions || []; - if (!canceled && rendered < that.limit) { - that.cancel = $.noop; - var idx = Math.abs(rendered - that.limit); - rendered += idx; - that._append(query, suggestions.slice(0, idx)); - that.async && that.trigger("asyncReceived", query, that.name); - } - } - }, - cancel: $.noop, - clear: function clear() { - this._empty(); - this.cancel(); - this.trigger("cleared"); - }, - isEmpty: function isEmpty() { - return this.$el.is(":empty"); - }, - destroy: function destroy() { - this.$el = $("
"); - } - }); - return Dataset; - function getDisplayFn(display) { - display = display || _.stringify; - return _.isFunction(display) ? display : displayFn; - function displayFn(obj) { - return obj[display]; - } - } - function getTemplates(templates, displayFn) { - return { - notFound: templates.notFound && _.templatify(templates.notFound), - pending: templates.pending && _.templatify(templates.pending), - header: templates.header && _.templatify(templates.header), - footer: templates.footer && _.templatify(templates.footer), - suggestion: templates.suggestion ? userSuggestionTemplate : suggestionTemplate - }; - function userSuggestionTemplate(context) { - var template = templates.suggestion; - return $(template(context)).attr("id", _.guid()); - } - function suggestionTemplate(context) { - return $('
').attr("id", _.guid()).text(displayFn(context)); - } - } - function isValidName(str) { - return /^[_a-zA-Z0-9-]+$/.test(str); - } - }(); - var Menu = function() { - "use strict"; - function Menu(o, www) { - var that = this; - o = o || {}; - if (!o.node) { - $.error("node is required"); - } - www.mixin(this); - this.$node = $(o.node); - this.query = null; - this.datasets = _.map(o.datasets, initializeDataset); - function initializeDataset(oDataset) { - var node = that.$node.find(oDataset.node).first(); - oDataset.node = node.length ? node : $("
").appendTo(that.$node); - return new Dataset(oDataset, www); - } - } - _.mixin(Menu.prototype, EventEmitter, { - _onSelectableClick: function onSelectableClick($e) { - this.trigger("selectableClicked", $($e.currentTarget)); - }, - _onRendered: function onRendered(type, dataset, suggestions, async) { - this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty()); - this.trigger("datasetRendered", dataset, suggestions, async); - }, - _onCleared: function onCleared() { - this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty()); - this.trigger("datasetCleared"); - }, - _propagate: function propagate() { - this.trigger.apply(this, arguments); - }, - _allDatasetsEmpty: function allDatasetsEmpty() { - return _.every(this.datasets, _.bind(function isDatasetEmpty(dataset) { - var isEmpty = dataset.isEmpty(); - this.$node.attr("aria-expanded", !isEmpty); - return isEmpty; - }, this)); - }, - _getSelectables: function getSelectables() { - return this.$node.find(this.selectors.selectable); - }, - _removeCursor: function _removeCursor() { - var $selectable = this.getActiveSelectable(); - $selectable && $selectable.removeClass(this.classes.cursor); - }, - _ensureVisible: function ensureVisible($el) { - var elTop, elBottom, nodeScrollTop, nodeHeight; - elTop = $el.position().top; - elBottom = elTop + $el.outerHeight(true); - nodeScrollTop = this.$node.scrollTop(); - nodeHeight = this.$node.height() + parseInt(this.$node.css("paddingTop"), 10) + parseInt(this.$node.css("paddingBottom"), 10); - if (elTop < 0) { - this.$node.scrollTop(nodeScrollTop + elTop); - } else if (nodeHeight < elBottom) { - this.$node.scrollTop(nodeScrollTop + (elBottom - nodeHeight)); - } - }, - bind: function() { - var that = this, onSelectableClick; - onSelectableClick = _.bind(this._onSelectableClick, this); - this.$node.on("click.tt", this.selectors.selectable, onSelectableClick); - this.$node.on("mouseover", this.selectors.selectable, function() { - that.setCursor($(this)); - }); - this.$node.on("mouseleave", function() { - that._removeCursor(); - }); - _.each(this.datasets, function(dataset) { - dataset.onSync("asyncRequested", that._propagate, that).onSync("asyncCanceled", that._propagate, that).onSync("asyncReceived", that._propagate, that).onSync("rendered", that._onRendered, that).onSync("cleared", that._onCleared, that); - }); - return this; - }, - isOpen: function isOpen() { - return this.$node.hasClass(this.classes.open); - }, - open: function open() { - this.$node.scrollTop(0); - this.$node.addClass(this.classes.open); - }, - close: function close() { - this.$node.attr("aria-expanded", false); - this.$node.removeClass(this.classes.open); - this._removeCursor(); - }, - setLanguageDirection: function setLanguageDirection(dir) { - this.$node.attr("dir", dir); - }, - selectableRelativeToCursor: function selectableRelativeToCursor(delta) { - var $selectables, $oldCursor, oldIndex, newIndex; - $oldCursor = this.getActiveSelectable(); - $selectables = this._getSelectables(); - oldIndex = $oldCursor ? $selectables.index($oldCursor) : -1; - newIndex = oldIndex + delta; - newIndex = (newIndex + 1) % ($selectables.length + 1) - 1; - newIndex = newIndex < -1 ? $selectables.length - 1 : newIndex; - return newIndex === -1 ? null : $selectables.eq(newIndex); - }, - setCursor: function setCursor($selectable) { - this._removeCursor(); - if ($selectable = $selectable && $selectable.first()) { - $selectable.addClass(this.classes.cursor); - this._ensureVisible($selectable); - } - }, - getSelectableData: function getSelectableData($el) { - return $el && $el.length ? Dataset.extractData($el) : null; - }, - getActiveSelectable: function getActiveSelectable() { - var $selectable = this._getSelectables().filter(this.selectors.cursor).first(); - return $selectable.length ? $selectable : null; - }, - getTopSelectable: function getTopSelectable() { - var $selectable = this._getSelectables().first(); - return $selectable.length ? $selectable : null; - }, - update: function update(query) { - var isValidUpdate = query !== this.query; - if (isValidUpdate) { - this.query = query; - _.each(this.datasets, updateDataset); - } - return isValidUpdate; - function updateDataset(dataset) { - dataset.update(query); - } - }, - empty: function empty() { - _.each(this.datasets, clearDataset); - this.query = null; - this.$node.addClass(this.classes.empty); - function clearDataset(dataset) { - dataset.clear(); - } - }, - destroy: function destroy() { - this.$node.off(".tt"); - this.$node = $("
"); - _.each(this.datasets, destroyDataset); - function destroyDataset(dataset) { - dataset.destroy(); - } - } - }); - return Menu; - }(); - var Status = function() { - "use strict"; - function Status(options) { - this.$el = $("", { - role: "status", - "aria-live": "polite" - }).css({ - position: "absolute", - padding: "0", - border: "0", - height: "1px", - width: "1px", - "margin-bottom": "-1px", - "margin-right": "-1px", - overflow: "hidden", - clip: "rect(0 0 0 0)", - "white-space": "nowrap" - }); - options.$input.after(this.$el); - _.each(options.menu.datasets, _.bind(function(dataset) { - if (dataset.onSync) { - dataset.onSync("rendered", _.bind(this.update, this)); - dataset.onSync("cleared", _.bind(this.cleared, this)); - } - }, this)); - } - _.mixin(Status.prototype, { - update: function update(event, suggestions) { - var length = suggestions.length; - var words; - if (length === 1) { - words = { - result: "result", - is: "is" - }; - } else { - words = { - result: "results", - is: "are" - }; - } - this.$el.text(length + " " + words.result + " " + words.is + " available, use up and down arrow keys to navigate."); - }, - cleared: function() { - this.$el.text(""); - } - }); - return Status; - }(); - var DefaultMenu = function() { - "use strict"; - var s = Menu.prototype; - function DefaultMenu() { - Menu.apply(this, [].slice.call(arguments, 0)); - } - _.mixin(DefaultMenu.prototype, Menu.prototype, { - open: function open() { - !this._allDatasetsEmpty() && this._show(); - return s.open.apply(this, [].slice.call(arguments, 0)); - }, - close: function close() { - this._hide(); - return s.close.apply(this, [].slice.call(arguments, 0)); - }, - _onRendered: function onRendered() { - if (this._allDatasetsEmpty()) { - this._hide(); - } else { - this.isOpen() && this._show(); - } - return s._onRendered.apply(this, [].slice.call(arguments, 0)); - }, - _onCleared: function onCleared() { - if (this._allDatasetsEmpty()) { - this._hide(); - } else { - this.isOpen() && this._show(); - } - return s._onCleared.apply(this, [].slice.call(arguments, 0)); - }, - setLanguageDirection: function setLanguageDirection(dir) { - this.$node.css(dir === "ltr" ? this.css.ltr : this.css.rtl); - return s.setLanguageDirection.apply(this, [].slice.call(arguments, 0)); - }, - _hide: function hide() { - this.$node.hide(); - }, - _show: function show() { - this.$node.css("display", "block"); - } - }); - return DefaultMenu; - }(); - var Typeahead = function() { - "use strict"; - function Typeahead(o, www) { - var onFocused, onBlurred, onEnterKeyed, onTabKeyed, onEscKeyed, onUpKeyed, onDownKeyed, onLeftKeyed, onRightKeyed, onQueryChanged, onWhitespaceChanged; - o = o || {}; - if (!o.input) { - $.error("missing input"); - } - if (!o.menu) { - $.error("missing menu"); - } - if (!o.eventBus) { - $.error("missing event bus"); - } - www.mixin(this); - this.eventBus = o.eventBus; - this.minLength = _.isNumber(o.minLength) ? o.minLength : 1; - this.input = o.input; - this.menu = o.menu; - this.enabled = true; - this.autoselect = !!o.autoselect; - this.active = false; - this.input.hasFocus() && this.activate(); - this.dir = this.input.getLangDir(); - this._hacks(); - this.menu.bind().onSync("selectableClicked", this._onSelectableClicked, this).onSync("asyncRequested", this._onAsyncRequested, this).onSync("asyncCanceled", this._onAsyncCanceled, this).onSync("asyncReceived", this._onAsyncReceived, this).onSync("datasetRendered", this._onDatasetRendered, this).onSync("datasetCleared", this._onDatasetCleared, this); - onFocused = c(this, "activate", "open", "_onFocused"); - onBlurred = c(this, "deactivate", "_onBlurred"); - onEnterKeyed = c(this, "isActive", "isOpen", "_onEnterKeyed"); - onTabKeyed = c(this, "isActive", "isOpen", "_onTabKeyed"); - onEscKeyed = c(this, "isActive", "_onEscKeyed"); - onUpKeyed = c(this, "isActive", "open", "_onUpKeyed"); - onDownKeyed = c(this, "isActive", "open", "_onDownKeyed"); - onLeftKeyed = c(this, "isActive", "isOpen", "_onLeftKeyed"); - onRightKeyed = c(this, "isActive", "isOpen", "_onRightKeyed"); - onQueryChanged = c(this, "_openIfActive", "_onQueryChanged"); - onWhitespaceChanged = c(this, "_openIfActive", "_onWhitespaceChanged"); - this.input.bind().onSync("focused", onFocused, this).onSync("blurred", onBlurred, this).onSync("enterKeyed", onEnterKeyed, this).onSync("tabKeyed", onTabKeyed, this).onSync("escKeyed", onEscKeyed, this).onSync("upKeyed", onUpKeyed, this).onSync("downKeyed", onDownKeyed, this).onSync("leftKeyed", onLeftKeyed, this).onSync("rightKeyed", onRightKeyed, this).onSync("queryChanged", onQueryChanged, this).onSync("whitespaceChanged", onWhitespaceChanged, this).onSync("langDirChanged", this._onLangDirChanged, this); - } - _.mixin(Typeahead.prototype, { - _hacks: function hacks() { - var $input, $menu; - $input = this.input.$input || $("
"); - $menu = this.menu.$node || $("
"); - $input.on("blur.tt", function($e) { - var active, isActive, hasActive; - active = document.activeElement; - isActive = $menu.is(active); - hasActive = $menu.has(active).length > 0; - if (_.isMsie() && (isActive || hasActive)) { - $e.preventDefault(); - $e.stopImmediatePropagation(); - _.defer(function() { - $input.focus(); - }); - } - }); - $menu.on("mousedown.tt", function($e) { - $e.preventDefault(); - }); - }, - _onSelectableClicked: function onSelectableClicked(type, $el) { - this.select($el); - }, - _onDatasetCleared: function onDatasetCleared() { - this._updateHint(); - }, - _onDatasetRendered: function onDatasetRendered(type, suggestions, async, dataset) { - this._updateHint(); - if (this.autoselect) { - var cursorClass = this.selectors.cursor.substr(1); - this.menu.$node.find(this.selectors.suggestion).first().addClass(cursorClass); - } - this.eventBus.trigger("render", suggestions, async, dataset); - }, - _onAsyncRequested: function onAsyncRequested(type, dataset, query) { - this.eventBus.trigger("asyncrequest", query, dataset); - }, - _onAsyncCanceled: function onAsyncCanceled(type, dataset, query) { - this.eventBus.trigger("asynccancel", query, dataset); - }, - _onAsyncReceived: function onAsyncReceived(type, dataset, query) { - this.eventBus.trigger("asyncreceive", query, dataset); - }, - _onFocused: function onFocused() { - this._minLengthMet() && this.menu.update(this.input.getQuery()); - }, - _onBlurred: function onBlurred() { - if (this.input.hasQueryChangedSinceLastFocus()) { - this.eventBus.trigger("change", this.input.getQuery()); - } - }, - _onEnterKeyed: function onEnterKeyed(type, $e) { - var $selectable; - if ($selectable = this.menu.getActiveSelectable()) { - if (this.select($selectable)) { - $e.preventDefault(); - $e.stopPropagation(); - } - } else if (this.autoselect) { - if (this.select(this.menu.getTopSelectable())) { - $e.preventDefault(); - $e.stopPropagation(); - } - } - }, - _onTabKeyed: function onTabKeyed(type, $e) { - var $selectable; - if ($selectable = this.menu.getActiveSelectable()) { - this.select($selectable) && $e.preventDefault(); - } else if (this.autoselect) { - if ($selectable = this.menu.getTopSelectable()) { - this.autocomplete($selectable) && $e.preventDefault(); - } - } - }, - _onEscKeyed: function onEscKeyed() { - this.close(); - }, - _onUpKeyed: function onUpKeyed() { - this.moveCursor(-1); - }, - _onDownKeyed: function onDownKeyed() { - this.moveCursor(+1); - }, - _onLeftKeyed: function onLeftKeyed() { - if (this.dir === "rtl" && this.input.isCursorAtEnd()) { - this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable()); - } - }, - _onRightKeyed: function onRightKeyed() { - if (this.dir === "ltr" && this.input.isCursorAtEnd()) { - this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable()); - } - }, - _onQueryChanged: function onQueryChanged(e, query) { - this._minLengthMet(query) ? this.menu.update(query) : this.menu.empty(); - }, - _onWhitespaceChanged: function onWhitespaceChanged() { - this._updateHint(); - }, - _onLangDirChanged: function onLangDirChanged(e, dir) { - if (this.dir !== dir) { - this.dir = dir; - this.menu.setLanguageDirection(dir); - } - }, - _openIfActive: function openIfActive() { - this.isActive() && this.open(); - }, - _minLengthMet: function minLengthMet(query) { - query = _.isString(query) ? query : this.input.getQuery() || ""; - return query.length >= this.minLength; - }, - _updateHint: function updateHint() { - var $selectable, data, val, query, escapedQuery, frontMatchRegEx, match; - $selectable = this.menu.getTopSelectable(); - data = this.menu.getSelectableData($selectable); - val = this.input.getInputValue(); - if (data && !_.isBlankString(val) && !this.input.hasOverflow()) { - query = Input.normalizeQuery(val); - escapedQuery = _.escapeRegExChars(query); - frontMatchRegEx = new RegExp("^(?:" + escapedQuery + ")(.+$)", "i"); - match = frontMatchRegEx.exec(data.val); - match && this.input.setHint(val + match[1]); - } else { - this.input.clearHint(); - } - }, - isEnabled: function isEnabled() { - return this.enabled; - }, - enable: function enable() { - this.enabled = true; - }, - disable: function disable() { - this.enabled = false; - }, - isActive: function isActive() { - return this.active; - }, - activate: function activate() { - if (this.isActive()) { - return true; - } else if (!this.isEnabled() || this.eventBus.before("active")) { - return false; - } else { - this.active = true; - this.eventBus.trigger("active"); - return true; - } - }, - deactivate: function deactivate() { - if (!this.isActive()) { - return true; - } else if (this.eventBus.before("idle")) { - return false; - } else { - this.active = false; - this.close(); - this.eventBus.trigger("idle"); - return true; - } - }, - isOpen: function isOpen() { - return this.menu.isOpen(); - }, - open: function open() { - if (!this.isOpen() && !this.eventBus.before("open")) { - this.input.setAriaExpanded(true); - this.menu.open(); - this._updateHint(); - this.eventBus.trigger("open"); - } - return this.isOpen(); - }, - close: function close() { - if (this.isOpen() && !this.eventBus.before("close")) { - this.input.setAriaExpanded(false); - this.menu.close(); - this.input.clearHint(); - this.input.resetInputValue(); - this.eventBus.trigger("close"); - } - return !this.isOpen(); - }, - setVal: function setVal(val) { - this.input.setQuery(_.toStr(val)); - }, - getVal: function getVal() { - return this.input.getQuery(); - }, - select: function select($selectable) { - var data = this.menu.getSelectableData($selectable); - if (data && !this.eventBus.before("select", data.obj, data.dataset)) { - this.input.setQuery(data.val, true); - this.eventBus.trigger("select", data.obj, data.dataset); - this.close(); - return true; - } - return false; - }, - autocomplete: function autocomplete($selectable) { - var query, data, isValid; - query = this.input.getQuery(); - data = this.menu.getSelectableData($selectable); - isValid = data && query !== data.val; - if (isValid && !this.eventBus.before("autocomplete", data.obj, data.dataset)) { - this.input.setQuery(data.val); - this.eventBus.trigger("autocomplete", data.obj, data.dataset); - return true; - } - return false; - }, - moveCursor: function moveCursor(delta) { - var query, $candidate, data, suggestion, datasetName, cancelMove, id; - query = this.input.getQuery(); - $candidate = this.menu.selectableRelativeToCursor(delta); - data = this.menu.getSelectableData($candidate); - suggestion = data ? data.obj : null; - datasetName = data ? data.dataset : null; - id = $candidate ? $candidate.attr("id") : null; - this.input.trigger("cursorchange", id); - cancelMove = this._minLengthMet() && this.menu.update(query); - if (!cancelMove && !this.eventBus.before("cursorchange", suggestion, datasetName)) { - this.menu.setCursor($candidate); - if (data) { - if (typeof data.val === "string") { - this.input.setInputValue(data.val); - } - } else { - this.input.resetInputValue(); - this._updateHint(); - } - this.eventBus.trigger("cursorchange", suggestion, datasetName); - return true; - } - return false; - }, - destroy: function destroy() { - this.input.destroy(); - this.menu.destroy(); - } - }); - return Typeahead; - function c(ctx) { - var methods = [].slice.call(arguments, 1); - return function() { - var args = [].slice.call(arguments); - _.each(methods, function(method) { - return ctx[method].apply(ctx, args); - }); - }; - } - }(); - (function() { - "use strict"; - var old, keys, methods; - old = $.fn.typeahead; - keys = { - www: "tt-www", - attrs: "tt-attrs", - typeahead: "tt-typeahead" - }; - methods = { - initialize: function initialize(o, datasets) { - var www; - datasets = _.isArray(datasets) ? datasets : [].slice.call(arguments, 1); - o = o || {}; - www = WWW(o.classNames); - return this.each(attach); - function attach() { - var $input, $wrapper, $hint, $menu, defaultHint, defaultMenu, eventBus, input, menu, status, typeahead, MenuConstructor; - _.each(datasets, function(d) { - d.highlight = !!o.highlight; - }); - $input = $(this); - $wrapper = $(www.html.wrapper); - $hint = $elOrNull(o.hint); - $menu = $elOrNull(o.menu); - defaultHint = o.hint !== false && !$hint; - defaultMenu = o.menu !== false && !$menu; - defaultHint && ($hint = buildHintFromInput($input, www)); - defaultMenu && ($menu = $(www.html.menu).css(www.css.menu)); - $hint && $hint.val(""); - $input = prepInput($input, www); - if (defaultHint || defaultMenu) { - $wrapper.css(www.css.wrapper); - $input.css(defaultHint ? www.css.input : www.css.inputWithNoHint); - $input.wrap($wrapper).parent().prepend(defaultHint ? $hint : null).append(defaultMenu ? $menu : null); - } - MenuConstructor = defaultMenu ? DefaultMenu : Menu; - eventBus = new EventBus({ - el: $input - }); - input = new Input({ - hint: $hint, - input: $input, - menu: $menu - }, www); - menu = new MenuConstructor({ - node: $menu, - datasets: datasets - }, www); - status = new Status({ - $input: $input, - menu: menu - }); - typeahead = new Typeahead({ - input: input, - menu: menu, - eventBus: eventBus, - minLength: o.minLength, - autoselect: o.autoselect - }, www); - $input.data(keys.www, www); - $input.data(keys.typeahead, typeahead); - } - }, - isEnabled: function isEnabled() { - var enabled; - ttEach(this.first(), function(t) { - enabled = t.isEnabled(); - }); - return enabled; - }, - enable: function enable() { - ttEach(this, function(t) { - t.enable(); - }); - return this; - }, - disable: function disable() { - ttEach(this, function(t) { - t.disable(); - }); - return this; - }, - isActive: function isActive() { - var active; - ttEach(this.first(), function(t) { - active = t.isActive(); - }); - return active; - }, - activate: function activate() { - ttEach(this, function(t) { - t.activate(); - }); - return this; - }, - deactivate: function deactivate() { - ttEach(this, function(t) { - t.deactivate(); - }); - return this; - }, - isOpen: function isOpen() { - var open; - ttEach(this.first(), function(t) { - open = t.isOpen(); - }); - return open; - }, - open: function open() { - ttEach(this, function(t) { - t.open(); - }); - return this; - }, - close: function close() { - ttEach(this, function(t) { - t.close(); - }); - return this; - }, - select: function select(el) { - var success = false, $el = $(el); - ttEach(this.first(), function(t) { - success = t.select($el); - }); - return success; - }, - autocomplete: function autocomplete(el) { - var success = false, $el = $(el); - ttEach(this.first(), function(t) { - success = t.autocomplete($el); - }); - return success; - }, - moveCursor: function moveCursoe(delta) { - var success = false; - ttEach(this.first(), function(t) { - success = t.moveCursor(delta); - }); - return success; - }, - val: function val(newVal) { - var query; - if (!arguments.length) { - ttEach(this.first(), function(t) { - query = t.getVal(); - }); - return query; - } else { - ttEach(this, function(t) { - t.setVal(_.toStr(newVal)); - }); - return this; - } - }, - destroy: function destroy() { - ttEach(this, function(typeahead, $input) { - revert($input); - typeahead.destroy(); - }); - return this; - } - }; - $.fn.typeahead = function(method) { - if (methods[method]) { - return methods[method].apply(this, [].slice.call(arguments, 1)); - } else { - return methods.initialize.apply(this, arguments); - } - }; - $.fn.typeahead.noConflict = function noConflict() { - $.fn.typeahead = old; - return this; - }; - function ttEach($els, fn) { - $els.each(function() { - var $input = $(this), typeahead; - (typeahead = $input.data(keys.typeahead)) && fn(typeahead, $input); - }); - } - function buildHintFromInput($input, www) { - return $input.clone().addClass(www.classes.hint).removeData().css(www.css.hint).css(getBackgroundStyles($input)).prop({ - readonly: true, - required: false - }).removeAttr("id name placeholder").removeClass("required").attr({ - spellcheck: "false", - tabindex: -1 - }); - } - function prepInput($input, www) { - $input.data(keys.attrs, { - dir: $input.attr("dir"), - autocomplete: $input.attr("autocomplete"), - spellcheck: $input.attr("spellcheck"), - style: $input.attr("style") - }); - $input.addClass(www.classes.input).attr({ - spellcheck: false - }); - try { - !$input.attr("dir") && $input.attr("dir", "auto"); - } catch (e) {} - return $input; - } - function getBackgroundStyles($el) { - return { - backgroundAttachment: $el.css("background-attachment"), - backgroundClip: $el.css("background-clip"), - backgroundColor: $el.css("background-color"), - backgroundImage: $el.css("background-image"), - backgroundOrigin: $el.css("background-origin"), - backgroundPosition: $el.css("background-position"), - backgroundRepeat: $el.css("background-repeat"), - backgroundSize: $el.css("background-size") - }; - } - function revert($input) { - var www, $wrapper; - www = $input.data(keys.www); - $wrapper = $input.parent().filter(www.selectors.wrapper); - _.each($input.data(keys.attrs), function(val, key) { - _.isUndefined(val) ? $input.removeAttr(key) : $input.attr(key, val); - }); - $input.removeData(keys.typeahead).removeData(keys.www).removeData(keys.attr).removeClass(www.classes.input); - if ($wrapper.length) { - $input.detach().insertAfter($wrapper); - $wrapper.remove(); - } - } - function $elOrNull(obj) { - var isValid, $el; - isValid = _.isJQuery(obj) || _.isElement(obj); - $el = isValid ? $(obj).first() : []; - return $el.length ? $el : null; - } - })(); -}); \ No newline at end of file diff --git a/docs/search.json b/docs/search.json deleted file mode 100644 index c8f5b7ba..00000000 --- a/docs/search.json +++ /dev/null @@ -1 +0,0 @@ -{"Typealiases.html#/s:5TPPDF20PDFGeneratorDelegatea":{"name":"PDFGeneratorDelegate","abstract":"\u003cp\u003eDelegation protocol combining all delegates supported by the PDFGenerator\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF5Imagea":{"name":"Image","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIImage\u003c/code\u003e and \u003ccode\u003eNSImage\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/Color":{"name":"Color","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIColor\u003c/code\u003e and \u003ccode\u003eNSColor\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/Font":{"name":"Font","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIFont\u003c/code\u003e and \u003ccode\u003eNSFont\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/Image":{"name":"Image","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIImage\u003c/code\u003e and \u003ccode\u003eNSImage\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/EdgeInsets":{"name":"EdgeInsets","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIEdgeInsets\u003c/code\u003e and \u003ccode\u003eNSEdgeInsets\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/BezierPath":{"name":"BezierPath","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIBezierPath\u003c/code\u003e and \u003ccode\u003eNSBezierPath\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/Point":{"name":"Point","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eCGPoint\u003c/code\u003e and \u003ccode\u003eNSPoint\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/RectCorner":{"name":"RectCorner","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIRectCorner\u003c/code\u003e and \u003ccode\u003eRectCorner\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF5Colora":{"name":"Color","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIColor\u003c/code\u003e and \u003ccode\u003eNSColor\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF4Fonta":{"name":"Font","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIFont\u003c/code\u003e and \u003ccode\u003eNSFont\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF10EdgeInsetsa":{"name":"EdgeInsets","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIEdgeInsets\u003c/code\u003e and \u003ccode\u003eNSEdgeInsets\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF10BezierPatha":{"name":"BezierPath","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eUIBezierPath\u003c/code\u003e and \u003ccode\u003eNSBezierPath\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF5Pointa":{"name":"Point","abstract":"\u003cp\u003eCross-plattform type for \u003ccode\u003eCGPoint\u003c/code\u003e and \u003ccode\u003eNSPoint\u003c/code\u003e\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF20PDFPaginationClosurea":{"name":"PDFPaginationClosure","abstract":"\u003cp\u003eClosure for custom pagination formatting.\u003c/p\u003e"},"Typealiases.html#/s:5TPPDF22PDFLocatedRenderObjecta":{"name":"PDFLocatedRenderObject","abstract":"\u003cp\u003eStructure to extend \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses.html#/s:5TPPDF15PDFRenderObjectC\"\u003ePDFRenderObject\u003c/a\u003e\u003c/code\u003e with the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbEnums/PDFContainer.html\"\u003ePDFContainer\u003c/a\u003e\u003c/code\u003e it is located in\u003c/p\u003e"},"Structs/Stack.html#/s:5TPPDF5StackV6valuesACyxGxd_tcfc":{"name":"init(values:)","abstract":"\u003cp\u003eCreates a new stack with the given elements.\u003c/p\u003e","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV7isEmptySbvp":{"name":"isEmpty","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV5countSivp":{"name":"count","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV4pushyACyxGxF":{"name":"push(_:)","abstract":"\u003cp\u003eAdds an element on top of the stack\u003c/p\u003e","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV3pop2toxSgSiSg_tF":{"name":"pop(to:)","abstract":"\u003cp\u003eRemoves the last element or if a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbStructs/Stack.html#/s:5TPPDF5StackV5countSivp\"\u003ecount\u003c/a\u003e\u003c/code\u003e is given as many until the stack is empty.","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV4peek2atxSgSi_tF":{"name":"peek(at:)","abstract":"\u003cp\u003eReturns the element at the given index without changing the stack\u003c/p\u003e","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV3topxSgvp":{"name":"top","abstract":"\u003cp\u003eReturns the last inserted element\u003c/p\u003e","parent_name":"Stack"},"Structs/Stack.html#/s:5TPPDF5StackV7fromTop5indexxSgSi_tF":{"name":"fromTop(index:)","abstract":"\u003cp\u003eReturns the element from the reverse order\u003c/p\u003e","parent_name":"Stack"},"Structs/Stack.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"Stack"},"Structs/Stack.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"Stack"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV9containerAA12PDFContainerOvp":{"name":"container","abstract":"\u003cp\u003eContainer where the pagination will be placed\u003c/p\u003e","parent_name":"PDFPagination"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV5styleAA0B5StyleOvp":{"name":"style","abstract":"\u003cp\u003eStyle of the pagination\u003c/p\u003e","parent_name":"PDFPagination"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV5rangeSi5start_Si3endtvp":{"name":"range","abstract":"\u003cp\u003eRange of pages which will be paginated\u003c/p\u003e","parent_name":"PDFPagination"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV11hiddenPagesSaySiGvp":{"name":"hiddenPages","abstract":"\u003cp\u003eAdd a page number to this list to exclude it from the pagination.","parent_name":"PDFPagination"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV14textAttributesSDySo21NSAttributedStringKeyaypGvp":{"name":"textAttributes","abstract":"\u003cp\u003eThese text attribtues are used to create the attributed pagination string\u003c/p\u003e","parent_name":"PDFPagination"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV9container5style5range11hiddenPages14textAttributesAcA12PDFContainerO_AA0B5StyleOSi5start_Si3endtSaySiGSDySo21NSAttributedStringKeyaypGtcfc":{"name":"init(container:style:range:hiddenPages:textAttributes:)","abstract":"\u003cp\u003eInitializer\u003c/p\u003e","parent_name":"PDFPagination"},"Structs/PDFPagination.html#/s:5TPPDF13PDFPaginationV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003eTODO: Documentation\u003c/p\u003e","parent_name":"PDFPagination"},"Structs/RectCorner.html#/s:5TPPDF10RectCornerV7topLeftACvpZ":{"name":"topLeft","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RectCorner"},"Structs/RectCorner.html#/s:5TPPDF10RectCornerV8topRightACvpZ":{"name":"topRight","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RectCorner"},"Structs/RectCorner.html#/s:5TPPDF10RectCornerV10bottomLeftACvpZ":{"name":"bottomLeft","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RectCorner"},"Structs/RectCorner.html#/s:5TPPDF10RectCornerV11bottomRightACvpZ":{"name":"bottomRight","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RectCorner"},"Structs/RectCorner.html#/s:5TPPDF10RectCornerV10allCornersACvpZ":{"name":"allCorners","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"RectCorner"},"Structs/RectCorner.html#/s:s9OptionSetP8rawValuex03RawD0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"RectCorner"},"Structs/RectCorner.html#/s:SY8rawValue03RawB0Qzvp":{"name":"rawValue","parent_name":"RectCorner"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV6colorsSo7NSColorC4fill_AF4texttvp":{"name":"colors","abstract":"\u003cp\u003eThe cell fill (background) color and the text color\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV7bordersAA0bC7BordersVvp":{"name":"borders","abstract":"\u003cp\u003eCustom border styling (see \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbStructs/PDFTableCellBorders.html\"\u003ePDFTableCellBorders\u003c/a\u003e\u003c/code\u003e for details)\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV4fontSo6NSFontCvp":{"name":"font","abstract":"\u003cp\u003eFont used for text content in cells\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV6colors7borders4fontACSo7NSColorC4fill_AH4textt_AA0bC7BordersVSo6NSFontCtcfc":{"name":"init(colors:borders:font:)","abstract":"\u003cp\u003eCreates a new cell style\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellStyle.html#/s:5TPPDF17PDFTableCellStyleV4noneACvpZ":{"name":"none","abstract":"\u003cp\u003eDefault cell style not displaying any background or borders\u003c/p\u003e","parent_name":"PDFTableCellStyle"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV4leftAA12PDFLineStyleVvp":{"name":"left","abstract":"\u003cp\u003eStyle of left edge line\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV3topAA12PDFLineStyleVvp":{"name":"top","abstract":"\u003cp\u003eStyle of top edge line\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV5rightAA12PDFLineStyleVvp":{"name":"right","abstract":"\u003cp\u003eStyle of right edge line\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV6bottomAA12PDFLineStyleVvp":{"name":"bottom","abstract":"\u003cp\u003eStyle of bottom edge line\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV4left3top5right6bottomAcA12PDFLineStyleV_A3Itcfc":{"name":"init(left:top:right:bottom:)","abstract":"\u003cp\u003eCreates a new instance with the given line styles\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellBorders.html#/s:5TPPDF19PDFTableCellBordersV4noneACvpZ":{"name":"none","abstract":"\u003cp\u003eConvenience configuration for not displaying any cell border\u003c/p\u003e","parent_name":"PDFTableCellBorders"},"Structs/PDFTableCellPosition.html#/s:5TPPDF20PDFTableCellPositionV3rowSivp":{"name":"row","abstract":"\u003cp\u003eVertical row index, starting at zero\u003c/p\u003e","parent_name":"PDFTableCellPosition"},"Structs/PDFTableCellPosition.html#/s:5TPPDF20PDFTableCellPositionV6columnSivp":{"name":"column","abstract":"\u003cp\u003eHorizontal column index, starting at zero\u003c/p\u003e","parent_name":"PDFTableCellPosition"},"Structs/PDFTableCellPosition.html#/s:5TPPDF20PDFTableCellPositionV3row6columnACSi_Sitcfc":{"name":"init(row:column:)","abstract":"\u003cp\u003eCreates a new position with the given row and column\u003c/p\u003e","parent_name":"PDFTableCellPosition"},"Structs/PDFTableCellPosition.html#/s:5TPPDF20PDFTableCellPositionV4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003eCreates a hash value of the cell position\u003c/p\u003e","parent_name":"PDFTableCellPosition"},"Structs/PDFTableCellPosition.html#/s:5TPPDF20PDFTableCellPositionV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCellPosition"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV4sizeSo6CGSizeVvp":{"name":"size","abstract":"\u003cp\u003eSize of each page\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV6marginSo12NSEdgeInsetsVvp":{"name":"margin","abstract":"\u003cp\u003eMargins of each page.\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV5space14CoreFoundation7CGFloatV6header_AG6footertvp":{"name":"space","abstract":"\u003cp\u003eSpaces between header, content and footer.\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV4size6margin5spaceACSo6CGSizeV_So12NSEdgeInsetsV14CoreFoundation7CGFloatV6header_AM6footerttcfc":{"name":"init(size:margin:space:)","abstract":"\u003cp\u003eCreates a new layout object using the given parameters.\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV6boundsSo6CGRectVvp":{"name":"bounds","abstract":"\u003cp\u003eReturns a \u003ccode\u003eCGRect\u003c/code\u003e with a origin at zero and the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbStructs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV4sizeSo6CGSizeVvp\"\u003esize\u003c/a\u003e\u003c/code\u003e of the layout.\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV5width14CoreFoundation7CGFloatVvp":{"name":"width","abstract":"\u003cp\u003eShorthand access to layout width\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV6height14CoreFoundation7CGFloatVvp":{"name":"height","abstract":"\u003cp\u003eShorthand access to layout height\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFPageLayout.html#/s:5TPPDF13PDFPageLayoutV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003eTODO: documentation\u003c/p\u003e","parent_name":"PDFPageLayout"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV8rawValueSivp":{"name":"rawValue","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV8rawValueACSi_tcfc":{"name":"init(rawValue:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV6resizeACvpZ":{"name":"resize","abstract":"\u003cp\u003eImage will be resized to the calculated frame\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV8compressACvpZ":{"name":"compress","abstract":"\u003cp\u003eImage will be compressed using the value set in the property \u003ccode\u003equality\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV14roundedTopLeftACvpZ":{"name":"roundedTopLeft","abstract":"\u003cp\u003eTop-left corner of image will be rounded\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV15roundedTopRightACvpZ":{"name":"roundedTopRight","abstract":"\u003cp\u003eTop-right corner of image will be rounded\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV18roundedBottomRightACvpZ":{"name":"roundedBottomRight","abstract":"\u003cp\u003eBottom-right corner of image will be rounded\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV17roundedBottomLeftACvpZ":{"name":"roundedBottomLeft","abstract":"\u003cp\u003eBottom-left corner of image will be rounded\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV7roundedACvpZ":{"name":"rounded","abstract":"\u003cp\u003eShort-hand option to round all corners\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFImageOptions.html#/s:5TPPDF15PDFImageOptionsV4noneACvpZ":{"name":"none","abstract":"\u003cp\u003eDisables all options\u003c/p\u003e","parent_name":"PDFImageOptions"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV4typeAA0B4TypeOvp":{"name":"type","abstract":"\u003cp\u003eType of the line\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV5colorSo7NSColorCvp":{"name":"color","abstract":"\u003cp\u003eColor of the line\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV5width14CoreFoundation7CGFloatVvp":{"name":"width","abstract":"\u003cp\u003eWidth of the line\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV6radius14CoreFoundation7CGFloatVSgvp":{"name":"radius","abstract":"\u003cp\u003eDefines the width of this radius (Only for rect draw, not for line)\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV4type5color5width6radiusAcA0B4TypeO_So7NSColorC14CoreFoundation7CGFloatVANSgtcfc":{"name":"init(type:color:width:radius:)","abstract":"\u003cp\u003eInitialize a table line style\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFLineStyle.html#/s:5TPPDF12PDFLineStyleV4noneACvpZ":{"name":"none","abstract":"\u003cp\u003eShorthand method for creating an invisible line\u003c/p\u003e","parent_name":"PDFLineStyle"},"Structs/PDFDocumentBackground.html#/s:5TPPDF21PDFDocumentBackgroundV5colorSo7NSColorCSgvp":{"name":"color","abstract":"\u003cp\u003eColor used to fill the background on every page.\u003c/p\u003e","parent_name":"PDFDocumentBackground"},"Structs/PDFDocumentBackground.html":{"name":"PDFDocumentBackground","abstract":"\u003cp\u003eDocument background configuration\u003c/p\u003e"},"Structs/PDFLineStyle.html":{"name":"PDFLineStyle","abstract":"\u003cp\u003eStructure defining how a line should be drawn into graphics context\u003c/p\u003e"},"Structs/PDFImageOptions.html":{"name":"PDFImageOptions","abstract":"\u003cp\u003eOptions used to configure the behaviour of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFImage.html\"\u003ePDFImage\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Structs/PDFPageLayout.html":{"name":"PDFPageLayout","abstract":"\u003cp\u003eContains all relevant layout informations of a pdf document\u003c/p\u003e"},"Structs/PDFTableCellPosition.html":{"name":"PDFTableCellPosition","abstract":"\u003cp\u003eA cell position represent the coordinate of a cell in a given table\u003c/p\u003e"},"Structs/PDFTableCellBorders.html":{"name":"PDFTableCellBorders","abstract":"\u003cp\u003eStructure used to style the border lines of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableCell.html\"\u003ePDFTableCell\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Structs/PDFTableCellStyle.html":{"name":"PDFTableCellStyle","abstract":"\u003cp\u003eStructure used to manage the custom style of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableCell.html\"\u003ePDFTableCell\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Structs/RectCorner.html":{"name":"RectCorner","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e"},"Structs/PDFPagination.html":{"name":"PDFPagination","abstract":"\u003cp\u003eUsed to define the pagination behaviour of a document.\u003c/p\u003e"},"Structs/Stack.html":{"name":"Stack","abstract":"\u003cp\u003eData Structure used to manage a collection of elements after the LIFO (last in, first out) principle.\u003c/p\u003e"},"Protocols/PDFAttributableObject.html#/s:5TPPDF21PDFAttributableObjectP10attributesSayAA18PDFObjectAttributeOGvp":{"name":"attributes","parent_name":"PDFAttributableObject"},"Protocols/PDFAttributableObject.html#/s:5TPPDF21PDFAttributableObjectP3add9attributeyAA18PDFObjectAttributeO_tF":{"name":"add(attribute:)","abstract":"\u003cp\u003eAdds an attribute to the list of this object\u003c/p\u003e","parent_name":"PDFAttributableObject"},"Protocols/PDFTaggableObject.html#/s:5TPPDF17PDFTaggableObjectP3tagSivp":{"name":"tag","abstract":"\u003cp\u003eAn integer that you can use to identify document objects in your application.\u003c/p\u003e","parent_name":"PDFTaggableObject"},"Protocols/PDFCopy.html#/s:5TPPDF7PDFCopyP7ElementQa":{"name":"Element","abstract":"\u003cp\u003eType of intance, used to add generic to protocol\u003c/p\u003e","parent_name":"PDFCopy"},"Protocols/PDFCopy.html#/s:5TPPDF7PDFCopyP4copy7ElementQzvp":{"name":"copy","abstract":"\u003cp\u003eReturns a new instance that’s a copy of the receiver.\u003c/p\u003e","parent_name":"PDFCopy"},"Protocols/PDFTableMergable.html#/s:5TPPDF16PDFTableMergableP5mergeyyF":{"name":"merge()","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableMergable"},"Protocols/PDFTableMergable.html#/s:5TPPDF16PDFTableMergableP5merge4withyAA0B4CellCSg_tF":{"name":"merge(with:)","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableMergable"},"Protocols/PDFTableContentable.html#/s:5TPPDF19PDFTableContentableP14asTableContentAA0bF0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eInstance of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e holding \u003ccode\u003eself\u003c/code\u003e as the content value\u003c/p\u003e","parent_name":"PDFTableContentable"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP8progressSo10NSProgressCvp":{"name":"progress","abstract":"\u003cp\u003eInstance of \u003ccode\u003eProgress\u003c/code\u003e used to track and control the multi-document generation\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP5debugSbvp":{"name":"debug","abstract":"\u003cp\u003eFlag to enable or disable the debug overlay\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP11generateURL8filename4info10Foundation0E0VSS_AA7PDFInfoCSgtKF":{"name":"generateURL(filename:info:)","abstract":"\u003cp\u003eCreates a file in a guaranteed temporary folder with the given filename, generates the PDF context data and writes the result into the file.\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP11generateURL8filename10Foundation0E0VSS_tKF":{"name":"generateURL(filename:)","abstract":"\u003cp\u003eCreates a file in a guaranteed temporary folder with the given filename, generates the PDF context data and writes the result into the file.\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP8generate2to4infoy10Foundation3URLV_AA7PDFInfoCSgtKF":{"name":"generate(to:info:)","abstract":"\u003cp\u003eCreates a file at the given file URL, generates the PDF context data and writes the result idata nto the file.\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP8generate2toy10Foundation3URLV_tKF":{"name":"generate(to:)","abstract":"\u003cp\u003eCreates a file at the given file URL, generates the PDF context data and writes the result idata nto the file.\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP12generateData4info10Foundation0E0VAA7PDFInfoCSg_tKF":{"name":"generateData(info:)","abstract":"\u003cp\u003eGenerates and returns the PDF context data.\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorProtocol.html#/s:5TPPDF20PDFGeneratorProtocolP12generateData10Foundation0E0VyKF":{"name":"generateData()","abstract":"\u003cp\u003eGenerates and returns the PDF context data.\u003c/p\u003e","parent_name":"PDFGeneratorProtocol"},"Protocols/PDFGeneratorImageDelegate.html#/s:5TPPDF25PDFGeneratorImageDelegateP9generator016willBeginDrawingC04with2inyAA8PDFImageC_AA10PDFContextCSo6CGRectVtF":{"name":"generator(willBeginDrawingImage:with:in:)","abstract":"\u003cp\u003eCalled directly before a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFImage.html\"\u003ePDFImage\u003c/a\u003e\u003c/code\u003e is drawn into the graphics context\u003c/p\u003e","parent_name":"PDFGeneratorImageDelegate"},"Protocols/PDFGeneratorImageDelegate.html":{"name":"PDFGeneratorImageDelegate","abstract":"\u003cp\u003eProtocol used to delegate drawing of images\u003c/p\u003e"},"Protocols/PDFGeneratorProtocol.html":{"name":"PDFGeneratorProtocol","abstract":"\u003cp\u003eProtocol including all public methods and accessors available for generating documents\u003c/p\u003e"},"Protocols/PDFTableContentable.html":{"name":"PDFTableContentable","abstract":"\u003cp\u003eProtocol to extend a type with a converter to \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Protocols/PDFTableMergable.html":{"name":"PDFTableMergable","abstract":"\u003cp\u003eObject implementing this protocol should offer the functionality to merge itself into a single value\u003c/p\u003e"},"Protocols/PDFCopy.html":{"name":"PDFCopy","abstract":"\u003cp\u003eA protocol that objects adopt to provide functional copies of themselves.\u003c/p\u003e"},"Protocols/PDFTaggableObject.html":{"name":"PDFTaggableObject","abstract":"\u003cp\u003eObject can be identified using the \u003ccode\u003etag\u003c/code\u003e property\u003c/p\u003e"},"Protocols/PDFAttributableObject.html":{"name":"PDFAttributableObject","abstract":"\u003cp\u003eProtocol for adding attributes to an object\u003c/p\u003e"},"Extensions/CustomDebugStringConvertible.html#/s:s28CustomDebugStringConvertibleP5TPPDFE16debugDescriptionSSvp":{"name":"debugDescription","abstract":"\u003cp\u003eDefault implementation for \u003ccode\u003edebugDescription\u003c/code\u003e using class reflection to create a comma concatenated list of properties and values\u003c/p\u003e","parent_name":"CustomDebugStringConvertible"},"Extensions/CustomStringConvertible.html#/s:s23CustomStringConvertibleP5TPPDFE11descriptionSSvp":{"name":"description","abstract":"\u003cp\u003eDefault implementation for \u003ccode\u003edescription\u003c/code\u003e using class reflection to create a comma concatenated list of properties and values\u003c/p\u003e","parent_name":"CustomStringConvertible"},"Extensions/CGPoint.html#/s:So7CGPointV5TPPDFE1poiyA2B_So8CGVectorVtFZ":{"name":"+(_:_:)","abstract":"\u003cp\u003eAdds a vector to a point\u003c/p\u003e","parent_name":"CGPoint"},"Extensions/CGPoint.html#/s:So7CGPointV5TPPDFE1poiyA2B_ABtFZ":{"name":"+(_:_:)","abstract":"\u003cp\u003eAdds two points together, by adding their components.\u003c/p\u003e","parent_name":"CGPoint"},"Extensions/CGPoint.html#/s:So7CGPointV5TPPDFE1soiyA2B_ABtFZ":{"name":"-(_:_:)","abstract":"\u003cp\u003eSubtracts two points from each other, by subtracting their components.\u003c/p\u003e","parent_name":"CGPoint"},"Extensions/CGPoint.html#/s:So7CGPointV5TPPDFE1poiyA2B_14CoreFoundation7CGFloatVtFZ":{"name":"+(_:_:)","abstract":"\u003cp\u003eAdds a value to both components of a point\u003c/p\u003e","parent_name":"CGPoint"},"Extensions/NSEdgeInsets.html#/s:So12NSEdgeInsetsV5TPPDFE4zeroABvpZ":{"name":"zero","abstract":"\u003cp\u003eUndocumented\u003c/p\u003e","parent_name":"NSEdgeInsets"},"Extensions/NSEdgeInsets.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"NSEdgeInsets"},"Extensions/Image.html#/s:So7NSImageC5TPPDFE14asTableContentAC08PDFTableE0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eInstance of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e holding \u003ccode\u003eself\u003c/code\u003e as the content value\u003c/p\u003e","parent_name":"Image"},"Extensions/String.html#/s:SS5TPPDFE14asTableContentAA08PDFTableD0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eInstance of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e holding \u003ccode\u003eself\u003c/code\u003e as the content value\u003c/p\u003e","parent_name":"String"},"Extensions/Float.html#/s:Sf5TPPDFE14asTableContentAA08PDFTableD0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eConverts this \u003ccode\u003eFloat\u003c/code\u003e to a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"Float"},"Extensions/Double.html#/s:Sd5TPPDFE14asTableContentAA08PDFTableD0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eConverts this \u003ccode\u003eDouble\u003c/code\u003e to a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"Double"},"Extensions/Int.html#/s:Si5TPPDFE14asTableContentAA08PDFTableD0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eConverts this \u003ccode\u003eInt\u003c/code\u003e to a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"Int"},"Extensions/NSAttributedString.html#/s:So18NSAttributedStringC5TPPDFE14asTableContentAC08PDFTableF0Cvp":{"name":"asTableContent","abstract":"\u003cp\u003eInstance of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e of type attributed string, using \u003ccode\u003eself\u003c/code\u003e as content\u003c/p\u003e","parent_name":"NSAttributedString"},"Extensions/NSAttributedString.html":{"name":"NSAttributedString","abstract":"\u003cp\u003eAdds functionality to convert to PDF table content\u003c/p\u003e"},"Extensions/Int.html":{"name":"Int"},"Extensions/Double.html":{"name":"Double"},"Extensions/Float.html":{"name":"Float"},"Extensions/String.html":{"name":"String"},"Extensions/Image.html":{"name":"Image"},"Extensions/NSEdgeInsets.html":{"name":"NSEdgeInsets"},"Extensions/CGPoint.html":{"name":"CGPoint"},"Extensions/CustomStringConvertible.html":{"name":"CustomStringConvertible"},"Extensions/CustomDebugStringConvertible.html":{"name":"CustomDebugStringConvertible"},"Enums/PDFObjectAttribute.html#/s:5TPPDF18PDFObjectAttributeO4linkyAC10Foundation3URLV_tcACmF":{"name":"link(url:)","abstract":"\u003cp\u003eAdds a clickable link with a redirection to the given URL\u003c/p\u003e","parent_name":"PDFObjectAttribute"},"Enums/PDFPaginationStyle.html#/s:5TPPDF18PDFPaginationStyleO7defaultyA2CmF":{"name":"default","abstract":"\u003cp\u003eDefault format, concats current page and total pages with a dash.\u003c/p\u003e","parent_name":"PDFPaginationStyle"},"Enums/PDFPaginationStyle.html#/s:5TPPDF18PDFPaginationStyleO5romanyACSS_tcACmF":{"name":"roman(template:)","abstract":"\u003cp\u003eReturns pagination in roman numerals.\u003c/p\u003e","parent_name":"PDFPaginationStyle"},"Enums/PDFPaginationStyle.html#/s:5TPPDF18PDFPaginationStyleO18customNumberFormatyACSS_So17NSNumberFormatterCtcACmF":{"name":"customNumberFormat(template:formatter:)","abstract":"\u003cp\u003eFormats pagination numbers using the \u003ccode\u003eformatter\u003c/code\u003e and formatting the string using the given \u003ccode\u003etemplate\u003c/code\u003e.\u003c/p\u003e","parent_name":"PDFPaginationStyle"},"Enums/PDFPaginationStyle.html#/s:5TPPDF18PDFPaginationStyleO13customClosureyACSSSi_SitccACmF":{"name":"customClosure(_:)","abstract":"\u003cp\u003eFormats the pagination using the provided closure\u003c/p\u003e","parent_name":"PDFPaginationStyle"},"Enums/PDFPaginationStyle.html#/s:5TPPDF18PDFPaginationStyleO6format4page5totalSSSi_SitF":{"name":"format(page:total:)","abstract":"\u003cp\u003eCreates formatted pagination string.\u003c/p\u003e","parent_name":"PDFPaginationStyle"},"Enums/PDFPaginationStyle.html#/s:5TPPDF18PDFPaginationStyleO2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003eTODO: Documentation\u003c/p\u003e","parent_name":"PDFPaginationStyle"},"Enums/PDFSectionColumnContainer.html#/s:5TPPDF25PDFSectionColumnContainerO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eElement is in no container, only real use is as a default value\u003c/p\u003e","parent_name":"PDFSectionColumnContainer"},"Enums/PDFSectionColumnContainer.html#/s:5TPPDF25PDFSectionColumnContainerO4leftyA2CmF":{"name":"left","abstract":"\u003cp\u003eContainer aligned to left\u003c/p\u003e","parent_name":"PDFSectionColumnContainer"},"Enums/PDFSectionColumnContainer.html#/s:5TPPDF25PDFSectionColumnContainerO6centeryA2CmF":{"name":"center","abstract":"\u003cp\u003eContainer aligned to center\u003c/p\u003e","parent_name":"PDFSectionColumnContainer"},"Enums/PDFSectionColumnContainer.html#/s:5TPPDF25PDFSectionColumnContainerO5rightyA2CmF":{"name":"right","abstract":"\u003cp\u003eContainer aligned to right\u003c/p\u003e","parent_name":"PDFSectionColumnContainer"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO19tableContentInvalidyACypSg_tcACmF":{"name":"tableContentInvalid(value:)","abstract":"\u003cp\u003eThe associated \u003ccode\u003evalue\u003c/code\u003e is an instance of an unsupported type.\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO12tableIsEmptyyA2CmF":{"name":"tableIsEmpty","abstract":"\u003cp\u003eIndicates that a table without any data was added to the document, which is unsupported\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO21tableStructureInvalidyACSS_tcACmF":{"name":"tableStructureInvalid(message:)","abstract":"\u003cp\u003eThe given table structure does not match, i.e. the data matrix size does not match the cell alignment configuration\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO21tableIndexOutOfBoundsyACSi_SitcACmF":{"name":"tableIndexOutOfBounds(index:length:)","abstract":"\u003cp\u003eThrown when accessing a cell outside of the table bounds\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO15tableCellTooBigyAcA08PDFTableD0C_tcACmF":{"name":"tableCellTooBig(cell:)","abstract":"\u003cp\u003eIndicates that the cell is too big to be rendered onto a single page\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO15textObjectIsNilyA2CmF":{"name":"textObjectIsNil","abstract":"\u003cp\u003eThrown when neither a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e nor a \u003ccode\u003eNSAttributedString\u003c/code\u003e is set in an \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFAttributedText.html\"\u003ePDFAttributedText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO23textObjectNotCalculatedyA2CmF":{"name":"textObjectNotCalculated","abstract":"\u003cp\u003eThrown when a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFAttributedText.html\"\u003ePDFAttributedText\u003c/a\u003e\u003c/code\u003e should be rendered without being calculated first\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO13copyingFailedyA2CmF":{"name":"copyingFailed","abstract":"\u003cp\u003eThrown when copying of a PDF object fails\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO26externalDocumentURLInvalidyAC10Foundation3URLV_tcACmF":{"name":"externalDocumentURLInvalid(url:)","abstract":"\u003cp\u003eThrown when an external PDF document could not be loaded from the given \u003ccode\u003eurl\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO15pageOutOfBoundsyACSi_tcACmF":{"name":"pageOutOfBounds(index:)","abstract":"\u003cp\u003eIndex of page in external document is out of bounds\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFError.html#/s:5TPPDF8PDFErrorO16errorDescriptionSSSgvp":{"name":"errorDescription","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFError"},"Enums/PDFConstants.html#/s:5TPPDF12PDFConstantsO15defaultFontSize14CoreFoundation7CGFloatVvpZ":{"name":"defaultFontSize","abstract":"\u003cp\u003eDefault font size for objects\u003c/p\u003e","parent_name":"PDFConstants"},"Enums/PDFTableStyleDefaults.html#/s:5TPPDF21PDFTableStyleDefaultsO4noneAA0bC0CvpZ":{"name":"none","abstract":"\u003cp\u003eNone:\u003c/p\u003e","parent_name":"PDFTableStyleDefaults"},"Enums/PDFTableStyleDefaults.html#/s:5TPPDF21PDFTableStyleDefaultsO6simpleAA0bC0CvpZ":{"name":"simple","abstract":"\u003cp\u003eSimple table:\u003c/p\u003e","parent_name":"PDFTableStyleDefaults"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO7topLeftyA2CmF":{"name":"topLeft","abstract":"\u003cp\u003eContent will be aligned in the top left corner\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO3topyA2CmF":{"name":"top","abstract":"\u003cp\u003eContent will be aligned with the top edge, centered horizontally\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO8topRightyA2CmF":{"name":"topRight","abstract":"\u003cp\u003eContent will be aligned in the top right corner\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO4leftyA2CmF":{"name":"left","abstract":"\u003cp\u003eContent will be aligned with the left edge, centered vertically\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO6centeryA2CmF":{"name":"center","abstract":"\u003cp\u003eContent will be centered horizontally \u0026amp; vertically\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO5rightyA2CmF":{"name":"right","abstract":"\u003cp\u003eContent will be aligned with the right edge, centered horizontally\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO10bottomLeftyA2CmF":{"name":"bottomLeft","abstract":"\u003cp\u003eContent will be aligned in the bottom left corner\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO6bottomyA2CmF":{"name":"bottom","abstract":"\u003cp\u003eContent will be aligned with the bottom edge, centered horizontally\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFTableCellAlignment.html#/s:5TPPDF21PDFTableCellAlignmentO11bottomRightyA2CmF":{"name":"bottomRight","abstract":"\u003cp\u003eContent will be aligned in the top right corner\u003c/p\u003e","parent_name":"PDFTableCellAlignment"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO12usHalfLetteryA2CmF":{"name":"usHalfLetter","abstract":"\u003cp\u003ePage formats mostly used in the USA\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO8usLetteryA2CmF":{"name":"usLetter","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO7usLegalyA2CmF":{"name":"usLegal","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO13usJuniorLegalyA2CmF":{"name":"usJuniorLegal","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO8usLedgeryA2CmF":{"name":"usLedger","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5ansiAyA2CmF":{"name":"ansiA","abstract":"\u003cp\u003ePage formats according to the American National Standards Institute\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5ansiByA2CmF":{"name":"ansiB","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5ansiCyA2CmF":{"name":"ansiC","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5ansiDyA2CmF":{"name":"ansiD","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5ansiEyA2CmF":{"name":"ansiE","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a0yA2CmF":{"name":"a0","abstract":"\u003cp\u003eA-Series of paper standard DIN 476\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a1yA2CmF":{"name":"a1","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a2yA2CmF":{"name":"a2","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a3yA2CmF":{"name":"a3","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a4yA2CmF":{"name":"a4","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a5yA2CmF":{"name":"a5","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a6yA2CmF":{"name":"a6","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a7yA2CmF":{"name":"a7","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a8yA2CmF":{"name":"a8","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2a9yA2CmF":{"name":"a9","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO3a10yA2CmF":{"name":"a10","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b0yA2CmF":{"name":"b0","abstract":"\u003cp\u003eB-Series is the geometric mean of the A-series\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b1yA2CmF":{"name":"b1","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b2yA2CmF":{"name":"b2","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b3yA2CmF":{"name":"b3","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b4yA2CmF":{"name":"b4","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b5yA2CmF":{"name":"b5","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b6yA2CmF":{"name":"b6","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b7yA2CmF":{"name":"b7","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b8yA2CmF":{"name":"b8","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2b9yA2CmF":{"name":"b9","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO3b10yA2CmF":{"name":"b10","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c0yA2CmF":{"name":"c0","abstract":"\u003cp\u003eC-Series is ususally used for envelopes. Definition is written in ISO 269\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c1yA2CmF":{"name":"c1","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c2yA2CmF":{"name":"c2","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c3yA2CmF":{"name":"c3","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c4yA2CmF":{"name":"c4","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c5yA2CmF":{"name":"c5","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c6yA2CmF":{"name":"c6","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c7yA2CmF":{"name":"c7","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c8yA2CmF":{"name":"c8","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO2c9yA2CmF":{"name":"c9","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO3c10yA2CmF":{"name":"c10","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO4sizeSo6CGSizeVvp":{"name":"size","abstract":"\u003cp\u003eSize defined in constants\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO13landscapeSizeSo6CGSizeVvp":{"name":"landscapeSize","abstract":"\u003cp\u003eSwaps height and width to create a landscape format\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO4nameSSvp":{"name":"name","abstract":"\u003cp\u003eName defined in constants\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO6layoutAA0B6LayoutVvp":{"name":"layout","abstract":"\u003cp\u003eShorthand method to create a default \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbStructs/PDFPageLayout.html\"\u003ePDFPageLayout\u003c/a\u003e\u003c/code\u003e based on the this formats \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbEnums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO4sizeSo6CGSizeVvp\"\u003esize\u003c/a\u003e\u003c/code\u003e.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO6usNameSSvp":{"name":"usName","abstract":"\u003cp\u003eReturns the defined US names if this format is a US format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO8ansiNameSSvp":{"name":"ansiName","abstract":"\u003cp\u003eReturns the defined ANSI name if this format is a ANSI format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5aNameSSvp":{"name":"aName","abstract":"\u003cp\u003eReturns the defined A-Series name if this format is a A-Series format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5bNameSSvp":{"name":"bName","abstract":"\u003cp\u003eReturns the defined B-Series name if this format is a B-Series format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5cNameSSvp":{"name":"cName","abstract":"\u003cp\u003eReturns the defined C-Series name if this format is a C-Series format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO6usSizeSo6CGSizeVvp":{"name":"usSize","abstract":"\u003cp\u003eReturns the defined US paper size if this format is a US format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO8ansiSizeSo6CGSizeVvp":{"name":"ansiSize","abstract":"\u003cp\u003eReturns the defined ANSI paper size if this format is a ANSI format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5aSizeSo6CGSizeVvp":{"name":"aSize","abstract":"\u003cp\u003eReturns the defined A-Series paper size if this format is a A-Series format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5bSizeSo6CGSizeVvp":{"name":"bSize","abstract":"\u003cp\u003eReturns the defined B-Series paper size if this format is a B-Series format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFPageFormat.html#/s:5TPPDF13PDFPageFormatO5cSizeSo6CGSizeVvp":{"name":"cSize","abstract":"\u003cp\u003eReturns the defined C-Series paper size if this format is a C-Series format.\u003c/p\u003e","parent_name":"PDFPageFormat"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO8RawValuea":{"name":"RawValue","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eDoesn\u0026rsquo;t display a symbol before the content\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO7inherityA2CmF":{"name":"inherit","abstract":"\u003cp\u003eIf an item is nested and uses this symbol, it will take the same one as the parent.\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO3dotyA2CmF":{"name":"dot","abstract":"\u003cp\u003eSymbol is a middle-dot\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO4dashyA2CmF":{"name":"dash","abstract":"\u003cp\u003eSymbol is a dash/minus.\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO6customyACSS_tcACmF":{"name":"custom(value:)","abstract":"\u003cp\u003eAny string \u003ccode\u003evalue\u003c/code\u003e must be provided, which will then be used as the symbol.\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO8numberedyACSSSg_tcACmF":{"name":"numbered(value:)","abstract":"\u003cp\u003eWhen the parent of multiple list items is of type \u003ccode\u003enumbered\u003c/code\u003e, it will then use the index as the symbol, starting with \u003ccode\u003e1\u003c/code\u003e and","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO11stringValueSSvp":{"name":"stringValue","abstract":"\u003cp\u003eReturns the symbol as a string, to be calculated and rendered using \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFText.html\"\u003ePDFText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO8rawValueSSvp":{"name":"rawValue","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO8rawValueACSgSS_tcfc":{"name":"init(rawValue:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItemSymbol"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eElement is in no container, only real use is as a default value\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO10headerLeftyA2CmF":{"name":"headerLeft","abstract":"\u003cp\u003eContainer at the top left\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO12headerCenteryA2CmF":{"name":"headerCenter","abstract":"\u003cp\u003eContainer at the top center\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO11headerRightyA2CmF":{"name":"headerRight","abstract":"\u003cp\u003eContainer at the top right\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO11contentLeftyA2CmF":{"name":"contentLeft","abstract":"\u003cp\u003eContainer in the center, aligned to left\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO13contentCenteryA2CmF":{"name":"contentCenter","abstract":"\u003cp\u003eContainer in the center, aligned to center\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO12contentRightyA2CmF":{"name":"contentRight","abstract":"\u003cp\u003eContainer in the center, aligned to right\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO10footerLeftyA2CmF":{"name":"footerLeft","abstract":"\u003cp\u003eContainer at the bottom left\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO12footerCenteryA2CmF":{"name":"footerCenter","abstract":"\u003cp\u003eContainer at the bottom center\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFContainer.html#/s:5TPPDF12PDFContainerO11footerRightyA2CmF":{"name":"footerRight","abstract":"\u003cp\u003eContainer at the bottom right\u003c/p\u003e","parent_name":"PDFContainer"},"Enums/PDFImageSizeFit.html#/s:5TPPDF15PDFImageSizeFitO5widthyA2CmF":{"name":"width","abstract":"\u003cp\u003eScale the image to fit the available width, while keeping the aspect ratio\u003c/p\u003e","parent_name":"PDFImageSizeFit"},"Enums/PDFImageSizeFit.html#/s:5TPPDF15PDFImageSizeFitO6heightyA2CmF":{"name":"height","abstract":"\u003cp\u003eScale the image to fit the available height, while keeping the aspect ratio\u003c/p\u003e","parent_name":"PDFImageSizeFit"},"Enums/PDFImageSizeFit.html#/s:5TPPDF15PDFImageSizeFitO11widthHeightyA2CmF":{"name":"widthHeight","abstract":"\u003cp\u003eScale the image to fit the available width or height, while keeping the aspect ratio\u003c/p\u003e","parent_name":"PDFImageSizeFit"},"Enums/PDFGroupContainer.html#/s:5TPPDF17PDFGroupContainerO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eElement is in no container, only real use is as a default value\u003c/p\u003e","parent_name":"PDFGroupContainer"},"Enums/PDFGroupContainer.html#/s:5TPPDF17PDFGroupContainerO4leftyA2CmF":{"name":"left","abstract":"\u003cp\u003eContainer aligned to left\u003c/p\u003e","parent_name":"PDFGroupContainer"},"Enums/PDFGroupContainer.html#/s:5TPPDF17PDFGroupContainerO6centeryA2CmF":{"name":"center","abstract":"\u003cp\u003eContainer aligned to center\u003c/p\u003e","parent_name":"PDFGroupContainer"},"Enums/PDFGroupContainer.html#/s:5TPPDF17PDFGroupContainerO5rightyA2CmF":{"name":"right","abstract":"\u003cp\u003eContainer aligned to right\u003c/p\u003e","parent_name":"PDFGroupContainer"},"Enums/PDFLineType.html#/s:5TPPDF11PDFLineTypeO4noneyA2CmF":{"name":"none","abstract":"\u003cp\u003eNo visible line\u003c/p\u003e","parent_name":"PDFLineType"},"Enums/PDFLineType.html#/s:5TPPDF11PDFLineTypeO4fullyA2CmF":{"name":"full","abstract":"\u003cp\u003eFull line\u003c/p\u003e","parent_name":"PDFLineType"},"Enums/PDFLineType.html#/s:5TPPDF11PDFLineTypeO6dashedyA2CmF":{"name":"dashed","abstract":"\u003cp\u003eDashed Line\u003c/p\u003e","parent_name":"PDFLineType"},"Enums/PDFLineType.html#/s:5TPPDF11PDFLineTypeO6dottedyA2CmF":{"name":"dotted","abstract":"\u003cp\u003eDotted Line\u003c/p\u003e","parent_name":"PDFLineType"},"Enums/PDFLineType.html":{"name":"PDFLineType","abstract":"\u003cp\u003eDifferent types of lines\u003c/p\u003e"},"Enums/PDFGroupContainer.html":{"name":"PDFGroupContainer","abstract":"\u003cp\u003eA section container defines the position of an element in a column of a given container.\u003c/p\u003e"},"Enums/PDFImageSizeFit.html":{"name":"PDFImageSizeFit","abstract":"\u003cp\u003eConstants defining scaling behaviour of an image, if not enough space to render full size is given.\u003c/p\u003e"},"Enums/PDFContainer.html":{"name":"PDFContainer","abstract":"\u003cp\u003eA container defines the position of an element in the page.\u003c/p\u003e"},"Enums/PDFListItemSymbol.html":{"name":"PDFListItemSymbol","abstract":"\u003cp\u003eSymbol used by a list item in a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFList.html\"\u003ePDFList\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Enums/PDFPageFormat.html":{"name":"PDFPageFormat","abstract":"\u003cp\u003eStandardized paper formats, commonly used around the world.\u003c/p\u003e"},"Enums/PDFTableCellAlignment.html":{"name":"PDFTableCellAlignment","abstract":"\u003cp\u003eOptions for aligning content inside a table cell\u003c/p\u003e"},"Enums/PDFTableStyleDefaults.html":{"name":"PDFTableStyleDefaults","abstract":"\u003cp\u003eA collection of commonly used \u0026ldquo;PDFTableStyle\u003c/p\u003e"},"Enums/PDFConstants.html":{"name":"PDFConstants","abstract":"\u003cp\u003eConstants used throught the framework\u003c/p\u003e"},"Enums/PDFError.html":{"name":"PDFError","abstract":"\u003cp\u003eList of errors which can be thrown during configuration, calculations or rendering\u003c/p\u003e"},"Enums/PDFSectionColumnContainer.html":{"name":"PDFSectionColumnContainer","abstract":"\u003cp\u003eA section container defines the position of an element in a column of a given container.\u003c/p\u003e"},"Enums/PDFPaginationStyle.html":{"name":"PDFPaginationStyle","abstract":"\u003cp\u003eUse predefined pagination styles or create a custom one, using \u003ccode\u003e.CustomNumberFormat\u003c/code\u003e or \u003ccode\u003e.CustomClosure\u003c/code\u003e.\u003c/p\u003e"},"Enums/PDFObjectAttribute.html":{"name":"PDFObjectAttribute","abstract":"\u003cp\u003eList of attributes an object can obtain\u003c/p\u003e"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC10attributesSayAA18PDFObjectAttributeOGvp":{"name":"attributes","abstract":"\u003cp\u003eList of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbEnums/PDFObjectAttribute.html\"\u003ePDFObjectAttribute\u003c/a\u003e\u003c/code\u003e to be applied during calculations and rendering\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC3tagSivp":{"name":"tag","abstract":"\u003cp\u003eAn integer that you can use to identify view objects in delegates.\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectCACycfc":{"name":"init()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC3add9attributeyAA18PDFObjectAttributeO_tF":{"name":"add(attribute:)","abstract":"\u003cp\u003eAppends the given \u003ccode\u003eattribute\u003c/code\u003e to the list of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC10attributesSayAA18PDFObjectAttributeOGvp\"\u003eattributes\u003c/a\u003e\u003c/code\u003e.\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC7isEqual2toSbAC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFDocumentObject.html#/s:5TPPDF17PDFDocumentObjectC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFDocumentObject"},"Classes/PDFTextStyle.html#/s:5TPPDF12PDFTextStyleC4nameSSvp":{"name":"name","abstract":"\u003cp\u003eName of style\u003c/p\u003e","parent_name":"PDFTextStyle"},"Classes/PDFTextStyle.html#/s:5TPPDF12PDFTextStyleC4fontSo6NSFontCSgvp":{"name":"font","abstract":"\u003cp\u003eFont of the text\u003c/p\u003e","parent_name":"PDFTextStyle"},"Classes/PDFTextStyle.html#/s:5TPPDF12PDFTextStyleC5colorSo7NSColorCSgvp":{"name":"color","abstract":"\u003cp\u003eColor of the text\u003c/p\u003e","parent_name":"PDFTextStyle"},"Classes/PDFTextStyle.html#/s:5TPPDF12PDFTextStyleC4name4font5colorACSS_So6NSFontCSgSo7NSColorCSgtcfc":{"name":"init(name:font:color:)","abstract":"\u003cp\u003eCreates a new style with the given parameters.\u003c/p\u003e","parent_name":"PDFTextStyle"},"Classes/PDFTextStyle.html#/s:5TPPDF12PDFTextStyleC2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTextStyle"},"Classes/PDFTextStyle.html#/s:5TPPDF12PDFTextStyleC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTextStyle"},"Classes/PDFText.html#/s:5TPPDF7PDFTextC4copyACvp":{"name":"copy","abstract":"\u003cp\u003eCreates a new copy of this text\u003c/p\u003e","parent_name":"PDFText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC4textSSvp":{"name":"text","abstract":"\u003cp\u003eText to be drawn\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC7spacing14CoreFoundation7CGFloatVvp":{"name":"spacing","abstract":"\u003cp\u003e/ Line spacing if multiple lines\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC5styleAA12PDFTextStyleCSgvp":{"name":"style","abstract":"\u003cp\u003eWeak reference to style used by this text object\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC4text7spacing5styleACSS_14CoreFoundation7CGFloatVAA12PDFTextStyleCSgtcfc":{"name":"init(text:spacing:style:)","abstract":"\u003cp\u003eCreates a new simple text object\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC4copyAA7PDFTextCvp":{"name":"copy","abstract":"\u003cp\u003eCreates a new \u003ccode\u003ePDFSimpleText\u003c/code\u003e with the same properties\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFSimpleText.html#/s:5TPPDF13PDFSimpleTextC2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFSimpleText"},"Classes/PDFAttributedText.html#/s:5TPPDF17PDFAttributedTextC4textSo18NSAttributedStringCvp":{"name":"text","abstract":"\u003cp\u003eAttributed string which will be drawn in the PDF graphics context\u003c/p\u003e","parent_name":"PDFAttributedText"},"Classes/PDFAttributedText.html#/s:5TPPDF17PDFAttributedTextC4textACSo18NSAttributedStringC_tcfc":{"name":"init(text:)","abstract":"\u003cp\u003eCreates a new attributed text object with the given \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFAttributedText.html#/s:5TPPDF17PDFAttributedTextC4textSo18NSAttributedStringCvp\"\u003etext\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFAttributedText"},"Classes/PDFAttributedText.html#/s:5TPPDF17PDFAttributedTextC4copyAA7PDFTextCvp":{"name":"copy","abstract":"\u003cp\u003eCreates a new \u003ccode\u003ePDFAttributedText\u003c/code\u003e with the same properties\u003c/p\u003e","parent_name":"PDFAttributedText"},"Classes/PDFAttributedText.html#/s:5TPPDF17PDFAttributedTextC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003eCompares two instances of \u003ccode\u003ePDFAttributedText\u003c/code\u003e for equality\u003c/p\u003e","parent_name":"PDFAttributedText"},"Classes/PDFAttributedText.html#/s:5TPPDF17PDFAttributedTextC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFAttributedText"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC14rowHeaderCountSivp":{"name":"rowHeaderCount","abstract":"\u003cp\u003eCount of rows which will use the style configured in \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC09rowHeaderC0AA0b4CellC0Vvp\"\u003erowHeaderStyle\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC17columnHeaderCountSivp":{"name":"columnHeaderCount","abstract":"\u003cp\u003eCount of columns which will use the style configured in \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC012columnHeaderC0AA0b4CellC0Vvp\"\u003ecolumnHeaderStyle\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC11footerCountSivp":{"name":"footerCount","abstract":"\u003cp\u003eCount of footers which will use the style configured in \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC06footerC0AA0b4CellC0Vvp\"\u003efooterStyle\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC7outlineAA07PDFLineC0Vvp":{"name":"outline","abstract":"\u003cp\u003eStyle used for the outer border\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC09rowHeaderC0AA0b4CellC0Vvp":{"name":"rowHeaderStyle","abstract":"\u003cp\u003eStyle of cells in the header rows\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC012columnHeaderC0AA0b4CellC0Vvp":{"name":"columnHeaderStyle","abstract":"\u003cp\u003eStyle of cells in the header columns\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC06footerC0AA0b4CellC0Vvp":{"name":"footerStyle","abstract":"\u003cp\u003eStyle of cells in the footer rows\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC07contentC0AA0b4CellC0Vvp":{"name":"contentStyle","abstract":"\u003cp\u003eStyle of cells without special purpose\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC018alternatingContentC0AA0b4CellC0VSgvp":{"name":"alternatingContentStyle","abstract":"\u003cp\u003eStyle used for alternating content rows\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC14rowHeaderCount06columneF006footerF07outline0deC00geC00hC007contentC0018alternatingContentC0ACSi_S2iAA07PDFLineC0VAA0b4CellC0VA4PSgtcfc":{"name":"init(rowHeaderCount:columnHeaderCount:footerCount:outline:rowHeaderStyle:columnHeaderStyle:footerStyle:contentStyle:alternatingContentStyle:)","abstract":"\u003cp\u003eCreate a table style\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC4copyACyF":{"name":"copy()","abstract":"\u003cp\u003eCreates a identical copy of this style\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableStyle.html#/s:5TPPDF13PDFTableStyleC2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableStyle"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC5cellsSaySayAA0B4CellCGGvp":{"name":"cells","abstract":"\u003cp\u003eReferences to cells in the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC7contentSaySayAA0B7ContentCSgGGvp":{"name":"content","abstract":"\u003cp\u003eAccess content of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC14allRowsContentSayAA0bF0CSgGvp":{"name":"allRowsContent","abstract":"\u003cp\u003eSetter method to change the content of all rows to the same\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC17allColumnsContentSayAA0bF0CSgGvp":{"name":"allColumnsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the column\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC15allCellsContentAA0bF0CSgvp":{"name":"allCellsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the section\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC5styleSaySayAA0B9CellStyleVSgGGvp":{"name":"style","abstract":"\u003cp\u003eAccess style of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC12allRowsStyleSayAA0b4CellF0VSgGvp":{"name":"allRowsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the row\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC15allColumnsStyleSayAA0b4CellF0VSgGvp":{"name":"allColumnsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the column\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC13allCellsStyleAA0b4CellF0VSgvp":{"name":"allCellsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the column\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC9alignmentSaySayAA0B13CellAlignmentOGGvp":{"name":"alignment","abstract":"\u003cp\u003eAccess alignment of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC16allRowsAlignmentSayAA0b4CellF0OGvp":{"name":"allRowsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the rows\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC19allColumnsAlignmentSayAA0b4CellF0OGvp":{"name":"allColumnsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the columns\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC17allCellsAlignmentAA0b4CellF0Ovp":{"name":"allCellsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the rows\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC5mergeyyF":{"name":"merge()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableSection.html#/s:5TPPDF15PDFTableSectionC5merge4withyAA0B4CellCSg_tF":{"name":"merge(with:)","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableSection"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC4rowsSayAA0B3RowCGvp":{"name":"rows","abstract":"\u003cp\u003eArray of references to \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableRow.html\"\u003ePDFTableRow\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC7contentSaySayAA0B11Contentable_pSgGGvp":{"name":"content","abstract":"\u003cp\u003eAccess content of all cells in all rows or sets the content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC03allC7ContentSayAA0bE0CSgGvp":{"name":"allRowsContent","abstract":"\u003cp\u003eSetter method to change the content of all rows to the same\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC15allCellsContentAA0bF0CSgvp":{"name":"allCellsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the row\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC5styleSaySayAA0B9CellStyleVSgGGvp":{"name":"style","abstract":"\u003cp\u003eAccess style of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC03allC5StyleSayAA0b4CellE0VSgGvp":{"name":"allRowsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the row\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC13allCellsStyleAA0b4CellF0VSgvp":{"name":"allCellsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the row\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC9alignmentSaySayAA0B13CellAlignmentOGGvp":{"name":"alignment","abstract":"\u003cp\u003eAccess alignment of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC03allC9AlignmentSayAA0b4CellE0OGvp":{"name":"allRowsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the rows\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC17allCellsAlignmentAA0b4CellF0Ovp":{"name":"allCellsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the rows\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC5mergeyyF":{"name":"merge()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRows.html#/s:5TPPDF12PDFTableRowsC5merge4withyAA0B4CellCSg_tF":{"name":"merge(with:)","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableRows"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC5cellsSayAA0B4CellCGvp":{"name":"cells","abstract":"\u003cp\u003eArray of references to \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableCell.html\"\u003ePDFTableCell\u003c/a\u003e\u003c/code\u003e in this row\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowCyAA0B4CellCSicip":{"name":"subscript(_:)","abstract":"\u003cp\u003eAccess and modifier for a specific cell in a given row\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC7contentSayAA0B11Contentable_pSgGvp":{"name":"content","abstract":"\u003cp\u003eAccess content of all cells in all rows or sets the content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC15allCellsContentAA0bF0CSgvp":{"name":"allCellsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the row\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC5styleSayAA0B9CellStyleVSgGvp":{"name":"style","abstract":"\u003cp\u003eAccess content of all cells in row or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC13allCellsStyleAA0b4CellF0VSgvp":{"name":"allCellsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the row\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC9alignmentSayAA0B13CellAlignmentOGvp":{"name":"alignment","abstract":"\u003cp\u003eAccess alignment of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC17allCellsAlignmentAA0b4CellF0Ovp":{"name":"allCellsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the rows\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC5mergeyyF":{"name":"merge()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableRow.html#/s:5TPPDF11PDFTableRowC5merge4withyAA0B4CellCSg_tF":{"name":"merge(with:)","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableRow"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC7columnsSayAA0B6ColumnCGvp":{"name":"columns","abstract":"\u003cp\u003eArray of references to \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableColumn.html\"\u003ePDFTableColumn\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC7contentSaySayAA0B11Contentable_pSgGGvp":{"name":"content","abstract":"\u003cp\u003eAccess content of all cells in all columns or sets the content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC03allC7ContentSayAA0bE0CSgGvp":{"name":"allColumnsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC15allCellsContentAA0bF0CSgvp":{"name":"allCellsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC5styleSaySayAA0B9CellStyleVSgGGvp":{"name":"style","abstract":"\u003cp\u003eAccess style of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC03allC5StyleSayAA0b4CellE0VSgGvp":{"name":"allColumnsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC13allCellsStyleAA0b4CellF0VSgvp":{"name":"allCellsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC9alignmentSaySayAA0B13CellAlignmentOGGvp":{"name":"alignment","abstract":"\u003cp\u003eAccess alignment of all cells in section or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC03allC9AlignmentSayAA0b4CellE0OGvp":{"name":"allColumnsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the columns\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC17allCellsAlignmentAA0b4CellF0Ovp":{"name":"allCellsAlignment","abstract":"\u003cp\u003eSetter method to change the style of all cells in the columns\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC5mergeyyF":{"name":"merge()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumns.html#/s:5TPPDF15PDFTableColumnsC5merge4withyAA0B4CellCSg_tF":{"name":"merge(with:)","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableColumns"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC5cellsSayAA0B4CellCGvp":{"name":"cells","abstract":"\u003cp\u003eReferences to the cells in the column\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnCyAA0B4CellCSicip":{"name":"subscript(_:)","abstract":"\u003cp\u003eAccess and modifier for a specific cell in a given row\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC7contentSayAA0B11Contentable_pSgGvp":{"name":"content","abstract":"\u003cp\u003eAccess content of all cells in column or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC15allCellsContentAA0bF0CSgvp":{"name":"allCellsContent","abstract":"\u003cp\u003eSetter method to change the content of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC5styleSayAA0B9CellStyleVSgGvp":{"name":"style","abstract":"\u003cp\u003eAccess content of all cells in column or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC13allCellsStyleAA0b4CellF0VSgvp":{"name":"allCellsStyle","abstract":"\u003cp\u003eSetter method to change the style of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC9alignmentSayAA0B13CellAlignmentOGvp":{"name":"alignment","abstract":"\u003cp\u003eAccess content of all cells in column or sets a content of a subsection of cells.\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC17allCellsAlignmentAA0b4CellF0Ovp":{"name":"allCellsAlignment","abstract":"\u003cp\u003eSetter method to change the content of all cells in the column\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC5mergeyyF":{"name":"merge()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableColumn.html#/s:5TPPDF14PDFTableColumnC5merge4withyAA0B4CellCSg_tF":{"name":"merge(with:)","abstract":"\u003cp\u003eMerges all cells by replacing them with the same reference.\u003c/p\u003e","parent_name":"PDFTableColumn"},"Classes/PDFTableCell.html#/s:5TPPDF12PDFTableCellC7contentAA0B7ContentCSgvp":{"name":"content","abstract":"\u003cp\u003eContent of this cell, can be different kinds of data inside a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableContent.html\"\u003ePDFTableContent\u003c/a\u003e\u003c/code\u003e object.\u003c/p\u003e","parent_name":"PDFTableCell"},"Classes/PDFTableCell.html#/s:5TPPDF12PDFTableCellC5styleAA0bC5StyleVSgvp":{"name":"style","abstract":"\u003cp\u003eCustom style of this particular cell\u003c/p\u003e","parent_name":"PDFTableCell"},"Classes/PDFTableCell.html#/s:5TPPDF12PDFTableCellC9alignmentAA0bC9AlignmentOvp":{"name":"alignment","abstract":"\u003cp\u003eAlignment of content inside cell\u003c/p\u003e","parent_name":"PDFTableCell"},"Classes/PDFTableCell.html#/s:5TPPDF12PDFTableCellC7content9alignment5styleAcA0B7ContentCSg_AA0bC9AlignmentOAA0bC5StyleVSgtcfc":{"name":"init(content:alignment:style:)","abstract":"\u003cp\u003eCreates a new cell with the optionally given content, alignment and style.\u003c/p\u003e","parent_name":"PDFTableCell"},"Classes/PDFTableCell.html#/s:5TPPDF12PDFTableCellC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCell"},"Classes/PDFTableCell.html#/s:5TPPDF12PDFTableCellC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableCell"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC5styleAA0B5StyleCvp":{"name":"style","abstract":"\u003cp\u003eStyling used for drawing\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC5cellsSaySayAA0B4CellCGGvp":{"name":"cells","abstract":"\u003cp\u003eTwo-dimensional array of cells\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC6widthsSay14CoreFoundation7CGFloatVGvp":{"name":"widths","abstract":"\u003cp\u003eList of relative horizontal column widths.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7padding14CoreFoundation7CGFloatVvp":{"name":"padding","abstract":"\u003cp\u003ePadding is the distance between the cell content and its borders.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC6margin14CoreFoundation7CGFloatVvp":{"name":"margin","abstract":"\u003cp\u003eMargin is the distance between the cell borders and other cells\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC22showHeadersOnEveryPageSbvp":{"name":"showHeadersOnEveryPage","abstract":"\u003cp\u003eHeader rows will be drawn on every page\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC27shouldSplitCellsOnPageBreakSbvp":{"name":"shouldSplitCellsOnPageBreak","abstract":"\u003cp\u003e/ Cells should split when overlapping page\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4sizeSi4rows_Si7columnstvp":{"name":"size","abstract":"\u003cp\u003eCount of rows and columns in this table\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4sizeACSi4rows_Si7columnst_tcfc":{"name":"init(size:)","abstract":"\u003cp\u003eCreates a new table with the given size and populates it with empty cells\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsACSi_Sitcfc":{"name":"init(rows:columns:)","abstract":"\u003cp\u003eCreates a new table with the given size and populates it with empty cells.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp":{"name":"rows","abstract":"\u003cp\u003eShorthand accessor to the rows stored in \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC5cellsSaySayAA0B4CellCGGvp\"\u003ecells\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp":{"name":"columns","abstract":"\u003cp\u003eShorthand accessor to the columns stored in \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC5cellsSaySayAA0B4CellCGGvp\"\u003ecells\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7contentSaySayAA0B11Contentable_pSgGGvp":{"name":"content","abstract":"\u003cp\u003eShorthand accessor to the cell values of this table\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC9alignmentSaySayAA0B13CellAlignmentOGGvp":{"name":"alignment","abstract":"\u003cp\u003eShorthand accessor to the cell alignments of this table\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC8positionAA0B4CellCAA0bD8PositionV_tcip":{"name":"subscript(position:)","abstract":"\u003cp\u003eAccessor for a specific \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableCell.html\"\u003ePDFTableCell\u003c/a\u003e\u003c/code\u003e at the given position\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableCyAA0B4CellCSi_Sitcip":{"name":"subscript(_:_:)","abstract":"\u003cp\u003eAccessor for a specific cell at the given position\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC6columnAA0B6ColumnCSi_tcip":{"name":"subscript(column:)","abstract":"\u003cp\u003eAccessor for a specific column\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCSNySiG_tcip":{"name":"subscript(columns:)","abstract":"\u003cp\u003eAccessors of columns in the given range.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCs16PartialRangeFromVySiG_tcip":{"name":"subscript(columns:)","abstract":"\u003cp\u003eAccessors of columns in the given range.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCs19PartialRangeThroughVySiG_tcip":{"name":"subscript(columns:)","abstract":"\u003cp\u003eAccessors of columns in the given range.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCs16PartialRangeUpToVySiG_tcip":{"name":"subscript(columns:)","abstract":"\u003cp\u003eAccessors of columns in the given range.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCSnySiG_tcip":{"name":"subscript(columns:)","abstract":"\u003cp\u003eAccessors of columns in the given range.\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC3rowAA0B3RowCSi_tcip":{"name":"subscript(row:)","abstract":"\u003cp\u003eAccessor for a specific row\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCSNySiG_tcip":{"name":"subscript(rows:)","abstract":"\u003cp\u003eAccessor for multiple rows in the given range \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCs16PartialRangeFromVySiG_tcip":{"name":"subscript(rows:)","abstract":"\u003cp\u003eAccessor for multiple rows in the given range \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCs19PartialRangeThroughVySiG_tcip":{"name":"subscript(rows:)","abstract":"\u003cp\u003eAccessor for multiple rows in the given range \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCs16PartialRangeUpToVySiG_tcip":{"name":"subscript(rows:)","abstract":"\u003cp\u003eAccessor for multiple rows in the given range \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCSnySiG_tcip":{"name":"subscript(rows:)","abstract":"\u003cp\u003eAccessor for multiple rows in the given range \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSi_SnySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSi_SNySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSi_s16PartialRangeFromVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSi_s19PartialRangeThroughVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSi_s16PartialRangeUpToVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSnySiG_SNySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSnySiG_s16PartialRangeFromVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSnySiG_s19PartialRangeThroughVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSnySiG_s16PartialRangeUpToVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows6columnAA0B7SectionCSnySiG_Sitcip":{"name":"subscript(rows:column:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSNySiG_SnySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSNySiG_AHtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSNySiG_s16PartialRangeFromVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSNySiG_s19PartialRangeThroughVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSNySiG_s16PartialRangeUpToVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows6columnAA0B7SectionCSNySiG_Sitcip":{"name":"subscript(rows:column:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeFromVySiG_SnySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeFromVySiG_SNySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeFromVySiG_AJtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeFromVySiG_s0fG7ThroughVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeFromVySiG_s0fG4UpToVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows6columnAA0B7SectionCs16PartialRangeFromVySiG_Sitcip":{"name":"subscript(rows:column:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeUpToVySiG_SnySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeUpToVySiG_SNySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeUpToVySiG_s0fG4FromVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeUpToVySiG_s0fG7ThroughVySiGtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCs16PartialRangeUpToVySiG_AJtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows6columnAA0B7SectionCs16PartialRangeUpToVySiG_Sitcip":{"name":"subscript(rows:column:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTable.html#/s:5TPPDF8PDFTableC4rows7columnsAA0B7SectionCSnySiG_AHtcip":{"name":"subscript(rows:columns:)","abstract":"\u003cp\u003eAccessors to the cells in the section defined by given ranges \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC4rowsAA0B4RowsCvp\"\u003erows\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html#/s:5TPPDF8PDFTableC7columnsAA0B7ColumnsCvp\"\u003ecolumns\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTable"},"Classes/PDFTableContent/ContentType.html#/s:5TPPDF15PDFTableContentC0C4TypeO4noneyA2EmF":{"name":"none","abstract":"\u003cp\u003eUndefined content type\u003c/p\u003e","parent_name":"ContentType"},"Classes/PDFTableContent/ContentType.html#/s:5TPPDF15PDFTableContentC0C4TypeO6stringyA2EmF":{"name":"string","abstract":"\u003cp\u003eContent is a string value\u003c/p\u003e","parent_name":"ContentType"},"Classes/PDFTableContent/ContentType.html#/s:5TPPDF15PDFTableContentC0C4TypeO16attributedStringyA2EmF":{"name":"attributedString","abstract":"\u003cp\u003eContent is an attributed string\u003c/p\u003e","parent_name":"ContentType"},"Classes/PDFTableContent/ContentType.html#/s:5TPPDF15PDFTableContentC0C4TypeO5imageyA2EmF":{"name":"image","abstract":"\u003cp\u003eContent is an image\u003c/p\u003e","parent_name":"ContentType"},"Classes/PDFTableContent.html#/s:5TPPDF15PDFTableContentC7contentACypSg_tKcfc":{"name":"init(content:)","abstract":"\u003cp\u003eCreates a new table cell content wrapping the given `content\u003c/p\u003e","parent_name":"PDFTableContent"},"Classes/PDFTableContent.html#/s:5TPPDF15PDFTableContentC2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableContent"},"Classes/PDFTableContent.html#/s:5TPPDF15PDFTableContentC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFTableContent"},"Classes/PDFTableContent/ContentType.html":{"name":"ContentType","abstract":"\u003cp\u003eInternal enumeration type used to identify the type-erased \u003ccode\u003ePDFTableContent/content\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableContent"},"Classes/PDFTableContent.html#/s:5TPPDF15PDFTableContentC07asTableC0ACvp":{"name":"asTableContent","abstract":"\u003cp\u003eCasts this instance to a \u003ccode\u003ePDFTableContent\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableContent"},"Classes/PDFTableOfContent.html#/s:5TPPDF17PDFTableOfContentC6symbolAA17PDFListItemSymbolOvp":{"name":"symbol","abstract":"\u003cp\u003eSymbol used in the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFList.html\"\u003ePDFList\u003c/a\u003e\u003c/code\u003e after converting the table of contents.\u003c/p\u003e","parent_name":"PDFTableOfContent"},"Classes/PDFTableOfContent.html#/s:5TPPDF17PDFTableOfContentC6styles6symbolACSayAA12PDFTextStyleCG_AA17PDFListItemSymbolOtcfc":{"name":"init(styles:symbol:)","abstract":"\u003cp\u003eCreates a new Table Of Contents by selecting render objects matching the given \u003ccode\u003estyles\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFTableOfContent"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC5width14CoreFoundation7CGFloatVvp":{"name":"width","abstract":"\u003cp\u003eHolds the relative column width.\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC15backgroundColorSo7NSColorCSgvp":{"name":"backgroundColor","abstract":"\u003cp\u003eBackground color of this section\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC5widthAC14CoreFoundation7CGFloatV_tcfc":{"name":"init(width:)","abstract":"\u003cp\u003eCreates a new section column with the given relative width.\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_5spaceyAA0bC9ContainerO_14CoreFoundation7CGFloatVtF":{"name":"add(_:space:)","abstract":"\u003cp\u003eAdds a empty space in the given container, between the previous and the next element\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC16addLineSeparator_5styleyAA0bC9ContainerO_AA12PDFLineStyleVtF":{"name":"addLineSeparator(_:style:)","abstract":"\u003cp\u003eAdds a horizontal line spearator to the given container. The line starts at the left indentation and ends at the right indentation.","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_5imageyAA0bC9ContainerO_AA8PDFImageCtF":{"name":"add(_:image:)","abstract":"\u003cp\u003eAdds an image to the given container.\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_11imagesInRow7spacingyAA0bC9ContainerO_SayAA8PDFImageCG14CoreFoundation7CGFloatVtF":{"name":"add(_:imagesInRow:spacing:)","abstract":"\u003cp\u003eAdds an image row to the given container.","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_4text11lineSpacingyAA0bC9ContainerO_SS14CoreFoundation7CGFloatVtF":{"name":"add(_:text:lineSpacing:)","abstract":"\u003cp\u003eShorthand public function to add a String text to the given container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_10textObjectyAA0bC9ContainerO_AA13PDFSimpleTextCtF":{"name":"add(_:textObject:)","abstract":"\u003cp\u003eAdds an text object to the given container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_14attributedTextyAA0bC9ContainerO_So18NSAttributedStringCtF":{"name":"add(_:attributedText:)","abstract":"\u003cp\u003eShorthand public function to add a attributed String text to the given container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_20attributedTextObjectyAA0bC9ContainerO_AA013PDFAttributedF0CtF":{"name":"add(_:attributedTextObject:)","abstract":"\u003cp\u003eAdds an attributed text object to the given container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3set_4fontyAA0bC9ContainerO_So6NSFontCtF":{"name":"set(_:font:)","abstract":"\u003cp\u003eSet font in given container. This text color will be used when adding a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC9resetFontyyAA0bC9ContainerOF":{"name":"resetFont(_:)","abstract":"\u003cp\u003eReset text color in given container to default.\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3set_9textColoryAA0bC9ContainerO_So7NSColorCtF":{"name":"set(_:textColor:)","abstract":"\u003cp\u003eSet text color in given container. This text color will be used when adding a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC14resetTextColoryyAA0bC9ContainerOF":{"name":"resetTextColor(_:)","abstract":"\u003cp\u003eReset text color in given container to default.\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_5tableyAA0bC9ContainerO_AA8PDFTableCtF":{"name":"add(_:table:)","abstract":"\u003cp\u003eAdds a table object to the document in the defined container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_4listyAA0bC9ContainerO_AA7PDFListCtF":{"name":"add(_:list:)","abstract":"\u003cp\u003eAdds a list object to the document in the defined container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3set_6indent4leftyAA0bC9ContainerO_14CoreFoundation7CGFloatVSbtF":{"name":"set(_:indent:left:)","abstract":"\u003cp\u003eChange the indentation in a container, use the parameter \u003ccode\u003eleft\u003c/code\u003e to define from which side.\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3set_14absoluteOffsetyAA0bC9ContainerO_14CoreFoundation7CGFloatVtF":{"name":"set(_:absoluteOffset:)","abstract":"\u003cp\u003eChange the absolute top offset in a container\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSectionColumn.html#/s:5TPPDF16PDFSectionColumnC3add_5groupyAA0bC9ContainerO_AA8PDFGroupCtF":{"name":"add(_:group:)","abstract":"\u003cp\u003eAdds a group\u003c/p\u003e","parent_name":"PDFSectionColumn"},"Classes/PDFSection.html#/s:5TPPDF10PDFSectionC7columnsSayAA0B6ColumnCGvp":{"name":"columns","abstract":"\u003cp\u003eList of section columns.\u003c/p\u003e","parent_name":"PDFSection"},"Classes/PDFSection.html#/s:5TPPDF10PDFSectionC12columnMargin14CoreFoundation7CGFloatVvp":{"name":"columnMargin","abstract":"\u003cp\u003eHorizontal margin between columns in points.\u003c/p\u003e","parent_name":"PDFSection"},"Classes/PDFSection.html#/s:5TPPDF10PDFSectionC12columnWidthsACSay14CoreFoundation7CGFloatVG_tcfc":{"name":"init(columnWidths:)","abstract":"\u003cp\u003eCreates a new section with columns of the given relative widths.\u003c/p\u003e","parent_name":"PDFSection"},"Classes/PDFSection.html#/s:5TPPDF10PDFSectionCyACSayAA0B6ColumnCGcfc":{"name":"init(_:)","abstract":"\u003cp\u003eCreates a new section with the given columns.\u003c/p\u003e","parent_name":"PDFSection"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC8progressSo10NSProgressCvp":{"name":"progress","abstract":"\u003cp\u003eInstance of \u003ccode\u003eProgress\u003c/code\u003e used to track and control the multi-document generation\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC10progressesSaySo10NSProgressCGvp":{"name":"progresses","abstract":"\u003cp\u003eInstances of \u003ccode\u003eProgess\u003c/code\u003e used to track and control each individual document generation\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC5debugSbvp":{"name":"debug","abstract":"\u003cp\u003eFlag to enable or disable the debug overlay\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC9documentsACSayAA11PDFDocumentCG_tcfc":{"name":"init(documents:)","abstract":"\u003cp\u003eInitializes a new multi-document generator for generating the giving documents.\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC11generateURL8filename10Foundation0F0VSS_tKF":{"name":"generateURL(filename:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC8generate2toy10Foundation3URLV_tKF":{"name":"generate(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC8generate2to4infoy10Foundation3URLV_AA7PDFInfoCSgtKF":{"name":"generate(to:info:)","abstract":"\u003cp\u003eCreates a file at the given file URL, generates the PDF context data and writes the result idata nto the file.\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC12generateData10Foundation0F0VyKF":{"name":"generateData()","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFMultiDocumentGenerator.html#/s:5TPPDF25PDFMultiDocumentGeneratorC12generateData4info10Foundation0F0VAA7PDFInfoCSg_tKF":{"name":"generateData(info:)","abstract":"\u003cp\u003eGenerates and returns the PDF context data.\u003c/p\u003e","parent_name":"PDFMultiDocumentGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC10totalPagesSivp":{"name":"totalPages","abstract":"\u003cp\u003eTotal page count used for displaying in rendered PDF\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8progressSo10NSProgressCvp":{"name":"progress","abstract":"\u003cp\u003eRelative value tracking progress\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8delegateAA0B13ImageDelegate_pSgvp":{"name":"delegate","abstract":"\u003cp\u003eObject acts as a delegate during the generation process\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC5debugSbvp":{"name":"debug","abstract":"\u003cp\u003eEnables the debugging mode, which will render additional visual information on different elements.\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8documentAcA11PDFDocumentC_tcfc":{"name":"init(document:)","abstract":"\u003cp\u003eInitializes the generator with a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocument.html\"\u003ePDFDocument\u003c/a\u003e\u003c/code\u003e`.\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC11generateURL8filename10Foundation0D0VSS_tKF":{"name":"generateURL(filename:)","abstract":"\u003cp\u003eConvenience method for \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8generate2to4infoy10Foundation3URLV_AA7PDFInfoCSgtKF\"\u003egenerate(to:info:)\u003c/a\u003e\u003c/code\u003e without \u003ccode\u003einfo\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8generate2toy10Foundation3URLV_tKF":{"name":"generate(to:)","abstract":"\u003cp\u003eConvenience method for \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8generate2to4infoy10Foundation3URLV_AA7PDFInfoCSgtKF\"\u003egenerate(to:info:)\u003c/a\u003e\u003c/code\u003e without \u003ccode\u003einfo\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC8generate2to4infoy10Foundation3URLV_AA7PDFInfoCSgtKF":{"name":"generate(to:info:)","abstract":"\u003cp\u003eGenerates PDF data and writes it to a temporary file at the given URL \u003ccode\u003eto\u003c/code\u003e.\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC12generateData10Foundation0D0VyKF":{"name":"generateData()","abstract":"\u003cp\u003eConvenience method for \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC12generateData4info10Foundation0D0VAA7PDFInfoCSg_tKF\"\u003egenerateData(info:)\u003c/a\u003e\u003c/code\u003e without defining \u003ccode\u003einfo\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC12generateData4info10Foundation0D0VAA7PDFInfoCSg_tKF":{"name":"generateData(info:)","abstract":"\u003cp\u003eGenerates PDF data and returns it\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC18generatePDFContext7contextyAA0D0C_tKF":{"name":"generatePDFContext(context:)","abstract":"\u003cp\u003eGenerate PDF Context from PDFCommands\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFGenerator.html#/s:5TPPDF12PDFGeneratorC19createRenderObjectsSayAA12PDFContainerO_AA15PDFRenderObjectCtGyKF":{"name":"createRenderObjects()","abstract":"\u003cp\u003eCreates a list of container-object pairs which will be rendered.\u003c/p\u003e","parent_name":"PDFGenerator"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC5titleSSvp":{"name":"title","abstract":"\u003cp\u003eTitle of document\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC6authorSSvp":{"name":"author","abstract":"\u003cp\u003eAuthor of document\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC7subjectSSvp":{"name":"subject","abstract":"\u003cp\u003eSubject of document\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC8keywordsSaySSGvp":{"name":"keywords","abstract":"\u003cp\u003eKeywords of document\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC13ownerPasswordSSSgvp":{"name":"ownerPassword","abstract":"\u003cp\u003eThe owner password of the PDF document\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC12userPasswordSSSgvp":{"name":"userPassword","abstract":"\u003cp\u003eThe user password of the PDF document\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC14allowsPrintingSbvp":{"name":"allowsPrinting","abstract":"\u003cp\u003eWhether the document allows printing when unlocked with the user password.\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC13allowsCopyingSbvp":{"name":"allowsCopying","abstract":"\u003cp\u003eWhether the document allows copying when unlocked with the user password.\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC5title6author7subject8keywords13ownerPassword04userH014allowsPrinting0J7CopyingACSS_S2SSaySSGSSSgAMS2btcfc":{"name":"init(title:author:subject:keywords:ownerPassword:userPassword:allowsPrinting:allowsCopying:)","abstract":"\u003cp\u003eCreates a new object to manage the information metadata of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocument.html\"\u003ePDFDocument\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFInfo.html#/s:5TPPDF7PDFInfoC2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFInfo"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC6parentACSgvp":{"name":"parent","abstract":"\u003cp\u003eWeak reference to the parent list item, used to implement the list symbol \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbEnums/PDFListItemSymbol.html#/s:5TPPDF17PDFListItemSymbolO7inherityA2CmF\"\u003einherit\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC7contentSSSgvp":{"name":"content","abstract":"\u003cp\u003eText content of this list item, calculated and rendered using \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC8childrenSayACGSgvp":{"name":"children","abstract":"\u003cp\u003eList of \u003ccode\u003ePDFListItem\u003c/code\u003e nested in this instance\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC6symbolAA0bC6SymbolOvp":{"name":"symbol","abstract":"\u003cp\u003eSymbol used for this list item\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC6symbol7contentAcA0bC6SymbolO_SSSgtcfc":{"name":"init(symbol:content:)","abstract":"\u003cp\u003eCreates a new list item\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC8addItemsyACSayACGF":{"name":"addItems(_:)","abstract":"\u003cp\u003eAppends the given \u003ccode\u003eitems\u003c/code\u003e to the list of nested items\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC03addC0yA2CF":{"name":"addItem(_:)","abstract":"\u003cp\u003eAdds the given \u003ccode\u003eitem\u003c/code\u003e to the list of nested items\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC10setContentyACSSF":{"name":"setContent(_:)","abstract":"\u003cp\u003eSets the content of this list item\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC4copyACvp":{"name":"copy","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC16debugDescriptionSSvp":{"name":"debugDescription","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFListItem.html#/s:5TPPDF11PDFListItemC11descriptionSSvp":{"name":"description","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFListItem"},"Classes/PDFList.html#/s:5TPPDF7PDFListC5itemsSayAA0B4ItemCGvp":{"name":"items","abstract":"\u003cp\u003eItems in this list\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC17levelIndentationsSay14CoreFoundation7CGFloatV3pre_AG4pasttGvp":{"name":"levelIndentations","abstract":"\u003cp\u003eSpacing before and after the symbol for each nesting level\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC12indentationsACSay14CoreFoundation7CGFloatV3pre_AG4pasttG_tcfc":{"name":"init(indentations:)","abstract":"\u003cp\u003eCreates a new list\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC7addItemyAcA0bD0CF":{"name":"addItem(_:)","abstract":"\u003cp\u003eAdds the given \u003ccode\u003eitem\u003c/code\u003e to this list\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC8addItemsyACSayAA0B4ItemCGF":{"name":"addItems(_:)","abstract":"\u003cp\u003eAppends the given \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFList.html#/s:5TPPDF7PDFListC5itemsSayAA0B4ItemCGvp\"\u003eitems\u003c/a\u003e\u003c/code\u003e to this list\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC5countSivp":{"name":"count","abstract":"\u003cp\u003eCount of items in this list\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC7flattedSaySi5level_SS4textAA0B10ItemSymbolO6symboltGyF":{"name":"flatted()","abstract":"\u003cp\u003eConverts the added instances of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFListItem.html\"\u003ePDFListItem\u003c/a\u003e\u003c/code\u003e from a nested structure into an array of tuples\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC16debugDescriptionSSvp":{"name":"debugDescription","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFList.html#/s:5TPPDF7PDFListC11descriptionSSvp":{"name":"description","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFList"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC5imageSo7NSImageCvp":{"name":"image","abstract":"\u003cp\u003eThe actual image\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC7captionAA7PDFTextCSgvp":{"name":"caption","abstract":"\u003cp\u003eAn instance of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFText.html\"\u003ePDFText\u003c/a\u003e\u003c/code\u003e subclass.","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC4sizeSo6CGSizeVvp":{"name":"size","abstract":"\u003cp\u003eThe size of the image in the PDF document\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC7sizeFitAA0b4SizeD0Ovp":{"name":"sizeFit","abstract":"\u003cp\u003eDefines how the image will fit if not enough space is given\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC7quality14CoreFoundation7CGFloatVvp":{"name":"quality","abstract":"\u003cp\u003eJPEG quality of image.\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC7optionsAA0B7OptionsVvp":{"name":"options","abstract":"\u003cp\u003eOptions used for changing the image before drawing\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC12cornerRadius14CoreFoundation7CGFloatVSgvp":{"name":"cornerRadius","abstract":"\u003cp\u003eOptional corner radius, is used if the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFImage.html#/s:5TPPDF8PDFImageC7optionsAA0B7OptionsVvp\"\u003eoptions\u003c/a\u003e\u003c/code\u003e are set.\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC5image7caption4size0E3Fit7quality7options12cornerRadiusACSo7NSImageC_AA7PDFTextCSgSo6CGSizeVAA0b4SizeF0O14CoreFoundation7CGFloatVAA0B7OptionsVAVSgtcfc":{"name":"init(image:caption:size:sizeFit:quality:options:cornerRadius:)","abstract":"\u003cp\u003eInitializer to create a PDF image element.\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC4copyACvp":{"name":"copy","abstract":"\u003cp\u003eCreates a new \u003ccode\u003ePDFImage\u003c/code\u003e with the same properties\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC7isEqual2toSbAA17PDFDocumentObjectC_tF":{"name":"isEqual(to:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFImage.html#/s:5TPPDF8PDFImageC4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"\u003cp\u003enodoc\u003c/p\u003e","parent_name":"PDFImage"},"Classes/PDFMasterGroup.html#/s:5TPPDF14PDFMasterGroupC10isFullPageSbvp":{"name":"isFullPage","abstract":"\u003cp\u003eFlag if \u003ccode\u003etrue\u003c/code\u003e, the render frame of the group is the as large as the page allows, otherwise only as large as its content objects\u003c/p\u003e","parent_name":"PDFMasterGroup"},"Classes/PDFMasterGroup.html#/s:5TPPDF14PDFMasterGroupC10isFullPageACSb_tcfc":{"name":"init(isFullPage:)","abstract":"\u003cp\u003eCreates a new master group with default values\u003c/p\u003e","parent_name":"PDFMasterGroup"},"Classes/PDFMasterGroup.html#/s:5TPPDF14PDFMasterGroupC9setMargin4left5right3top6bottomy14CoreFoundation7CGFloatVSg_A3LtF":{"name":"setMargin(left:right:top:bottom:)","abstract":"\u003cp\u003eConfigures the space between the group and the edges of the page.\u003c/p\u003e","parent_name":"PDFMasterGroup"},"Classes/PDFMasterGroup.html#/s:5TPPDF14PDFMasterGroupC11resetMarginyyF":{"name":"resetMargin()","abstract":"\u003cp\u003eResets the margin of the group to the margin of the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocument.html#/s:5TPPDF11PDFDocumentC6layoutAA13PDFPageLayoutVvp\"\u003elayout\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFMasterGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC12allowsBreaksSbvp":{"name":"allowsBreaks","abstract":"\u003cp\u003eFlag to control if the group should allow page breaks inside, or if it should be moved to the next page in full.\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC15backgroundColorSo7NSColorCSgvp":{"name":"backgroundColor","abstract":"\u003cp\u003eFilling background color in the frame of the group\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC7outlineAA12PDFLineStyleVvp":{"name":"outline","abstract":"\u003cp\u003eOutline style used if \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFGroup.html#/s:5TPPDF8PDFGroupC15backgroundColorSo7NSColorCSgvp\"\u003ebackgroundColor\u003c/a\u003e\u003c/code\u003e is configured.\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC15backgroundImageAA8PDFImageCSgvp":{"name":"backgroundImage","abstract":"\u003cp\u003eFilling background image in the frame of the group\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC15backgroundShapeAA018PDFDynamicGeometryD0CSgvp":{"name":"backgroundShape","abstract":"\u003cp\u003eFilling background shape in the frame of the group\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC7paddingSo12NSEdgeInsetsVvp":{"name":"padding","abstract":"\u003cp\u003eInside padding of content to the edge\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC12allowsBreaks15backgroundColor0E5Image0E5Shape7outline7paddingACSb_So7NSColorCSgAA8PDFImageCSgAA018PDFDynamicGeometryH0CSgAA12PDFLineStyleVSo12NSEdgeInsetsVtcfc":{"name":"init(allowsBreaks:backgroundColor:backgroundImage:backgroundShape:outline:padding:)","abstract":"\u003cp\u003eCreates a new instance of \u003ccode\u003ePDFGroup\u003c/code\u003e with default configuration\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_5spaceyAA0B9ContainerO_14CoreFoundation7CGFloatVtF":{"name":"add(_:space:)","abstract":"\u003cp\u003eAdds a empty space in the given container, between the previous and the next element\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC16addLineSeparator_5styleyAA0B9ContainerO_AA12PDFLineStyleVtF":{"name":"addLineSeparator(_:style:)","abstract":"\u003cp\u003eAdds a horizontal line spearator to the given container. The line starts at the left indentation and ends at the right indentation.","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_5imageyAA0B9ContainerO_AA8PDFImageCtF":{"name":"add(_:image:)","abstract":"\u003cp\u003eAdds an image to the given container.\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_11imagesInRow7spacingyAA0B9ContainerO_SayAA8PDFImageCG14CoreFoundation7CGFloatVtF":{"name":"add(_:imagesInRow:spacing:)","abstract":"\u003cp\u003eAdds an image row to the given container.","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_4text11lineSpacingyAA0B9ContainerO_SS14CoreFoundation7CGFloatVtF":{"name":"add(_:text:lineSpacing:)","abstract":"\u003cp\u003eShorthand function to add a String text to the given container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_10textObjectyAA0B9ContainerO_AA13PDFSimpleTextCtF":{"name":"add(_:textObject:)","abstract":"\u003cp\u003eAdds an text object to the given container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_14attributedTextyAA0B9ContainerO_So18NSAttributedStringCtF":{"name":"add(_:attributedText:)","abstract":"\u003cp\u003eShorthand function to add a attributed String text to the given container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_20attributedTextObjectyAA0B9ContainerO_AA013PDFAttributedE0CtF":{"name":"add(_:attributedTextObject:)","abstract":"\u003cp\u003eAdds an attributed text object to the given container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3set_4fontyAA0B9ContainerO_So6NSFontCtF":{"name":"set(_:font:)","abstract":"\u003cp\u003eSet font in given container. This text color will be used when adding a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC9resetFontyyAA0B9ContainerOF":{"name":"resetFont(_:)","abstract":"\u003cp\u003eReset text color in given container to default.\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3set_9textColoryAA0B9ContainerO_So7NSColorCtF":{"name":"set(_:textColor:)","abstract":"\u003cp\u003eSet text color in given container. This text color will be used when adding a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC14resetTextColoryyAA0B9ContainerOF":{"name":"resetTextColor(_:)","abstract":"\u003cp\u003eReset text color in given container to default.\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_5tableyAA0B9ContainerO_AA8PDFTableCtF":{"name":"add(_:table:)","abstract":"\u003cp\u003eAdds a table object to the document in the defined container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3add_4listyAA0B9ContainerO_AA7PDFListCtF":{"name":"add(_:list:)","abstract":"\u003cp\u003eAdds a list object to the document in the defined container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3set_11indentation4leftyAA0B9ContainerO_14CoreFoundation7CGFloatVSbtF":{"name":"set(_:indentation:left:)","abstract":"\u003cp\u003eChange the indentation in a container, use the parameter \u003ccode\u003eleft\u003c/code\u003e to define from which side.\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFGroup.html#/s:5TPPDF8PDFGroupC3set_14absoluteOffsetyAA0B9ContainerO_14CoreFoundation7CGFloatVtF":{"name":"set(_:absoluteOffset:)","abstract":"\u003cp\u003eChange the absolute top offset in a container\u003c/p\u003e","parent_name":"PDFGroup"},"Classes/PDFDynamicGeometryShape.html#/s:5TPPDF23PDFDynamicGeometryShapeC4pathAA13PDFBezierPathCvp":{"name":"path","abstract":"\u003cp\u003ePath of the geometry shape\u003c/p\u003e","parent_name":"PDFDynamicGeometryShape"},"Classes/PDFDynamicGeometryShape.html#/s:5TPPDF23PDFDynamicGeometryShapeC9fillColorSo7NSColorCvp":{"name":"fillColor","abstract":"\u003cp\u003eColor used to fill the shape\u003c/p\u003e","parent_name":"PDFDynamicGeometryShape"},"Classes/PDFDynamicGeometryShape.html#/s:5TPPDF23PDFDynamicGeometryShapeC6strokeAA12PDFLineStyleVvp":{"name":"stroke","abstract":"\u003cp\u003eLine style used to stroke the shape\u003c/p\u003e","parent_name":"PDFDynamicGeometryShape"},"Classes/PDFDynamicGeometryShape.html#/s:5TPPDF23PDFDynamicGeometryShapeC4path9fillColor6strokeAcA13PDFBezierPathC_So7NSColorCAA12PDFLineStyleVtcfc":{"name":"init(path:fillColor:stroke:)","abstract":"\u003cp\u003eCreates a new dynamic geometry shape\u003c/p\u003e","parent_name":"PDFDynamicGeometryShape"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO7topLeftyA2EmF":{"name":"topLeft","abstract":"\u003cp\u003eKeep distance to top and left edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO9topCenteryA2EmF":{"name":"topCenter","abstract":"\u003cp\u003eKeep distance to top and horizontal center edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO8topRightyA2EmF":{"name":"topRight","abstract":"\u003cp\u003eKeep distance to top and right edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO10middleLeftyA2EmF":{"name":"middleLeft","abstract":"\u003cp\u003eKeep distance to vertical middle and left edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO12middleCenteryA2EmF":{"name":"middleCenter","abstract":"\u003cp\u003eKeep distance to center of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO11middleRightyA2EmF":{"name":"middleRight","abstract":"\u003cp\u003eKeep distance to vertical middle and right edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO10bottomLeftyA2EmF":{"name":"bottomLeft","abstract":"\u003cp\u003eKeep distance to bottom and left edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO12bottomCenteryA2EmF":{"name":"bottomCenter","abstract":"\u003cp\u003eKeep distance to bottom edge and horizontal of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html#/s:5TPPDF19PDFBezierPathVertexC6AnchorO11bottomRightyA2EmF":{"name":"bottomRight","abstract":"\u003cp\u003eKeep distance to bottom and right edges of frame\u003c/p\u003e","parent_name":"Anchor"},"Classes/PDFBezierPathVertex/Anchor.html":{"name":"Anchor","abstract":"\u003cp\u003eAnchor used to define the handling of scaling a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFBezierPath.html\"\u003ePDFBezierPath\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFBezierPathVertex"},"Classes/PDFBezierPathVertex.html#/s:5TPPDF19PDFBezierPathVertexC8positionSo7CGPointVvp":{"name":"position","abstract":"\u003cp\u003ePosition of the vertex, relative to the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFBezierPath.html\"\u003ePDFBezierPath\u003c/a\u003e\u003c/code\u003e using this vertex.\u003c/p\u003e","parent_name":"PDFBezierPathVertex"},"Classes/PDFBezierPathVertex.html#/s:5TPPDF19PDFBezierPathVertexC6anchorAC6AnchorOvp":{"name":"anchor","abstract":"\u003cp\u003eAnchor used modify the position during scaling\u003c/p\u003e","parent_name":"PDFBezierPathVertex"},"Classes/PDFBezierPathVertex.html#/s:5TPPDF19PDFBezierPathVertexC8position6anchorACSo7CGPointV_AC6AnchorOtcfc":{"name":"init(position:anchor:)","abstract":"\u003cp\u003eCreates a new instance of a bezier path to be used with \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDynamicGeometryShape.html\"\u003ePDFDynamicGeometryShape\u003c/a\u003e\u003c/code\u003e to render complex but dynamic shapes\u003c/p\u003e","parent_name":"PDFBezierPathVertex"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC3refACSo6CGRectV_tcfc":{"name":"init(ref:)","abstract":"\u003cp\u003eCreates a new bezier path with the given reference frame.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC4move2toyAA0bC6VertexC_tF":{"name":"move(to:)","abstract":"\u003cp\u003eMoves the path’s current point to the specified location.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC7addLine2toyAA0bC6VertexC_tF":{"name":"addLine(to:)","abstract":"\u003cp\u003eAppends a straight line to the path.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC8addCurve2to13controlPoint10G6Point2yAA0bC6VertexC_A2ItF":{"name":"addCurve(to:controlPoint1:controlPoint2:)","abstract":"\u003cp\u003eAppends a cubic Bézier curve to the path.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC12addQuadCurve2to12controlPointyAA0bC6VertexC_AHtF":{"name":"addQuadCurve(to:controlPoint:)","abstract":"\u003cp\u003eAppends a quadratic Bézier curve to the path.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC6addArc10withCenter6radius10startAngle03endJ09clockwiseyAA0bC6VertexC_14CoreFoundation7CGFloatVA2NSbtF":{"name":"addArc(withCenter:radius:startAngle:endAngle:clockwise:)","abstract":"\u003cp\u003eAppends an arc to the path.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC5closeyyF":{"name":"close()","abstract":"\u003cp\u003eCloses the most recent subpath.\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC06bezierC02inSo08NSBezierC0CSo6CGRectV_tF":{"name":"bezierPath(in:)","abstract":"\u003cp\u003eConverts this path into an \u003ccode\u003eUIBezierPath\u003c/code\u003e / \u003ccode\u003eNSBezierPath\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFBezierPath.html#/s:5TPPDF13PDFBezierPathC4copy4withyp10ObjectiveC6NSZoneVSg_tF":{"name":"copy(with:)","abstract":"\u003cp\u003eCreates a copy of this path with references to the same vertices\u003c/p\u003e","parent_name":"PDFBezierPath"},"Classes/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC3url10Foundation3URLVvp":{"name":"url","abstract":"\u003cp\u003eFile URL to an external document\u003c/p\u003e","parent_name":"PDFExternalDocument"},"Classes/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC5pagesSaySiGvp":{"name":"pages","abstract":"\u003cp\u003eArray of page indicies which should be included from external documents\u003c/p\u003e","parent_name":"PDFExternalDocument"},"Classes/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC3url5pagesAC10Foundation3URLV_Sidtcfc":{"name":"init(url:pages:)","abstract":"\u003cp\u003eCreates a new instance using the given \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC3url10Foundation3URLVvp\"\u003eurl\u003c/a\u003e\u003c/code\u003e to locate and the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC5pagesSaySiGvp\"\u003epages\u003c/a\u003e\u003c/code\u003e parameter to select the pages.\u003c/p\u003e","parent_name":"PDFExternalDocument"},"Classes/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC3url5pagesAC10Foundation3URLV_SaySiGtcfc":{"name":"init(url:pages:)","abstract":"\u003cp\u003eCreates a new instance using the given \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC3url10Foundation3URLVvp\"\u003eurl\u003c/a\u003e\u003c/code\u003e to locate and the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFExternalDocument.html#/s:5TPPDF19PDFExternalDocumentC5pagesSaySiGvp\"\u003epages\u003c/a\u003e\u003c/code\u003e parameter to select the pages.\u003c/p\u003e","parent_name":"PDFExternalDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC6layoutAA13PDFPageLayoutVvp":{"name":"layout","abstract":"\u003cp\u003eHolds all layout information\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC4infoAA7PDFInfoCvp":{"name":"info","abstract":"\u003cp\u003eHolds all document information\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC10paginationAA13PDFPaginationVvp":{"name":"pagination","abstract":"\u003cp\u003eHolds all pagination information\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC6stylesSayAA12PDFTextStyleCGvp":{"name":"styles","abstract":"\u003cp\u003eHolds strong references to all text styles\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC10backgroundAA0B10BackgroundVvp":{"name":"background","abstract":"\u003cp\u003eConfiguration for document/paper background\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC6layoutAcA13PDFPageLayoutV_tcfc":{"name":"init(layout:)","abstract":"\u003cp\u003eCreates a new document with the given \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocument.html#/s:5TPPDF11PDFDocumentC6layoutAA13PDFPageLayoutVvp\"\u003elayout\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC6formatAcA13PDFPageFormatO_tcfc":{"name":"init(format:)","abstract":"\u003cp\u003eCreates a new document with a predefined \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbEnums/PDFPageFormat.html\"\u003ePDFPageFormat\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_5spaceyAA12PDFContainerO_14CoreFoundation7CGFloatVtF":{"name":"add(_:space:)","abstract":"\u003cp\u003eAdds a empty space in the given container, between the previous and the next element\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC16addLineSeparator_5styleyAA12PDFContainerO_AA12PDFLineStyleVtF":{"name":"addLineSeparator(_:style:)","abstract":"\u003cp\u003eAdds a horizontal line spearator to the given container. The line starts at the left indentation and ends at the right indentation.","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_5imageyAA12PDFContainerO_AA8PDFImageCtF":{"name":"add(_:image:)","abstract":"\u003cp\u003eAdds an image to the given container.\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_11imagesInRow7spacingyAA12PDFContainerO_SayAA8PDFImageCG14CoreFoundation7CGFloatVtF":{"name":"add(_:imagesInRow:spacing:)","abstract":"\u003cp\u003eAdds an image row to the given container.","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_4text11lineSpacingyAA12PDFContainerO_SS14CoreFoundation7CGFloatVtF":{"name":"add(_:text:lineSpacing:)","abstract":"\u003cp\u003eShorthand public function to add a String text to the given container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_10textObjectyAA12PDFContainerO_AA13PDFSimpleTextCtF":{"name":"add(_:textObject:)","abstract":"\u003cp\u003eAdds an text object to the given container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_14attributedTextyAA12PDFContainerO_So18NSAttributedStringCtF":{"name":"add(_:attributedText:)","abstract":"\u003cp\u003eShorthand public function to add a attributed String text to the given container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_20attributedTextObjectyAA12PDFContainerO_AA013PDFAttributedE0CtF":{"name":"add(_:attributedTextObject:)","abstract":"\u003cp\u003eAdds an attributed text object to the given container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3set_4fontyAA12PDFContainerO_So6NSFontCtF":{"name":"set(_:font:)","abstract":"\u003cp\u003eSet font in given container. This text color will be used when adding a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC9resetFontyyAA12PDFContainerOF":{"name":"resetFont(_:)","abstract":"\u003cp\u003eReset text color in given container to default.\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3set_9textColoryAA12PDFContainerO_So7NSColorCtF":{"name":"set(_:textColor:)","abstract":"\u003cp\u003eSet text color in given container. This text color will be used when adding a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSimpleText.html\"\u003ePDFSimpleText\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC14resetTextColoryyAA12PDFContainerOF":{"name":"resetTextColor(_:)","abstract":"\u003cp\u003eReset text color in given container to default.\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_5tableyAA12PDFContainerO_AA8PDFTableCtF":{"name":"add(_:table:)","abstract":"\u003cp\u003eAdds a table object to the document in the defined container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_4listyAA12PDFContainerO_AA7PDFListCtF":{"name":"add(_:list:)","abstract":"\u003cp\u003eAdds a list object to the document in the defined container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add7sectionyAA10PDFSectionC_tF":{"name":"add(section:)","abstract":"\u003cp\u003eAdds a section object to the document\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3set_6indent4leftyAA12PDFContainerO_14CoreFoundation7CGFloatVSbtF":{"name":"set(_:indent:left:)","abstract":"\u003cp\u003eChange the indentation in a container, use the parameter \u003ccode\u003eleft\u003c/code\u003e to define from which side.\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3set_14absoluteOffsetyAA12PDFContainerO_14CoreFoundation7CGFloatVtF":{"name":"set(_:absoluteOffset:)","abstract":"\u003cp\u003eChange the absolute top offset in a container\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC13createNewPageyyF":{"name":"createNewPage()","abstract":"\u003cp\u003eCreates a new page by adding a page break object\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add5styleAA12PDFTextStyleCAG_tF":{"name":"add(style:)","abstract":"\u003cp\u003eAdds a new style to the list of known styles\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add14tableOfContentyAA08PDFTableeF0C_tF":{"name":"add(tableOfContent:)","abstract":"\u003cp\u003eAdds a table of content\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC6enable_7columns6widths8spacingsyAA12PDFContainerO_SiSay14CoreFoundation7CGFloatVGAMtF":{"name":"enable(_:columns:widths:spacings:)","abstract":"\u003cp\u003eStarts a column section with automatic wrapping\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC14disableColumns_12addPageBreakyAA12PDFContainerO_SbtF":{"name":"disableColumns(_:addPageBreak:)","abstract":"\u003cp\u003eFinishes a column section\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add_5groupyAA12PDFContainerO_AA8PDFGroupCtF":{"name":"add(_:group:)","abstract":"\u003cp\u003eAdds a group\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3set6masteryAA14PDFMasterGroupC_tF":{"name":"set(master:)","abstract":"\u003cp\u003eReplaces current master group with the given one.\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html#/s:5TPPDF11PDFDocumentC3add16externalDocumentyAA011PDFExternalE0C_tF":{"name":"add(externalDocument:)","abstract":"\u003cp\u003eAdds an external document to the document\u003c/p\u003e","parent_name":"PDFDocument"},"Classes/PDFDocument.html":{"name":"PDFDocument","abstract":"\u003cp\u003eThis object holds the information about the document and also all PDF objects.\u003c/p\u003e"},"Classes/PDFExternalDocument.html":{"name":"PDFExternalDocument","abstract":"\u003cp\u003eDocument object used for including an external PDF document\u003c/p\u003e"},"Classes/PDFBezierPath.html":{"name":"PDFBezierPath","abstract":"\u003cp\u003eStructure to create a bezier path, similar to \u003ccode\u003eUIKit.UIBezierPath\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFBezierPathVertex.html":{"name":"PDFBezierPathVertex","abstract":"\u003cp\u003eA vertex in a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFBezierPath.html\"\u003ePDFBezierPath\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFDynamicGeometryShape.html":{"name":"PDFDynamicGeometryShape","abstract":"\u003cp\u003eRenders an arbitrary path into the graphics context\u003c/p\u003e"},"Classes/PDFGroup.html":{"name":"PDFGroup","abstract":"\u003cp\u003eObject used to dynamically add multiple elements to a document, but calculate them as one.\u003c/p\u003e"},"Classes/PDFMasterGroup.html":{"name":"PDFMasterGroup","abstract":"\u003cp\u003eSubclass of \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFGroup.html\"\u003ePDFGroup\u003c/a\u003e\u003c/code\u003e with additional properties to configure page background content\u003c/p\u003e"},"Classes/PDFImage.html":{"name":"PDFImage","abstract":"\u003cp\u003eImage element for the PDF document.\u003c/p\u003e"},"Classes/PDFList.html":{"name":"PDFList","abstract":"\u003cp\u003eCreates a new bullet list or numbered list with multiple, indented levels.\u003c/p\u003e"},"Classes/PDFListItem.html":{"name":"PDFListItem","abstract":"\u003cp\u003eAn item used in a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFList.html\"\u003ePDFList\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFInfo.html":{"name":"PDFInfo","abstract":"\u003cp\u003eInformation saved in PDF file metadata\u003c/p\u003e"},"Classes/PDFGenerator.html":{"name":"PDFGenerator","abstract":"\u003cp\u003eFactory to convert a single \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocument.html\"\u003ePDFDocument\u003c/a\u003e\u003c/code\u003e into a PDF file\u003c/p\u003e"},"Classes/PDFMultiDocumentGenerator.html":{"name":"PDFMultiDocumentGenerator","abstract":"\u003cp\u003eGenerates a PDF from multiple \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFDocument.html\"\u003ePDFDocument\u003c/a\u003e\u003c/code\u003e by appending them.\u003c/p\u003e"},"Classes/PDFSection.html":{"name":"PDFSection","abstract":"\u003cp\u003eA multi-column section is a nested container.\u003c/p\u003e"},"Classes/PDFSectionColumn.html":{"name":"PDFSectionColumn","abstract":"\u003cp\u003eA configurable column of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFSection.html\"\u003ePDFSection\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFTableOfContent.html":{"name":"PDFTableOfContent","abstract":"\u003cp\u003eCreates a table of content for the given list of render objects.\u003c/p\u003e"},"Classes/PDFTableContent.html":{"name":"PDFTableContent","abstract":"\u003cp\u003eStructure used to manage cell content\u003c/p\u003e"},"Classes/PDFTable.html":{"name":"PDFTable","abstract":"\u003cp\u003eA table is a two dimensional list.\u003c/p\u003e"},"Classes/PDFTableCell.html":{"name":"PDFTableCell","abstract":"\u003cp\u003eAn instance of a table cell\u003c/p\u003e"},"Classes/PDFTableColumn.html":{"name":"PDFTableColumn","abstract":"\u003cp\u003eReference to a single column of cells in a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFTableColumns.html":{"name":"PDFTableColumns","abstract":"\u003cp\u003eReferences to multiple columns (\u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableColumn.html\"\u003ePDFTableColumn\u003c/a\u003e\u003c/code\u003e) of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFTableRow.html":{"name":"PDFTableRow","abstract":"\u003cp\u003eReference to a single row of cells in a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFTableRows.html":{"name":"PDFTableRows","abstract":"\u003cp\u003eReferences to multiple rows (\u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTableRow.html\"\u003ePDFTableRow\u003c/a\u003e\u003c/code\u003e) of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFTableSection.html":{"name":"PDFTableSection","abstract":"\u003cp\u003eReference to a range of cells in a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFTableStyle.html":{"name":"PDFTableStyle","abstract":"\u003cp\u003eStructure used to manage the styling of a \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/PDFTable.html\"\u003ePDFTable\u003c/a\u003e\u003c/code\u003e\u003c/p\u003e"},"Classes/PDFAttributedText.html":{"name":"PDFAttributedText","abstract":"\u003cp\u003eAdvanced text objects using an attributed string\u003ccode\u003eFoundation.NSAttributedString\u003c/code\u003e as the internal structure.\u003c/p\u003e"},"Classes/PDFSimpleText.html":{"name":"PDFSimpleText","abstract":"\u003cp\u003ePlain text object with basic styling.\u003c/p\u003e"},"Classes/PDFText.html":{"name":"PDFText","abstract":"\u003cp\u003eAbstract class all text objects should implement\u003c/p\u003e"},"Classes/PDFTextStyle.html":{"name":"PDFTextStyle","abstract":"\u003cp\u003eStructure to combine multiple aspects of text styling.\u003c/p\u003e"},"Classes/PDFDocumentObject.html":{"name":"PDFDocumentObject","abstract":"\u003cp\u003eAll document objects are instances of \u003ccode\u003ePDFDocumentObject\u003c/code\u003e to share common properties, e.g. \u003ccode\u003eattributes\u003c/code\u003e.\u003c/p\u003e"},"Classes.html#/s:5TPPDF15PDFRenderObjectC":{"name":"PDFRenderObject","abstract":"\u003cp\u003eAll renderable objects subclass from this object.\u003c/p\u003e"},"Classes.html#/s:5TPPDF10PDFContextC":{"name":"PDFContext","abstract":"\u003cp\u003eEncapsulates the graphics context\u003c/p\u003e"},"Classes.html":{"name":"Classes","abstract":"\u003cp\u003eThe following classes are available globally.\u003c/p\u003e"},"Enums.html":{"name":"Enumerations","abstract":"\u003cp\u003eThe following enumerations are available globally.\u003c/p\u003e"},"Extensions.html":{"name":"Extensions","abstract":"\u003cp\u003eThe following extensions are available globally.\u003c/p\u003e"},"Protocols.html":{"name":"Protocols","abstract":"\u003cp\u003eThe following protocols are available globally.\u003c/p\u003e"},"Structs.html":{"name":"Structures","abstract":"\u003cp\u003eThe following structures are available globally.\u003c/p\u003e"},"Typealiases.html":{"name":"Type Aliases","abstract":"\u003cp\u003eThe following type aliases are available globally.\u003c/p\u003e"}} \ No newline at end of file diff --git a/docs/undocumented.json b/docs/undocumented.json deleted file mode 100644 index 6ac823e6..00000000 --- a/docs/undocumented.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "warnings": [ - { - "file": "/Volumes/Developer/techprimate/TPPDF/Source/API/Utils/CrossPlattformGraphics.swift", - "line": 63, - "symbol": "NSEdgeInsets.zero", - "symbol_kind": "source.lang.swift.decl.var.static", - "warning": "undocumented" - }, - { - "file": "/Volumes/Developer/techprimate/TPPDF/Source/API/Utils/CrossPlattformGraphics.swift", - "line": 74, - "symbol": "RectCorner", - "symbol_kind": "source.lang.swift.decl.struct", - "warning": "undocumented" - }, - { - "file": "/Volumes/Developer/techprimate/TPPDF/Source/API/Utils/CrossPlattformGraphics.swift", - "line": 75, - "symbol": "RectCorner.topLeft", - "symbol_kind": "source.lang.swift.decl.var.static", - "warning": "undocumented" - }, - { - "file": "/Volumes/Developer/techprimate/TPPDF/Source/API/Utils/CrossPlattformGraphics.swift", - "line": 76, - "symbol": "RectCorner.topRight", - "symbol_kind": "source.lang.swift.decl.var.static", - "warning": "undocumented" - }, - { - "file": "/Volumes/Developer/techprimate/TPPDF/Source/API/Utils/CrossPlattformGraphics.swift", - "line": 77, - "symbol": "RectCorner.bottomLeft", - "symbol_kind": "source.lang.swift.decl.var.static", - "warning": "undocumented" - }, - { - "file": "/Volumes/Developer/techprimate/TPPDF/Source/API/Utils/CrossPlattformGraphics.swift", - "line": 78, - "symbol": "RectCorner.bottomRight", - "symbol_kind": "source.lang.swift.decl.var.static", - "warning": "undocumented" - }, - { - "file": "/Volumes/Developer/techprimate/TPPDF/Source/API/Utils/CrossPlattformGraphics.swift", - "line": 79, - "symbol": "RectCorner.allCorners", - "symbol_kind": "source.lang.swift.decl.var.static", - "warning": "undocumented" - } - ], - "source_directory": "/Volumes/Developer/techprimate/TPPDF" -} \ No newline at end of file