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

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

+ 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_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_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 153 of file fpdf_editpage.cpp.

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

Referenced by CheckPDFiumCApi(), and main().

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

References CPDFDocumentFromFPDFDocument(), and CPDF_Document::MovePages().

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

Referenced by CheckPDFiumCApi(), TEST_F(), 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 1029 of file fpdf_editpage.cpp.

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFPage_CountObjects()

◆ FPDFPage_Delete()

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

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

+ 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 244 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 296 of file fpdf_editpage.cpp.

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

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

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

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

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

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

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

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

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

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

+ 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 980 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 972 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 951 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 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().

+ 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 929 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 907 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 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().

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

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

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

+ 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 897 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 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().

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

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

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

+ 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 997 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 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().

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

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

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

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

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

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

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

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

References CPDFContentMarkItemFromFPDFPageObjectMark().

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

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

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

References fxcrt::ByteString::c_str().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ 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 423 of file fpdf_editpage.cpp.

Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), 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 386 of file fpdf_editpage.cpp.

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

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

References fxcrt::WideString::FromUTF8().

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_GetParamValueType()

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

+ 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 589 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 564 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_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 524 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 544 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: