%DeepSee.UI.Dialog.PivotPrintOptions
Class %DeepSee.UI.Dialog.PivotPrintOptions Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]
This dialog lets the user change the print properties for a DeepSee pivot table.
Parameters
APPLYBUTTON
Parameter APPLYBUTTON = 0;
Properties
mode
Property mode As %ZEN.Datatype.string(ZENURL = "MODE") [ InitialExpression = "table" ];
"table", "chart", or "dashboard".
cubeName
Property cubeName As %ZEN.Datatype.string(ZENURL = "CUBE");
units
Property units As %ZEN.Datatype.string;
columnCount
Property columnCount As %ZEN.Datatype.integer(ZENURL = "COLUMNCOUNT");
rowTotals
Property rowTotals As %ZEN.Datatype.boolean(ZENURL = "ROWTOTALS");
columnTotals
Property columnTotals As %ZEN.Datatype.boolean(ZENURL = "COLUMNTOTALS");
rowHeaderStyle
Property rowHeaderStyle As %ZEN.Datatype.string(ZENURL = "ROWSTYLE");
columnHeaderStyle
Property columnHeaderStyle As %ZEN.Datatype.string(ZENURL = "COLUMNSTYLE");
dataCellStyle
Property dataCellStyle As %ZEN.Datatype.string(ZENURL = "CELLSTYLE");
cellWidth
Property cellWidth As %ZEN.Datatype.string(ZENURL = "CELLWIDTH");
cellHeight
Property cellHeight As %ZEN.Datatype.string(ZENURL = "CELLHEIGHT");
showZebra
Property showZebra As %ZEN.Datatype.boolean(ZENURL = "ZEBRA");
showRowCaption
Property showRowCaption As %ZEN.Datatype.boolean(ZENURL = "ROWCAPTION");
printTitle
Property printTitle As %ZEN.Datatype.string(MAXLEN = 2000, ZENURL = "TITLE");
Title to display when pivot is printed.
printSubtitle
Property printSubtitle As %ZEN.Datatype.string(MAXLEN = 2000, ZENURL = "SUBTITLE");
Subtitle to display when pivot is printed.
printSubtitleOn
Property printSubtitleOn As %ZEN.Datatype.string(ZENURL = "SUBTITLEON") [ InitialExpression = "on" ];
Display Subtitle when pivot is printed.
showUser
Property showUser As %ZEN.Datatype.string(ZENURL = "SHOWUSER") [ InitialExpression = "off" ];
Display User when pivot is printed.
printPageSize
Property printPageSize As %ZEN.Datatype.string(ZENURL = "PAGESIZE");
Page size when pivot is printed. This takes the form "8.5x11 in" (w x h).
printOrientation
Property printOrientation As %ZEN.Datatype.string(ZENURL = "ORIENTATION") [ InitialExpression = "portrait" ];
Orientation when pivot is printed.
printMarginTop
Property printMarginTop As %ZEN.Datatype.float(ZENURL = "MARGINTOP");
Page top margin when pivot is printed. This is in the same units as the page size.
printMarginLeft
Property printMarginLeft As %ZEN.Datatype.float(ZENURL = "MARGINLEFT");
Page left margin when pivot is printed. This is in the same units as the page size.
printMarginRight
Property printMarginRight As %ZEN.Datatype.float(ZENURL = "MARGINRIGHT");
Page right margin when pivot is printed. This is in the same units as the page size.
printMarginBottom
Property printMarginBottom As %ZEN.Datatype.float(ZENURL = "MARGINBOTTOM");
Page bottom margin when pivot is printed. This is in the same units as the page size.
printLabelWidth
Property printLabelWidth As %ZEN.Datatype.float(ZENURL = "PRINTLABELWIDTH");
Width of row labels when the pivot is printed. This is in the same units as the page size.
printCellWidth
Property printCellWidth As %ZEN.Datatype.float(ZENURL = "PRINTCELLWIDTH");
Width of data cells when the pivot is printed. This is in the same units as the page size.
chartMarginTop
Property chartMarginTop As %ZEN.Datatype.float(ZENURL = "CMARGINTOP");
Page top margin when pivot is printed. This is in the same units as the page size.
chartMarginLeft
Property chartMarginLeft As %ZEN.Datatype.float(ZENURL = "CMARGINLEFT");
Page left margin when pivot is printed. This is in the same units as the page size.
chartMarginRight
Property chartMarginRight As %ZEN.Datatype.float(ZENURL = "CMARGINRIGHT");
Page right margin when pivot is printed. This is in the same units as the page size.
chartMarginBottom
Property chartMarginBottom As %ZEN.Datatype.float(ZENURL = "CMARGINBOTTOM");
Page bottom margin when pivot is printed. This is in the same units as the page size.
maxRows
Property maxRows As %ZEN.Datatype.integer(ZENURL = "MAXROWS");
max rows to export to PDF
borderLeftCell
Property borderLeftCell As %ZEN.Datatype.string(ZENURL = "BORDERLEFTCELL");
Table borders
borderRightCell
Property borderRightCell As %ZEN.Datatype.string(ZENURL = "BORDERRIGHTCELL");
borderTopCell
Property borderTopCell As %ZEN.Datatype.string(ZENURL = "BORDERTOPCELL");
borderBottomCell
Property borderBottomCell As %ZEN.Datatype.string(ZENURL = "BORDERBOTTOMCELL");
fontFamilyCell
Property fontFamilyCell As %ZEN.Datatype.string(ZENURL = "FONTFAMILYCELL");
fontSizeCell
Property fontSizeCell As %ZEN.Datatype.string(ZENURL = "FONTSIZECELL");
borderLeftCol
Property borderLeftCol As %ZEN.Datatype.string(ZENURL = "BORDERLEFTCOL");
borderRightCol
Property borderRightCol As %ZEN.Datatype.string(ZENURL = "BORDERRIGHTCOL");
borderTopCol
Property borderTopCol As %ZEN.Datatype.string(ZENURL = "BORDERTOPCOL");
borderBottomCol
Property borderBottomCol As %ZEN.Datatype.string(ZENURL = "BORDERBOTTOMCOL");
fontFamilyCol
Property fontFamilyCol As %ZEN.Datatype.string(ZENURL = "FONTFAMILYCOL");
fontSizeCol
Property fontSizeCol As %ZEN.Datatype.string(ZENURL = "FONTSIZECOL");
borderLeftRow
Property borderLeftRow As %ZEN.Datatype.string(ZENURL = "BORDERLEFTROW");
borderRightRow
Property borderRightRow As %ZEN.Datatype.string(ZENURL = "BORDERRIGHTROW");
borderTopRow
Property borderTopRow As %ZEN.Datatype.string(ZENURL = "BORDERTOPROW");
borderBottomRow
Property borderBottomRow As %ZEN.Datatype.string(ZENURL = "BORDERBOTTOMROW");
fontFamilyRow
Property fontFamilyRow As %ZEN.Datatype.string(ZENURL = "FONTFAMILYROW");
fontSizeRow
Property fontSizeRow As %ZEN.Datatype.string(ZENURL = "FONTSIZEROW");
showFilters
Property showFilters As %ZEN.Datatype.string(ZENURL = "SHOWFILTERS") [ InitialExpression = "byTable" ];
showFilters
showListingFilters
Property showListingFilters As %ZEN.Datatype.string(ZENURL = "SHOWLISTINGFILTERS") [ InitialExpression = "off" ];
showListingFilters
showDate
Property showDate As %ZEN.Datatype.string(ZENURL = "SHOWDATE") [ InitialExpression = "off" ];
showDate
showZebraStripes
Property showZebraStripes As %ZEN.Datatype.string(ZENURL = "SHOWZEBRASTRIPES") [ InitialExpression = "on" ];
showZebraStripes
listingFontSize
Property listingFontSize As %ZEN.Datatype.string(ZENURL = "LISTINGFONTSIZE") [ InitialExpression = "6pt" ];
Font size for listings
filterRowCount
Property filterRowCount As %ZEN.Datatype.integer(ZENURL = "FILTERROWCOUNT");
filterRowCount - used in preview
listingFilterRowCount
Property listingFilterRowCount As %ZEN.Datatype.integer(ZENURL = "LISTINGFILTERROWCOUNT");
listingFilterRowCount - used in preview
filterTableStyle
Property filterTableStyle As %ZEN.Datatype.style(ZENURL = "FILTERTABLESTYLE") [ InitialExpression = "border:1pt solid gray;" ];
filterTableStyle
filterTableCaptionStyle
Property filterTableCaptionStyle As %ZEN.Datatype.style(ZENURL = "FILTERTABLECAPTIONSTYLE") [ InitialExpression = "border:none;color:white;background-color:#6f6fff;text-align:left;font-weight:bold;font-size:6pt;" ];
filterTableCaptionStyle;
filterTableItemStyle
Property filterTableItemStyle As %ZEN.Datatype.style(ZENURL = "FILTERTABLEITEMSTYLE") [ InitialExpression = "border:none;text-align:left;font-weight:normal;font-size:6pt;" ];
filterTableItemStyle;
nowDisplayFormat
Property nowDisplayFormat As %ZEN.Datatype.string(ZENURL = "NOWDISPLAYFORMAT");
nowDisplay
pageSizeValues
Property pageSizeValues As %ZEN.Datatype.csv;
List of page size values.
pageSizeNames
Property pageSizeNames As %ZEN.Datatype.csv;
List of page size names.
selectedItem
Property selectedItem As %ZEN.Datatype.string;
id of current selected item.
XDatas
Style
XData Style
dialogBody
XData dialogBody [ XMLNamespace = "http://www.intersystems.com/zen" ]
Contents of the dialog body.
Methods
%OnGetTitle
Method %OnGetTitle() As %String
Get the (localized) title string for the dialog. This should be implemented in a subclass.
%OnGetSubtitle
Method %OnGetSubtitle() As %String
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
getDialogValue
ClientMethod getDialogValue() [ Language = javascript ]
ondialogFinish
ClientMethod ondialogFinish(action) As %Boolean [ Language = javascript ]
This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.
ondialogStart
ClientMethod ondialogStart() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
clearStyles
ClientMethod clearStyles() [ Language = javascript ]
Reset styles.
keyPress
ClientMethod keyPress() [ Language = javascript ]
Key press handler.
changePageSize
ClientMethod changePageSize() [ Language = javascript ]
Change in page size.
getPreviewImage
ClientMethod getPreviewImage() [ Language = javascript ]
updatePreview
ClientMethod updatePreview() [ Language = javascript ]
Draw contents of preview component.
getHTMLForItems
ClientMethod getHTMLForItems(dir, parentKey, items, availSize, scale, pos) [ Language = javascript ]
Get the HTML for a list of print items.
%OnAfterCreatePage
Method %OnAfterCreatePage() As %Status
adjustSize
ClientMethod adjustSize() [ Language = javascript ]
Adjust sizes components on the page.
getContentForLevel
ClientMethod getContentForLevel(level, key, value) [ Language = javascript ]
Return an object describing what to display for this level.
selectItem
ClientMethod selectItem(key, value, which) [ Language = javascript ]
Item selected in navigator.
headerButtonClick
ClientMethod headerButtonClick(key) [ Language = javascript ]
Button clicked in navigator header.
closeButtonClick
ClientMethod closeButtonClick(key) [ Language = javascript ]
Button clicked in navigator close button.
dataChange
ClientMethod dataChange(key, value, final) [ Language = javascript ]
This is called when a data value within the navigator is changed. key is the key for the item and value is the new value. final is true if this is the final value (controls such as a slider may provide intermediate values as well while the user is actively dragging it).
dataIndent
ClientMethod dataIndent(key, swap, final) [ Language = javascript ]
Re-indent list of values.
dataArrange
ClientMethod dataArrange(key, swap, final) [ Language = javascript ]
Rearrange of list of values.
getPrintDef
ClientMethod getPrintDef() [ Language = javascript ]
Get the client-side print definition.
GetPrintDefinition
Method GetPrintDefinition(ByRef pParms, Output pObject As %RegisteredObject) As %Status
Get Print Definition data for JSON provider.
computeDivSize
ClientMethod computeDivSize(html) [ Internal, Language = javascript ]
Compute and return the size of the given html.
getLayoutTree
ClientMethod getLayoutTree(list, level, parentKey) [ Language = javascript ]
Construct a single list of content items from a graph of items.
getLayoutItem
ClientMethod getLayoutItem(key) [ Language = javascript ]
Find the item within the print definition graph with the given key. The key takes the form: "n1,n2,n3..."
cloneTree
ClientMethod cloneTree(tree) [ Language = javascript ]
Create a copy of a tree (printDef).
moveSelector
ClientMethod moveSelector(targetDiv) [ Internal, Language = javascript ]
Move the element selector.
selectElement
ClientMethod selectElement(evt, which) [ Language = javascript ]
Select an element within the preview.
addItem
ClientMethod addItem(type) [ Language = javascript ]
Add a new item to the print definition.
roundOff
ClientMethod roundOff(value, places) [ Language = javascript ]
Round off a numer to the given number of places.