[#BloombergLP-balxml-Formatter_State-2constructor-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Formatter_State.adoc[Formatter_State]::Formatter_State :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balxml_formatter.h>` Create a `Formatter_State` with a `compact` selection having the default value. Optionally specify an `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory; otherwise, the default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/Formatter_State/2constructor-08.adoc[Formatter_State](); ---- [.small]#xref:BloombergLP/balxml/Formatter_State/2constructor-08.adoc[_» more..._]# Create a `Formatter_State` with default‐constructed state. Optionally specify an `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory; otherwise, the default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balxml/Formatter_State/2constructor-0b.adoc[Formatter_State](xref:BloombergLP/balxml/Formatter_State/allocator_type.adoc[allocator_type] const& allocator); ---- [.small]#xref:BloombergLP/balxml/Formatter_State/2constructor-0b.adoc[_» more..._]# Create a `Formatter_State` object having the same value as the specified `original` object. Optionally specify an `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory; otherwise, the default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/Formatter_State/2constructor-0d.adoc[Formatter_State]( xref:BloombergLP/balxml/Formatter_State.adoc[Formatter_State] const& original, xref:BloombergLP/balxml/Formatter_State/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/balxml/Formatter_State/2constructor-0d.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#