docScript Class |
Namespace: imbSCI.Reporting.script
public class docScript : List<docScriptInstruction>, ITextAppendContent, ITextAppendContentExtended, IEquatable<docScript>
The docScript type exposes the following members.
| Name | Description | |
|---|---|---|
| docScript(String) |
Initializes a new instance of the docScript class.
| |
| docScript(IRenderExecutionContext) |
Initializes a new instance of the docScript class.
|
| Name | Description | |
|---|---|---|
| add(appendType) | ||
| add(appendType, IMetaContentNested) |
Add appends with: scopein, scopeout, save, to data etc. operations over IMetaContent object
| |
| add(appendType, docScriptArguments) |
Adds new instruction into script
| |
| add(appendType, String, Boolean) | ||
| append | ||
| Append |
Appends inline or new line content.
| |
| AppendButton |
Appends the button.
| |
| AppendChart | ||
| AppendCite |
HTML/XML adds q tag, Table aplies smallText style
| |
| AppendCode(String) |
HTML/XML adds q tag, Table aplies smallText style
| |
| AppendCode(String, String) |
HTML/XML adds q tag, Table aplies smallText style
| |
| AppendComment |
On HTML/XML builder adds invisible comment tag, on Table builder it adds comment to the current cell, on Document builder it adds pop-up comment on aplicable way
| |
| AppendDiagram | ||
| AppendDirect |
Direct content injection, bypassing all internal transformations by class implementing ITextRender | |
| AppendExe(IExeAppend) |
Appends the executable kernel
| |
| AppendExeT |
Appends the executable kernel
| |
| AppendFile |
File from sourcepath is copied to outputpath or used as data template if isDataTeplate is true
| |
| AppendFileTemplated | ||
| AppendFrame |
HTML/XML adds | |
| AppendFromFile |
Loads content from sourcepath into renderer [if datakey is none or into data field if specified.
| |
| AppendFunction |
Appends the function.
| |
| AppendHeading |
HTML/XML builder adds H tag with proper level sufix, on Table it applies style and for H1 and H2
| |
| AppendHorizontalLine |
Horizontal line divider.
| |
| AppendImage |
Appends the image tag/call.
| |
| AppendLabel |
Appends the content with label decoration
| |
| AppendLine | ||
| AppendLine(String) |
Appends the line.
| |
| AppendLine(String, appendRole) | ||
| AppendLine(appendType, String, appendRole) | ||
| AppendLink |
Renders link, image or reference
| |
| AppendList |
Renders IEnumerable that may contain other IEnumerables
| |
| AppendMath |
Inserts mathFormula block
| |
| AppendPair(String, Enum, String, Boolean) | ||
| AppendPair(String, Object, Boolean, String) |
Renders key-> value pair
| |
| AppendPair(String, Object, String, Boolean) | ||
| AppendPairs |
Appends collection of pairs.
| |
| AppendPanel |
Creates panel with content and (optionally) with comp_heading and comp_description as footer.
| |
| AppendParagraph |
Appends content wrapped into paragraph tag. Table builders will merge whole line if "fullWidth" is TRUE.
| |
| AppendPlaceholder |
Appends string with template placeholder tag {{{ }}} / creates field to call custom property --> for document builder: introduces custom parameter and field
| |
| AppendQuote |
HTML/XML adds q tag, Table aplies smallText style
| |
| AppendSection |
Creates new section with title and content. Optionally it may contain: additional paragraphs for content and footnote on bottom
| |
| AppendTable |
Renders DataTable
| |
| AppendToFile |
Saves content to specified path. Path is local to context scope
| |
| Attachment(FileInfo, String, bootstrap_color, bootstrap_size) | ||
| Attachment(DataTable, dataTableExportEnum, String, bootstrap_color, bootstrap_size) | ||
| Attachment(String, String, String, bootstrap_color, bootstrap_size) | ||
| c_line | ||
| c_link | ||
| c_pair | ||
| c_table | ||
| close | ||
| closeSub |
Closes the current subcontent session
| |
| code | ||
| Equals | ||
| heading | ||
| i_dataInDocument | ||
| i_dataSource | ||
| i_external | ||
| i_load |
Load content into page/document. Inner append is performed for each line
| |
| i_log | ||
| i_meta | ||
| insertSub |
Inserts set of instructions
| |
| list |
Lists the specified title.
| |
| nextTabLevel | ||
| open | ||
| openSub |
Starts subcontent session
| |
| pairs |
Create paris table with title, footer and middle cell
| |
| prevTabLevel | ||
| rootTabLevel | ||
| s_settings(Color, Color) | ||
| s_settings(aceColorPalette, Int32, acePaletteShotResEnum) |
Going to set background into proper color
| |
| s_settings(appendType, styleApplicationFlag, appendRole) | ||
| s_style |
Turns off active styling - current was set with setAsActive call
| |
| s_style(IStyleInstruction, styleShotTargetEnum) |
Direct styling shot pass
| |
| s_style(styleApplicationFlag, styleShotTargetEnum) |
Sets styling and/or turns on active styling.
| |
| s_width |
Sets dimension of column or row
| |
| section |
Section of specific column width has: title, content and footer.
| |
| ToFile |
Save docScript in textFormat and open it with openWith external tool
| |
| ToString |
To the string.
| |
| x_data | ||
| x_directory | ||
| x_exportEnd |
Close export session and restore primary IDocumentRenderer
| |
| x_move(selectRange, Boolean, Boolean) | ||
| x_move(textCursorZoneCorner, Int32, Boolean) |
Moves the cursor
| |
| x_move(Int32, Int32, Boolean, Boolean) | ||
| x_moveToCorner | ||
| x_save | ||
| x_scopeIn | ||
| x_scopeOut |
| Name | Description | |
|---|---|---|
| AppendMacroDataTableBlock |
Shows first rowLimit and provides exported versions
(Defined by docScriptAppendExtensions.) | |
| AppendMacroDownload |
Appends the macro download.
(Defined by docScriptAppendExtensions.) | |
| AppendMacroLegend |
Appends the macro legend.
(Defined by docScriptAppendExtensions.) | |
| AppendMacroRecordLogFileBlock |
Shows first rowLimit and provides exported versions
(Defined by docScriptAppendExtensions.) | |
| AppendMacroSimpleTable |
Appends the macro simple table.
(Defined by docScriptAppendExtensions.) | |
| BuildDataShema |
Builds the data table.
(Defined by PropertyDataStructureTools.) | |
| buildDataTable(String, DataTableBuildersbuildDataTableOptions, PropertyCollectionExtended, String, ILogBuilder) | Overloaded.
2017:: Builds horizontal data table with columns mapping properties of the type.
(Defined by DataTableBuilders.) | |
| buildDataTable(String, Boolean, Boolean, Boolean, PropertyCollectionExtended, String) | Overloaded.
Builds the horizontal data table
(Defined by DataTableBuilders.) | |
| buildDataTableVerticalSummaryTable |
Builds the vertical table with all data
(Defined by DataTableBuilders.) | |
| buildPCE | (Defined by imbPropertyCollectionExtensions.) | |
| buildPropertyCollectionT |
Create or update property collection out of object properties
(Defined by imbPropertyCollectionExtensions.) | |
| changeValueAsInt32 |
Changes the value as int32.
(Defined by imbValueChangers.) | |
| changeValueDouble |
Step je 0.01
(Defined by imbValueChangers.) | |
| ConstructTableWithRandomContent |
Constructs the data table and populates with random content of the table with.
(Defined by imbDataTableExtensions.) | |
| getDataTypeSafe |
V3.5> Experimentalna funkcija - na osnovu tipa vrsi konverziju
(Defined by imbStringCommonTools.) | |
| GetDefaultValueT |
Vraca tipiziranu podrazumevanu vrednost
(Defined by imbTypologyHelpers.) | |
| getDescriptionForDictionary |
Gets the description for dictionary, property table etc
(Defined by settingsEntriesInfoModelApi.) | |
| getDictionaryFromMappedSource |
Vraca recnik sa vrednostima iz objekta.
(Defined by propertyMappingTools.) | |
| getEnumMemberPath |
Vraca enum member path koji moze da se koristi za preuzimanje enumeracije i njenog tipa
(Defined by imbEnumExtendBase.) | |
| GetExpressionResolved |
Resolves the specified expresion path, having host as starting node
(Defined by PropertyExpressionTools.) | |
| getPathForObject |
2014c: Univerzalni konstruktor putanje
(Defined by resourcePathGenerator.) | |
| getPathForObjectAndParent |
Univerzalni konstruktor putanje za bilo koji tip i parent
(Defined by resourcePathGenerator.) | |
| getProperty |
Retrieves PropertyInfo found on path specified
(Defined by imbTypeQueryExtensions.) | |
| getSPEC | (Defined by imbTypeQueryExtensions.) | |
| getStringValue |
2013a> bezbedno vraca string verziju prosledjene vrednosti - Kreira stringValue
(Defined by imbDataExecutor.) | |
| GetUserManual |
Generates property manual
(Defined by settingsEntriesTools.) | |
| GetUserManualSaved |
Gets the user manual saved:
(Defined by settingsEntriesTools.) | |
| getValuesFromMappedSource | (Defined by propertyMappingTools.) | |
| imbAttributeToProperties |
Prebacuje vrednost iz atributa u propertije - u skladu sa podesenim mapiranjem (imbAttributeName.metaValueFromAttribute)
(Defined by imbAttributeTools.) | |
| imbConvertValueSafe |
2014c> bezbedna konverzija vrednosti
(Defined by imbTypeExtensions.) | |
| imbConvertValueSafeTypedT | (Defined by imbTypeExtensions.) | |
| imbGetAllProperties |
Vraca sve propertije iz objekta koji su Public i Instance. Vraca i nasledjene propertije ali ako su pregazeni onda vraca samo najnoviji
(Defined by imbTypologyPropertyGetSet.) | |
| imbGetAllValues |
Vraca sve vrednosti iz svih propertija koji su Public i Instance
(Defined by imbTypologyPropertyGetSet.) | |
| imbGetCodeMark | (Defined by imbStringExtensions.) | |
| imbGetPropertySafe(String, Object, String) | Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.) | |
| imbGetPropertySafe(PropertyInfo, Object, Boolean, Object) | Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.) | |
| imbGetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean) | Overloaded. (Defined by imbTypologyPropertyGetSet.) | |
| imbGetPropertySafeT(PropertyInfo) | Overloaded.
2014:Maj - uzima property i odmah vrsi bezbednu konverziju!
(Defined by imbTypologyPropertyGetSet.) | |
| imbPropertyToString |
Sigurno iscitavanje stringa
(Defined by imbTypologyPropertyGetSet.) | |
| imbSetPropertyConvertSafe |
Algoritam sa konverzijom koja podrzava i Collection objekta koji imaju Add method.
(Defined by imbTypologyPropertyGetSet.) | |
| imbSetPropertySafe(String, Object, Boolean, Object, Boolean) | Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.) | |
| imbSetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean) | Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.) | |
| imbToBoolean |
Konvertuje bilo koju vrednost u Boolean
(Defined by imbTypeExtensions.) | |
| imbToEnumeration(Type, Enum) | Overloaded.
Convers an value to the best fit Enumeration member
(Defined by imbTypeEnumExtensions.) | |
| imbToEnumerationT | Overloaded. (Defined by imbTypeEnumExtensions.) | |
| imbToInstance |
Konvertuje u potrebni tip. Ukoliko postoji konstruktor sa parametrom koji je IsInstanceOfType(input) onda ce koristit njega
(Defined by imbTypeExtensions.) | |
| imbToNumber(Type) | Overloaded.
Konvertuje u broj prema zadatom tipu
(Defined by imbTypeExtensions.) | |
| imbToNumberT(Type) | Overloaded. (Defined by imbTypeExtensions.) | |
| isCoreColumn | (Defined by PropertyEntryColumnExtensions.) | |
| isNullOrEmpty | (Defined by imbSciStringExtensions.) | |
| isNullOrEmptyString |
Proverava da li je input null, ako je string onda ga proverava kao string ako je neki drugi objekat onda ga predvara u string pa proverava
(Defined by imbSciStringExtensions.) | |
| keyToString | (Defined by imbPropertyCollectionExtensions.) | |
| renderToTemplate |
Vraca string koji definise placeholder u template stringu
(Defined by stringTemplateTools.) | |
| resolvePath(String, pathResolveFlag) | Overloaded.
Najčešće korišćen metod za upit nad putanjom i objektom
(Defined by resourcePathResolver.) | |
| resolvePathT(String, pathResolveFlag) | Overloaded. (Defined by resourcePathResolver.) | |
| saveObjectToXML | (Defined by objectSerialization.) | |
| setObjectByMappedSource |
Primenjuje prosledjenu property mapu
(Defined by propertyMappingTools.) | |
| setObjectBySource |
Sets the object by source.
(Defined by imbTypeObjectOperations.) | |
| setObjectValueTypesBySource |
Sets the object by source, but only ValueTypes and string and only properties declared at top inherence level. Returns dictionary with updated properties (only if value changed)
(Defined by imbTypeObjectOperations.) | |
| setValuesToMappedTarget |
Postavlja vednosti iz recnika u dati ciljani objekat - da bi bilo kompatibilno niz mora biti u istom rasporedu kao i u property mapu
(Defined by propertyMappingTools.) | |
| sumValues |
Supports> String, Int32, any number via Double and Boolean
(Defined by imbTypeExtensions.) | |
| toExpressionString |
Returns expression-ready string, wrapped in proper quotes if required
(Defined by imbStringFormats.) | |
| toStringSafe | Overloaded. (Defined by imbStringFormats.) | |
| toStringSafe(String) | Overloaded. (Defined by imbStringFormats.) | |
| toStringSafe(String, String) | Overloaded.
Bezbedna konverzija u String -- ako je null onda valueForNull
(Defined by imbStringFormats.) |