HTMLUtil
use HTMLUtil;
use HTMLUtil qw(:all);
HTMLUtil module provides the following functions:
InsertHTMLTags, SetupHTMLAlignmentBegin, SetupHTMLAlignmentEnd, SetupHTMLButtonRef, SetupHTMLDivBegin, SetupHTMLDivEnd, SetupHTMLEmptyLines, SetupHTMLHRef, SetupHTMLPageEnd, SetupHTMLPageHeader, SetupHTMLPageTitle, SetupHTMLStyleSheetTags, SetupHTMLTableColumnEnd, SetupHTMLTableColumnHeader, SetupHTMLTableEnd, SetupHTMLTableHeader, SetupHTMLTableRowDataValue, SetupHTMLTableRowEnd, SetupHTMLTableRowHeader, SetupHTMLTableRowHeaderValue, SetupJavaScriptCmds, SetupStrViewerAccelrysActiveX, SetupStrViewerChem3DActiveX, SetupStrViewerChemDrawActiveX, SetupStrViewerChemDrawPlugIn, SetupStrViewerChimePlugIn, SetupStrViewerJMEApplet, SetupStrViewerJSInitCmd, SetupStrViewerJmolApplet, SetupStrViewerMarvinViewApplet
Inserts tag name and value pair from TagsNameValue into a exisiting Tag as TagName = "TagValue" and returns NewTag string.
Returns an alignment begin tag string. Possible Alignment values: left, center, or right. Default: left.
Returns an alignment end tag string.
Returns a button tag string for associating onClick button event of a button with label ButtonLabel to open a file FileName.
Returns a div begin tag string for div ID.
Returns a div end tag string.
Returns a table end tag string.
Returns an empty lines tag string for empty LineCount. Default line count: 1.
Returns a page header tag string using HeaderTitle and using optionally specifed values for Stylesheet and JavaScript.
Returns a HRef tag string for setting up a URL with Label and URL with optional Title.
Returns a page end tag string conating optional FooterMsg.
Returns a page title tag string with optional alignment. Valid alignment value: left, center, right Default alignment: center.
Returns a default style sheet tag string to be used for HTML files generated by MayaChemTools.
Returns a table header tag string containing specified values for BorderWidth, CellPadding, CellSpacing, Width, and Height. Default values: BorderWidth = 1; CellPadding = 2; CellSpacing = 0; Width = NotUsed; Height = NotUsed.
Returns a table end tag string.
Returns a table column header tag string containing specified values for BgColor, Width. Default values: BgColor = NotUsed; Width = NotUsed.
Returns a table column end tag string.
Returns a table row header tag string containing specified values for HAlignment, BgColor, and VAlignment. Default values: HAlignment = center; $BgColor = NotUsed; $VAlignment = top.
Returns a table row end tag string.
Returns a table header row tag string using specifed Value. Default value: EmptySpace.
Returns a table row column value tag string using specified values for Value, BgColor, FontColor, and FontBold. Default values: Value = EmptySpace; BgColor = NotUsed; FontColor = NotUsed; $FontBold = NotUsed.
Returns a Java script tag string using java script commands specified in JSCmdList.
Returns a Java script command tag string for intializing structure viewers with specified CodeBase location for viewers to be invoked as Java Applets. Supported values for StrViewerType: Jmol, ChemDrawPlugIn, ChemDrawActiveX, Chem3DActiveX.
Returns a JME tag string for displaying molecule using MolString along with valid optional applet parameters specified as name and value pairs. Defaul JME parameter values: name = JME; id = JME; width = 250; height = 170.
Returns a JMol tag string for displaying molecule using MolString along with valid optional applet parameters specified as name and value pairs. Defaul JMol parameter values: name = Jmol; id = Jmol; width = 250; height = 170; progressbar = true; progresscolor = 0000ff; bgcolor = 000000; JMolScript = select *; set frank off; wireframe on; spacefill off.
Returns a MarvinView tag string for displaying molecule using MolString along with valid optional applet parameters specified as name and value pairs. Defaul MarvinView parameter values: name = MView; id = MView; width = 250; height = 170; navmode = zoom.
Returns a MDL Chime tag string for displaying molecule using MolFile along with valid optional parameters specified as name and value pairs. Defaul Chime parameter values: width = 250; height = 170; display2d = true.
Returns a CambridgeSoft Chem3D tag string for displaying molecule using MolFile along with valid optional parameters specified as name and value pairs. Defaul Chime parameter values: width = 250; height = 170; displaytype = BallAndStick; rotationbars = false; moviecontroller = false.
Returns a CambridgeSoft ChemDraw ActiveX tag string for displaying molecule using MolFile along with valid optional parameters specified as name and value pairs. Defaul ChemDraw ActiveX parameter values: width = 250; height = 170; ViewOnly = 1; ShrinkToFit = 1; ShowToolsWhenVisible = 1.
Returns a CambridgeSoft ChemDraw PlugIn tag string for displaying molecule using MolFile along with valid optional parameters specified as name and value pairs. Defaul ChemDraw PlugIn parameter values: width = 250; height = 170; ViewOnly = 1; ShrinkToFit = 1; ShowToolsWhenVisible = 1.
Returns a Accelrys ViewerActiveX tag string for displaying molecule using MolFile along with valid optional parameters specified as name and value pairs. Defaul ViewerActiveX parameter values: width = 250; height = 170; Convert2Dto3D = 0; Mouse = 4.
Copyright (C) 2024 Manish Sud. All rights reserved.
This file is part of MayaChemTools.
MayaChemTools is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.