#include "pdf/ui/document_properties.h"
#include <optional>
#include <string>
#include "base/i18n/number_formatting.h"
#include "base/i18n/rtl.h"
#include "base/strings/string_number_conversions.h"
#include "components/strings/grit/components_strings.h"
#include "pdf/document_metadata.h"
#include "printing/units.h"
#include "third_party/icu/source/i18n/unicode/ulocdata.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/geometry/size.h"
kMicronsPerInch;
kPointsPerInch;
namespace chrome_pdf {
namespace {
constexpr float ConvertPointsToInches(int length_points) { … }
constexpr float ConvertPointsToMillimeters(int length_points) { … }
std::u16string FormatLengthInInches(int length_points) { … }
std::u16string FormatLengthInMillimeters(int length_points) { … }
std::u16string GetOrientation(const gfx::Size& size) { … }
bool ShowInches() { … }
}
std::u16string FormatPageSize(const std::optional<gfx::Size>& size_points) { … }
std::string FormatPdfVersion(PdfVersion version) { … }
}