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

Component&hyphen;private `struct`&period; Do not use&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct Encoder&lowbar;OptionsCompatibilityUtil;
----

== Description

This struct provides a namespace for a suite of functions used to compute the options for the underlying XML formatter used by the encoder, given the encoder&apos;s options&period;

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balxml/Encoder_OptionsCompatibilityUtil/getFormatterOptions.adoc[`getFormatterOptions`] 
| 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;
|===



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