Top Method Summary
Options Name Purpose
LONGCHAR ConvertText (longchar, TextFormatEnum, TextFormatEnum) Converts the given value from the source into the target format
Consultingwerk.Util.DocumentConverter.ITextFormatReader GetReader (TextFormatEnum) Returns a new reader instance for the given format
Consultingwerk.Util.DocumentConverter.ITextFormatWriter GetWriter (TextFormatEnum) Returns a new writer instance for the given format

Top Constructor Summary
Options Name Purpose
DocumentConverter () Disallow instance creation


Method Detail
Top

LONGCHAR ConvertText (longchar, TextFormatEnum, TextFormatEnum)

Purpose: Converts the given value from the source into the target format
Notes: The unknown value returns the unknown value, an empty value
returns an empty value and an unchanged format returns the
input unchanged - in none of those cases is a reader or a
writer involved

Parameters:
plcText LONGCHAR
The value to convert
peSource Consultingwerk.Util.TextFormatEnum
The format the value is in
peTarget Consultingwerk.Util.TextFormatEnum
The format the value should be converted into
Returns LONGCHAR
The converted value as a UTF-8 longchar
Top

Consultingwerk.Util.DocumentConverter.ITextFormatReader GetReader (TextFormatEnum)

Purpose: Returns a new reader instance for the given format
Notes: A reader keeps parser state, so a new instance is returned
per conversion rather than a shared one

Parameters:
peFormat Consultingwerk.Util.TextFormatEnum
The format to return the reader for
Returns Consultingwerk.Util.DocumentConverter.ITextFormatReader
The ITextFormatReader implementation for that format
Top

Consultingwerk.Util.DocumentConverter.ITextFormatWriter GetWriter (TextFormatEnum)

Purpose: Returns a new writer instance for the given format
Notes: A writer keeps output state, so a new instance is returned
per conversion rather than a shared one

Parameters:
peFormat Consultingwerk.Util.TextFormatEnum
The format to return the writer for
Returns Consultingwerk.Util.DocumentConverter.ITextFormatWriter
The ITextFormatWriter implementation for that format


Constructor Detail
Top

DocumentConverter ()

Purpose: Disallow instance creation
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       19.09.2026 10:19:16