7#ifndef CORE_FPDFAPI_PARSER_CPDF_BOOLEAN_H_
8#define CORE_FPDFAPI_PARSER_CPDF_BOOLEAN_H_
10#include "core/fpdfapi/parser/cpdf_object.h"
11#include "core/fxcrt/bytestring.h"
12#include "core/fxcrt/retain_ptr.h"
23 void SetString(
const ByteString& str)
override;
30 explicit CPDF_Boolean(
bool value);
33 bool m_bValue =
false;
ByteString GetString() const override
Type GetType() const override
int GetInteger() const override
void SetString(const ByteString &str) override
bool WriteTo(IFX_ArchiveStream *archive, const CPDF_Encryptor *encryptor) const override
CPDF_Boolean * AsMutableBoolean() override
RetainPtr< CPDF_Object > Clone() const override
void SetJpegImage(RetainPtr< IFX_SeekableReadStream > pFile)
bool Continue(PauseIndicatorIface *pPause)
RetainPtr< CFX_DIBBase > LoadDIBBase() const
void ResetCache(CPDF_Page *pPage)
RetainPtr< const CPDF_Dictionary > GetOC() const
RetainPtr< const CPDF_Stream > GetStream() const
bool StartLoadDIBBase(const CPDF_Dictionary *pFormResource, const CPDF_Dictionary *pPageResource, bool bStdCS, CPDF_ColorSpace::Family GroupFamily, bool bLoadMask, const CFX_Size &max_size_required)
RetainPtr< const CPDF_Dictionary > GetDict() const
void SetJpegImageInline(RetainPtr< IFX_SeekableReadStream > pFile)
RetainPtr< CFX_DIBBase > DetachBitmap()
static bool IsValidJpegBitsPerComponent(int32_t bpc)
void SetImage(const RetainPtr< CFX_DIBitmap > &pBitmap)
RetainPtr< CPDF_DIB > CreateNewDIB() const
static bool IsValidJpegComponent(int32_t comps)
RetainPtr< CFX_DIBBase > DetachMask()
void ConvertStreamToIndirectObject()
const CPDF_Boolean * AsBoolean() const
virtual CPDF_Boolean * AsMutableBoolean()
CPDF_Page * GetPage() const
void ResetBitmapForImage(RetainPtr< CPDF_Image > pImage)
RetainPtr< CFX_DIBBase > DetachCurBitmap()
bool StartGetCachedBitmap(RetainPtr< CPDF_Image > pImage, const CPDF_Dictionary *pFormResources, const CPDF_Dictionary *pPageResources, bool bStdCS, CPDF_ColorSpace::Family eFamily, bool bLoadMask, const CFX_Size &max_size_required)
bool Continue(PauseIndicatorIface *pPause)
uint32_t GetCurMatteColor() const
void CacheOptimization(int32_t dwLimitCacheSize)
CPDF_PageImageCache(CPDF_Page *pPage)
RetainPtr< CFX_DIBBase > DetachCurMask()
uint32_t GetTimeCount() const
CPDF_PageImageCache * GetPageImageCache()
const CPDF_Boolean * ToBoolean(const CPDF_Object *obj)
CPDF_Boolean * ToBoolean(CPDF_Object *obj)
const char kDecodeParms[]
#define CONSTRUCT_VIA_MAKE_RETAIN