[#BloombergLP-balxml-Encoder_OptionsCompatibilityUtil-getFormatterOptions]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Encoder_OptionsCompatibilityUtil.adoc[Encoder&lowbar;OptionsCompatibilityUtil]::getFormatterOptions
:relfileprefix: ../../../
:mrdocs:

Load to the specified `formatterIndentLevel`, `formatterSpacesPerLevel`, and `formatterWrapColumn`, the number of spaces to indent the first element in the XML document, the number of spaces to use for indenting each level of nesting in the document, and the maximum horizontal column number after which the encoder should insert a line break, respectively, based on the specified `encoderOptions`&period; Load to the specified `formatterOptions` the options that the formatter should use to emit XML, based on the `encoderOptions`&period; The behavior is undefined unless `formatterOptions` has the default value&period;

== Synopsis

Declared in `&lt;balxml&lowbar;encoder&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
getFormatterOptions(
    int* formatterIndentLevel,
    int* formatterSpacesPerLevel,
    int* formatterWrapColumn,
    xref:BloombergLP/balxml/EncoderOptions.adoc[EncoderOptions]* formatterOptions,
    xref:BloombergLP/balxml/EncoderOptions.adoc[EncoderOptions] const& encoderOptions);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
