DisplayTextLocaleSupport

DisplayTextLocaleSupport

Overview

DisplayTextLocaleSupport is a class in Aspose.Cells FOSS for C++.

Internal helper for parsing and applying locale directives (e.g. [$-0409], [$-F800]) embedded in Excel format strings.

This class provides 2 methods for working with DisplayTextLocaleSupport objects in C++ programs. Available methods include: ApplyLocaleDirectives, DisplayTextLocaleSupport. All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

Methods

SignatureDescription
DisplayTextLocaleSupport()Calls DisplayTextLocaleSupport on this DisplayTextLocaleSupport instance.
ApplyLocaleDirectives(section: std::string_view, defaultCulture: std::locale, sectionCulture: std::locale)std::stringScans the given format section for [$-XXXX] locale directives, replacing each directive with the appropriate literal text and updating sectionCulture to the resolved locale. directives (or defaultCulture when none are found).

See Also

 English