7#ifndef CORE_FPDFDOC_CPDF_FORMCONTROL_H_
8#define CORE_FPDFDOC_CPDF_FORMCONTROL_H_
10#include "constants/appearance.h"
11#include "core/fpdfdoc/cpdf_aaction.h"
12#include "core/fpdfdoc/cpdf_action.h"
13#include "core/fpdfdoc/cpdf_annot.h"
14#include "core/fpdfdoc/cpdf_annotlist.h"
15#include "core/fpdfdoc/cpdf_apsettings.h"
16#include "core/fpdfdoc/cpdf_defaultappearance.h"
17#include "core/fpdfdoc/cpdf_formfield.h"
18#include "core/fpdfdoc/cpdf_iconfit.h"
19#include "core/fxcrt/fx_coordinates.h"
20#include "core/fxcrt/fx_string.h"
21#include "core/fxcrt/retain_ptr.h"
22#include "core/fxcrt/unowned_ptr.h"
23#include "core/fxge/cfx_color.h"
24#include "core/fxge/dib/fx_dib.h"
25#include "third_party/abseil-cpp/absl/types/optional.h"
57 bool HasMKEntry(
const ByteString& csEntry)
const;
103 CFX_Color GetOriginalColor(
const ByteString& csEntry);
105 WideString GetCaption(
const ByteString& csEntry)
const;
106 RetainPtr<CPDF_Stream> GetIcon(
const ByteString& csEntry);
110 RetainPtr<CPDF_Dictionary>
const m_pWidgetDict;
CFX_Color GetOriginalColor(const ByteString &csEntry) const
bool HasMKEntry(const ByteString &csEntry) const
RetainPtr< CPDF_Stream > GetIcon(const ByteString &csEntry) const
CPDF_ApSettings(const CPDF_ApSettings &that)
CPDF_IconFit GetIconFit() const
WideString GetCaption(const ByteString &csEntry) const
float GetOriginalColorComponent(int index, const ByteString &csEntry) const
CFX_Color::TypeAndARGB GetColorARGB(const ByteString &csEntry) const
CPDF_ApSettings(RetainPtr< CPDF_Dictionary > pDict)
int GetTextPosition() const
ScaleMethod GetScaleMethod() const
bool GetFittingBounds() const
CFX_VectorF GetImageOffset(const CFX_SizeF &image_size, const CFX_VectorF &scale, const CFX_FloatRect &rcPlate) const
CFX_PointF GetIconBottomLeftPosition() const
bool IsProportionalScale() const
CFX_VectorF GetScale(const CFX_SizeF &image_size, const CFX_FloatRect &rcPlate) const
CPDF_IconFit(RetainPtr< const CPDF_Dictionary > pDict)
CPDF_IconFit(const CPDF_IconFit &that)
constexpr FX_ARGB ArgbEncode(uint32_t a, uint32_t r, uint32_t g, uint32_t b)
TypeAndARGB(CFX_Color::Type type_in, FX_ARGB argb_in)
constexpr CFX_Color(Type type=CFX_Color::Type::kTransparent, float color1=0.0f, float color2=0.0f, float color3=0.0f, float color4=0.0f)