-
Undocumented
Declaration
Swift
public var rowHeaderCount: Int
-
Undocumented
Declaration
Swift
public var columnHeaderCount: Int
-
Undocumented
Declaration
Swift
public var footerCount: Int
-
Undocumented
Declaration
Swift
public var outline: PDFLineStyle
-
The cell style of row headers. Horizontal border lines are ignored, as these are defined in
Declaration
Swift
public var rowHeaderStyle: PDFTableCellStyle
-
Undocumented
Declaration
Swift
public var columnHeaderStyle: PDFTableCellStyle
-
Undocumented
Declaration
Swift
public var footerStyle: PDFTableCellStyle
-
Undocumented
Declaration
Swift
public var contentStyle: PDFTableCellStyle
-
Undocumented
Declaration
Swift
public var alternatingContentStyle: PDFTableCellStyle?
-
init(rowHeaderCount:columnHeaderCount:footerCount:outline:rowHeaderStyle:columnHeaderStyle:footerStyle:contentStyle:alternatingContentStyle:)
Create a table style. All parameters are optional
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, defaults to
1
columnHeaderCount
Number of left columns with header style, defaults to
1
footerCount
Number of footer rows with header style, defaults to
1
outline
Line style of the outer borderlines, defaults to
TablePDFLineStyle.init
showHorizontalGridLines
Render horizontal grid lines, defaults to
true
showVerticalGridLines
Render vertical grid lines, defaults to
true
showRowHeaderGridLines
Render row header grid lines, defaults to
true
showColumnHeaderGridLines
Render column header grid lines, defaults to
true
showFooterGridLines
Render footer grid lines, defaults to
true
rowHeaderStyle
The cell style of row header cells, defaults to
TablePDFLineStyle.init
columnHeaderStyle
The cell style of row header cells, defaults to
TablePDFLineStyle.init
footerStyle
The cell style of row header cells, defaults to
TablePDFLineStyle.init
-
Creates a identical copy of this style
Declaration
Swift
public func copy() -> PDFTableStyle
-
Declaration
Swift
public static func == (lhs: PDFTableStyle, rhs: PDFTableStyle) -> Bool