Platforms to show: All Mac Windows Linux Cross-Platform
Back to TidyDocumentMBS class.
TidyDocumentMBS.OptionOutputXhtml as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should generate pretty printed output, writing it as extensible HTML.
This option causes Tidy to set the DOCTYPE and default namespace as appropriate to XHTML, and will use the corrected value in output regardless of other sources.
For XHTML, entities can be written as named or numeric entities according to the setting of numeric-entities.
The original case of tags and attributes will be preserved, regardless of other options.
(Read and Write property)
TidyDocumentMBS.OptionOutputXml as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should pretty print output, writing it as well-formed XML.
Any entities not defined in XML 1.0 will be written as numeric entities to allow them to be parsed by an XML parser.
The original case of tags and attributes will be preserved, regardless of other options.
(Read and Write property)
TidyDocumentMBS.OptionPreserveEntities as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should preserve well-formed entities as found in the input.
(Read and Write property)
TidyDocumentMBS.OptionPreTags as String Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option takes a space or comma separated list of tag names. Unless you declare new tags, Tidy will refuse to generate a tidied file if the input includes previously unknown tags. Note you can not as yet add new CDATA elements (similar to <SCRIPT>). This option is ignored in XML mode.
(Read and Write property)
TidyDocumentMBS.OptionPunctuationWrap as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should line wrap after some Unicode or Chinese punctuation characters.
(Read and Write property)
TidyDocumentMBS.OptionPunctWrap as Boolean Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
TidyDocumentMBS.OptionQuiet as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should output the summary of the numbers of errors and warnings, or the welcome or informational messages.
(Read and Write property)
Some examples using this property:
TidyDocumentMBS.OptionQuoteAmpersand as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should output unadorned & characters as &amp;.
(Read and Write property)
Some examples using this property:
TidyDocumentMBS.OptionQuoteMarks as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should output " characters as &quot; as is preferred by some editing environments.
The apostrophe character ' is written out as &#39; since many web browsers don't yet support &apos;.
(Read and Write property)
Some examples using this property:
TidyDocumentMBS.OptionQuoteNbsp as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should output non-breaking space characters as entities, rather than as the Unicode character value 160 (decimal).
(Read and Write property)
TidyDocumentMBS.OptionRepeatedAttributes as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should keep the first or last attribute, if an attribute is repeated, e.g. has two align attributes.
(Read and Write property)
TidyDocumentMBS.OptionReplaceColor as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should replace numeric values in color attributes with HTML/XHTML color names where defined, e.g. replace #ffffff with white.
(Read and Write property)
TidyDocumentMBS.OptionShowBodyOnly as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should print only the contents of the body tag as an HTML fragment.
If set to auto, this is performed only if the body tag has been inferred.
Useful for incorporating existing whole pages as a portion of another page.
This option has no effect if XML output is requested.
(Read and Write property)
TidyDocumentMBS.OptionShowErrors as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies the number Tidy uses to determine if further errors should be shown. If set to 0, then no errors are shown.
(Read and Write property)
TidyDocumentMBS.OptionShowInfo as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should display info-level messages.
(Read and Write property)
TidyDocumentMBS.OptionShowMarkup as Boolean Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Note that Tidy won't generate a pretty printed version if it finds significant errors (see force-output).
(Read and Write property)
TidyDocumentMBS.OptionShowWarnings as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should suppress warnings. This can be useful when a few errors are hidden in a flurry of warnings.
(Read and Write property)
TidyDocumentMBS.OptionSkipNested as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies that Tidy should skip nested tags when parsing script and style data.
(Read and Write property)
TidyDocumentMBS.OptionSlideStyle as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option has no function and is deprecated.
(Read and Write property)
TidyDocumentMBS.OptionSortAttributes as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies that Tidy should sort attributes within an element using the specified sort algorithm. If set to alpha, the algorithm is an ascending alphabetic sort.
(Read and Write property)
TidyDocumentMBS.OptionSplit as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option has no function and is deprecated.
(Read and Write property)
TidyDocumentMBS.OptionStrictTagsAttributes as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This options ensures that tags and attributes are applicable for the version of HTML that Tidy outputs. When set to yes (the default) and the output document type is a strict doctype, then Tidy will report errors. If the output document type is a loose or transitional doctype, then Tidy will report warnings.
Additionally if drop-proprietary-attributes is enabled, then not applicable attributes will be dropped, too.
When set to no, these checks are not performed.
(Read and Write property)
TidyDocumentMBS.OptionTabSize as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies the number of columns that Tidy uses between successive tab stops. It is used to map tabs to spaces when reading the input.
(Read and Write property)
TidyDocumentMBS.OptionTidyMark as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should add a meta element to the document head to indicate that the document has been tidied.
Tidy won't add a meta element if one is already present.
(Read and Write property)
TidyDocumentMBS.OptionUppercaseAttributes as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should output attribute names in upper case.
The default is no, which results in lower case attribute names, except for XML input, where the original case is preserved.
(Read and Write property)
TidyDocumentMBS.OptionUpperCaseAttrs as Boolean Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The default is no, which results in lower case attribute names, except for XML input, where the original case is preserved.
(Read and Write property)
TidyDocumentMBS.OptionUppercaseTags as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should output tag names in upper case.
The default is no which results in lower case tag names, except for XML input where the original case is preserved.
(Read and Write property)
Some examples using this property:
TidyDocumentMBS.OptionVerticalSpace as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should add some extra empty lines for readability.
The default is no.
If set to auto Tidy will eliminate nearly all newline characters.
(Read and Write property)
TidyDocumentMBS.OptionVertSpace as Integer Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
TidyDocumentMBS.OptionWord2000 as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This option specifies if Tidy should go to great pains to strip out all the surplus stuff Microsoft Word 2000 inserts when you save Word documents as "Web pages". It doesn't handle embedded images or VML.
You should consider using Word's "Save As: Web Page, Filtered".
(Read and Write property)
The items on this page are in the following plugins: MBS Tools Plugin.