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_editpage.cpp File Reference

(e4657a741c23c8f48e0e97ae2091dc2d99f4f27d)

Include dependency graph for fpdf_editpage.cpp:

Go to the source code of this file.

Functions

FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_CreateNewDocument ()
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_Delete (FPDF_DOCUMENT document, int page_index)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_MovePages (FPDF_DOCUMENT document, const int *page_indices, unsigned long page_indices_len, int dest_page_index)
FPDF_EXPORT FPDF_PAGE FPDF_CALLCONV FPDFPage_New (FPDF_DOCUMENT document, int page_index, double width, double height)
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_GetRotation (FPDF_PAGE page)
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_InsertObject (FPDF_PAGE page, FPDF_PAGEOBJECT page_object)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_RemoveObject (FPDF_PAGE page, FPDF_PAGEOBJECT page_object)
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_CountObjects (FPDF_PAGE page)
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPage_GetObject (FPDF_PAGE page, int index)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_HasTransparency (FPDF_PAGE page)
FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_Destroy (FPDF_PAGEOBJECT page_object)
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetMarkedContentID (FPDF_PAGEOBJECT page_object)
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_CountMarks (FPDF_PAGEOBJECT page_object)
FPDF_EXPORT FPDF_PAGEOBJECTMARK FPDF_CALLCONV FPDFPageObj_GetMark (FPDF_PAGEOBJECT page_object, unsigned long index)
FPDF_EXPORT FPDF_PAGEOBJECTMARK FPDF_CALLCONV FPDFPageObj_AddMark (FPDF_PAGEOBJECT page_object, FPDF_BYTESTRING name)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_RemoveMark (FPDF_PAGEOBJECT page_object, FPDF_PAGEOBJECTMARK mark)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetName (FPDF_PAGEOBJECTMARK mark, void *buffer, unsigned long buflen, unsigned long *out_buflen)
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObjMark_CountParams (FPDF_PAGEOBJECTMARK mark)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamKey (FPDF_PAGEOBJECTMARK mark, unsigned long index, void *buffer, unsigned long buflen, unsigned long *out_buflen)
FPDF_EXPORT FPDF_OBJECT_TYPE FPDF_CALLCONV FPDFPageObjMark_GetParamValueType (FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamIntValue (FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key, int *out_value)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamStringValue (FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key, void *buffer, unsigned long buflen, unsigned long *out_buflen)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamBlobValue (FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key, void *buffer, unsigned long buflen, unsigned long *out_buflen)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_HasTransparency (FPDF_PAGEOBJECT page_object)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_SetIntParam (FPDF_DOCUMENT document, FPDF_PAGEOBJECT page_object, FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key, int value)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_SetStringParam (FPDF_DOCUMENT document, FPDF_PAGEOBJECT page_object, FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key, FPDF_BYTESTRING value)
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)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_RemoveParam (FPDF_PAGEOBJECT page_object, FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key)
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetType (FPDF_PAGEOBJECT page_object)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_GenerateContent (FPDF_PAGE page)
FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_Transform (FPDF_PAGEOBJECT page_object, double a, double b, double c, double d, double e, double f)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_TransformF (FPDF_PAGEOBJECT page_object, const FS_MATRIX *matrix)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetMatrix (FPDF_PAGEOBJECT page_object, FS_MATRIX *matrix)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetMatrix (FPDF_PAGEOBJECT page_object, const FS_MATRIX *matrix)
FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_SetBlendMode (FPDF_PAGEOBJECT page_object, FPDF_BYTESTRING blend_mode)
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_TransformAnnots (FPDF_PAGE page, double a, double b, double c, double d, double e, double f)
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_SetRotation (FPDF_PAGE page, int rotate)
FPDF_BOOL FPDFPageObj_SetFillColor (FPDF_PAGEOBJECT page_object, unsigned int R, unsigned int G, unsigned int B, unsigned int A)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetFillColor (FPDF_PAGEOBJECT page_object, unsigned int *R, unsigned int *G, unsigned int *B, unsigned int *A)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetBounds (FPDF_PAGEOBJECT page_object, float *left, float *bottom, float *right, float *top)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetRotatedBounds (FPDF_PAGEOBJECT page_object, FS_QUADPOINTSF *quad_points)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetStrokeColor (FPDF_PAGEOBJECT page_object, unsigned int R, unsigned int G, unsigned int B, unsigned int A)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetStrokeColor (FPDF_PAGEOBJECT page_object, unsigned int *R, unsigned int *G, unsigned int *B, unsigned int *A)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetStrokeWidth (FPDF_PAGEOBJECT page_object, float width)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetStrokeWidth (FPDF_PAGEOBJECT page_object, float *width)
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetLineJoin (FPDF_PAGEOBJECT page_object)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetLineJoin (FPDF_PAGEOBJECT page_object, int line_join)
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetLineCap (FPDF_PAGEOBJECT page_object)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetLineCap (FPDF_PAGEOBJECT page_object, int line_cap)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetDashPhase (FPDF_PAGEOBJECT page_object, float *phase)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetDashPhase (FPDF_PAGEOBJECT page_object, float phase)
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetDashCount (FPDF_PAGEOBJECT page_object)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetDashArray (FPDF_PAGEOBJECT page_object, float *dash_array, size_t dash_count)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetDashArray (FPDF_PAGEOBJECT page_object, const float *dash_array, size_t dash_count, float phase)
FPDF_EXPORT int FPDF_CALLCONV FPDFFormObj_CountObjects (FPDF_PAGEOBJECT form_object)
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFFormObj_GetObject (FPDF_PAGEOBJECT form_object, unsigned long index)

Function Documentation

◆ FPDF_CreateNewDocument()

FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_CreateNewDocument ( )

Definition at line 155 of file fpdf_editpage.cpp.

References fxcrt::ByteString::Format(), FXSYS_localtime(), FXSYS_time(), IsPDFSandboxPolicyEnabled(), and fxcrt::ByteString::operator=().

Referenced by CheckPDFiumCApi(), FPDF_ImportNPagesToOne(), main(), 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDF_MovePages()

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 198 of file fpdf_editpage.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFFormObj_CountObjects()

FPDF_EXPORT int FPDF_CALLCONV FPDFFormObj_CountObjects ( FPDF_PAGEOBJECT form_object)

Definition at line 1054 of file fpdf_editpage.cpp.

Referenced by CheckPDFiumCApi(), and TEST_F().

Here is the caller graph for this function:

◆ FPDFFormObj_GetObject()

FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFFormObj_GetObject ( FPDF_PAGEOBJECT form_object,
unsigned long index )

Definition at line 1062 of file fpdf_editpage.cpp.

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().

Here is the caller graph for this function:

◆ FPDFPage_CountObjects()

FPDF_EXPORT int FPDF_CALLCONV FPDFPage_CountObjects ( FPDF_PAGE page)

Definition at line 282 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(), WriteImages(), and WriteRenderedImages().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPage_Delete()

FPDF_EXPORT void FPDF_CALLCONV FPDFPage_Delete ( FPDF_DOCUMENT document,
int page_index )

Definition at line 185 of file fpdf_editpage.cpp.

References CPDFDocumentFromFPDFDocument(), CPDF_Document::DeletePage(), CPDF_Document::Extension::DeletePage(), CPDF_Document::GetExtension(), and CPDF_Document::SetPageToNullObject().

Referenced by CheckPDFiumCApi(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPage_GenerateContent()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_GenerateContent ( FPDF_PAGE page)

Definition at line 635 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPage_GetObject()

◆ FPDFPage_GetRotation()

FPDF_EXPORT int FPDF_CALLCONV FPDFPage_GetRotation ( FPDF_PAGE page)

Definition at line 247 of file fpdf_editpage.cpp.

References CPDFPageFromFPDFPage(), and CPDF_Page::GetPageRotation().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPage_HasTransparency()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_HasTransparency ( FPDF_PAGE page)

Definition at line 299 of file fpdf_editpage.cpp.

References CPDF_PageObjectHolder::BackgroundAlphaNeeded(), and CPDFPageFromFPDFPage().

Referenced by CheckPDFiumCApi(), EmbedderTest::RenderPageWithFlags(), FPDFProgressiveRenderEmbedderTest::StartRenderPageWithColorSchemeAndBackground(), and FPDFProgressiveRenderEmbedderTest::StartRenderPageWithFlags().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPage_InsertObject()

FPDF_EXPORT void FPDF_CALLCONV FPDFPage_InsertObject ( FPDF_PAGE page,
FPDF_PAGEOBJECT page_object )

Definition at line 253 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(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPage_New()

FPDF_EXPORT FPDF_PAGE FPDF_CALLCONV FPDFPage_New ( FPDF_DOCUMENT document,
int page_index,
double width,
double height )

Definition at line 214 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPage_RemoveObject()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_RemoveObject ( FPDF_PAGE page,
FPDF_PAGEOBJECT page_object )

Definition at line 269 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPage_SetRotation()

FPDF_EXPORT void FPDF_CALLCONV FPDFPage_SetRotation ( FPDF_PAGE page,
int rotate )

Definition at line 770 of file fpdf_editpage.cpp.

References CPDFPageFromFPDFPage(), pdfium::page_object::kRotate, and CPDF_Page::UpdateDimensions().

Referenced by CheckPDFiumCApi(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPage_TransformAnnots()

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 736 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_AddMark()

FPDF_EXPORT FPDF_PAGEOBJECTMARK FPDF_CALLCONV FPDFPageObj_AddMark ( FPDF_PAGEOBJECT page_object,
FPDF_BYTESTRING name )

Definition at line 342 of file fpdf_editpage.cpp.

References CPDF_ContentMarks::AddMark(), CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::GetContentMarks(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_CountMarks()

FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_CountMarks ( FPDF_PAGEOBJECT page_object)

Definition at line 320 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::GetContentMarks().

Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_Destroy()

FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_Destroy ( FPDF_PAGEOBJECT page_object)

Definition at line 305 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(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetBounds()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetBounds ( FPDF_PAGEOBJECT page_object,
float * left,
float * bottom,
float * right,
float * top )

Definition at line 823 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetDashArray()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetDashArray ( FPDF_PAGEOBJECT page_object,
float * dash_array,
size_t dash_count )

Definition at line 1014 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::graph_state().

Referenced by CheckPDFiumCApi().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetDashCount()

FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetDashCount ( FPDF_PAGEOBJECT page_object)

Definition at line 1006 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::graph_state().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetDashPhase()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetDashPhase ( FPDF_PAGEOBJECT page_object,
float * phase )

Definition at line 985 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CFX_GraphState::GetLineDashPhase(), and CPDF_PageObject::graph_state().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetFillColor()

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 801 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetLineCap()

FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetLineCap ( FPDF_PAGEOBJECT page_object)

Definition at line 963 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CFX_GraphState::GetLineCap(), and CPDF_PageObject::graph_state().

Referenced by CheckPDFiumCApi(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetLineJoin()

FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetLineJoin ( FPDF_PAGEOBJECT page_object)

Definition at line 941 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CFX_GraphState::GetLineJoin(), and CPDF_PageObject::graph_state().

Referenced by CheckPDFiumCApi(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetMark()

FPDF_EXPORT FPDF_PAGEOBJECTMARK FPDF_CALLCONV FPDFPageObj_GetMark ( FPDF_PAGEOBJECT page_object,
unsigned long index )

Definition at line 329 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::GetContentMarks().

Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetMarkedContentID()

FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetMarkedContentID ( FPDF_PAGEOBJECT page_object)

Definition at line 310 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::GetContentMarks(), and CPDF_ContentMarks::GetMarkedContentID().

Referenced by CheckPDFiumCApi(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetMatrix()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetMatrix ( FPDF_PAGEOBJECT page_object,
FS_MATRIX * matrix )

Definition at line 675 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(), TEST_F(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetRotatedBounds()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetRotatedBounds ( FPDF_PAGEOBJECT page_object,
FS_QUADPOINTSF * quad_points )

Definition at line 841 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetStrokeColor()

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 898 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetStrokeWidth()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetStrokeWidth ( FPDF_PAGEOBJECT page_object,
float * width )

Definition at line 931 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CFX_GraphState::GetLineWidth(), and CPDF_PageObject::graph_state().

Referenced by CheckPDFiumCApi(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_GetType()

FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetType ( FPDF_PAGEOBJECT page_object)

Definition at line 629 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(), WriteImages(), and WriteRenderedImages().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_HasTransparency()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_HasTransparency ( FPDF_PAGEOBJECT page_object)

Definition at line 506 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_RemoveMark()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_RemoveMark ( FPDF_PAGEOBJECT page_object,
FPDF_PAGEOBJECTMARK mark )

Definition at line 356 of file fpdf_editpage.cpp.

References CPDFContentMarkItemFromFPDFPageObjectMark(), CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::GetContentMarks(), CPDF_ContentMarks::RemoveMark(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_SetBlendMode()

FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_SetBlendMode ( FPDF_PAGEOBJECT page_object,
FPDF_BYTESTRING blend_mode )

Definition at line 726 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_SetDashArray()

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 1032 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::mutable_graph_state(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_SetDashPhase()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetDashPhase ( FPDF_PAGEOBJECT page_object,
float phase )

Definition at line 995 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_SetFillColor()

FPDF_BOOL FPDFPageObj_SetFillColor ( FPDF_PAGEOBJECT page_object,
unsigned int R,
unsigned int G,
unsigned int B,
unsigned int A )

Definition at line 782 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(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_SetLineCap()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetLineCap ( FPDF_PAGEOBJECT page_object,
int line_cap )

Definition at line 969 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_SetLineJoin()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetLineJoin ( FPDF_PAGEOBJECT page_object,
int line_join )

Definition at line 948 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_SetMatrix()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetMatrix ( FPDF_PAGEOBJECT page_object,
const FS_MATRIX * matrix )

Definition at line 699 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(), TEST_F(), TEST_F(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_SetStrokeColor()

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 879 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_SetStrokeWidth()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetStrokeWidth ( FPDF_PAGEOBJECT page_object,
float width )

Definition at line 920 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_Transform()

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 646 of file fpdf_editpage.cpp.

References FPDFPageObj_TransformF().

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObj_TransformF()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_TransformF ( FPDF_PAGEOBJECT page_object,
const FS_MATRIX * matrix )

Definition at line 660 of file fpdf_editpage.cpp.

References CFXMatrixFromFSMatrix(), CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::Transform().

Referenced by CheckPDFiumCApi(), FPDFPageObj_Transform(), TEST_F(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObjMark_CountParams()

FPDF_EXPORT int FPDF_CALLCONV FPDFPageObjMark_CountParams ( FPDF_PAGEOBJECTMARK mark)

Definition at line 388 of file fpdf_editpage.cpp.

References CPDFContentMarkItemFromFPDFPageObjectMark().

Referenced by CheckMarkCounts(), and CheckPDFiumCApi().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObjMark_GetName()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetName ( FPDF_PAGEOBJECTMARK mark,
void * buffer,
unsigned long buflen,
unsigned long * out_buflen )

Definition at line 371 of file fpdf_editpage.cpp.

References CPDFContentMarkItemFromFPDFPageObjectMark().

Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObjMark_GetParamBlobValue()

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 481 of file fpdf_editpage.cpp.

Referenced by CheckPDFiumCApi().

Here is the caller graph for this function:

◆ FPDFPageObjMark_GetParamIntValue()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamIntValue ( FPDF_PAGEOBJECTMARK mark,
FPDF_BYTESTRING key,
int * out_value )

Definition at line 438 of file fpdf_editpage.cpp.

Referenced by CheckMarkCounts(), CheckPDFiumCApi(), and TEST_F().

Here is the caller graph for this function:

◆ FPDFPageObjMark_GetParamKey()

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 399 of file fpdf_editpage.cpp.

Referenced by CheckMarkCounts(), and CheckPDFiumCApi().

Here is the caller graph for this function:

◆ FPDFPageObjMark_GetParamStringValue()

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 457 of file fpdf_editpage.cpp.

Referenced by CheckMarkCounts(), and CheckPDFiumCApi().

Here is the caller graph for this function:

◆ FPDFPageObjMark_GetParamValueType()

FPDF_EXPORT FPDF_OBJECT_TYPE FPDF_CALLCONV FPDFPageObjMark_GetParamValueType ( FPDF_PAGEOBJECTMARK mark,
FPDF_BYTESTRING key )

Definition at line 427 of file fpdf_editpage.cpp.

Referenced by CheckMarkCounts(), and CheckPDFiumCApi().

Here is the caller graph for this function:

◆ FPDFPageObjMark_RemoveParam()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_RemoveParam ( FPDF_PAGEOBJECT page_object,
FPDF_PAGEOBJECTMARK mark,
FPDF_BYTESTRING key )

Definition at line 610 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObjMark_SetBlobParam()

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 578 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CPDF_String::kIsHex, and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObjMark_SetIntParam()

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 538 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FPDFPageObjMark_SetStringParam()

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 558 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi().

Here is the call graph for this function:
Here is the caller graph for this function: