HPS.Publish.TableKit
- class HPS.Publish.TableKit : public HPS.SprocketKit
The TableKit class is a user space object. It acts as the container for all data that can be used to specify a table for a Publish
PDF.
The TableToPDF
Publish add-on must be installed in order to use this class.Warning
Public Functions
- override bool Empty ()
Indicates whether this TableKit has any values set on it.
- Return
true if no values are set on this TableKit, false otherwise.
- bool Equals (HPS.Publish.TableKit in_kit)
Check if the source TableKit is equivalent to this TableKit.
- override HPS.Type ObjectType ()
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Return
The declared type of the object in question, which may differ from the true, underlying type.
- void Set (HPS.Publish.TableKit in_kit)
Copies the source TableKit into this TableKit.
- Param in_kit
The source TableKit to copy.
- HPS.Publish.TableKit SetButton (int in_row, int in_column, HPS.Publish.ButtonKit in_button)
Adds a button to this table at the specified row and column. This corresponds to the value that will be passed to A3DPDFPageInsertButtonInTable.
- Param in_row
Row in which to add the button.
- Param in_column
Column in which to add the button.
- Param in_button
Button to add at the specified row and column in the table.
- Return
A reference to this TableKit.
- HPS.Publish.TableKit SetHTML (string in_source)
Sets the HTML table source or file.
- HPS.Publish.TableKit SetHTML (string in_source, HPS.Publish.Source.Type in_type)
Sets the HTML table source or file.
- HPS.Publish.TableKit SetHTMLStyle (string in_source)
Sets the HTML table style source or file.
- HPS.Publish.TableKit SetHTMLStyle (string in_source, HPS.Publish.Source.Type in_type)
Sets the HTML table style source or file.
- HPS.Publish.TableKit SetLink (int in_row, int in_column, HPS.Publish.LinkKit in_link)
Adds a link to this table at the specified row and column. This corresponds to the value that will be passed to A3DPDFPageInsertLinkInTable.
- Param in_row
Row in which to add the link.
- Param in_column
Column in which to add the link.
- Param in_link
Link to add at the specified row and column in the table.
- Return
A reference to this TableKit.
- HPS.Publish.TableKit SetText (int in_row, int in_column, HPS.Publish.TextKit in_text)
Adds text to this table at the specified row and column. This corresponds to the value that will be passed to A3DPDFPageInsertTextInTable.
- HPS.Publish.TableKit SetTextField (int in_row, int in_column, HPS.Publish.TextFieldKit in_text_field)
Adds a text field to this table at the specified row and column. This corresponds to the value that will be passed to A3DPDFPageInsertTextFieldInTable.
- void Show (out HPS.Publish.TableKit out_kit)
- bool ShowButton (int in_row, int in_column, out HPS.Publish.ButtonKit out_button)
Shows the button at the specified row and column.
- Param in_row
Row in which to show the button.
- Param in_column
Column in which to show the button.
- Param out_button
The button at the specified row and column in the table.
- Return
true if a button was added at the specified row and column, false otherwise.
- bool ShowHTML (out string out_source, out HPS.Publish.Source.Type out_type)
Shows the HTML table setting.
- bool ShowHTMLStyle (out string out_source, out HPS.Publish.Source.Type out_type)
Shows the HTML table style setting.
- bool ShowLink (int in_row, int in_column, out HPS.Publish.LinkKit out_link)
Shows the link at the specified row and column.
- Param in_row
Row in which to show the link.
- Param in_column
Column in which to show the link.
- Param out_link
The link at the specified row and column in the table.
- Return
true if a link was added at the specified row and column, false otherwise.
- bool ShowText (int in_row, int in_column, out HPS.Publish.TextKit out_text)
Shows the text at the specified row and column.
- Param in_row
Row in which to show the text.
- Param in_column
Column in which to show the text.
- Param out_text
The text at the specified row and column in the table.
- Return
true if text was added at the specified row and column, false otherwise.
- bool ShowTextField (int in_row, int in_column, out HPS.Publish.TextFieldKit out_text_field)
Shows the link at the specified row and column.
- Param in_row
Row in which to show the link.
- Param in_column
Column in which to show the link.
- Param out_text_field
The text field at the specified row and column in the table.
- Return
true if a link was added at the specified row and column, false otherwise.
- TableKit (HPS.Publish.TableKit in_kit)
The copy constructor creates a new TableKit object that contains the same settings as the source TableKit.
- Param in_kit
The source TableKit to copy.
- HPS.Publish.TableKit UnsetButton (int in_row, int in_column)
Removes the button at the specified row and column.
- Return
A reference to this TableKit.
- HPS.Publish.TableKit UnsetEverything ()
Removes all data from the table.
- Return
A reference to this TableKit.
- HPS.Publish.TableKit UnsetHTML ()
Removes the HTML table setting.
- Return
A reference to this TableKit.
- HPS.Publish.TableKit UnsetHTMLStyle ()
Removes the HTML table style setting.
- Return
A reference to this TableKit.
- HPS.Publish.TableKit UnsetLink (int in_row, int in_column)
Removes the link at the specified row and column.
- Return
A reference to this TableKit.
- HPS.Publish.TableKit UnsetText (int in_row, int in_column)
Removes the text at the specified row and column.
- Return
A reference to this TableKit.
- HPS.Publish.TableKit UnsetTextField (int in_row, int in_column)
Removes the text field at the specified row and column.
- Return
A reference to this TableKit.