Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

TidyDocumentMBS.OptionList as TidyIteratorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: An iterator running through all the options available.

Feedback, Comments & Corrections

TidyDocumentMBS.OptionResetToDefault(OptionID as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Resets the option to default value.

Feedback, Comments & Corrections

TidyDocumentMBS.OptionsDifferentThanDefault as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Any settings different than default?

Feedback, Comments & Corrections

TidyDocumentMBS.OptionsDifferentThanSnapshot as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Any settings different than snapshot?

Feedback, Comments & Corrections

TidyDocumentMBS.OptionsResetAllToDefault as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Reset all options to their default values.

Feedback, Comments & Corrections

TidyDocumentMBS.OptionsResetToSnapshot as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Reset config settings to snapshot (after document processing).

Feedback, Comments & Corrections

TidyDocumentMBS.OptionsSnapshot as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Take a snapshot of current config settings.

Feedback, Comments & Corrections

TidyDocumentMBS.ParseFile(filename as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Parse markup in named file.

Feedback, Comments & Corrections

TidyDocumentMBS.ParseSource(theInput as TidyInputMBS) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Parse markup in given generic input source.

Feedback, Comments & Corrections

TidyDocumentMBS.ParseString(data as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Parse markup in given string.
Example:
dim t as new TidyDocumentMBS

call t.ParseString("<p>Hello World</p>") // pass here bad html
call t.CleanAndRepair

dim s As String=t.SaveString
MsgBox s // show fixed html

Feedback, Comments & Corrections

TidyDocumentMBS.ParseStringOption(OptionName as string, value as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Parses a string to set an option.
Example:
dim t as new TidyDocumentMBS

MsgBox str(t.OptionQuiet)
dim b1 as boolean = t.ParseStringOption("Quiet","true")
MsgBox str(t.OptionQuiet)

dim b2 as boolean = t.ParseStringOption("Quiet","false")
MsgBox str(t.OptionQuiet)
Notes:
Useful if you don't know the type of the option.
Returns true on success and false on failure.

Feedback, Comments & Corrections

TidyDocumentMBS.RelatedOptionsList(Option as TidyOptionMBS) as TidyIteratorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Iterate over a list of related options.

Feedback, Comments & Corrections

TidyDocumentMBS.ReportDoctype as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 17.1 Yes Yes Yes Yes No
Function: The report document type.

Feedback, Comments & Corrections

TidyDocumentMBS.Root as TidyNodeMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: The root node in the html tree.

Feedback, Comments & Corrections

TidyDocumentMBS.RunDiagnostics as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Run configured diagnostics on parsed and repaired markup.
Notes: Must call CleanAndRepair first.

Feedback, Comments & Corrections

TidyDocumentMBS.SaveConfig(theOutput as TidyOutputMBS) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Save current settings to given output sink.
Notes: Only non-default values are written.

Feedback, Comments & Corrections

TidyDocumentMBS.SaveConfigFile(filename as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Save current settings to named file.
Notes: Only non-default values are written.

Feedback, Comments & Corrections

TidyDocumentMBS.SaveFile(filename as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Save to named file.

Feedback, Comments & Corrections

TidyDocumentMBS.SaveOutput(theOutput as TidyOutputMBS) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Save to given generic output.

Feedback, Comments & Corrections

TidyDocumentMBS.SaveString as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Save to a string.
Example:
dim t as new TidyDocumentMBS

call t.ParseString("<p>Hello World</p>") // pass here bad html
call t.CleanAndRepair

dim s As String=t.SaveString
MsgBox s // show fixed html
Notes:
Returns "" on failure.

The returned string has no encoding set. You need to use DefineEncoding.

Feedback, Comments & Corrections

TidyDocumentMBS.SetBooleanOption(OptionID as Integer, value as boolean) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Sets an option with a given boolean value.
Notes: Returns true on success and false on failure.

Feedback, Comments & Corrections

TidyDocumentMBS.SetCharacterEncoding(encodingName as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Set the input/output character encoding for parsing markup.
Notes: Values include: ascii, latin1, raw, utf8, iso2022, mac, win1252, utf16le, utf16be, utf16, big5 and shiftjis. Case in-sensitive.

Feedback, Comments & Corrections

TidyDocumentMBS.SetErrorFile(filename as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Redirects error output to named file.
Notes: Returns true on success.

Feedback, Comments & Corrections

TidyDocumentMBS.SetInputCharacterEncoding(encodingName as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Set the input character encoding for parsing markup.
Example:
dim t as new TidyDocumentMBS

MsgBox str(t.OptionInCharEncoding)
call t.SetInputCharacterEncoding "utf8"
MsgBox str(t.OptionInCharEncoding)
Notes: Values include: ascii, latin1, raw, utf8, iso2022, mac, win1252, utf16le, utf16be, utf16, big5 and shiftjis. Case in-sensitive.

Feedback, Comments & Corrections

TidyDocumentMBS.SetIntegerOption(OptionID as Integer, value as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Sets an option with a given integer value.
Notes: Returns true on success and false on failure.

Feedback, Comments & Corrections

TidyDocumentMBS.SetOutputCharacterEncoding(encodingName as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Set the output character encoding for parsing markup.
Notes: Values include: ascii, latin1, raw, utf8, iso2022, mac, win1252, utf16le, utf16be, utf16, big5 and shiftjis. Case in-sensitive.

Feedback, Comments & Corrections

TidyDocumentMBS.SetStringOption(OptionID as Integer, value as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Sets an option with a given string value.
Notes: Returns true on success and false on failure.

Feedback, Comments & Corrections

TidyDocumentMBS.Status as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Get status of current document.

Feedback, Comments & Corrections

TidyDocumentMBS.UserDeclaredTagList as TidyIteratorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Iterate over user declared tags.

Feedback, Comments & Corrections

TidyDocumentMBS.WarningCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Tidy MBS Tools Plugin 5.4 Yes Yes Yes Yes No
Function: Number of warnings encountered.

Feedback, Comments & Corrections

Previous items

The items on this page are in the following plugins: MBS Tools Plugin.




Links
MBS FileMaker Plugins