Home | History | Annotate | Download | only in testing

Lines Matching refs:page

227   FPDF_PAGE page = FPDF_LoadPage(document_, page_number);
228 if (!page) {
231 FORM_OnAfterLoadPage(page, form_handle_);
232 FORM_DoPageAAction(page, form_handle_, FPDFPAGE_AACTION_OPEN);
233 return page;
237 FPDF_PAGE page = delegate_->GetPage(form_handle_, document_, page_number);
238 if (!page) {
241 FORM_DoPageAAction(page, form_handle_, FPDFPAGE_AACTION_OPEN);
242 return page;
245 FPDF_BITMAP EmbedderTest::RenderPage(FPDF_PAGE page) {
246 int width = static_cast<int>(FPDF_GetPageWidth(page));
247 int height = static_cast<int>(FPDF_GetPageHeight(page));
248 int alpha = FPDFPage_HasTransparency(page) ? 1 : 0;
252 FPDF_RenderPageBitmap(bitmap, page, 0, 0, width, height, 0, 0);
253 FPDF_FFLDraw(form_handle_, bitmap, page, 0, 0, width, height, 0, 0);
257 void EmbedderTest::UnloadPage(FPDF_PAGE page) {
258 FORM_DoPageAAction(page, form_handle_, FPDFPAGE_AACTION_CLOSE);
259 FORM_OnBeforeClosePage(page, form_handle_);
260 FPDF_ClosePage(page);
270 FPDF_PAGE page = FPDF_LoadPage(document, page_index);
271 if (!page) {
274 m_pageMap[page_index] = page;
275 FORM_OnAfterLoadPage(page, form_handle);
276 return page;