PDFBuild
enum PDFBuild
A collection of bits and pieces to create a PDF
-
A4 Portrait Page
Declaration
Swift
static let a4portraitPage = CGRect(x: 0, y: 0, width: 595, height: 842)
-
A4 Landscape Page
Declaration
Swift
static let a4landscapePage = CGRect(x: 0, y: 0, width: 842, height: 595)
-
The default padding for a page
Declaration
Swift
static let pagePadding: CGFloat = 36
-
Declaration
Swift
class Background: PDFElement
-
Declaration
Swift
class Clip: PDFElement
-
Shape styles that can be used to clip an
See morePDFElement
with aClip
Declaration
Swift
enum ShapeStyle
-
A PDF comment element
See moreDeclaration
Swift
class Comment: PDFElement
-
A PDF content item element
This element is not drawing anything but stores item information in the
PageCounter
class for creating a TOC- Store the first page number of the item
Declaration
Swift
class ContentItem: PDFElement
-
A PDF divider element
See moreDeclaration
Swift
class Divider: PDFElement
-
Directions that can be used to align a
See morePDFElement
Declaration
Swift
enum Direction
-
A PDF image element
See moreDeclaration
Swift
class Image: PDFElement
-
A PDF label element
See moreDeclaration
Swift
class Label: PDFElement
-
A PDF padding element
See moreDeclaration
Swift
class Padding: PDFElement
-
A PDF page background color element
See moreDeclaration
Swift
class PageBackgroundColor: PDFElement
-
Declaration
Swift
class PageBreak: PDFElement
-
Declaration
Swift
class PageCounter: PDFElement
-
A PDF page header and footer element
See moreDeclaration
Swift
class PageHeaderFooter: PDFElement
-
A PDF plain section element
See moreDeclaration
Swift
class PlainSection: PDFElement
-
A PDF section element
See moreDeclaration
Swift
class Section: PDFElement
-
Declaration
Swift
enum SectionColumnWidth
-
A PDF spacer element
See moreDeclaration
Swift
class Spacer: PDFElement
-
A PDF TOC item element
See moreDeclaration
Swift
class TOCItem: PDFElement
-
A PDF text element
See moreDeclaration
Swift
class Text: PDFElement
-
A PDF textblock section element
See moreDeclaration
Swift
class TextblockSection: PDFElement
-
Class to build a PDF with
See morePDFElement
itemsDeclaration
Swift
class Builder
-
Information about the PDF document
See moreDeclaration
Swift
struct DocumentInfo
-
Information about an item for the Table of Contents
See moreDeclaration
Swift
struct TOCInfo
-
Get the optional alignment from directive arguments
Declaration
Swift
static func getAlign(_ arguments: ChordProParser.Arguments?) -> NSTextAlignment
Parameters
arguments
The
Arguments
Return Value
The alignment,
.left
if not set
-
Declaration
Swift
class Chords: PDFElement
-
A PDF grid section element
See moreDeclaration
Swift
class GridSection: PDFElement
-
A PDF lyrics section element
See moreDeclaration
Swift
class LyricsSection: PDFElement
-
A PDF song details element
See moreDeclaration
Swift
class SongDetails: PDFElement
-
A PDF strum section element
See moreDeclaration
Swift
class StrumSection: PDFElement
-
A PDF tab section element
See moreDeclaration
Swift
class TabSection: PDFElement