Lines Matching refs:document
26 EXPECT_TRUE(FPDF_GetFileVersion(document(), &version));
29 EXPECT_EQ(0xFFFFFFFF, FPDF_GetDocPermissions(document()));
30 EXPECT_EQ(-1, FPDF_GetSecurityHandlerRevision(document()));
45 EXPECT_TRUE(FPDF_VIEWERREF_GetPrintScaling(document()));
46 EXPECT_EQ(1, FPDF_VIEWERREF_GetNumCopies(document()));
47 EXPECT_EQ(DuplexUndefined, FPDF_VIEWERREF_GetDuplex(document()));
58 dest = FPDF_GetNamedDest(document(), 0, nullptr, &buffer_size);
64 dest = FPDF_GetNamedDest(document(), 0, fixed_buffer, &buffer_size);
71 dest = FPDF_GetNamedDest(document(), 0, fixed_buffer, &buffer_size);
80 dest = FPDF_GetNamedDest(document(), 1, fixed_buffer, &buffer_size);
90 dest = FPDF_GetNamedDest(document(), 2, fixed_buffer, &buffer_size);
97 dest = FPDF_GetNamedDest(document(), 3, fixed_buffer, &buffer_size);
104 dest = FPDF_GetNamedDest(document(), 4, fixed_buffer, &buffer_size);
115 dest = FPDF_GetNamedDest(document(), 5, fixed_buffer, &buffer_size);
124 dest = FPDF_GetNamedDest(document(), 6, fixed_buffer, &buffer_size);
130 dest = FPDF_GetNamedDest(document(), std::numeric_limits<int>::max(),
136 dest = FPDF_GetNamedDest(document(), std::numeric_limits<int>::min(),
142 dest = FPDF_GetNamedDest(document(), -1, fixed_buffer, &buffer_size);
151 FPDF_DEST dest = FPDF_GetNamedDestByName(document(), nullptr);
155 dest = FPDF_GetNamedDestByName(document(), "");
159 dest = FPDF_GetNamedDestByName(document(), "First");
164 FPDF_GetNamedDest(document(), 0, nullptr, &ignore_len);
168 dest = FPDF_GetNamedDestByName(document(), "FirstAlternate");
172 dest_by_index = FPDF_GetNamedDest(document(), 4, nullptr, &ignore_len);
176 dest = FPDF_GetNamedDestByName(document(), "WrongType");
180 dest = FPDF_GetNamedDestByName(document(), "Bogus");
184 // The following tests pass if the document opens without crashing.