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

(0ccf980226462398d5097987466bcffd8236e1e9)

Include dependency graph for fpdf_doc_embeddertest.cpp:

Go to the source code of this file.

Classes

class  FPDFDocEmbedderTest

Functions

 TEST_F (FPDFDocEmbedderTest, MultipleSamePage)
 TEST_F (FPDFDocEmbedderTest, DestGetPageIndex)
 TEST_F (FPDFDocEmbedderTest, DestGetView)
 TEST_F (FPDFDocEmbedderTest, DestGetLocationInPage)
 TEST_F (FPDFDocEmbedderTest, Bug1506First)
 TEST_F (FPDFDocEmbedderTest, Bug1506Second)
 TEST_F (FPDFDocEmbedderTest, Bug1506Third)
 TEST_F (FPDFDocEmbedderTest, Bug680376)
 TEST_F (FPDFDocEmbedderTest, Bug821454)
 TEST_F (FPDFDocEmbedderTest, ActionBadArguments)
 TEST_F (FPDFDocEmbedderTest, ActionLaunch)
 TEST_F (FPDFDocEmbedderTest, ActionUri)
 TEST_F (FPDFDocEmbedderTest, ActionUriNonAscii)
 TEST_F (FPDFDocEmbedderTest, LinkToAnnotConversion)
 TEST_F (FPDFDocEmbedderTest, ActionGoto)
 TEST_F (FPDFDocEmbedderTest, ActionEmbeddedGoto)
 TEST_F (FPDFDocEmbedderTest, ActionNonesuch)
 TEST_F (FPDFDocEmbedderTest, NoBookmarks)
 TEST_F (FPDFDocEmbedderTest, Bookmarks)
 TEST_F (FPDFDocEmbedderTest, FindBookmarks)
 TEST_F (FPDFDocEmbedderTest, FindBookmarksBug420)
 TEST_F (FPDFDocEmbedderTest, DeletePage)
 TEST_F (FPDFDocEmbedderTest, DeletePageAndRender)
 TEST_F (FPDFDocEmbedderTest, DeletePageAndSaveWithBookmarks)
 TEST_F (FPDFDocEmbedderTest, DeletePageAndSaveWithCustomObject)
 TEST_F (FPDFDocEmbedderTest, DeletePageAndSaveWithCustomObjectForNewPage)
 TEST_F (FPDFDocEmbedderTest, DeletePageAndSaveForPageWithMultipleUses)
 TEST_F (FPDFDocEmbedderTest, GetFileIdentifier)
 TEST_F (FPDFDocEmbedderTest, GetNonHexFileIdentifier)
 TEST_F (FPDFDocEmbedderTest, GetNonexistentFileIdentifier)
 TEST_F (FPDFDocEmbedderTest, GetMetaText)
 TEST_F (FPDFDocEmbedderTest, Utf8Metadata)
 TEST_F (FPDFDocEmbedderTest, Bug182)
 TEST_F (FPDFDocEmbedderTest, GetMetaTextSameObjectNumber)
 TEST_F (FPDFDocEmbedderTest, GetMetaTextInAttachmentFile)
 TEST_F (FPDFDocEmbedderTest, GetMetaTextFromNewDocument)
 TEST_F (FPDFDocEmbedderTest, GetPageAAction)
 TEST_F (FPDFDocEmbedderTest, NoPageLabels)
 TEST_F (FPDFDocEmbedderTest, GetPageLabels)

Function Documentation

◆ TEST_F() [1/39]

TEST_F ( FPDFDocEmbedderTest ,
ActionBadArguments  )

Definition at line 326 of file fpdf_doc_embeddertest.cpp.

References FPDFAction_GetDest(), FPDFAction_GetFilePath(), FPDFAction_GetType(), and FPDFAction_GetURIPath().

Here is the call graph for this function:

◆ TEST_F() [2/39]

TEST_F ( FPDFDocEmbedderTest ,
ActionEmbeddedGoto  )

Definition at line 478 of file fpdf_doc_embeddertest.cpp.

References FPDFAction_GetFilePath(), FPDFAction_GetType(), FPDFDest_GetView(), FPDFLink_GetAction(), and FPDFLink_GetLinkAtPoint().

Here is the call graph for this function:

◆ TEST_F() [3/39]

TEST_F ( FPDFDocEmbedderTest ,
ActionGoto  )

Definition at line 453 of file fpdf_doc_embeddertest.cpp.

References FPDFAction_GetFilePath(), FPDFAction_GetType(), FPDFLink_GetAction(), and FPDFLink_GetLinkAtPoint().

Here is the call graph for this function:

◆ TEST_F() [4/39]

TEST_F ( FPDFDocEmbedderTest ,
ActionLaunch  )

Definition at line 338 of file fpdf_doc_embeddertest.cpp.

References FPDFAction_GetFilePath(), FPDFAction_GetType(), FPDFLink_GetAction(), and FPDFLink_GetLinkAtPoint().

Here is the call graph for this function:

◆ TEST_F() [5/39]

TEST_F ( FPDFDocEmbedderTest ,
ActionNonesuch  )

Definition at line 515 of file fpdf_doc_embeddertest.cpp.

References FPDFAction_GetFilePath(), FPDFAction_GetType(), FPDFLink_GetAction(), and FPDFLink_GetLinkAtPoint().

Here is the call graph for this function:

◆ TEST_F() [6/39]

TEST_F ( FPDFDocEmbedderTest ,
ActionUri  )

Definition at line 369 of file fpdf_doc_embeddertest.cpp.

References FPDFAction_GetFilePath(), FPDFAction_GetType(), FPDFLink_GetAction(), and FPDFLink_GetLinkAtPoint().

Here is the call graph for this function:

◆ TEST_F() [7/39]

TEST_F ( FPDFDocEmbedderTest ,
ActionUriNonAscii  )

Definition at line 400 of file fpdf_doc_embeddertest.cpp.

References FPDFAction_GetType(), FPDFLink_GetAction(), and FPDFLink_GetLinkAtPoint().

Here is the call graph for this function:

◆ TEST_F() [8/39]

TEST_F ( FPDFDocEmbedderTest ,
Bookmarks  )

Definition at line 558 of file fpdf_doc_embeddertest.cpp.

References FPDFBookmark_GetAction(), FPDFBookmark_GetCount(), FPDFBookmark_GetTitle(), and GetPlatformWString().

Here is the call graph for this function:

◆ TEST_F() [9/39]

TEST_F ( FPDFDocEmbedderTest ,
Bug1506First  )

Definition at line 212 of file fpdf_doc_embeddertest.cpp.

◆ TEST_F() [10/39]

TEST_F ( FPDFDocEmbedderTest ,
Bug1506Second  )

Definition at line 220 of file fpdf_doc_embeddertest.cpp.

◆ TEST_F() [11/39]

TEST_F ( FPDFDocEmbedderTest ,
Bug1506Third  )

Definition at line 235 of file fpdf_doc_embeddertest.cpp.

◆ TEST_F() [12/39]

TEST_F ( FPDFDocEmbedderTest ,
Bug182  )

Definition at line 915 of file fpdf_doc_embeddertest.cpp.

References GetPlatformWString().

Here is the call graph for this function:

◆ TEST_F() [13/39]

TEST_F ( FPDFDocEmbedderTest ,
Bug680376  )

Definition at line 250 of file fpdf_doc_embeddertest.cpp.

◆ TEST_F() [14/39]

TEST_F ( FPDFDocEmbedderTest ,
Bug821454  )

Definition at line 259 of file fpdf_doc_embeddertest.cpp.

References FPDFDest_GetLocationInPage(), FPDFLink_GetDest(), FPDFLink_GetLinkAtPoint(), and FPDFLink_GetLinkZOrderAtPoint().

Here is the call graph for this function:

◆ TEST_F() [15/39]

TEST_F ( FPDFDocEmbedderTest ,
DeletePage  )

Definition at line 635 of file fpdf_doc_embeddertest.cpp.

References FPDFPage_Delete().

Here is the call graph for this function:

◆ TEST_F() [16/39]

TEST_F ( FPDFDocEmbedderTest ,
DeletePageAndRender  )

Definition at line 651 of file fpdf_doc_embeddertest.cpp.

◆ TEST_F() [17/39]

TEST_F ( FPDFDocEmbedderTest ,
DeletePageAndSaveForPageWithMultipleUses  )

Definition at line 801 of file fpdf_doc_embeddertest.cpp.

◆ TEST_F() [18/39]

TEST_F ( FPDFDocEmbedderTest ,
DeletePageAndSaveWithBookmarks  )

Definition at line 744 of file fpdf_doc_embeddertest.cpp.

◆ TEST_F() [19/39]

TEST_F ( FPDFDocEmbedderTest ,
DeletePageAndSaveWithCustomObject  )

Definition at line 757 of file fpdf_doc_embeddertest.cpp.

◆ TEST_F() [20/39]

TEST_F ( FPDFDocEmbedderTest ,
DeletePageAndSaveWithCustomObjectForNewPage  )

Definition at line 770 of file fpdf_doc_embeddertest.cpp.

◆ TEST_F() [21/39]

TEST_F ( FPDFDocEmbedderTest ,
DestGetLocationInPage  )

Definition at line 184 of file fpdf_doc_embeddertest.cpp.

References FPDFDest_GetLocationInPage().

Here is the call graph for this function:

◆ TEST_F() [22/39]

TEST_F ( FPDFDocEmbedderTest ,
DestGetPageIndex  )

Definition at line 97 of file fpdf_doc_embeddertest.cpp.

References FPDFDest_GetDestPageIndex().

Here is the call graph for this function:

◆ TEST_F() [23/39]

TEST_F ( FPDFDocEmbedderTest ,
DestGetView  )

Definition at line 125 of file fpdf_doc_embeddertest.cpp.

References FPDFDest_GetView().

Here is the call graph for this function:

◆ TEST_F() [24/39]

TEST_F ( FPDFDocEmbedderTest ,
FindBookmarks  )

Definition at line 602 of file fpdf_doc_embeddertest.cpp.

References FPDFBookmark_GetTitle(), and GetPlatformWString().

Here is the call graph for this function:

◆ TEST_F() [25/39]

TEST_F ( FPDFDocEmbedderTest ,
FindBookmarksBug420  )

Definition at line 626 of file fpdf_doc_embeddertest.cpp.

◆ TEST_F() [26/39]

TEST_F ( FPDFDocEmbedderTest ,
GetFileIdentifier  )

Definition at line 822 of file fpdf_doc_embeddertest.cpp.

◆ TEST_F() [27/39]

TEST_F ( FPDFDocEmbedderTest ,
GetMetaText  )

Definition at line 873 of file fpdf_doc_embeddertest.cpp.

References FPDF_GetMetaText(), and GetPlatformWString().

Here is the call graph for this function:

◆ TEST_F() [28/39]

TEST_F ( FPDFDocEmbedderTest ,
GetMetaTextFromNewDocument  )

Definition at line 944 of file fpdf_doc_embeddertest.cpp.

References FPDF_CreateNewDocument().

Here is the call graph for this function:

◆ TEST_F() [29/39]

TEST_F ( FPDFDocEmbedderTest ,
GetMetaTextInAttachmentFile  )

Definition at line 935 of file fpdf_doc_embeddertest.cpp.

References GetPlatformWString().

Here is the call graph for this function:

◆ TEST_F() [30/39]

TEST_F ( FPDFDocEmbedderTest ,
GetMetaTextSameObjectNumber  )

Definition at line 924 of file fpdf_doc_embeddertest.cpp.

References GetPlatformWString().

Here is the call graph for this function:

◆ TEST_F() [31/39]

TEST_F ( FPDFDocEmbedderTest ,
GetNonexistentFileIdentifier  )

Definition at line 865 of file fpdf_doc_embeddertest.cpp.

◆ TEST_F() [32/39]

TEST_F ( FPDFDocEmbedderTest ,
GetNonHexFileIdentifier  )

Definition at line 850 of file fpdf_doc_embeddertest.cpp.

References fxcrt::ByteString::ByteString().

Here is the call graph for this function:

◆ TEST_F() [33/39]

TEST_F ( FPDFDocEmbedderTest ,
GetPageAAction  )

Definition at line 950 of file fpdf_doc_embeddertest.cpp.

References FPDF_GetPageAAction(), FPDFAction_GetFilePath(), and FPDFAction_GetType().

Here is the call graph for this function:

◆ TEST_F() [34/39]

TEST_F ( FPDFDocEmbedderTest ,
GetPageLabels  )

Definition at line 989 of file fpdf_doc_embeddertest.cpp.

References GetPlatformWString().

Here is the call graph for this function:

◆ TEST_F() [35/39]

TEST_F ( FPDFDocEmbedderTest ,
LinkToAnnotConversion  )

Definition at line 431 of file fpdf_doc_embeddertest.cpp.

References FPDFLink_GetAnnot(), and FPDFLink_GetLinkAtPoint().

Here is the call graph for this function:

◆ TEST_F() [36/39]

TEST_F ( FPDFDocEmbedderTest ,
MultipleSamePage  )

Definition at line 78 of file fpdf_doc_embeddertest.cpp.

References CPDF_Document::GetParsedPageCountForTesting().

Here is the call graph for this function:

◆ TEST_F() [37/39]

TEST_F ( FPDFDocEmbedderTest ,
NoBookmarks  )

Definition at line 539 of file fpdf_doc_embeddertest.cpp.

References FPDFBookmark_Find(), FPDFBookmark_GetAction(), FPDFBookmark_GetDest(), FPDFBookmark_GetFirstChild(), FPDFBookmark_GetNextSibling(), and FPDFBookmark_GetTitle().

Here is the call graph for this function:

◆ TEST_F() [38/39]

TEST_F ( FPDFDocEmbedderTest ,
NoPageLabels  )

Definition at line 982 of file fpdf_doc_embeddertest.cpp.

◆ TEST_F() [39/39]

TEST_F ( FPDFDocEmbedderTest ,
Utf8Metadata  )

Definition at line 901 of file fpdf_doc_embeddertest.cpp.

References FPDFBookmark_GetTitle(), and GetPlatformWString().

Here is the call graph for this function: