Lines Matching refs:m_pFormFillEnv
134 m_pFormFillEnv(nullptr), in Document()
142 if (!m_pFormFillEnv) in get_num_fields()
145 CPDFSDK_InterForm* pInterForm = m_pFormFillEnv->GetInterForm(); in get_num_fields()
157 if (!m_pFormFillEnv) in get_dirty()
159 return CJS_Return(pRuntime->NewBoolean(!!m_pFormFillEnv->GetChangeMark())); in get_dirty()
163 if (!m_pFormFillEnv) in set_dirty()
166 pRuntime->ToBoolean(vp) ? m_pFormFillEnv->SetChangeMark() in set_dirty()
167 : m_pFormFillEnv->ClearChangeMark(); in set_dirty()
180 if (!m_pFormFillEnv) in get_page_num()
183 CPDFSDK_PageView* pPageView = m_pFormFillEnv->GetCurrentView(); in get_page_num()
191 if (!m_pFormFillEnv) in set_page_num()
194 int iPageCount = m_pFormFillEnv->GetPageCount(); in set_page_num()
197 m_pFormFillEnv->JS_docgotoPage(iPageNum); in set_page_num()
199 m_pFormFillEnv->JS_docgotoPage(iPageCount - 1); in set_page_num()
201 m_pFormFillEnv->JS_docgotoPage(0); in set_page_num()
243 if (!m_pFormFillEnv) in getField()
247 CPDFSDK_InterForm* pInterForm = m_pFormFillEnv->GetInterForm(); in getField()
273 if (!m_pFormFillEnv) in getNthFieldName()
280 CPDFSDK_InterForm* pInterForm = m_pFormFillEnv->GetInterForm(); in getNthFieldName()
314 if (!m_pFormFillEnv) in mailForm()
316 if (!m_pFormFillEnv->GetPermissions(FPDFPERM_EXTRACT_ACCESS)) in mailForm()
326 CPDFSDK_InterForm* pInterForm = m_pFormFillEnv->GetInterForm(); in mailForm()
347 if (!m_pFormFillEnv) in print()
401 if (!m_pFormFillEnv) in print()
404 m_pFormFillEnv->JS_docprint(bUI, nStart, nEnd, bSilent, bShrinkToFit, in print()
418 if (!m_pFormFillEnv) in removeField()
421 if (!(m_pFormFillEnv->GetPermissions(FPDFPERM_MODIFY) || in removeField()
422 m_pFormFillEnv->GetPermissions(FPDFPERM_ANNOT_FORM))) in removeField()
426 CPDFSDK_InterForm* pInterForm = m_pFormFillEnv->GetInterForm(); in removeField()
450 CPDFSDK_PageView* pPageView = m_pFormFillEnv->GetPageView(pPage, false); in removeField()
458 m_pFormFillEnv->SetChangeMark(); in removeField()
470 if (!m_pFormFillEnv) in resetForm()
472 if (!(m_pFormFillEnv->GetPermissions(FPDFPERM_MODIFY) || in resetForm()
473 m_pFormFillEnv->GetPermissions(FPDFPERM_ANNOT_FORM) || in resetForm()
474 m_pFormFillEnv->GetPermissions(FPDFPERM_FILL_FORM))) { in resetForm()
478 CPDFSDK_InterForm* pInterForm = m_pFormFillEnv->GetInterForm(); in resetForm()
482 m_pFormFillEnv->SetChangeMark(); in resetForm()
504 m_pFormFillEnv->SetChangeMark(); in resetForm()
528 if (!m_pFormFillEnv) in submitForm()
554 CPDFSDK_InterForm* pInterForm = m_pFormFillEnv->GetInterForm(); in submitForm()
589 m_pFormFillEnv.Reset(pFormFillEnv); in SetFormFillEnv()
653 if (!m_pFormFillEnv) in get_info()
656 const auto* pDictionary = m_pFormFillEnv->GetPDFDocument()->GetInfo(); in get_info()
717 if (!m_pFormFillEnv) in getPropertyInternal()
720 CPDF_Dictionary* pDictionary = m_pFormFillEnv->GetPDFDocument()->GetInfo(); in getPropertyInternal()
730 if (!m_pFormFillEnv) in setPropertyInternal()
733 CPDF_Dictionary* pDictionary = m_pFormFillEnv->GetPDFDocument()->GetInfo(); in setPropertyInternal()
737 if (!m_pFormFillEnv->GetPermissions(FPDFPERM_MODIFY)) in setPropertyInternal()
743 m_pFormFillEnv->SetChangeMark(); in setPropertyInternal()
766 if (!m_pFormFillEnv) in get_delay()
772 if (!m_pFormFillEnv) in set_delay()
774 if (!m_pFormFillEnv->GetPermissions(FPDFPERM_MODIFY)) in set_delay()
786 Field::DoDelay(m_pFormFillEnv.Get(), pData.get()); in set_delay()
828 if (!m_pFormFillEnv || !m_pFormFillEnv->GetUnderlyingDocument()) in get_title()
834 if (!m_pFormFillEnv || !m_pFormFillEnv->GetUnderlyingDocument()) in set_title()
840 if (!m_pFormFillEnv) in get_num_pages()
842 return CJS_Return(pRuntime->NewNumber(m_pFormFillEnv->GetPageCount())); in get_num_pages()
888 if (!m_pFormFillEnv) in get_URL()
891 pRuntime->NewString(m_pFormFillEnv->JS_docGetFilePath().c_str())); in get_URL()
909 if (!m_pFormFillEnv) in get_calculate()
912 CPDFSDK_InterForm* pInterForm = m_pFormFillEnv->GetInterForm(); in get_calculate()
918 if (!m_pFormFillEnv) in set_calculate()
921 CPDFSDK_InterForm* pInterForm = m_pFormFillEnv->GetInterForm(); in set_calculate()
927 if (!m_pFormFillEnv) in get_document_file_name()
930 WideString wsFilePath = m_pFormFillEnv->JS_docGetFilePath(); in get_document_file_name()
950 if (!m_pFormFillEnv) in get_path()
953 app::SysPathToPDFPath(m_pFormFillEnv->JS_docGetFilePath()).c_str())); in get_path()
998 if (!m_pFormFillEnv) in getAnnot()
1003 CPDFSDK_PageView* pPageView = m_pFormFillEnv->GetPageView(nPageNo); in getAnnot()
1039 if (!m_pFormFillEnv) in getAnnots()
1045 int nPageNo = m_pFormFillEnv->GetPageCount(); in getAnnots()
1048 CPDFSDK_PageView* pPageView = m_pFormFillEnv->GetPageView(i); in getAnnots()
1201 if (!m_pFormFillEnv) in calculateNow()
1204 if (!(m_pFormFillEnv->GetPermissions(FPDFPERM_MODIFY) || in calculateNow()
1205 m_pFormFillEnv->GetPermissions(FPDFPERM_ANNOT_FORM) || in calculateNow()
1206 m_pFormFillEnv->GetPermissions(FPDFPERM_FILL_FORM))) { in calculateNow()
1210 m_pFormFillEnv->GetInterForm()->OnCalculate(); in calculateNow()
1226 if (!m_pFormFillEnv) in getPageNthWord()
1228 if (!m_pFormFillEnv->GetPermissions(FPDFPERM_EXTRACT_ACCESS)) in getPageNthWord()
1237 CPDF_Document* pDocument = m_pFormFillEnv->GetPDFDocument(); in getPageNthWord()
1273 if (!m_pFormFillEnv) in getPageNthWordQuads()
1275 if (!m_pFormFillEnv->GetPermissions(FPDFPERM_EXTRACT_ACCESS)) in getPageNthWordQuads()
1283 if (!m_pFormFillEnv) in getPageNumWords()
1285 if (!m_pFormFillEnv->GetPermissions(FPDFPERM_EXTRACT_ACCESS)) in getPageNumWords()
1289 CPDF_Document* pDocument = m_pFormFillEnv->GetPDFDocument(); in getPageNumWords()
1449 if (!m_pFormFillEnv) in gotoNamedDest()
1453 CPDF_Document* pDocument = m_pFormFillEnv->GetPDFDocument(); in gotoNamedDest()
1470 m_pFormFillEnv->DoGoToAction(dest.GetPageIndex(pDocument), dest.GetZoomMode(), in gotoNamedDest()
1494 Field::DoDelay(m_pFormFillEnv.Get(), pData.get()); in DoFieldDelay()