Click or drag to resize

docScript Methods

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

The docScript type exposes the following members.

Methods
  NameDescription
Public methodadd(appendType)
Public methodadd(appendType, IMetaContentNested)
Add appends with: scopein, scopeout, save, to data etc. operations over IMetaContent object
Public methodadd(appendType, docScriptArguments)
Adds new instruction into script
Public methodadd(appendType, String, Boolean)
Public methodappend
Public methodAppend
Appends inline or new line content.
Public methodAppendButton
Appends the button.
Public methodAppendChart
Public methodAppendCite
HTML/XML adds q tag, Table aplies smallText style
Public methodAppendCode(String)
HTML/XML adds q tag, Table aplies smallText style
Public methodAppendCode(String, String)
HTML/XML adds q tag, Table aplies smallText style
Public methodAppendComment
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
Public methodAppendDiagram
Public methodAppendDirect
Direct content injection, bypassing all internal transformations by class implementing ITextRender
Public methodAppendExe(IExeAppend)
Appends the executable kernel
Public methodAppendExeT
Appends the executable kernel
Public methodAppendFile
File from sourcepath is copied to outputpath or used as data template if isDataTeplate is true
Public methodAppendFileTemplated
Public methodAppendFrame
HTML/XML adds
Public methodAppendFromFile
Loads content from sourcepath into renderer [if datakey is none or into data field if specified.
Public methodAppendFunction
Appends the function.
Public methodAppendHeading
HTML/XML builder adds H tag with proper level sufix, on Table it applies style and for H1 and H2
Public methodAppendHorizontalLine
Horizontal line divider.
Public methodAppendImage
Appends the image tag/call.
Public methodAppendLabel
Appends the content with label decoration
Public methodAppendLine
Public methodAppendLine(String)
Appends the line.
Public methodAppendLine(String, appendRole)
Public methodAppendLine(appendType, String, appendRole)
Public methodAppendLink
Renders link, image or reference
Public methodAppendList
Renders IEnumerable that may contain other IEnumerables
Public methodAppendMath
Inserts mathFormula block
Public methodAppendPair(String, Enum, String, Boolean)
Public methodAppendPair(String, Object, Boolean, String)
Renders key-> value pair
Public methodAppendPair(String, Object, String, Boolean)
Public methodAppendPairs
Appends collection of pairs.
Public methodAppendPanel
Creates panel with content and (optionally) with comp_heading and comp_description as footer.
Public methodAppendParagraph
Appends content wrapped into paragraph tag. Table builders will merge whole line if "fullWidth" is TRUE.
Public methodAppendPlaceholder
Appends string with template placeholder tag {{{ }}} / creates field to call custom property --> for document builder: introduces custom parameter and field
Public methodAppendQuote
HTML/XML adds q tag, Table aplies smallText style
Public methodAppendSection
Creates new section with title and content. Optionally it may contain: additional paragraphs for content and footnote on bottom
Public methodAppendTable
Renders DataTable
Public methodAppendToFile
Saves content to specified path. Path is local to context scope
Public methodAttachment(FileInfo, String, bootstrap_color, bootstrap_size)
Public methodAttachment(DataTable, dataTableExportEnum, String, bootstrap_color, bootstrap_size)
Public methodAttachment(String, String, String, bootstrap_color, bootstrap_size)
Public methodc_line
Public methodc_link
Public methodc_pair
Public methodc_table
Public methodclose
Public methodcloseSub
Closes the current subcontent session
Public methodcode
Public methodEquals
Public methodheading
Public methodi_dataInDocument
Public methodi_dataSource
Public methodi_external
Public methodi_load
Load content into page/document. Inner append is performed for each line
Public methodi_log
Public methodi_meta
Public methodinsertSub
Inserts set of instructions
Public methodlist
Lists the specified title.
Public methodnextTabLevel
Public methodopen
Public methodopenSub
Starts subcontent session
Public methodpairs
Create paris table with title, footer and middle cell
Public methodprevTabLevel
Public methodrootTabLevel
Public methods_settings(Color, Color)
Public methods_settings(aceColorPalette, Int32, acePaletteShotResEnum)
Going to set background into proper color
Public methods_settings(appendType, styleApplicationFlag, appendRole)
Public methods_style
Turns off active styling - current was set with setAsActive call
Public methods_style(IStyleInstruction, styleShotTargetEnum)
Direct styling shot pass
Public methods_style(styleApplicationFlag, styleShotTargetEnum)
Sets styling and/or turns on active styling.
Public methods_width
Sets dimension of column or row
Public methodsection
Section of specific column width has: title, content and footer.
Public methodToFile
Save docScript in textFormat and open it with openWith external tool
Public methodToString
To the string.
Public methodx_data
Public methodx_directory
Public methodx_exportEnd
Close export session and restore primary IDocumentRenderer
Public methodx_move(selectRange, Boolean, Boolean)
Public methodx_move(textCursorZoneCorner, Int32, Boolean)
Moves the cursor
Public methodx_move(Int32, Int32, Boolean, Boolean)
Public methodx_moveToCorner
Public methodx_save
Public methodx_scopeIn
Public methodx_scopeOut
Top
Extension Methods
  NameDescription
Public Extension MethodAppendMacroDataTableBlock
Shows first rowLimit and provides exported versions
(Defined by docScriptAppendExtensions.)
Public Extension MethodAppendMacroDownload
Appends the macro download.
(Defined by docScriptAppendExtensions.)
Public Extension MethodAppendMacroLegend
Appends the macro legend.
(Defined by docScriptAppendExtensions.)
Public Extension MethodAppendMacroRecordLogFileBlock
Shows first rowLimit and provides exported versions
(Defined by docScriptAppendExtensions.)
Public Extension MethodAppendMacroSimpleTable
Appends the macro simple table.
(Defined by docScriptAppendExtensions.)
Public Extension MethodBuildDataShema
Builds the data table.
(Defined by PropertyDataStructureTools.)
Public Extension MethodbuildDataTable(String, DataTableBuildersbuildDataTableOptions, PropertyCollectionExtended, String, ILogBuilder)Overloaded.
2017:: Builds horizontal data table with columns mapping properties of the type.
(Defined by DataTableBuilders.)
Public Extension MethodbuildDataTable(String, Boolean, Boolean, Boolean, PropertyCollectionExtended, String)Overloaded.
Builds the horizontal data table
(Defined by DataTableBuilders.)
Public Extension MethodbuildDataTableVerticalSummaryTable
Builds the vertical table with all data
(Defined by DataTableBuilders.)
Public Extension MethodbuildPCE
Public Extension MethodbuildPropertyCollectionT
Create or update property collection out of object properties
(Defined by imbPropertyCollectionExtensions.)
Public Extension MethodchangeValueAsInt32
Changes the value as int32.
(Defined by imbValueChangers.)
Public Extension MethodchangeValueDouble
Step je 0.01
(Defined by imbValueChangers.)
Public Extension MethodConstructTableWithRandomContent
Constructs the data table and populates with random content of the table with.
(Defined by imbDataTableExtensions.)
Public Extension MethodgetDataTypeSafe
V3.5> Experimentalna funkcija - na osnovu tipa vrsi konverziju
(Defined by imbStringCommonTools.)
Public Extension MethodGetDefaultValueT
Vraca tipiziranu podrazumevanu vrednost
(Defined by imbTypologyHelpers.)
Public Extension MethodgetDescriptionForDictionary
Gets the description for dictionary, property table etc
(Defined by settingsEntriesInfoModelApi.)
Public Extension MethodgetDictionaryFromMappedSource
Vraca recnik sa vrednostima iz objekta.
(Defined by propertyMappingTools.)
Public Extension MethodgetEnumMemberPath
Vraca enum member path koji moze da se koristi za preuzimanje enumeracije i njenog tipa
(Defined by imbEnumExtendBase.)
Public Extension MethodGetExpressionResolved
Resolves the specified expresion path, having host as starting node
(Defined by PropertyExpressionTools.)
Public Extension MethodgetPathForObject
2014c: Univerzalni konstruktor putanje
(Defined by resourcePathGenerator.)
Public Extension MethodgetPathForObjectAndParent
Univerzalni konstruktor putanje za bilo koji tip i parent
(Defined by resourcePathGenerator.)
Public Extension MethodgetProperty
Retrieves PropertyInfo found on path specified
(Defined by imbTypeQueryExtensions.)
Public Extension MethodgetSPEC (Defined by imbTypeQueryExtensions.)
Public Extension MethodgetStringValue
2013a> bezbedno vraca string verziju prosledjene vrednosti - Kreira stringValue
(Defined by imbDataExecutor.)
Public Extension MethodGetUserManual
Generates property manual
(Defined by settingsEntriesTools.)
Public Extension MethodGetUserManualSaved
Gets the user manual saved:
(Defined by settingsEntriesTools.)
Public Extension MethodgetValuesFromMappedSource (Defined by propertyMappingTools.)
Public Extension MethodimbAttributeToProperties
Prebacuje vrednost iz atributa u propertije - u skladu sa podesenim mapiranjem (imbAttributeName.metaValueFromAttribute)
(Defined by imbAttributeTools.)
Public Extension MethodimbConvertValueSafe
2014c> bezbedna konverzija vrednosti
(Defined by imbTypeExtensions.)
Public Extension MethodimbConvertValueSafeTypedT (Defined by imbTypeExtensions.)
Public Extension MethodimbGetAllProperties
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.)
Public Extension MethodimbGetAllValues
Vraca sve vrednosti iz svih propertija koji su Public i Instance
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetCodeMark (Defined by imbStringExtensions.)
Public Extension MethodimbGetPropertySafe(String, Object, String)Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetPropertySafe(PropertyInfo, Object, Boolean, Object)Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean)Overloaded. (Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetPropertySafeT(PropertyInfo)Overloaded.
2014:Maj - uzima property i odmah vrsi bezbednu konverziju!
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbPropertyToString
Sigurno iscitavanje stringa
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbSetPropertyConvertSafe
Algoritam sa konverzijom koja podrzava i Collection objekta koji imaju Add method.
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbSetPropertySafe(String, Object, Boolean, Object, Boolean)Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbSetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean)Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbToBoolean
Konvertuje bilo koju vrednost u Boolean
(Defined by imbTypeExtensions.)
Public Extension MethodimbToEnumeration(Type, Enum)Overloaded.
Convers an value to the best fit Enumeration member
(Defined by imbTypeEnumExtensions.)
Public Extension MethodimbToEnumerationTOverloaded. (Defined by imbTypeEnumExtensions.)
Public Extension MethodimbToInstance
Konvertuje u potrebni tip. Ukoliko postoji konstruktor sa parametrom koji je IsInstanceOfType(input) onda ce koristit njega
(Defined by imbTypeExtensions.)
Public Extension MethodimbToNumber(Type)Overloaded.
Konvertuje u broj prema zadatom tipu
(Defined by imbTypeExtensions.)
Public Extension MethodimbToNumberT(Type)Overloaded. (Defined by imbTypeExtensions.)
Public Extension MethodisCoreColumn (Defined by PropertyEntryColumnExtensions.)
Public Extension MethodisNullOrEmpty (Defined by imbSciStringExtensions.)
Public Extension MethodisNullOrEmptyString
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.)
Public Extension MethodkeyToString (Defined by imbPropertyCollectionExtensions.)
Public Extension MethodrenderToTemplate
Vraca string koji definise placeholder u template stringu
(Defined by stringTemplateTools.)
Public Extension MethodresolvePath(String, pathResolveFlag)Overloaded.
Najčešće korišćen metod za upit nad putanjom i objektom
(Defined by resourcePathResolver.)
Public Extension MethodresolvePathT(String, pathResolveFlag)Overloaded.
(Defined by resourcePathResolver.)
Public Extension MethodsaveObjectToXML (Defined by objectSerialization.)
Public Extension MethodsetObjectByMappedSource
Primenjuje prosledjenu property mapu
(Defined by propertyMappingTools.)
Public Extension MethodsetObjectBySource
Sets the object by source.
(Defined by imbTypeObjectOperations.)
Public Extension MethodsetObjectValueTypesBySource
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.)
Public Extension MethodsetValuesToMappedTarget
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.)
Public Extension MethodsumValues
Supports> String, Int32, any number via Double and Boolean
(Defined by imbTypeExtensions.)
Public Extension MethodtoExpressionString
Returns expression-ready string, wrapped in proper quotes if required
(Defined by imbStringFormats.)
Public Extension MethodtoStringSafeOverloaded. (Defined by imbStringFormats.)
Public Extension MethodtoStringSafe(String)Overloaded. (Defined by imbStringFormats.)
Public Extension MethodtoStringSafe(String, String)Overloaded.
Bezbedna konverzija u String -- ako je null onda valueForNull
(Defined by imbStringFormats.)
Top
See Also