Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fpdf_annot_embeddertest.cpp File Reference

(ada9ddbf8c604585ac344b72f7bb63ac27c84726)

#include "public/fpdf_annot.h"
#include <limits.h>
#include <algorithm>
#include <string>
#include <vector>
#include "build/build_config.h"
#include "constants/annotation_common.h"
#include "core/fpdfapi/page/cpdf_annotcontext.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fxcrt/fx_system.h"
#include "core/fxge/cfx_defaultrenderdevice.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "public/cpp/fpdf_scopers.h"
#include "public/fpdf_edit.h"
#include "public/fpdf_formfill.h"
#include "public/fpdfview.h"
#include "testing/embedder_test.h"
#include "testing/embedder_test_constants.h"
#include "testing/fx_string_testhelpers.h"
#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/utils/hash.h"
#include "third_party/base/containers/contains.h"
#include "third_party/base/containers/span.h"
+ Include dependency graph for fpdf_annot_embeddertest.cpp:

Go to the source code of this file.

Classes

class  FPDFAnnotEmbedderTest
 

Functions

 TEST_F (FPDFAnnotEmbedderTest, SetAP)
 
 TEST_F (FPDFAnnotEmbedderTest, SetAPWithOpacity)
 
 TEST_F (FPDFAnnotEmbedderTest, InkListAPIValidations)
 
 TEST_F (FPDFAnnotEmbedderTest, RemoveInkList)
 
 TEST_F (FPDFAnnotEmbedderTest, BadParams)
 
 TEST_F (FPDFAnnotEmbedderTest, BadAnnotsEntry)
 
 TEST_F (FPDFAnnotEmbedderTest, RenderAnnotWithOnlyRolloverAP)
 
 TEST_F (FPDFAnnotEmbedderTest, RenderMultilineMarkupAnnotWithoutAP)
 
 TEST_F (FPDFAnnotEmbedderTest, ExtractHighlightLongContent)
 
 TEST_F (FPDFAnnotEmbedderTest, ExtractInkMultiple)
 
 TEST_F (FPDFAnnotEmbedderTest, AddIllegalSubtypeAnnotation)
 
 TEST_F (FPDFAnnotEmbedderTest, AddFirstTextAnnotation)
 
 TEST_F (FPDFAnnotEmbedderTest, AddAndSaveLinkAnnotation)
 
 TEST_F (FPDFAnnotEmbedderTest, AddAndSaveUnderlineAnnotation)
 
 TEST_F (FPDFAnnotEmbedderTest, GetAndSetQuadPoints)
 
 TEST_F (FPDFAnnotEmbedderTest, ModifyRectQuadpointsWithAP)
 
 TEST_F (FPDFAnnotEmbedderTest, CountAttachmentPoints)
 
 TEST_F (FPDFAnnotEmbedderTest, RemoveAnnotation)
 
 TEST_F (FPDFAnnotEmbedderTest, AddAndModifyPath)
 
 TEST_F (FPDFAnnotEmbedderTest, ModifyAnnotationFlags)
 
 TEST_F (FPDFAnnotEmbedderTest, AddAndModifyImage)
 
 TEST_F (FPDFAnnotEmbedderTest, AddAndModifyText)
 
 TEST_F (FPDFAnnotEmbedderTest, GetSetStringValue)
 
 TEST_F (FPDFAnnotEmbedderTest, GetNumberValue)
 
 TEST_F (FPDFAnnotEmbedderTest, GetSetAP)
 
 TEST_F (FPDFAnnotEmbedderTest, RemoveOptionalAP)
 
 TEST_F (FPDFAnnotEmbedderTest, RemoveRequiredAP)
 
 TEST_F (FPDFAnnotEmbedderTest, ExtractLinkedAnnotations)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormFieldFlagsTextField)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormFieldFlagsComboBox)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormAnnotNull)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormAnnotAndCheckFlagsTextField)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormAnnotAndCheckFlagsComboBox)
 
 TEST_F (FPDFAnnotEmbedderTest, Bug1206)
 
 TEST_F (FPDFAnnotEmbedderTest, BUG_1212)
 
 TEST_F (FPDFAnnotEmbedderTest, GetOptionCountCombobox)
 
 TEST_F (FPDFAnnotEmbedderTest, GetOptionCountListbox)
 
 TEST_F (FPDFAnnotEmbedderTest, GetOptionCountInvalidAnnotations)
 
 TEST_F (FPDFAnnotEmbedderTest, GetOptionLabelCombobox)
 
 TEST_F (FPDFAnnotEmbedderTest, GetOptionLabelListbox)
 
 TEST_F (FPDFAnnotEmbedderTest, GetOptionLabelInvalidAnnotations)
 
 TEST_F (FPDFAnnotEmbedderTest, IsOptionSelectedCombobox)
 
 TEST_F (FPDFAnnotEmbedderTest, IsOptionSelectedListbox)
 
 TEST_F (FPDFAnnotEmbedderTest, IsOptionSelectedInvalidAnnotations)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFontSizeCombobox)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFontSizeTextField)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFontSizeInvalidAnnotationTypes)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFontSizeInvalidArguments)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFontSizeNegative)
 
 TEST_F (FPDFAnnotEmbedderTest, IsCheckedCheckbox)
 
 TEST_F (FPDFAnnotEmbedderTest, IsCheckedCheckboxReadOnly)
 
 TEST_F (FPDFAnnotEmbedderTest, IsCheckedRadioButton)
 
 TEST_F (FPDFAnnotEmbedderTest, IsCheckedRadioButtonReadOnly)
 
 TEST_F (FPDFAnnotEmbedderTest, IsCheckedInvalidArguments)
 
 TEST_F (FPDFAnnotEmbedderTest, IsCheckedInvalidWidgetType)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormFieldType)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormFieldValueTextField)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormFieldValueComboBox)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormFieldNameTextField)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormFieldNameComboBox)
 
 TEST_F (FPDFAnnotEmbedderTest, FocusableAnnotSubtypes)
 
 TEST_F (FPDFAnnotEmbedderTest, FocusableAnnotRendering)
 
 TEST_F (FPDFAnnotEmbedderTest, GetLinkFromAnnotation)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormControlCountRadioButton)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormControlCountCheckBox)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormControlCountInvalidAnnotation)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormControlIndexRadioButton)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormControlIndexCheckBox)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormControlIndexInvalidAnnotation)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormFieldExportValueRadioButton)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormFieldExportValueCheckBox)
 
 TEST_F (FPDFAnnotEmbedderTest, GetFormFieldExportValueInvalidAnnotation)
 
 TEST_F (FPDFAnnotEmbedderTest, Redactannotation)
 
 TEST_F (FPDFAnnotEmbedderTest, PolygonAnnotation)
 
 TEST_F (FPDFAnnotEmbedderTest, InkAnnotation)
 
 TEST_F (FPDFAnnotEmbedderTest, LineAnnotation)
 
 TEST_F (FPDFAnnotEmbedderTest, AnnotationBorder)
 
 TEST_F (FPDFAnnotEmbedderTest, AnnotationJavaScript)
 
 TEST_F (FPDFAnnotEmbedderTest, FormFieldAlternateName)
 
 TEST_F (FPDFAnnotEmbedderTest, AnnotationBorderRendering)
 

Function Documentation

◆ TEST_F() [1/80]

TEST_F ( FPDFAnnotEmbedderTest ,
AddAndModifyImage  )

◆ TEST_F() [2/80]

TEST_F ( FPDFAnnotEmbedderTest ,
AddAndModifyPath  )

◆ TEST_F() [3/80]

TEST_F ( FPDFAnnotEmbedderTest ,
AddAndModifyText  )

Definition at line 1487 of file fpdf_annot_embeddertest.cpp.

References pdfium::AnnotationStampWithApChecksum(), FPDFPage_GetAnnotCount(), FPDFPage_RemoveAnnot(), FPDFPageObj_GetType(), FPDFPageObj_SetFillColor(), FPDFPageObj_Transform(), and CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [4/80]

TEST_F ( FPDFAnnotEmbedderTest ,
AddAndSaveLinkAnnotation  )

Definition at line 665 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_SetURI(), FPDFLink_GetLinkAtPoint(), FPDFPage_GetAnnotCount(), FPDFPage_RemoveAnnot(), and pdfium::HelloWorldChecksum().

+ Here is the call graph for this function:

◆ TEST_F() [5/80]

TEST_F ( FPDFAnnotEmbedderTest ,
AddAndSaveUnderlineAnnotation  )

Definition at line 743 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnotCount(), and CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [6/80]

TEST_F ( FPDFAnnotEmbedderTest ,
AddFirstTextAnnotation  )

Definition at line 580 of file fpdf_annot_embeddertest.cpp.

References FPDFANNOT_COLORTYPE_Color, FPDFPage_GetAnnotCount(), and pdfium::annotation::kContents.

+ Here is the call graph for this function:

◆ TEST_F() [7/80]

TEST_F ( FPDFAnnotEmbedderTest ,
AddIllegalSubtypeAnnotation  )

Definition at line 568 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_CreateAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [8/80]

TEST_F ( FPDFAnnotEmbedderTest ,
AnnotationBorder  )

Definition at line 3638 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_GetBorder(), FPDFAnnot_SetBorder(), and FPDFPage_GetAnnotCount().

+ Here is the call graph for this function:

◆ TEST_F() [9/80]

TEST_F ( FPDFAnnotEmbedderTest ,
AnnotationBorderRendering  )

Definition at line 3762 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnotCount(), and CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [10/80]

TEST_F ( FPDFAnnotEmbedderTest ,
AnnotationJavaScript  )

Definition at line 3694 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnotCount().

+ Here is the call graph for this function:

◆ TEST_F() [11/80]

TEST_F ( FPDFAnnotEmbedderTest ,
BadAnnotsEntry  )

Definition at line 379 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().

+ Here is the call graph for this function:

◆ TEST_F() [12/80]

TEST_F ( FPDFAnnotEmbedderTest ,
BadParams  )

Definition at line 343 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_GetObject(), FPDFAnnot_GetObjectCount(), FPDFAnnot_GetStringValue(), FPDFAnnot_GetSubtype(), FPDFAnnot_HasKey(), FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().

+ Here is the call graph for this function:

◆ TEST_F() [13/80]

TEST_F ( FPDFAnnotEmbedderTest ,
Bug1206  )

Definition at line 2198 of file fpdf_annot_embeddertest.cpp.

References CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [14/80]

TEST_F ( FPDFAnnotEmbedderTest ,
BUG_1212  )

Definition at line 2230 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnotCount().

+ Here is the call graph for this function:

◆ TEST_F() [15/80]

TEST_F ( FPDFAnnotEmbedderTest ,
CountAttachmentPoints  )

Definition at line 1048 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [16/80]

TEST_F ( FPDFAnnotEmbedderTest ,
ExtractHighlightLongContent  )

Definition at line 425 of file fpdf_annot_embeddertest.cpp.

References FPDFANNOT_COLORTYPE_Color, FPDFPage_GetAnnotCount(), and pdfium::annotation::kContents.

+ Here is the call graph for this function:

◆ TEST_F() [17/80]

TEST_F ( FPDFAnnotEmbedderTest ,
ExtractInkMultiple  )

Definition at line 509 of file fpdf_annot_embeddertest.cpp.

References FPDFANNOT_COLORTYPE_Color, FPDFPage_GetAnnotCount(), pdfium::annotation::kContents, and CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [18/80]

TEST_F ( FPDFAnnotEmbedderTest ,
ExtractLinkedAnnotations  )

Definition at line 1922 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnotIndex(), and pdfium::annotation::kP.

+ Here is the call graph for this function:

◆ TEST_F() [19/80]

TEST_F ( FPDFAnnotEmbedderTest ,
FocusableAnnotRendering  )

Definition at line 3118 of file fpdf_annot_embeddertest.cpp.

References CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [20/80]

TEST_F ( FPDFAnnotEmbedderTest ,
FocusableAnnotSubtypes  )

Definition at line 3054 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_GetFocusableSubtypesCount().

+ Here is the call graph for this function:

◆ TEST_F() [21/80]

TEST_F ( FPDFAnnotEmbedderTest ,
FormFieldAlternateName  )

Definition at line 3730 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnotCount().

+ Here is the call graph for this function:

◆ TEST_F() [22/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetAndSetQuadPoints  )

Definition at line 818 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_AppendAttachmentPoints(), FPDFAnnot_GetSubtype(), FPDFPage_CloseAnnot(), FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().

+ Here is the call graph for this function:

◆ TEST_F() [23/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFontSizeCombobox  )

Definition at line 2667 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [24/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFontSizeInvalidAnnotationTypes  )

Definition at line 2739 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [25/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFontSizeInvalidArguments  )

Definition at line 2762 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_GetFontSize().

+ Here is the call graph for this function:

◆ TEST_F() [26/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFontSizeNegative  )

Definition at line 2782 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [27/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFontSizeTextField  )

Definition at line 2701 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [28/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormAnnotAndCheckFlagsComboBox  )

Definition at line 2138 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [29/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormAnnotAndCheckFlagsTextField  )

Definition at line 2101 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [30/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormAnnotNull  )

Definition at line 2073 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_GetFormFieldAtPoint().

+ Here is the call graph for this function:

◆ TEST_F() [31/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormControlCountCheckBox  )

Definition at line 3265 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [32/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormControlCountInvalidAnnotation  )

Definition at line 3280 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [33/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormControlCountRadioButton  )

Definition at line 3241 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [34/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormControlIndexCheckBox  )

Definition at line 3319 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [35/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormControlIndexInvalidAnnotation  )

Definition at line 3334 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [36/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormControlIndexRadioButton  )

Definition at line 3295 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [37/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormFieldExportValueCheckBox  )

Definition at line 3382 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [38/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormFieldExportValueInvalidAnnotation  )

Definition at line 3405 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [39/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormFieldExportValueRadioButton  )

Definition at line 3349 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [40/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormFieldFlagsComboBox  )

Definition at line 2019 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [41/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormFieldFlagsTextField  )

Definition at line 1968 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [42/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormFieldNameComboBox  )

Definition at line 3034 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [43/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormFieldNameTextField  )

Definition at line 3009 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [44/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormFieldType  )

Definition at line 2910 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [45/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormFieldValueComboBox  )

Definition at line 2977 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [46/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetFormFieldValueTextField  )

Definition at line 2939 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [47/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetLinkFromAnnotation  )

Definition at line 3213 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_GetLink().

+ Here is the call graph for this function:

◆ TEST_F() [48/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetNumberValue  )

Definition at line 1694 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_GetNumberValue().

+ Here is the call graph for this function:

◆ TEST_F() [49/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetOptionCountCombobox  )

Definition at line 2327 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_GetOptionCount(), and FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [50/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetOptionCountInvalidAnnotations  )

Definition at line 2374 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [51/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetOptionCountListbox  )

Definition at line 2353 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [52/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetOptionLabelCombobox  )

Definition at line 2396 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_GetOptionLabel(), and FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [53/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetOptionLabelInvalidAnnotations  )

Definition at line 2502 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [54/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetOptionLabelListbox  )

Definition at line 2452 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [55/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetSetAP  )

Definition at line 1734 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [56/80]

TEST_F ( FPDFAnnotEmbedderTest ,
GetSetStringValue  )

Definition at line 1596 of file fpdf_annot_embeddertest.cpp.

References pdfium::annotation::kAP, pdfium::annotation::kM, and CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [57/80]

TEST_F ( FPDFAnnotEmbedderTest ,
InkAnnotation  )

Definition at line 3504 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_GetInkListCount(), FPDFAnnot_GetInkListPath(), and FPDFPage_GetAnnotCount().

+ Here is the call graph for this function:

◆ TEST_F() [58/80]

TEST_F ( FPDFAnnotEmbedderTest ,
InkListAPIValidations  )

Definition at line 217 of file fpdf_annot_embeddertest.cpp.

References CPDF_AnnotContext::GetAnnotDict().

+ Here is the call graph for this function:

◆ TEST_F() [59/80]

TEST_F ( FPDFAnnotEmbedderTest ,
IsCheckedCheckbox  )

Definition at line 2801 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [60/80]

TEST_F ( FPDFAnnotEmbedderTest ,
IsCheckedCheckboxReadOnly  )

Definition at line 2817 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [61/80]

TEST_F ( FPDFAnnotEmbedderTest ,
IsCheckedInvalidArguments  )

Definition at line 2877 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_IsChecked().

+ Here is the call graph for this function:

◆ TEST_F() [62/80]

TEST_F ( FPDFAnnotEmbedderTest ,
IsCheckedInvalidWidgetType  )

Definition at line 2895 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [63/80]

TEST_F ( FPDFAnnotEmbedderTest ,
IsCheckedRadioButton  )

Definition at line 2833 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [64/80]

TEST_F ( FPDFAnnotEmbedderTest ,
IsCheckedRadioButtonReadOnly  )

Definition at line 2855 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [65/80]

TEST_F ( FPDFAnnotEmbedderTest ,
IsOptionSelectedCombobox  )

Definition at line 2526 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_IsOptionSelected(), and FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [66/80]

TEST_F ( FPDFAnnotEmbedderTest ,
IsOptionSelectedInvalidAnnotations  )

Definition at line 2642 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [67/80]

TEST_F ( FPDFAnnotEmbedderTest ,
IsOptionSelectedListbox  )

Definition at line 2571 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [68/80]

TEST_F ( FPDFAnnotEmbedderTest ,
LineAnnotation  )

Definition at line 3593 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_GetLine(), and FPDFPage_GetAnnotCount().

+ Here is the call graph for this function:

◆ TEST_F() [69/80]

TEST_F ( FPDFAnnotEmbedderTest ,
ModifyAnnotationFlags  )

Definition at line 1321 of file fpdf_annot_embeddertest.cpp.

References pdfium::kBlankPage612By792Checksum.

◆ TEST_F() [70/80]

TEST_F ( FPDFAnnotEmbedderTest ,
ModifyRectQuadpointsWithAP  )

Definition at line 902 of file fpdf_annot_embeddertest.cpp.

References FPDFANNOT_COLORTYPE_Color, FPDFPage_GetAnnotCount(), and CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [71/80]

TEST_F ( FPDFAnnotEmbedderTest ,
PolygonAnnotation  )

Definition at line 3437 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_GetVertices(), and FPDFPage_GetAnnotCount().

+ Here is the call graph for this function:

◆ TEST_F() [72/80]

TEST_F ( FPDFAnnotEmbedderTest ,
Redactannotation  )

Definition at line 3422 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnotCount().

+ Here is the call graph for this function:

◆ TEST_F() [73/80]

TEST_F ( FPDFAnnotEmbedderTest ,
RemoveAnnotation  )

Definition at line 1066 of file fpdf_annot_embeddertest.cpp.

References FPDFPage_GetAnnot(), FPDFPage_GetAnnotCount(), and FPDFPage_RemoveAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [74/80]

TEST_F ( FPDFAnnotEmbedderTest ,
RemoveInkList  )

Definition at line 297 of file fpdf_annot_embeddertest.cpp.

References FPDFAnnot_RemoveInkList(), CPDF_AnnotContext::GetAnnotDict(), and CPDF_Dictionary::KeyExist().

+ Here is the call graph for this function:

◆ TEST_F() [75/80]

TEST_F ( FPDFAnnotEmbedderTest ,
RemoveOptionalAP  )

Definition at line 1854 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [76/80]

TEST_F ( FPDFAnnotEmbedderTest ,
RemoveRequiredAP  )

Definition at line 1889 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [77/80]

TEST_F ( FPDFAnnotEmbedderTest ,
RenderAnnotWithOnlyRolloverAP  )

Definition at line 390 of file fpdf_annot_embeddertest.cpp.

◆ TEST_F() [78/80]

TEST_F ( FPDFAnnotEmbedderTest ,
RenderMultilineMarkupAnnotWithoutAP  )

Definition at line 406 of file fpdf_annot_embeddertest.cpp.

References CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [79/80]

TEST_F ( FPDFAnnotEmbedderTest ,
SetAP  )

Definition at line 112 of file fpdf_annot_embeddertest.cpp.

References FPDFANNOT_COLORTYPE_Color, CPDF_AnnotContext::GetAnnotDict(), pdfium::annotation::kSubtype, and pdfium::annotation::kType.

+ Here is the call graph for this function:

◆ TEST_F() [80/80]

TEST_F ( FPDFAnnotEmbedderTest ,
SetAPWithOpacity  )

Definition at line 169 of file fpdf_annot_embeddertest.cpp.

References FPDFANNOT_COLORTYPE_Color, CPDF_AnnotContext::GetAnnotDict(), and pdfium::annotation::kType.

+ Here is the call graph for this function: