![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <vector>
#include "build/build_config.h"
#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/parser/cpdf_parser.h"
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/numerics/safe_conversions.h"
#include "core/fxcrt/retain_ptr.h"
#include "core/fxcrt/span.h"
#include "core/fxge/cfx_path.h"
#include "core/fxge/dib/fx_dib.h"
#include "public/fpdf_doc.h"
#include "public/fpdf_ext.h"
#include "public/fpdfview.h"
Go to the source code of this file.
RetainPtr< CPDF_Array > AddQuadPointsArrayToDictionary | ( | CPDF_Dictionary * | dict | ) |
Definition at line 281 of file cpdfsdk_helpers.cpp.
ByteString ByteStringFromFPDFWideString | ( | FPDF_WIDESTRING | wide_string | ) |
Definition at line 238 of file cpdfsdk_helpers.cpp.
References fxcrt::WideString::ToUTF8(), and WideStringFromFPDFWideString().
Referenced by FPDFAttachment_SetStringValue().
|
inline |
Definition at line 87 of file cpdfsdk_helpers.h.
Referenced by FPDF_FFLDraw(), and FPDFBitmap_Destroy().
CFX_FloatRect CFXFloatRectFromFSRectF | ( | const FS_RECTF & | rect | ) |
Definition at line 314 of file cpdfsdk_helpers.cpp.
References CFX_FloatRect::CFX_FloatRect().
Referenced by FPDF_RenderPageBitmapWithMatrix(), FPDFAnnot_SetRect(), and FPDFPage_TransFormWithClip().
CFX_Matrix CFXMatrixFromFSMatrix | ( | const FS_MATRIX & | matrix | ) |
Definition at line 322 of file cpdfsdk_helpers.cpp.
References CFX_Matrix::CFX_Matrix().
Referenced by FPDF_RenderPageBitmapWithMatrix(), FPDFPage_TransFormWithClip(), FPDFPageObj_SetMatrix(), and FPDFPageObj_TransformF().
CFX_PointF CFXPointFFromFSPointF | ( | const FS_POINTF & | point | ) |
Definition at line 310 of file cpdfsdk_helpers.cpp.
void CheckForUnsupportedAnnot | ( | const CPDF_Annot * | pAnnot | ) |
Definition at line 434 of file cpdfsdk_helpers.cpp.
References CPDF_Annot::FILEATTACHMENT, CPDF_Annot::GetAnnotDict(), CPDF_Dictionary::GetByteStringFor(), CPDF_Annot::GetSubtype(), pdfium::form_fields::kFT, pdfium::form_fields::kSig, CPDF_Annot::MOVIE, fxcrt::ByteString::operator!=(), fxcrt::ByteString::operator==(), CPDF_Annot::RICHMEDIA, CPDF_Annot::SCREEN, CPDF_Annot::SOUND, CPDF_Annot::THREED, and CPDF_Annot::WIDGET.
Referenced by CPDFSDK_PageView::LoadFXAnnots().
|
inline |
Definition at line 72 of file cpdfsdk_helpers.h.
Referenced by FORM_SetFocusedAnnot(), FPDFAnnot_AddFileAttachment(), FPDFAnnot_AppendObject(), FPDFAnnot_CountAttachmentPoints(), FPDFAnnot_GetAttachmentPoints(), FPDFAnnot_GetLink(), FPDFAnnot_GetLinkedAnnot(), FPDFAnnot_GetObject(), FPDFAnnot_GetObjectCount(), FPDFAnnot_GetValueType(), FPDFAnnot_RemoveObject(), FPDFAnnot_SetAP(), FPDFAnnot_UpdateObject(), and FPDFPage_CloseAnnot().
|
inline |
Definition at line 119 of file cpdfsdk_helpers.h.
Referenced by FPDFDest_GetDestPageIndex(), FPDFDest_GetLocationInPage(), and FPDFDest_GetView().
|
inline |
Definition at line 174 of file cpdfsdk_helpers.h.
Referenced by FPDF_VIEWERREF_GetPrintPageRangeCount(), and FPDF_VIEWERREF_GetPrintPageRangeElement().
|
inline |
Definition at line 112 of file cpdfsdk_helpers.h.
Referenced by FPDFClipPath_CountPaths(), FPDFClipPath_CountPathSegments(), FPDFClipPath_GetPathSegment(), and FPDFPage_InsertClipPath().
|
inline |
Definition at line 166 of file cpdfsdk_helpers.h.
Referenced by FPDFPageObj_RemoveMark(), FPDFPageObjMark_CountParams(), and FPDFPageObjMark_GetName().
|
inline |
Definition at line 64 of file cpdfsdk_helpers.h.
Referenced by FPDFAction_GetDest(), FPDFAction_GetFilePath(), FPDFAction_GetType(), and FPDFAction_GetURIPath().
|
inline |
Definition at line 105 of file cpdfsdk_helpers.h.
Referenced by FPDFBookmark_GetAction(), FPDFBookmark_GetCount(), FPDFBookmark_GetDest(), FPDFBookmark_GetFirstChild(), FPDFBookmark_GetNextSibling(), and FPDFBookmark_GetTitle().
|
inline |
Definition at line 142 of file cpdfsdk_helpers.h.
Referenced by FPDFLink_GetAction(), FPDFLink_GetAnnotRect(), FPDFLink_GetDest(), and FPDFLink_GetQuadPoints().
|
inline |
Definition at line 252 of file cpdfsdk_helpers.h.
Referenced by FPDFSignatureObj_GetByteRange(), FPDFSignatureObj_GetContents(), FPDFSignatureObj_GetDocMDPPermission(), FPDFSignatureObj_GetReason(), FPDFSignatureObj_GetSubFilter(), and FPDFSignatureObj_GetTime().
|
inline |
Definition at line 209 of file cpdfsdk_helpers.h.
Referenced by FPDF_StructElement_Attr_GetCount(), FPDF_StructElement_Attr_GetName(), and FPDF_StructElement_Attr_GetValue().
CPDF_Document * CPDFDocumentFromFPDFDocument | ( | FPDF_DOCUMENT | doc | ) |
Definition at line 205 of file cpdfsdk_helpers.cpp.
Referenced by FPDF_CopyViewerPreferences(), FPDF_CountNamedDests(), FPDF_DocumentHasValidCrossReferenceTable(), FPDF_GetDocPermissions(), FPDF_GetDocUserPermissions(), FPDF_GetFileIdentifier(), FPDF_GetFileVersion(), FPDF_GetFormType(), FPDF_GetMetaText(), FPDF_GetNamedDest(), FPDF_GetNamedDestByName(), FPDF_GetPageCount(), FPDF_GetPageLabel(), FPDF_GetPageSizeByIndexF(), FPDF_GetSecurityHandlerRevision(), FPDF_GetSignatureCount(), FPDF_GetSignatureObject(), FPDF_GetTrailerEnds(), FPDF_GetXFAPacketContent(), FPDF_GetXFAPacketCount(), FPDF_GetXFAPacketName(), FPDF_ImportNPagesToOne(), FPDF_ImportPages(), FPDF_ImportPagesByIndex(), FPDF_LoadPage(), FPDF_MovePages(), FPDF_NewXObjectFromPage(), FPDF_VIEWERREF_GetDuplex(), FPDF_VIEWERREF_GetName(), FPDF_VIEWERREF_GetNumCopies(), FPDF_VIEWERREF_GetPrintPageRange(), FPDF_VIEWERREF_GetPrintScaling(), FPDFAction_GetDest(), FPDFAction_GetURIPath(), FPDFAttachment_SetFile(), FPDFAvail_GetFirstPageNum(), FPDFBookmark_Find(), FPDFBookmark_GetDest(), FPDFBookmark_GetFirstChild(), FPDFBookmark_GetNextSibling(), FPDFCatalog_IsTagged(), FPDFCatalog_SetLanguage(), FPDFDest_GetDestPageIndex(), FPDFDoc_AddAttachment(), FPDFDoc_DeleteAttachment(), FPDFDoc_GetAttachment(), FPDFDoc_GetAttachmentCount(), FPDFDoc_GetJavaScriptAction(), FPDFDoc_GetJavaScriptActionCount(), FPDFDoc_GetPageMode(), FPDFDOC_InitFormFillEnvironment(), FPDFImageObj_GetRenderedBitmap(), FPDFLink_GetDest(), FPDFPage_Delete(), FPDFPage_New(), FPDFPageObj_CreateTextObj(), FPDFPageObj_NewImageObj(), FPDFPageObj_NewTextObj(), FPDFText_LoadCidType2Font(), FPDFText_LoadFont(), FPDFText_LoadStandardFont(), and FPDFTextObj_GetRenderedBitmap().
Definition at line 126 of file cpdfsdk_helpers.h.
Referenced by FPDFFont_Close(), FPDFFont_GetAscent(), FPDFFont_GetBaseFontName(), FPDFFont_GetDescent(), FPDFFont_GetFamilyName(), FPDFFont_GetFlags(), FPDFFont_GetFontData(), FPDFFont_GetGlyphPath(), FPDFFont_GetGlyphWidth(), FPDFFont_GetIsEmbedded(), FPDFFont_GetItalicAngle(), FPDFFont_GetWeight(), and FPDFPageObj_CreateTextObj().
|
inline |
Definition at line 134 of file cpdfsdk_helpers.h.
Referenced by FPDFJavaScriptAction_GetName(), and FPDFJavaScriptAction_GetScript().
|
inline |
Definition at line 149 of file cpdfsdk_helpers.h.
Referenced by FPDFLink_CloseWebLinks(), FPDFLink_CountRects(), FPDFLink_CountWebLinks(), FPDFLink_GetRect(), FPDFLink_GetTextRange(), and FPDFLink_GetURL().
|
inline |
Definition at line 80 of file cpdfsdk_helpers.h.
Referenced by FPDFAttachment_GetFile(), FPDFAttachment_GetName(), FPDFAttachment_GetStringValue(), FPDFAttachment_GetValueType(), FPDFAttachment_HasKey(), FPDFAttachment_SetFile(), and FPDFAttachment_SetStringValue().
|
inline |
Definition at line 218 of file cpdfsdk_helpers.h.
Referenced by FPDF_StructElement_Attr_CountChildren(), FPDF_StructElement_Attr_GetBlobValue(), FPDF_StructElement_Attr_GetBooleanValue(), FPDF_StructElement_Attr_GetChildAtIndex(), FPDF_StructElement_Attr_GetNumberValue(), FPDF_StructElement_Attr_GetStringValue(), and FPDF_StructElement_Attr_GetType().
Definition at line 213 of file cpdfsdk_helpers.cpp.
References IPDF_Page::AsPDFPage(), and IPDFPageFromFPDFPage().
Referenced by FORM_DoPageAAction(), FPDF_GetPageAAction(), FPDF_GetPageBoundingBox(), FPDF_RenderPage_Close(), FPDF_RenderPage_Continue(), FPDF_RenderPageBitmap(), FPDF_RenderPageBitmapWithColorScheme_Start(), FPDF_RenderPageBitmapWithMatrix(), FPDF_StructTree_GetForPage(), FPDFAnnot_GetFormFieldAtPoint(), FPDFImageObj_GetImageMetadata(), FPDFImageObj_GetRenderedBitmap(), FPDFImageObj_SetBitmap(), FPDFLink_Enumerate(), FPDFLink_GetAnnot(), FPDFLink_GetLinkAtPoint(), FPDFLink_GetLinkZOrderAtPoint(), FPDFPage_CountObjects(), FPDFPage_CreateAnnot(), FPDFPage_Flatten(), FPDFPage_FormFieldZOrderAtPoint(), FPDFPage_GenerateContent(), FPDFPage_GetAnnot(), FPDFPage_GetAnnotCount(), FPDFPage_GetAnnotIndex(), FPDFPage_GetArtBox(), FPDFPage_GetBleedBox(), FPDFPage_GetCropBox(), FPDFPage_GetMediaBox(), FPDFPage_GetObject(), FPDFPage_GetRotation(), FPDFPage_GetThumbnailAsBitmap(), FPDFPage_GetTrimBox(), FPDFPage_HasFormFieldAtPoint(), FPDFPage_HasTransparency(), FPDFPage_InsertClipPath(), FPDFPage_InsertObject(), FPDFPage_RemoveAnnot(), FPDFPage_RemoveObject(), FPDFPage_SetArtBox(), FPDFPage_SetBleedBox(), FPDFPage_SetCropBox(), FPDFPage_SetMediaBox(), FPDFPage_SetRotation(), FPDFPage_SetTrimBox(), FPDFPage_TransformAnnots(), FPDFPage_TransFormWithClip(), FPDFText_LoadPage(), FPDFTextObj_GetRenderedBitmap(), and TEST_F().
|
inline |
Definition at line 157 of file cpdfsdk_helpers.h.
Referenced by FPDFAnnot_AppendObject(), FPDFAnnot_UpdateObject(), FPDFImageObj_GetImageFilter(), FPDFPage_InsertObject(), FPDFPage_RemoveObject(), FPDFPageObj_AddMark(), FPDFPageObj_CountMarks(), FPDFPageObj_Destroy(), FPDFPageObj_GetBounds(), FPDFPageObj_GetClipPath(), FPDFPageObj_GetDashArray(), FPDFPageObj_GetDashCount(), FPDFPageObj_GetDashPhase(), FPDFPageObj_GetFillColor(), FPDFPageObj_GetLineCap(), FPDFPageObj_GetLineJoin(), FPDFPageObj_GetMark(), FPDFPageObj_GetMarkedContentID(), FPDFPageObj_GetMatrix(), FPDFPageObj_GetRotatedBounds(), FPDFPageObj_GetStrokeColor(), FPDFPageObj_GetStrokeWidth(), FPDFPageObj_GetType(), FPDFPageObj_HasTransparency(), FPDFPageObj_RemoveMark(), FPDFPageObj_SetBlendMode(), FPDFPageObj_SetDashArray(), FPDFPageObj_SetDashPhase(), FPDFPageObj_SetFillColor(), FPDFPageObj_SetLineCap(), FPDFPageObj_SetLineJoin(), FPDFPageObj_SetMatrix(), FPDFPageObj_SetStrokeColor(), FPDFPageObj_SetStrokeWidth(), FPDFPageObj_TransformClipPath(), FPDFPageObj_TransformF(), FPDFPageObjMark_RemoveParam(), FPDFPageObjMark_SetBlobParam(), FPDFPageObjMark_SetIntParam(), FPDFPageObjMark_SetStringParam(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
inline |
Definition at line 244 of file cpdfsdk_helpers.h.
Referenced by FORM_DoDocumentAAction(), FORM_DoDocumentJSAction(), FORM_DoDocumentOpenAction(), FORM_DoPageAAction(), FORM_ForceToKillFocus(), FORM_GetFocusedAnnot(), FORM_OnBeforeClosePage(), FORM_SetFocusedAnnot(), FormHandleToInteractiveForm(), FPDFAnnot_GetFocusableSubtypes(), FPDFAnnot_GetFocusableSubtypesCount(), FPDFAnnot_SetFocusableSubtypes(), and FPDFDOC_ExitFormFillEnvironment().
|
inline |
Definition at line 200 of file cpdfsdk_helpers.h.
Referenced by FPDF_StructElement_CountChildren(), FPDF_StructElement_GetActualText(), FPDF_StructElement_GetAltText(), FPDF_StructElement_GetAttributeAtIndex(), FPDF_StructElement_GetAttributeCount(), FPDF_StructElement_GetChildAtIndex(), FPDF_StructElement_GetChildMarkedContentID(), FPDF_StructElement_GetID(), FPDF_StructElement_GetLang(), FPDF_StructElement_GetMarkedContentID(), FPDF_StructElement_GetMarkedContentIdAtIndex(), FPDF_StructElement_GetMarkedContentIdCount(), FPDF_StructElement_GetObjType(), FPDF_StructElement_GetParent(), FPDF_StructElement_GetStringAttribute(), FPDF_StructElement_GetTitle(), and FPDF_StructElement_GetType().
|
inline |
Definition at line 191 of file cpdfsdk_helpers.h.
Referenced by FPDF_StructTree_CountChildren(), and FPDF_StructTree_GetChildAtIndex().
|
inline |
Definition at line 234 of file cpdfsdk_helpers.h.
Referenced by FPDFText_FindClose(), FPDFText_FindNext(), FPDFText_FindPrev(), FPDFText_GetSchCount(), and FPDFText_GetSchResultIndex().
|
inline |
Definition at line 226 of file cpdfsdk_helpers.h.
Referenced by FPDFLink_LoadWebLinks(), FPDFText_ClosePage(), FPDFText_CountChars(), FPDFText_CountRects(), FPDFText_FindStart(), FPDFText_GetBoundedText(), FPDFText_GetCharIndexAtPos(), FPDFText_GetCharIndexFromTextIndex(), FPDFText_GetRect(), FPDFText_GetText(), FPDFText_GetTextIndexFromCharIndex(), and FPDFTextObj_GetText().
unsigned long DecodeStreamMaybeCopyAndReturnLength | ( | RetainPtr< const CPDF_Stream > | stream, |
pdfium::span< uint8_t > | buffer ) |
Definition at line 354 of file cpdfsdk_helpers.cpp.
CPDFSDK_InteractiveForm * FormHandleToInteractiveForm | ( | FPDF_FORMHANDLE | hHandle | ) |
Definition at line 232 of file cpdfsdk_helpers.cpp.
References CPDFSDKFormFillEnvironmentFromFPDFFormHandle(), and CPDFSDK_FormFillEnvironment::GetInteractiveForm().
Referenced by FPDF_RemoveFormFieldHighlight(), FPDF_SetFormFieldHighlightAlpha(), FPDF_SetFormFieldHighlightColor(), FPDFAnnot_GetFormControlIndex(), FPDFAnnot_GetFormFieldAtPoint(), FPDFPage_FormFieldZOrderAtPoint(), and FPDFPage_HasFormFieldAtPoint().
|
inline |
Definition at line 61 of file cpdfsdk_helpers.h.
Referenced by FPDF_GetPageAAction(), FPDFBookmark_GetAction(), and FPDFLink_GetAction().
|
inline |
Definition at line 68 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 77 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 84 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 100 of file cpdfsdk_helpers.h.
Referenced by FPDFBookmark_GetFirstChild(), and FPDFBookmark_GetNextSibling().
|
inline |
Definition at line 109 of file cpdfsdk_helpers.h.
Referenced by FPDFPageObj_GetClipPath().
|
inline |
Definition at line 116 of file cpdfsdk_helpers.h.
Referenced by FPDFAction_GetDest(), FPDFBookmark_GetDest(), and FPDFLink_GetDest().
FPDF_DOCUMENT FPDFDocumentFromCPDFDocument | ( | CPDF_Document * | doc | ) |
Definition at line 209 of file cpdfsdk_helpers.cpp.
Definition at line 123 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 239 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 130 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 139 of file cpdfsdk_helpers.h.
Definition at line 201 of file cpdfsdk_helpers.cpp.
|
inline |
Definition at line 146 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 153 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 162 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 171 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 178 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 230 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 248 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 205 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 214 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 196 of file cpdfsdk_helpers.h.
Referenced by FPDF_StructElement_GetParent().
|
inline |
Definition at line 187 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 223 of file cpdfsdk_helpers.h.
|
inline |
Definition at line 257 of file cpdfsdk_helpers.h.
FS_MATRIX FSMatrixFromCFXMatrix | ( | const CFX_Matrix & | matrix | ) |
Definition at line 326 of file cpdfsdk_helpers.cpp.
References CFX_Matrix::a, CFX_Matrix::b, CFX_Matrix::c, CFX_Matrix::d, CFX_Matrix::e, and CFX_Matrix::f.
Referenced by FPDFPageObj_GetMatrix(), and FPDFText_GetMatrix().
FS_RECTF FSRectFFromCFXFloatRect | ( | const CFX_FloatRect & | rect | ) |
Definition at line 318 of file cpdfsdk_helpers.cpp.
References CFX_FloatRect::bottom, CFX_FloatRect::left, CFX_FloatRect::right, and CFX_FloatRect::top.
Referenced by FPDFAnnot_GetRect(), and FPDFLink_GetAnnotRect().
FXDIB_Format FXDIBFormatFromFPDFFormat | ( | int | format | ) |
Definition at line 217 of file cpdfsdk_helpers.cpp.
References k8bppRgb, kBgr, kBgra, kBgrx, and kInvalid.
Referenced by EmbedderTest::BytesPerPixelForFormat(), and FPDFBitmap_CreateEx().
|
inline |
Definition at line 182 of file cpdfsdk_helpers.h.
Referenced by FPDFPathSegment_GetClose(), FPDFPathSegment_GetPoint(), and FPDFPathSegment_GetType().
RetainPtr< CPDF_Array > GetMutableQuadPointsArrayFromDictionary | ( | CPDF_Dictionary * | dict | ) |
Definition at line 275 of file cpdfsdk_helpers.cpp.
RetainPtr< const CPDF_Array > GetQuadPointsArrayFromDictionary | ( | const CPDF_Dictionary * | dict | ) |
Definition at line 270 of file cpdfsdk_helpers.cpp.
References CPDF_Dictionary::GetArrayFor().
bool GetQuadPointsAtIndex | ( | RetainPtr< const CPDF_Array > | array, |
size_t | quad_index, | ||
FS_QUADPOINTSF * | quad_points ) |
Definition at line 289 of file cpdfsdk_helpers.cpp.
unsigned long GetRawStreamMaybeCopyAndReturnLength | ( | RetainPtr< const CPDF_Stream > | stream, |
pdfium::span< uint8_t > | buffer ) |
Definition at line 347 of file cpdfsdk_helpers.cpp.
Definition at line 197 of file cpdfsdk_helpers.cpp.
Referenced by CPDFPageFromFPDFPage(), FORM_DoPageAAction(), FORM_OnBeforeClosePage(), FPDF_ClosePage(), FPDF_DeviceToPage(), FPDF_GetPageHeightF(), FPDF_GetPageWidthF(), FPDF_PageToDevice(), FPDFLink_GetAnnot(), FPDFPage_CreateAnnot(), FPDFPage_GetAnnot(), and CPDFSDKBAAnnotTest::SetUpBAAnnot().
FPDF_BOOL IsPDFSandboxPolicyEnabled | ( | FPDF_DWORD | policy | ) |
Definition at line 375 of file cpdfsdk_helpers.cpp.
Referenced by FPDF_CreateNewDocument(), and fxjs::FX_GetDateTime().
bool IsValidQuadPointsIndex | ( | const CPDF_Array * | array, |
size_t | index ) |
Definition at line 285 of file cpdfsdk_helpers.cpp.
unsigned long NulTerminateMaybeCopyAndReturnLength | ( | const ByteString & | text, |
pdfium::span< char > | result_span ) |
Definition at line 330 of file cpdfsdk_helpers.cpp.
std::vector< uint32_t > ParsePageRangeString | ( | const ByteString & | bsPageRange, |
uint32_t | nCount ) |
Definition at line 508 of file cpdfsdk_helpers.cpp.
void ProcessParseError | ( | CPDF_Parser::Error | err | ) |
Definition at line 471 of file cpdfsdk_helpers.cpp.
References CPDF_Parser::FILE_ERROR, CPDF_Parser::FORMAT_ERROR, FXSYS_SetLastError(), CPDF_Parser::HANDLER_ERROR, CPDF_Parser::PASSWORD_ERROR, and CPDF_Parser::SUCCESS.
void ReportUnsupportedFeatures | ( | const CPDF_Document * | pDoc | ) |
Definition at line 390 of file cpdfsdk_helpers.cpp.
References CPDF_Document::GetRoot(), CPDF_Dictionary::KeyExist(), and fxcrt::ByteString::operator==().
void ReportUnsupportedXFA | ( | const CPDF_Document * | pDoc | ) |
Definition at line 429 of file cpdfsdk_helpers.cpp.
References CPDF_Document::GetExtension().
Referenced by FPDFDOC_InitFormFillEnvironment().
void SetColorFromScheme | ( | const FPDF_COLORSCHEME * | pColorScheme, |
CPDF_RenderOptions * | pRenderOptions ) |
Definition at line 494 of file cpdfsdk_helpers.cpp.
References CPDF_RenderOptions::ColorScheme::path_fill_color, CPDF_RenderOptions::ColorScheme::path_stroke_color, CPDF_RenderOptions::SetColorScheme(), CPDF_RenderOptions::ColorScheme::text_fill_color, and CPDF_RenderOptions::ColorScheme::text_stroke_color.
void SetPDFSandboxPolicy | ( | FPDF_DWORD | policy, |
FPDF_BOOL | enable ) |
Definition at line 361 of file cpdfsdk_helpers.cpp.
Referenced by FPDF_SetSandBoxPolicy().
void SetPDFUnsupportInfo | ( | UNSUPPORT_INFO * | unsp_info | ) |
Definition at line 386 of file cpdfsdk_helpers.cpp.
Referenced by FSDK_SetUnSpObjProcessHandler().
UNSAFE_BUFFER_USAGE pdfium::span< char > SpanFromFPDFApiArgs | ( | void * | buffer, |
pdfium::StrictNumeric< size_t > | buflen ) |
Definition at line 252 of file cpdfsdk_helpers.cpp.
unsigned long Utf16EncodeMaybeCopyAndReturnLength | ( | const WideString & | text, |
pdfium::span< char > | result_span ) |
Definition at line 338 of file cpdfsdk_helpers.cpp.
References fxcrt::WideString::ToUTF16LE().
WideString WideStringFromFPDFWideString | ( | FPDF_WIDESTRING | wide_string | ) |
Definition at line 244 of file cpdfsdk_helpers.cpp.
Referenced by ByteStringFromFPDFWideString(), FORM_ReplaceAndKeepSelection(), FORM_ReplaceSelection(), FPDFAnnot_AddFileAttachment(), FPDFAnnot_SetAP(), FPDFAnnot_SetStringValue(), FPDFBookmark_Find(), FPDFDoc_AddAttachment(), FPDFText_SetText(), and GetPlatformString().
|
inline |
Definition at line 261 of file cpdfsdk_helpers.h.
Referenced by FPDF_CloseXObject(), and FPDF_NewFormObjectFromXObject().