![]() |
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 <type_traits>#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/compiler_specific.h"#include "core/fxcrt/containers/contains.h"#include "core/fxcrt/fx_memcpy_wrappers.h"#include "core/fxcrt/fx_system.h"#include "core/fxcrt/span.h"#include "core/fxge/cfx_defaultrenderdevice.h"#include "fpdfsdk/cpdfsdk_helpers.h"#include "public/cpp/fpdf_scopers.h"#include "public/fpdf_attachment.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"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, Bug1212) | |
| 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, GetFontColor) | |
| 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, GetAndAddFileAttachmentAnnotation) | |
| TEST_F (FPDFAnnotEmbedderTest, BadCasesFileAttachmentAnnotation) | |
| const char * | AnnotationStampWithApChecksum () |
| const char * | AnnotationStampWithApChecksum () |
| const char * pdfium::AnnotationStampWithApChecksum | ( | ) |
Definition at line 12 of file embedder_test_constants.cpp.
| const char * pdfium::AnnotationStampWithApChecksum | ( | ) |
Definition at line 12 of file embedder_test_constants.cpp.
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| AddAndModifyImage | ) |
Definition at line 1386 of file fpdf_annot_embeddertest.cpp.
References pdfium::AnnotationStampWithApChecksum(), FPDFBitmap_Create(), FPDFBitmap_Destroy(), FPDFBitmap_FillRect(), FPDFBitmap_GetHeight(), FPDFBitmap_GetWidth(), FPDFImageObj_SetBitmap(), FPDFPage_CreateAnnot(), FPDFPage_GetAnnot(), FPDFPage_GetAnnotCount(), FPDFPageObj_GetType(), FPDFPageObj_SetMatrix(), FPDFPageObj_Transform(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| AddAndModifyPath | ) |
Definition at line 1144 of file fpdf_annot_embeddertest.cpp.
References pdfium::AnnotationStampWithApChecksum(), FPDFPage_CountObjects(), FPDFPage_CreateAnnot(), FPDFPage_GetAnnot(), 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 1491 of file fpdf_annot_embeddertest.cpp.
References pdfium::AnnotationStampWithApChecksum(), FPDFPage_CreateAnnot(), FPDFPage_GetAnnot(), FPDFPage_GetAnnotCount(), FPDFPage_RemoveAnnot(), FPDFPageObj_GetType(), FPDFPageObj_SetFillColor(), FPDFPageObj_Transform(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| AddAndSaveLinkAnnotation | ) |
Definition at line 669 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_SetURI(), FPDFLink_GetLinkAtPoint(), FPDFPage_CreateAnnot(), FPDFPage_GetAnnot(), FPDFPage_GetAnnotCount(), FPDFPage_RemoveAnnot(), and pdfium::HelloWorldChecksum().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| AddAndSaveUnderlineAnnotation | ) |
Definition at line 747 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_CreateAnnot(), FPDFPage_GetAnnot(), FPDFPage_GetAnnotCount(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| AddFirstTextAnnotation | ) |
Definition at line 584 of file fpdf_annot_embeddertest.cpp.
References FPDFANNOT_COLORTYPE_Color, FPDFPage_CreateAnnot(), FPDFPage_GetAnnot(), FPDFPage_GetAnnotCount(), and pdfium::annotation::kContents.
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| AddIllegalSubtypeAnnotation | ) |
Definition at line 572 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_CreateAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| AnnotationBorder | ) |
Definition at line 3679 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetBorder(), FPDFAnnot_SetBorder(), FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| AnnotationBorderRendering | ) |
Definition at line 3803 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot(), FPDFPage_GetAnnotCount(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| AnnotationJavaScript | ) |
Definition at line 3735 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| BadAnnotsEntry | ) |
Definition at line 383 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| BadCasesFileAttachmentAnnotation | ) |
Definition at line 3946 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_AddFileAttachment(), FPDFAnnot_GetFileAttachment(), FPDFPage_CreateAnnot(), FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| BadParams | ) |
Definition at line 347 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 2199 of file fpdf_annot_embeddertest.cpp.
References CFX_DefaultRenderDevice::UseSkiaRenderer().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| Bug1212 | ) |
Definition at line 2232 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_CreateAnnot(), FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| CountAttachmentPoints | ) |
Definition at line 1052 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| ExtractHighlightLongContent | ) |
Definition at line 429 of file fpdf_annot_embeddertest.cpp.
References FPDFANNOT_COLORTYPE_Color, FPDFPage_GetAnnot(), FPDFPage_GetAnnotCount(), and pdfium::annotation::kContents.
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| ExtractInkMultiple | ) |
Definition at line 513 of file fpdf_annot_embeddertest.cpp.
References FPDFANNOT_COLORTYPE_Color, FPDFPage_GetAnnot(), FPDFPage_GetAnnotCount(), pdfium::annotation::kContents, and CFX_DefaultRenderDevice::UseSkiaRenderer().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| ExtractLinkedAnnotations | ) |
Definition at line 1923 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot(), FPDFPage_GetAnnotIndex(), and pdfium::annotation::kP.
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| FocusableAnnotRendering | ) |
Definition at line 3159 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| FocusableAnnotSubtypes | ) |
Definition at line 3095 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetFocusableSubtypesCount().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| FormFieldAlternateName | ) |
Definition at line 3771 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetAndAddFileAttachmentAnnotation | ) |
Definition at line 3875 of file fpdf_annot_embeddertest.cpp.
References FPDFAttachment_GetFile(), FPDFAttachment_GetName(), FPDFPage_CreateAnnot(), FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetAndSetQuadPoints | ) |
Definition at line 822 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_AppendAttachmentPoints(), FPDFAnnot_GetSubtype(), FPDFPage_CloseAnnot(), FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFontColor | ) |
Definition at line 2803 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetFontColor(), and FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFontSizeCombobox | ) |
Definition at line 2669 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFontSizeInvalidAnnotationTypes | ) |
Definition at line 2741 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFontSizeInvalidArguments | ) |
Definition at line 2764 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetFontSize(), and FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFontSizeNegative | ) |
Definition at line 2784 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFontSizeTextField | ) |
Definition at line 2703 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormAnnotAndCheckFlagsComboBox | ) |
Definition at line 2139 of file fpdf_annot_embeddertest.cpp.
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormAnnotAndCheckFlagsTextField | ) |
Definition at line 2102 of file fpdf_annot_embeddertest.cpp.
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormAnnotNull | ) |
Definition at line 2074 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetFormFieldAtPoint().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormControlCountCheckBox | ) |
Definition at line 3306 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormControlCountInvalidAnnotation | ) |
Definition at line 3321 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormControlCountRadioButton | ) |
Definition at line 3282 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormControlIndexCheckBox | ) |
Definition at line 3360 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormControlIndexInvalidAnnotation | ) |
Definition at line 3375 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormControlIndexRadioButton | ) |
Definition at line 3336 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormFieldExportValueCheckBox | ) |
Definition at line 3423 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormFieldExportValueInvalidAnnotation | ) |
Definition at line 3446 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormFieldExportValueRadioButton | ) |
Definition at line 3390 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormFieldFlagsComboBox | ) |
Definition at line 2020 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormFieldFlagsTextField | ) |
Definition at line 1969 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormFieldNameComboBox | ) |
Definition at line 3075 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormFieldNameTextField | ) |
Definition at line 3050 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormFieldType | ) |
Definition at line 2949 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormFieldValueComboBox | ) |
Definition at line 3018 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetFormFieldValueTextField | ) |
Definition at line 2980 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetLinkFromAnnotation | ) |
Definition at line 3254 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetLink(), and FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetNumberValue | ) |
Definition at line 1698 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetNumberValue(), and FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetOptionCountCombobox | ) |
Definition at line 2329 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetOptionCount(), and FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetOptionCountInvalidAnnotations | ) |
Definition at line 2376 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetOptionCountListbox | ) |
Definition at line 2355 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetOptionLabelCombobox | ) |
Definition at line 2398 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetOptionLabel(), and FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetOptionLabelInvalidAnnotations | ) |
Definition at line 2504 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetOptionLabelListbox | ) |
Definition at line 2454 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetSetAP | ) |
Definition at line 1738 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| GetSetStringValue | ) |
Definition at line 1600 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot(), pdfium::annotation::kAP, pdfium::annotation::kM, and CFX_DefaultRenderDevice::UseSkiaRenderer().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| InkAnnotation | ) |
Definition at line 3545 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetInkListCount(), FPDFAnnot_GetInkListPath(), FPDFPage_CreateAnnot(), FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| InkListAPIValidations | ) |
Definition at line 221 of file fpdf_annot_embeddertest.cpp.
References FPDF_CreateNewDocument(), and CPDF_AnnotContext::GetAnnotDict().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| IsCheckedCheckbox | ) |
Definition at line 2840 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| IsCheckedCheckboxReadOnly | ) |
Definition at line 2856 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| IsCheckedInvalidArguments | ) |
Definition at line 2916 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_IsChecked(), and FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| IsCheckedInvalidWidgetType | ) |
Definition at line 2934 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| IsCheckedRadioButton | ) |
Definition at line 2872 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| IsCheckedRadioButtonReadOnly | ) |
Definition at line 2894 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| IsOptionSelectedCombobox | ) |
Definition at line 2528 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_IsOptionSelected(), and FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| IsOptionSelectedInvalidAnnotations | ) |
Definition at line 2644 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| IsOptionSelectedListbox | ) |
Definition at line 2573 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| LineAnnotation | ) |
Definition at line 3634 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetLine(), FPDFPage_CreateAnnot(), FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| ModifyAnnotationFlags | ) |
Definition at line 1325 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot(), and pdfium::kBlankPage612By792Checksum.
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| ModifyRectQuadpointsWithAP | ) |
Definition at line 906 of file fpdf_annot_embeddertest.cpp.
References FPDFANNOT_COLORTYPE_Color, FPDFPage_GetAnnot(), FPDFPage_GetAnnotCount(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| PolygonAnnotation | ) |
Definition at line 3478 of file fpdf_annot_embeddertest.cpp.
References FPDFAnnot_GetVertices(), FPDFPage_CreateAnnot(), FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| Redactannotation | ) |
Definition at line 3463 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot(), and FPDFPage_GetAnnotCount().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| RemoveAnnotation | ) |
Definition at line 1070 of file fpdf_annot_embeddertest.cpp.
References FPDF_LoadCustomDocument(), FPDFPage_GetAnnot(), FPDFPage_GetAnnotCount(), and FPDFPage_RemoveAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| RemoveInkList | ) |
Definition at line 301 of file fpdf_annot_embeddertest.cpp.
References FPDF_CreateNewDocument(), FPDFAnnot_RemoveInkList(), CPDF_AnnotContext::GetAnnotDict(), and CPDF_Dictionary::KeyExist().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| RemoveOptionalAP | ) |
Definition at line 1855 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| RemoveRequiredAP | ) |
Definition at line 1890 of file fpdf_annot_embeddertest.cpp.
References FPDFPage_GetAnnot().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| RenderAnnotWithOnlyRolloverAP | ) |
Definition at line 394 of file fpdf_annot_embeddertest.cpp.
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| RenderMultilineMarkupAnnotWithoutAP | ) |
Definition at line 410 of file fpdf_annot_embeddertest.cpp.
References CFX_DefaultRenderDevice::UseSkiaRenderer().
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| SetAP | ) |
Definition at line 116 of file fpdf_annot_embeddertest.cpp.
References FPDF_CreateNewDocument(), FPDFANNOT_COLORTYPE_Color, CPDF_AnnotContext::GetAnnotDict(), pdfium::annotation::kSubtype, and pdfium::annotation::kType.
| TEST_F | ( | FPDFAnnotEmbedderTest | , |
| SetAPWithOpacity | ) |
Definition at line 173 of file fpdf_annot_embeddertest.cpp.
References FPDF_CreateNewDocument(), FPDFANNOT_COLORTYPE_Color, CPDF_AnnotContext::GetAnnotDict(), and pdfium::annotation::kType.