7#ifndef CORE_FPDFDOC_CPDF_DEFAULTAPPEARANCE_H_
8#define CORE_FPDFDOC_CPDF_DEFAULTAPPEARANCE_H_
10#include "core/fxcrt/bytestring.h"
11#include "core/fxge/cfx_color.h"
12#include "third_party/abseil-cpp/absl/types/optional.h"
33 const ByteString m_csDA;
constexpr CFX_FloatRect(float l, float b, float r, float t)
void Translate(float e, float f)
CPDF_Annot * GetAt(size_t index) const
bool Contains(const CPDF_Annot *pAnnot) const
void DisplayAnnots(CPDF_Page *pPage, CFX_RenderDevice *pDevice, CPDF_RenderContext *pContext, bool bPrinting, const CFX_Matrix &mtUser2Device, bool bShowWidget)
~CPDF_AnnotList() override
CPDF_AnnotList(CPDF_Page *pPage)
Subtype GetSubtype() const
const CPDF_Dictionary * GetAnnotDict() const
void SetPopupAnnot(CPDF_Annot *pAnnot)
~CPDF_DefaultAppearance()
CPDF_DefaultAppearance(const ByteString &csDA)
absl::optional< ByteString > GetFont(float *fFontSize) const
static bool FindTagParamFromStartForTesting(CPDF_SimpleParser *parser, ByteStringView token, int nParams)
absl::optional< CFX_Color > GetColor() const
CPDF_DefaultAppearance(const CPDF_DefaultAppearance &cDA)
absl::optional< CFX_Color::TypeAndARGB > GetColorARGB() const
bool KeyExist(const ByteString &key) const
ByteString GetByteStringFor(const ByteString &key) const
CFX_FloatRect GetRectFor(const ByteString &key) const
static void GenerateFormAP(CPDF_Document *pDoc, CPDF_Dictionary *pAnnotDict, FormType type)
float GetPageWidth() const override
bool operator==(const char *ptr) const
bool operator!=(const char *ptr) const