Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#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"
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) | |
TEST_F | ( | FPDFAnnotEmbedderTest | , |
AddAndModifyImage | ) |
Definition at line 1382 of file fpdf_annot_embeddertest.cpp.
References pdfium::AnnotationStampWithApChecksum(), FPDFBitmap_Create(), FPDFBitmap_Destroy(), FPDFBitmap_FillRect(), FPDFBitmap_GetHeight(), FPDFBitmap_GetWidth(), FPDFImageObj_SetBitmap(), FPDFPage_GetAnnotCount(), FPDFPageObj_GetType(), FPDFPageObj_SetMatrix(), FPDFPageObj_Transform(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
AddAndModifyPath | ) |
Definition at line 1140 of file fpdf_annot_embeddertest.cpp.
References pdfium::AnnotationStampWithApChecksum(), FPDFPage_CountObjects(), FPDFPage_GetAnnotCount(), FPDFPageObj_CreateNewPath(), FPDFPageObj_GetType(), FPDFPageObj_SetStrokeColor(), FPDFPageObj_SetStrokeWidth(), FPDFPath_BezierTo(), FPDFPath_LineTo(), FPDFPath_MoveTo(), FPDFPath_SetDrawMode(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
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().
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().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
AddAndSaveUnderlineAnnotation | ) |
Definition at line 743 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnotCount(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
AddFirstTextAnnotation | ) |
Definition at line 580 of file fpdf_annot_embeddertest.cpp.
References FPDFANNOT_COLORTYPE_Color, FPDFPage_GetAnnotCount(), and pdfium::annotation::kContents.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
AddIllegalSubtypeAnnotation | ) |
Definition at line 568 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_CreateAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
AnnotationBorder | ) |
Definition at line 3638 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetBorder(), FPDFAnnot_SetBorder(), and FPDFPage_GetAnnotCount().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
AnnotationBorderRendering | ) |
Definition at line 3762 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnotCount(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
AnnotationJavaScript | ) |
Definition at line 3694 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnotCount().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
BadAnnotsEntry | ) |
Definition at line 379 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().
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().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
Bug1206 | ) |
Definition at line 2198 of file fpdf_annot_embeddertest.cpp.
References CFX_DefaultRenderDevice::UseSkiaRenderer().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
BUG_1212 | ) |
Definition at line 2230 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnotCount().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
CountAttachmentPoints | ) |
Definition at line 1048 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
ExtractHighlightLongContent | ) |
Definition at line 425 of file fpdf_annot_embeddertest.cpp.
References FPDFANNOT_COLORTYPE_Color, FPDFPage_GetAnnotCount(), and pdfium::annotation::kContents.
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().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
ExtractLinkedAnnotations | ) |
Definition at line 1922 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnotIndex(), and pdfium::annotation::kP.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
FocusableAnnotRendering | ) |
Definition at line 3118 of file fpdf_annot_embeddertest.cpp.
References CFX_DefaultRenderDevice::UseSkiaRenderer().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
FocusableAnnotSubtypes | ) |
Definition at line 3054 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetFocusableSubtypesCount().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
FormFieldAlternateName | ) |
Definition at line 3730 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnotCount().
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().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFontSizeCombobox | ) |
Definition at line 2667 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFontSizeInvalidAnnotationTypes | ) |
Definition at line 2739 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFontSizeInvalidArguments | ) |
Definition at line 2762 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetFontSize().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFontSizeNegative | ) |
Definition at line 2782 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFontSizeTextField | ) |
Definition at line 2701 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormAnnotAndCheckFlagsComboBox | ) |
Definition at line 2138 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormAnnotAndCheckFlagsTextField | ) |
Definition at line 2101 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormAnnotNull | ) |
Definition at line 2073 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetFormFieldAtPoint().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormControlCountCheckBox | ) |
Definition at line 3265 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormControlCountInvalidAnnotation | ) |
Definition at line 3280 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormControlCountRadioButton | ) |
Definition at line 3241 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormControlIndexCheckBox | ) |
Definition at line 3319 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormControlIndexInvalidAnnotation | ) |
Definition at line 3334 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormControlIndexRadioButton | ) |
Definition at line 3295 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormFieldExportValueCheckBox | ) |
Definition at line 3382 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormFieldExportValueInvalidAnnotation | ) |
Definition at line 3405 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormFieldExportValueRadioButton | ) |
Definition at line 3349 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormFieldFlagsComboBox | ) |
Definition at line 2019 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormFieldFlagsTextField | ) |
Definition at line 1968 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormFieldNameComboBox | ) |
Definition at line 3034 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormFieldNameTextField | ) |
Definition at line 3009 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormFieldType | ) |
Definition at line 2910 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormFieldValueComboBox | ) |
Definition at line 2977 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetFormFieldValueTextField | ) |
Definition at line 2939 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetLinkFromAnnotation | ) |
Definition at line 3213 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetLink().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetNumberValue | ) |
Definition at line 1694 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetNumberValue().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetOptionCountCombobox | ) |
Definition at line 2327 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetOptionCount(), and FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetOptionCountInvalidAnnotations | ) |
Definition at line 2374 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetOptionCountListbox | ) |
Definition at line 2353 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetOptionLabelCombobox | ) |
Definition at line 2396 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetOptionLabel(), and FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetOptionLabelInvalidAnnotations | ) |
Definition at line 2502 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetOptionLabelListbox | ) |
Definition at line 2452 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
GetSetAP | ) |
Definition at line 1734 of file fpdf_annot_embeddertest.cpp.
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().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
InkAnnotation | ) |
Definition at line 3504 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetInkListCount(), FPDFAnnot_GetInkListPath(), and FPDFPage_GetAnnotCount().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
InkListAPIValidations | ) |
Definition at line 217 of file fpdf_annot_embeddertest.cpp.
References CPDF_AnnotContext::GetAnnotDict().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
IsCheckedCheckbox | ) |
Definition at line 2801 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
IsCheckedCheckboxReadOnly | ) |
Definition at line 2817 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
IsCheckedInvalidArguments | ) |
Definition at line 2877 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_IsChecked().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
IsCheckedInvalidWidgetType | ) |
Definition at line 2895 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
IsCheckedRadioButton | ) |
Definition at line 2833 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
IsCheckedRadioButtonReadOnly | ) |
Definition at line 2855 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
IsOptionSelectedCombobox | ) |
Definition at line 2526 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_IsOptionSelected(), and FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
IsOptionSelectedInvalidAnnotations | ) |
Definition at line 2642 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
IsOptionSelectedListbox | ) |
Definition at line 2571 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
LineAnnotation | ) |
Definition at line 3593 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetLine(), and FPDFPage_GetAnnotCount().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
ModifyAnnotationFlags | ) |
Definition at line 1321 of file fpdf_annot_embeddertest.cpp.
References pdfium::kBlankPage612By792Checksum.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
ModifyRectQuadpointsWithAP | ) |
Definition at line 902 of file fpdf_annot_embeddertest.cpp.
References FPDFANNOT_COLORTYPE_Color, FPDFPage_GetAnnotCount(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
PolygonAnnotation | ) |
Definition at line 3437 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetVertices(), and FPDFPage_GetAnnotCount().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
Redactannotation | ) |
Definition at line 3422 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnotCount().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
RemoveAnnotation | ) |
Definition at line 1066 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot(), FPDFPage_GetAnnotCount(), and FPDFPage_RemoveAnnot().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
RemoveInkList | ) |
Definition at line 297 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_RemoveInkList(), CPDF_AnnotContext::GetAnnotDict(), and CPDF_Dictionary::KeyExist().
TEST_F | ( | FPDFAnnotEmbedderTest | , |
RemoveOptionalAP | ) |
Definition at line 1854 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
RemoveRequiredAP | ) |
Definition at line 1889 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
RenderAnnotWithOnlyRolloverAP | ) |
Definition at line 390 of file fpdf_annot_embeddertest.cpp.
TEST_F | ( | FPDFAnnotEmbedderTest | , |
RenderMultilineMarkupAnnotWithoutAP | ) |
Definition at line 406 of file fpdf_annot_embeddertest.cpp.
References CFX_DefaultRenderDevice::UseSkiaRenderer().
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.
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.