public override docScript compose(docScript script) { script = this.checkScript(script); script.x_scopeIn(this); // script.x_exportStart(filenameBase, fileformat, reportAPI.imbMarkdown, elementLevelFormPreset.htmlWebSite); header.compose(script); fli.compose(script); sys.compose(script); notes.compose(script); keywords.compose(script); footer.compose(script); // script.x_exportEnd(filenameBase, fileformat); script.x_scopeOut(this); return(script); }
public override docScript compose(docScript script) { script.x_scopeIn(this); script.insertSub(log); script.x_scopeOut(this); return(script); }
public override docScript compose(docScript script) { script.x_scopeIn(this); script = baseCompose(script); script.x_scopeOut(this); return(script); }
//public MetaContainerNestedBase AddCodeBlock(String blockTitle, String blockDescription, IEnumerable<String> blockContent) //{ // var contentLines = blockContent; // metaCodeBlock output = new metaCodeBlock(blockTitle, blockDescription, contentLines); // blocks.Add(output); // return output; //} ///// <summary> ///// Construct will take all IMetaContentNested and PropertyCollections ///// </summary> ///// <param name="resources">The resources.</param> //public override void construct(params Object[] resources) //{ // List<Object> reslist = resources.getFlatList<Object>(); // foreach (Object res in reslist) // { // if (res is IMetaContentNested) // { // blocks.Add(res as IMetaContentNested, this); // } else if (res is DataTable) // { // DataTable dt = res as DataTable; // metaDataTable mdt = new metaDataTable(); // blocks.Add(mdt, this); // mdt.construct(res as DataTable); // } else if (res is PropertyCollection) // { // metaVariablePairs pairs = new metaVariablePairs(); // blocks.Add(pairs, this); // pairs.construct(reslist); // } else if (res is IList) // { // } // } // // List<MetaContainerNestedBase> customContent = reslist.getAllOfType<IMetaContentNested>(false); //} //public override void construct(params object[] resources) //{ // base.construct(resources); //} //public virtual PropertyCollectionDictionary collect(PropertyCollectionDictionary data = null) //{ // if (data == null) data = new PropertyCollectionDictionary(); // PropertyCollection pageData = AppendDataFields(); // data.Add(path, pageData); // deliveryInstance.deliveryInstance del = context as deliveryInstance.deliveryInstance; // del.collectOperationStart(context, this, data); // return data; //} public override docScript compose(docScript script) { script = this.checkScript(script); script.x_scopeIn(this); script = this.subCompose(script); script.x_scopeOut(this); return(script); }
public override docScript compose(docScript script) { script = this.checkScript(script); script.x_scopeIn(this); // script.add(appendType.i_page, docScriptArguments.dsa_name, docScriptArguments.dsa_title, docScriptArguments.dsa_description).set(name, pageTitle, pageDescription); // script.add(appendType.s_palette).arg(acePaletteRole.colorDefault); script = this.subCompose(script); script.x_scopeOut(this); return(script); }
/// <summary> /// Composes the specified script. /// </summary> /// <param name="script">The script.</param> /// <returns></returns> public override docScript compose(docScript script) { script.x_scopeIn(this); script.AppendHeading(pageTitle); script.Append("Log content from: "); script.AppendLabel(instanceID, true, "primary"); script.AppendHorizontalLine(); script.AppendDirect(logBuilder.ContentToString(true)); script = base.compose(script); script.x_scopeOut(this); return(script); }
public override docScript compose(docScript script) { script = this.checkScript(script); script.x_directory(directoryOperation.copy, "reportInclude".add(foldername, "\\"), false); script.x_scopeIn(this); //script.add(appendType.i_page, docScriptArguments.dsa_name, docScriptArguments.dsa_title,docScriptArguments.dsa_description) // .set(name, pageTitle, pageDescription); // script.add(appendType.s_settings).arg(docScriptArguments.dsa_stylerSettings, settings); script = this.subCompose(script); script.x_scopeOut(this); return(script); }
/// <summary> /// Composes the specified script. /// </summary> /// <param name="script">The script.</param> /// <returns></returns> public override docScript compose(docScript script) { script.x_scopeIn(this); if (!introContentPath.isNullOrEmpty()) { script.AppendFromFile(introContentPath); } script = base.compose(script); if (!outroContentPath.isNullOrEmpty()) { script.AppendFromFile(outroContentPath); } script.x_scopeOut(this); return(script); }
public virtual docScript compose(docScript script) { script = this.checkScript(script); script.x_scopeIn(this); header.compose(script); navigation.compose(script); script.AppendLine(); foreach (PropertyCollection pc in dataset) { script.c_line(); string tablename = pc.getAndRemoveProperString(templateFieldDataTable.data_tablename); string desc = pc.getAndRemoveProperString(templateFieldDataTable.data_tabledesc); script.pairs(tablename, desc, pc, "", 2, false); script.AppendLine(); } footer.compose(script); //script.add(appendType.i_page, docScriptArguments.dsa_name, docScriptArguments.dsa_title,docScriptArguments.dsa_description) // .set(name, pageTitle, pageDescription); // script.add(appendType.s_settings).arg(docScriptArguments.dsa_stylerSettings, settings); /// script.add(appendType.s_palette).arg(acePaletteRole.colorDefault); // script = this.subCompose(script); script.x_scopeOut(this); return(script); }
public override docScript compose(docScript script) { script = this.checkScript(script); int column = 0; string hexColor = palette.hexColor; Color altColor = ColorWorks.GetColor(hexColor); //.getColorFromHex(); //Color altOne = altColor.getVariation(0.2F, 0.1F, 80); //Color altTwo = altColor.getVariation(0.2F, 0.1F, 160); //Color altThree = altColor.getVariation(0.2F, 0.1F, 240); //aceColorPalette paletteOne = new aceColorPalette(altOne.toHexColor()); //aceColorPalette paletteTwo = new aceColorPalette(altTwo.toHexColor()); //aceColorPalette paletteThree = new aceColorPalette(altThree.toHexColor()); script.x_scopeIn(this); script = composeForPalette(script, altColor, 0.0F, 0.0F, 0, "--", true); script = composeForPalette(script, altColor, 0.0F, 0.0F, 0, "Main", false); script = composeForPalette(script, altColor, 0.1F, 0.1F, 0, "Brignter 01", false); script = composeForPalette(script, altColor, 0.2F, 0.2F, 0, "Brignter 02", false); script = composeForPalette(script, altColor, 0.4F, 0.4F, 0, "Brignter 03", false); script = composeForPalette(script, altColor, 0.1F, 0.1F, 120, "Primary 01", false); script = composeForPalette(script, altColor, 0.2F, 0.2F, 120, "Primary 02", false); script = composeForPalette(script, altColor, 0.4F, 0.3F, 120, "Primary 03", false); script = composeForPalette(script, altColor, 0.1F, 0.1F, 240, "Secondary 01", false); script = composeForPalette(script, altColor, 0.3F, 0.3F, 240, "Secondary 02", false); script = composeForPalette(script, altColor, 0.4F, 0.4F, 240, "Secondary 03", false); //script = composeForPalette(script, paletteOne, "Alt 1"); //script = composeForPalette(script, paletteTwo, "Alt 2"); //script = composeForPalette(script, paletteThree, "Alt 3"); //script.appendLine(appendType.heading_2, "Base color"); //script.appendLine(appendType.bold, palette.hexColor); //script.s_width(column, 5); //script.appendLine(appendType.regular, "Background variations"); //for (int i = 0; i < palette.ccount; i++) //{ // script.appendLine(appendType.bold, palette.bgColors[i].toHexColor()); // script.s_settings(palette, i, acePaletteShotResEnum.background).isHorizontal = false; //} //script.add(appendType.regular, "Border variations", false); //for (int i = 0; i < palette.ccount; i++) //{ // script.appendLine(appendType.bold, palette.tpColors[i].toHexColor()); // script.s_settings(palette, i, acePaletteShotResEnum.border).isHorizontal = false; //} //script.add(appendType.regular, "Foreground variations", false); //for (int i = 0; i < palette.ccount; i++) //{ // script.appendLine(appendType.bold, palette.fgColors[i].toHexColor()); // script.s_settings(palette, i, acePaletteShotResEnum.foreground).isHorizontal = false; //} script.x_scopeOut(this); return(script); }