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_edit.h"
#include <algorithm>
#include <memory>
#include <utility>
#include <vector>
#include "constants/page_object.h"
#include "core/fpdfapi/edit/cpdf_pagecontentgenerator.h"
#include "core/fpdfapi/page/cpdf_colorspace.h"
#include "core/fpdfapi/page/cpdf_docpagedata.h"
#include "core/fpdfapi/page/cpdf_form.h"
#include "core/fpdfapi/page/cpdf_formobject.h"
#include "core/fpdfapi/page/cpdf_imageobject.h"
#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/page/cpdf_pageimagecache.h"
#include "core/fpdfapi/page/cpdf_pageobject.h"
#include "core/fpdfapi/page/cpdf_pathobject.h"
#include "core/fpdfapi/page/cpdf_shadingobject.h"
#include "core/fpdfapi/page/cpdf_textobject.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/parser/cpdf_name.h"
#include "core/fpdfapi/parser/cpdf_number.h"
#include "core/fpdfapi/parser/cpdf_string.h"
#include "core/fpdfapi/render/cpdf_docrenderdata.h"
#include "core/fpdfdoc/cpdf_annot.h"
#include "core/fpdfdoc/cpdf_annotlist.h"
#include "core/fxcrt/fx_extension.h"
#include "core/fxcrt/fx_memcpy_wrappers.h"
#include "core/fxcrt/stl_util.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "public/fpdf_formfill.h"
#include "third_party/base/containers/span.h"
#include "third_party/base/numerics/safe_conversions.h"
Go to the source code of this file.
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_CreateNewDocument | ( | ) |
Definition at line 153 of file fpdf_editpage.cpp.
References fxcrt::ByteString::Format(), FXSYS_localtime(), FXSYS_time(), IsPDFSandboxPolicyEnabled(), and fxcrt::ByteString::operator=().
Referenced by CheckPDFiumCApi(), and main().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_MovePages | ( | FPDF_DOCUMENT | document, |
const int * | page_indices, | ||
unsigned long | page_indices_len, | ||
int | dest_page_index ) |
Definition at line 199 of file fpdf_editpage.cpp.
References CPDFDocumentFromFPDFDocument(), and CPDF_Document::MovePages().
Referenced by CheckPDFiumCApi().
FPDF_EXPORT int FPDF_CALLCONV FPDFFormObj_CountObjects | ( | FPDF_PAGEOBJECT | form_object | ) |
Definition at line 1021 of file fpdf_editpage.cpp.
Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFFormObj_GetObject | ( | FPDF_PAGEOBJECT | form_object, |
unsigned long | index ) |
Definition at line 1029 of file fpdf_editpage.cpp.
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_CountObjects | ( | FPDF_PAGE | page | ) |
Definition at line 279 of file fpdf_editpage.cpp.
References CPDFPageFromFPDFPage().
Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), WriteImages(), and WriteRenderedImages().
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_Delete | ( | FPDF_DOCUMENT | document, |
int | page_index ) |
Definition at line 183 of file fpdf_editpage.cpp.
References CPDFDocumentFromFPDFDocument(), CPDF_Document::DeletePage(), CPDF_Document::Extension::DeletePage(), and CPDF_Document::GetExtension().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_GenerateContent | ( | FPDF_PAGE | page | ) |
Definition at line 614 of file fpdf_editpage.cpp.
References CPDFPageFromFPDFPage(), and CPDF_PageContentGenerator::GenerateContent().
Referenced by CheckPDFiumCApi(), CPDFSecurityHandlerEmbedderTest::RemoveGoodbyeObject(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPage_GetObject | ( | FPDF_PAGE | page, |
int | index ) |
Definition at line 287 of file fpdf_editpage.cpp.
References CPDFPageFromFPDFPage().
Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), WriteImages(), and WriteRenderedImages().
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_GetRotation | ( | FPDF_PAGE | page | ) |
Definition at line 244 of file fpdf_editpage.cpp.
References CPDFPageFromFPDFPage(), and CPDF_Page::GetPageRotation().
Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_HasTransparency | ( | FPDF_PAGE | page | ) |
Definition at line 296 of file fpdf_editpage.cpp.
References CPDF_PageObjectHolder::BackgroundAlphaNeeded(), and CPDFPageFromFPDFPage().
Referenced by CheckPDFiumCApi(), EmbedderTest::RenderPageWithFlags(), FPDFProgressiveRenderEmbedderTest::StartRenderPageWithColorSchemeAndBackground(), FPDFProgressiveRenderEmbedderTest::StartRenderPageWithFlags(), and TEST_F().
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_InsertObject | ( | FPDF_PAGE | page, |
FPDF_PAGEOBJECT | page_object ) |
Definition at line 250 of file fpdf_editpage.cpp.
References CPDFPageFromFPDFPage(), CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_PAGE FPDF_CALLCONV FPDFPage_New | ( | FPDF_DOCUMENT | document, |
int | page_index, | ||
double | width, | ||
double | height ) |
Definition at line 211 of file fpdf_editpage.cpp.
References CFX_FloatRect::CFX_FloatRect(), CPDFDocumentFromFPDFDocument(), CPDF_Document::GetPageCount(), pdfium::page_object::kMediaBox, pdfium::page_object::kResources, and pdfium::page_object::kRotate.
Referenced by CheckPDFiumCApi(), and main().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_RemoveObject | ( | FPDF_PAGE | page, |
FPDF_PAGEOBJECT | page_object ) |
Definition at line 266 of file fpdf_editpage.cpp.
References CPDFPageFromFPDFPage(), and CPDFPageObjectFromFPDFPageObject().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_SetRotation | ( | FPDF_PAGE | page, |
int | rotate ) |
Definition at line 736 of file fpdf_editpage.cpp.
References CPDFPageFromFPDFPage(), pdfium::page_object::kRotate, and CPDF_Page::UpdateDimensions().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_TransformAnnots | ( | FPDF_PAGE | page, |
double | a, | ||
double | b, | ||
double | c, | ||
double | d, | ||
double | e, | ||
double | f ) |
Definition at line 702 of file fpdf_editpage.cpp.
References CFX_Matrix::CFX_Matrix(), CPDF_AnnotList::CPDF_AnnotList(), CFX_FloatRect::bottom, CPDFPageFromFPDFPage(), CPDF_Annot::GetRect(), CFX_FloatRect::left, CFX_FloatRect::right, CFX_FloatRect::top, and CFX_Matrix::TransformRect().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT FPDF_PAGEOBJECTMARK FPDF_CALLCONV FPDFPageObj_AddMark | ( | FPDF_PAGEOBJECT | page_object, |
FPDF_BYTESTRING | name ) |
Definition at line 330 of file fpdf_editpage.cpp.
References CPDF_ContentMarks::AddMark(), CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::GetContentMarks(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_CountMarks | ( | FPDF_PAGEOBJECT | page_object | ) |
Definition at line 307 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::GetContentMarks().
Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_Destroy | ( | FPDF_PAGEOBJECT | page_object | ) |
Definition at line 302 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject().
Referenced by CheckPDFiumCApi(), FPDFPageObjectDeleter::operator()(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetBounds | ( | FPDF_PAGEOBJECT | page_object, |
float * | left, | ||
float * | bottom, | ||
float * | right, | ||
float * | top ) |
Definition at line 789 of file fpdf_editpage.cpp.
References CFX_FloatRect::bottom, CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::GetRect(), CFX_FloatRect::left, CFX_FloatRect::right, and CFX_FloatRect::top.
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetDashArray | ( | FPDF_PAGEOBJECT | page_object, |
float * | dash_array, | ||
size_t | dash_count ) |
Definition at line 980 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::graph_state().
Referenced by CheckPDFiumCApi().
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetDashCount | ( | FPDF_PAGEOBJECT | page_object | ) |
Definition at line 972 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::graph_state().
Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetDashPhase | ( | FPDF_PAGEOBJECT | page_object, |
float * | phase ) |
Definition at line 951 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), CFX_GraphState::GetLineDashPhase(), and CPDF_PageObject::graph_state().
Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetFillColor | ( | FPDF_PAGEOBJECT | page_object, |
unsigned int * | R, | ||
unsigned int * | G, | ||
unsigned int * | B, | ||
unsigned int * | A ) |
Definition at line 767 of file fpdf_editpage.cpp.
References CPDF_PageObject::color_state(), CPDFPageObjectFromFPDFPageObject(), FXSYS_GetBValue(), FXSYS_GetGValue(), FXSYS_GetRValue(), FXSYS_GetUnsignedAlpha(), CPDF_PageObject::general_state(), CPDF_GeneralState::GetFillAlpha(), CPDF_ColorState::GetFillColorRef(), and CPDF_ColorState::HasRef().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetLineCap | ( | FPDF_PAGEOBJECT | page_object | ) |
Definition at line 929 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), CFX_GraphState::GetLineCap(), and CPDF_PageObject::graph_state().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetLineJoin | ( | FPDF_PAGEOBJECT | page_object | ) |
Definition at line 907 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), CFX_GraphState::GetLineJoin(), and CPDF_PageObject::graph_state().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT FPDF_PAGEOBJECTMARK FPDF_CALLCONV FPDFPageObj_GetMark | ( | FPDF_PAGEOBJECT | page_object, |
unsigned long | index ) |
Definition at line 317 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::GetContentMarks().
Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetMatrix | ( | FPDF_PAGEOBJECT | page_object, |
FS_MATRIX * | matrix ) |
Definition at line 641 of file fpdf_editpage.cpp.
References CPDF_PageObject::AsForm(), CPDF_PageObject::AsImage(), CPDF_PageObject::AsPath(), CPDF_PageObject::AsText(), CPDFPageObjectFromFPDFPageObject(), CPDF_FormObject::form_matrix(), FSMatrixFromCFXMatrix(), CPDF_TextObject::GetTextMatrix(), CPDF_PageObject::GetType(), CPDF_PageObject::kForm, CPDF_PageObject::kImage, CPDF_PageObject::kPath, CPDF_PageObject::kShading, CPDF_PageObject::kText, CPDF_ImageObject::matrix(), and CPDF_PathObject::matrix().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetRotatedBounds | ( | FPDF_PAGEOBJECT | page_object, |
FS_QUADPOINTSF * | quad_points ) |
Definition at line 807 of file fpdf_editpage.cpp.
References CPDF_PageObject::AsImage(), CPDF_PageObject::AsText(), CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::GetOriginalRect(), CPDF_TextObject::GetTextMatrix(), CPDF_PageObject::GetType(), CPDF_PageObject::kImage, CPDF_PageObject::kText, CPDF_ImageObject::matrix(), and CFX_Matrix::operator=().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetStrokeColor | ( | FPDF_PAGEOBJECT | page_object, |
unsigned int * | R, | ||
unsigned int * | G, | ||
unsigned int * | B, | ||
unsigned int * | A ) |
Definition at line 864 of file fpdf_editpage.cpp.
References CPDF_PageObject::color_state(), CPDFPageObjectFromFPDFPageObject(), FXSYS_GetBValue(), FXSYS_GetGValue(), FXSYS_GetRValue(), FXSYS_GetUnsignedAlpha(), CPDF_PageObject::general_state(), CPDF_GeneralState::GetStrokeAlpha(), CPDF_ColorState::GetStrokeColorRef(), and CPDF_ColorState::HasRef().
Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetStrokeWidth | ( | FPDF_PAGEOBJECT | page_object, |
float * | width ) |
Definition at line 897 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), CFX_GraphState::GetLineWidth(), and CPDF_PageObject::graph_state().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetType | ( | FPDF_PAGEOBJECT | page_object | ) |
Definition at line 608 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::GetType().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), WriteImages(), and WriteRenderedImages().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_HasTransparency | ( | FPDF_PAGEOBJECT | page_object | ) |
Definition at line 492 of file fpdf_editpage.cpp.
References CPDF_PageObject::AsForm(), CPDFPageObjectFromFPDFPageObject(), CPDF_FormObject::form(), CPDF_PageObject::general_state(), CPDF_GeneralState::GetBlendType(), CPDF_GeneralState::GetFillAlpha(), CPDF_GeneralState::GetSoftMask(), CPDF_GeneralState::GetStrokeAlpha(), CPDF_PageObjectHolder::GetTransparency(), CPDF_PageObject::IsForm(), CPDF_Transparency::IsGroup(), CPDF_Transparency::IsIsolated(), CPDF_PageObject::IsPath(), and kNormal.
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_RemoveMark | ( | FPDF_PAGEOBJECT | page_object, |
FPDF_PAGEOBJECTMARK | mark ) |
Definition at line 344 of file fpdf_editpage.cpp.
References CPDFContentMarkItemFromFPDFPageObjectMark(), CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::GetContentMarks(), CPDF_ContentMarks::RemoveMark(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_SetBlendMode | ( | FPDF_PAGEOBJECT | page_object, |
FPDF_BYTESTRING | blend_mode ) |
Definition at line 692 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::mutable_general_state(), CPDF_GeneralState::SetBlendMode(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetDashArray | ( | FPDF_PAGEOBJECT | page_object, |
const float * | dash_array, | ||
size_t | dash_count, | ||
float | phase ) |
Definition at line 997 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::mutable_graph_state(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetDashPhase | ( | FPDF_PAGEOBJECT | page_object, |
float | phase ) |
Definition at line 961 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::mutable_graph_state(), CPDF_PageObject::SetDirty(), and CFX_GraphState::SetLineDashPhase().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_BOOL FPDFPageObj_SetFillColor | ( | FPDF_PAGEOBJECT | page_object, |
unsigned int | R, | ||
unsigned int | G, | ||
unsigned int | B, | ||
unsigned int | A ) |
Definition at line 748 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), CPDF_ColorSpace::GetStockCS(), CPDF_ColorSpace::kDeviceRGB, CPDF_PageObject::mutable_color_state(), CPDF_PageObject::mutable_general_state(), CPDF_PageObject::SetDirty(), and CPDF_GeneralState::SetFillAlpha().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetLineCap | ( | FPDF_PAGEOBJECT | page_object, |
int | line_cap ) |
Definition at line 935 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::mutable_graph_state(), CPDF_PageObject::SetDirty(), and CFX_GraphState::SetLineCap().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetLineJoin | ( | FPDF_PAGEOBJECT | page_object, |
int | line_join ) |
Definition at line 914 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::mutable_graph_state(), CPDF_PageObject::SetDirty(), and CFX_GraphState::SetLineJoin().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetMatrix | ( | FPDF_PAGEOBJECT | page_object, |
const FS_MATRIX * | matrix ) |
Definition at line 665 of file fpdf_editpage.cpp.
References CPDF_PageObject::AsForm(), CPDF_PageObject::AsImage(), CPDF_PageObject::AsPath(), CPDF_PageObject::AsText(), CFXMatrixFromFSMatrix(), CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::GetType(), CPDF_PageObject::kForm, CPDF_PageObject::kImage, CPDF_PageObject::kPath, CPDF_PageObject::kShading, CPDF_PageObject::kText, CPDF_PageObject::SetDirty(), CPDF_FormObject::SetFormMatrix(), CPDF_ImageObject::SetImageMatrix(), CPDF_PathObject::SetPathMatrix(), and CPDF_TextObject::SetTextMatrix().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetStrokeColor | ( | FPDF_PAGEOBJECT | page_object, |
unsigned int | R, | ||
unsigned int | G, | ||
unsigned int | B, | ||
unsigned int | A ) |
Definition at line 845 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), CPDF_ColorSpace::GetStockCS(), CPDF_ColorSpace::kDeviceRGB, CPDF_PageObject::mutable_color_state(), CPDF_PageObject::mutable_general_state(), CPDF_PageObject::SetDirty(), and CPDF_GeneralState::SetStrokeAlpha().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetStrokeWidth | ( | FPDF_PAGEOBJECT | page_object, |
float | width ) |
Definition at line 886 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::mutable_graph_state(), CPDF_PageObject::SetDirty(), and CFX_GraphState::SetLineWidth().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_Transform | ( | FPDF_PAGEOBJECT | page_object, |
double | a, | ||
double | b, | ||
double | c, | ||
double | d, | ||
double | e, | ||
double | f ) |
Definition at line 625 of file fpdf_editpage.cpp.
References CFX_Matrix::CFX_Matrix(), CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::Transform().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObjMark_CountParams | ( | FPDF_PAGEOBJECTMARK | mark | ) |
Definition at line 375 of file fpdf_editpage.cpp.
References CPDFContentMarkItemFromFPDFPageObjectMark().
Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetName | ( | FPDF_PAGEOBJECTMARK | mark, |
void * | buffer, | ||
unsigned long | buflen, | ||
unsigned long * | out_buflen ) |
Definition at line 359 of file fpdf_editpage.cpp.
References CPDFContentMarkItemFromFPDFPageObjectMark(), fxcrt::WideString::FromUTF8(), and CPDF_ContentMarkItem::GetName().
Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamBlobValue | ( | FPDF_PAGEOBJECTMARK | mark, |
FPDF_BYTESTRING | key, | ||
void * | buffer, | ||
unsigned long | buflen, | ||
unsigned long * | out_buflen ) |
Definition at line 464 of file fpdf_editpage.cpp.
References fxcrt::ByteString::c_str().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamIntValue | ( | FPDF_PAGEOBJECTMARK | mark, |
FPDF_BYTESTRING | key, | ||
int * | out_value ) |
Definition at line 423 of file fpdf_editpage.cpp.
Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamKey | ( | FPDF_PAGEOBJECTMARK | mark, |
unsigned long | index, | ||
void * | buffer, | ||
unsigned long | buflen, | ||
unsigned long * | out_buflen ) |
Definition at line 386 of file fpdf_editpage.cpp.
Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamStringValue | ( | FPDF_PAGEOBJECTMARK | mark, |
FPDF_BYTESTRING | key, | ||
void * | buffer, | ||
unsigned long | buflen, | ||
unsigned long * | out_buflen ) |
Definition at line 442 of file fpdf_editpage.cpp.
References fxcrt::WideString::FromUTF8().
Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_OBJECT_TYPE FPDF_CALLCONV FPDFPageObjMark_GetParamValueType | ( | FPDF_PAGEOBJECTMARK | mark, |
FPDF_BYTESTRING | key ) |
Definition at line 412 of file fpdf_editpage.cpp.
Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_RemoveParam | ( | FPDF_PAGEOBJECT | page_object, |
FPDF_PAGEOBJECTMARK | mark, | ||
FPDF_BYTESTRING | key ) |
Definition at line 589 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_SetBlobParam | ( | FPDF_DOCUMENT | document, |
FPDF_PAGEOBJECT | page_object, | ||
FPDF_PAGEOBJECTMARK | mark, | ||
FPDF_BYTESTRING | key, | ||
void * | value, | ||
unsigned long | value_len ) |
Definition at line 564 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_SetIntParam | ( | FPDF_DOCUMENT | document, |
FPDF_PAGEOBJECT | page_object, | ||
FPDF_PAGEOBJECTMARK | mark, | ||
FPDF_BYTESTRING | key, | ||
int | value ) |
Definition at line 524 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_SetStringParam | ( | FPDF_DOCUMENT | document, |
FPDF_PAGEOBJECT | page_object, | ||
FPDF_PAGEOBJECTMARK | mark, | ||
FPDF_BYTESTRING | key, | ||
FPDF_BYTESTRING | value ) |
Definition at line 544 of file fpdf_editpage.cpp.
References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi().