[#BloombergLP-balxml-Formatter-2constructor-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Formatter.adoc[Formatter]::Formatter :relfileprefix: ../../../ :mrdocs: Construct a formatter that writes to the specified `output` stream using the specified `encoderOptions` and formatting parameters. == Synopsis Declared in `<balxml_formatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Formatter( std::ostream& output, xref:BloombergLP/balxml/EncoderOptions.adoc[EncoderOptions] const& encoderOptions, int indentLevel = 0, int spacesPerLevel = 4, int wrapColumn = 80, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#