/external/pdfium/fpdfsdk/src/ |
D | fsdk_actionhandler.cpp | 17 CPDFSDK_Document* pDocument) { in DoAction_DocOpen() argument 19 return ExecuteDocumentOpenAction(action, pDocument, list); in DoAction_DocOpen() 25 CPDFSDK_Document* pDocument) { in DoAction_JavaScript() argument 29 RunDocumentOpenJavaScript(pDocument, csJSName, swJS); in DoAction_JavaScript() 40 CPDFSDK_Document* pDocument, in DoAction_FieldJavaScript() argument 43 CPDFDoc_Environment* pEnv = pDocument->GetEnv(); in DoAction_FieldJavaScript() 48 RunFieldJavaScript(pDocument, pFormField, type, data, swJS); in DoAction_FieldJavaScript() 58 CPDFSDK_Document* pDocument) { in DoAction_Page() argument 60 return ExecuteDocumentPageAction(action, eType, pDocument, list); in DoAction_Page() 66 CPDFSDK_Document* pDocument) { in DoAction_Document() argument [all …]
|
D | fpdfsave.cpp | 67 FX_BOOL _SaveXFADocumentData(CPDFXFA_Document* pDocument, in _SaveXFADocumentData() argument 69 if (!pDocument) in _SaveXFADocumentData() 71 if (pDocument->GetDocType() != DOCTYPE_DYNAMIC_XFA && in _SaveXFADocumentData() 72 pDocument->GetDocType() != DOCTYPE_STATIC_XFA) in _SaveXFADocumentData() 77 IXFA_DocView* pXFADocView = pDocument->GetXFADocView(); in _SaveXFADocumentData() 83 CPDF_Document* pPDFDocument = pDocument->GetPDFDoc(); in _SaveXFADocumentData() 84 if (pDocument == NULL) in _SaveXFADocumentData() 226 FX_BOOL _SendPostSaveToXFADoc(CPDFXFA_Document* pDocument) { in _SendPostSaveToXFADoc() argument 227 if (!pDocument) in _SendPostSaveToXFADoc() 230 if (pDocument->GetDocType() != DOCTYPE_DYNAMIC_XFA && in _SendPostSaveToXFADoc() [all …]
|
D | fpdfformfill.cpp | 155 UnderlyingDocumentType* pDocument = UnderlyingFromFPDFDocument(document); in FPDFDOC_InitFormFillEnvironment() local 156 if (!pDocument) in FPDFDOC_InitFormFillEnvironment() 159 CPDFDoc_Environment* pEnv = new CPDFDoc_Environment(pDocument, formInfo); in FPDFDOC_InitFormFillEnvironment() 161 pEnv->SetSDKDocument(pDocument->GetSDKDocument(pEnv)); in FPDFDOC_InitFormFillEnvironment() 165 pEnv->SetSDKDocument(new CPDFSDK_Document(pDocument, pEnv)); in FPDFDOC_InitFormFillEnvironment() 326 CPDFXFA_Document* pDocument = pPage->GetDocument(); in FPDF_FFLDraw() local 327 if (!pDocument) in FPDF_FFLDraw() 329 CPDF_Document* pPDFDoc = pDocument->GetPDFDoc(); in FPDF_FFLDraw() 392 CPDFXFA_Document* pDocument = (CPDFXFA_Document*)document; in FPDF_Widget_Undo() local 393 if (pDocument->GetDocType() != XFA_DOCTYPE_Dynamic && in FPDF_Widget_Undo() [all …]
|
D | fpdf_flatten.cpp | 190 CPDF_Document* pDocument) { in SetPageContents() argument 200 pPage->SetAtReference("Contents", pDocument, in SetPageContents() 201 pDocument->AddIndirectObject(pNewContents)); in SetPageContents() 218 FX_DWORD dwObjNum = pDocument->AddIndirectObject(pContents); in SetPageContents() 227 pContentsArray->AddReference(pDocument, dwObjNum); in SetPageContents() 242 FX_DWORD dwObjNum = pDocument->AddIndirectObject(pContentsArray); in SetPageContents() 243 pPage->SetAtReference("Contents", pDocument, dwObjNum); in SetPageContents() 247 dwObjNum = pDocument->AddIndirectObject(pNewContents); in SetPageContents() 248 pContentsArray->AddReference(pDocument, dwObjNum); in SetPageContents() 320 CPDF_Document* pDocument = pPage->m_pDocument; in FPDFPage_Flatten() local [all …]
|
/external/pdfium/fpdfsdk/include/ |
D | fsdk_actionhandler.h | 24 FX_BOOL DoAction_Hide(const CPDF_Action& action, CPDFSDK_Document* pDocument); 26 CPDFSDK_Document* pDocument); 28 CPDFSDK_Document* pDocument); 30 CPDFSDK_Document* pDocument); 38 CPDFSDK_Document* pDocument); 41 CPDFSDK_Document* pDocument); 44 CPDFSDK_Document* pDocument); 47 CPDFSDK_Document* pDocument); 51 CPDFSDK_Document* pDocument); 54 CPDFSDK_Document* pDocument, [all …]
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_utils.h | 11 void InitInterFormDict(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument); 14 CPDF_Document* pDocument, 18 CPDF_Document* pDocument, 21 CPDF_Document* pDocument, 25 CPDF_Document* pDocument, 29 CPDF_Document* pDocument, 35 CPDF_Document* pDocument, 40 CPDF_Document* pDocument, 44 CPDF_Document* pDocument, 48 CPDF_Document* pDocument, [all …]
|
D | doc_utils.cpp | 228 void InitInterFormDict(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument) { in InitInterFormDict() argument 229 if (!pDocument) { in InitInterFormDict() 234 FX_DWORD dwObjNum = pDocument->AddIndirectObject(pFormDict); in InitInterFormDict() 235 CPDF_Dictionary* pRoot = pDocument->GetRoot(); in InitInterFormDict() 236 pRoot->SetAtReference("AcroForm", pDocument, dwObjNum); in InitInterFormDict() 243 pFont = CPDF_InterForm::AddStandardFont(pDocument, "Helvetica"); in InitInterFormDict() 245 AddInterFormFont(pFormDict, pDocument, pFont, csBaseName); in InitInterFormDict() 251 pFont = CPDF_InterForm::AddNativeFont(pDocument); in InitInterFormDict() 254 AddInterFormFont(pFormDict, pDocument, pFont, csBaseName); in InitInterFormDict() 298 CPDF_Document* pDocument, in GetInterFormFont() argument [all …]
|
D | doc_bookmark.cpp | 70 CPDF_Dest CPDF_Bookmark::GetDest(CPDF_Document* pDocument) const { in GetDest() 78 CPDF_NameTree name_tree(pDocument, "Dests"); in GetDest() 80 return CPDF_Dest(name_tree.LookupNamedDest(pDocument, name)); in GetDest()
|
D | doc_form.cpp | 225 CPDF_InterForm::CPDF_InterForm(CPDF_Document* pDocument, FX_BOOL bGenerateAP) in CPDF_InterForm() argument 227 m_pDocument(pDocument), in CPDF_InterForm() 381 CPDF_Font* CPDF_InterForm::AddStandardFont(CPDF_Document* pDocument, in AddStandardFont() argument 383 if (!pDocument || csFontName.IsEmpty()) in AddStandardFont() 387 return pDocument->AddStandardFont(csFontName.c_str(), nullptr); in AddStandardFont() 390 return pDocument->AddStandardFont(csFontName.c_str(), &encoding); in AddStandardFont() 503 CPDF_Document* pDocument) { in AddNativeFont() argument 504 if (!pDocument) in AddNativeFont() 512 return AddStandardFont(pDocument, csFontName); in AddNativeFont() 513 return pDocument->AddWindowsFont(&lf, FALSE, TRUE); in AddNativeFont() [all …]
|
/external/pdfium/fpdfsdk/src/javascript/ |
D | Field.h | 295 static void SetAlignment(CPDFSDK_Document* pDocument, 299 static void SetBorderStyle(CPDFSDK_Document* pDocument, 303 static void SetButtonAlignX(CPDFSDK_Document* pDocument, 307 static void SetButtonAlignY(CPDFSDK_Document* pDocument, 311 static void SetButtonFitBounds(CPDFSDK_Document* pDocument, 315 static void SetButtonPosition(CPDFSDK_Document* pDocument, 319 static void SetButtonScaleHow(CPDFSDK_Document* pDocument, 323 static void SetButtonScaleWhen(CPDFSDK_Document* pDocument, 327 static void SetCalcOrderIndex(CPDFSDK_Document* pDocument, 331 static void SetCharLimit(CPDFSDK_Document* pDocument, [all …]
|
D | Field.cpp | 155 FX_BOOL Field::AttachField(Document* pDocument, in AttachField() argument 157 m_pJSDoc = pDocument; in AttachField() 158 m_pDocument = pDocument->GetReaderDoc(); in AttachField() 187 CPDFSDK_Document* pDocument, in GetFormFields() argument 190 CPDFSDK_InterForm* pReaderInterForm = pDocument->GetInterForm(); in GetFormFields() 204 void Field::UpdateFormField(CPDFSDK_Document* pDocument, in UpdateFormField() argument 210 CPDFSDK_InterForm* pInterForm = (CPDFSDK_InterForm*)pDocument->GetInterForm(); in UpdateFormField() 236 pDocument->SetChangeMark(); in UpdateFormField() 239 void Field::UpdateFormControl(CPDFSDK_Document* pDocument, in UpdateFormControl() argument 246 CPDFSDK_InterForm* pInterForm = (CPDFSDK_InterForm*)pDocument->GetInterForm(); in UpdateFormControl() [all …]
|
D | JS_EventHandler.cpp | 615 Document* pDocument = (Document*)pJSDocument->GetEmbedObject(); in Source() local 616 pDocument->AttachDoc(m_pTargetDoc ? m_pTargetDoc in Source() 622 pField->AttachField(pDocument, m_strSourceName); in Source() 638 Document* pDocument = (Document*)pJSDocument->GetEmbedObject(); in Target_Field() local 639 pDocument->AttachDoc(m_pTargetDoc ? m_pTargetDoc in Target_Field() 645 pField->AttachField(pDocument, m_strTargetName); in Target_Field()
|
/external/pdfium/xfa/src/fxfa/src/parser/ |
D | xfa_document_datamerger_imp.cpp | 343 static CXFA_Node* XFA_DataMerge_GetGlobalBinding(CXFA_Document* pDocument, in XFA_DataMerge_GetGlobalBinding() argument 346 pDocument->m_rgGlobalBinding.Lookup(dwNameHash, pNode); in XFA_DataMerge_GetGlobalBinding() 349 static void XFA_DataMerge_RegisterGlobalBinding(CXFA_Document* pDocument, in XFA_DataMerge_RegisterGlobalBinding() argument 352 pDocument->m_rgGlobalBinding.SetAt(dwNameHash, pDataNode); in XFA_DataMerge_RegisterGlobalBinding() 354 static void XFA_DataMerge_ClearGlobalBinding(CXFA_Document* pDocument) { in XFA_DataMerge_ClearGlobalBinding() argument 355 pDocument->m_rgGlobalBinding.RemoveAll(); in XFA_DataMerge_ClearGlobalBinding() 394 static CXFA_Node* XFA_DataMerge_FindGlobalDataNode(CXFA_Document* pDocument, in XFA_DataMerge_FindGlobalDataNode() argument 402 CXFA_Node* pBounded = XFA_DataMerge_GetGlobalBinding(pDocument, dwNameHash); in XFA_DataMerge_FindGlobalDataNode() 407 XFA_DataMerge_RegisterGlobalBinding(pDocument, dwNameHash, pBounded); in XFA_DataMerge_FindGlobalDataNode() 414 static CXFA_Node* XFA_DataMerge_FindOnceDataNode(CXFA_Document* pDocument, in XFA_DataMerge_FindOnceDataNode() argument [all …]
|
D | xfa_layout_pagemgr_new.cpp | 84 CXFA_Document* pDocument = pTemplateNode->GetDocument(); in InitLayoutPage() local 85 IXFA_ObjFactory* pObjFactory = pDocument->GetParser()->GetFactory(); in InitLayoutPage() 271 CXFA_Document* pDocument = pPageSetRoot->GetDocument(); in XFA_ResolveBreakTarget() local 295 CXFA_Node* pNode = pDocument->GetNodeByID( in XFA_ResolveBreakTarget() 296 (CXFA_Node*)pDocument->GetXFANode(XFA_HASHCODE_Template), in XFA_ResolveBreakTarget() 308 int32_t iCount = pDocument->GetScriptContext()->ResolveObjects( in XFA_ResolveBreakTarget() 762 CXFA_Document* pDocument = pBreakNode->GetDocument(); in ProcessBreakBeforeOrAfter() local 770 pBreakLeaderNode = pDocument->DataMerge_CopyContainer( in ProcessBreakBeforeOrAfter() 772 pDocument->DataMerge_UpdateBindingRelations(pBreakLeaderNode); in ProcessBreakBeforeOrAfter() 779 pBreakTrailerNode = pDocument->DataMerge_CopyContainer( in ProcessBreakBeforeOrAfter() [all …]
|
D | xfa_document_datamerger_imp.h | 10 CXFA_Document* pDocument, 16 CXFA_Node* XFA_DataMerge_FindFormDOMInstance(CXFA_Document* pDocument,
|
D | xfa_script_logpseudomodel.cpp | 18 CScript_LogPseudoModel::CScript_LogPseudoModel(CXFA_Document* pDocument) in CScript_LogPseudoModel() argument 19 : CXFA_OrdinaryObject(pDocument, XFA_ELEMENT_LogPseudoModel) { in CScript_LogPseudoModel()
|
D | xfa_script_datawindow.cpp | 18 CScript_DataWindow::CScript_DataWindow(CXFA_Document* pDocument) in CScript_DataWindow() argument 19 : CXFA_OrdinaryObject(pDocument, XFA_ELEMENT_DataWindow) { in CScript_DataWindow()
|
D | xfa_document_datadescription_imp.cpp | 69 CXFA_Document* pDocument, in XFA_DataDescription_MaybeCreateDataNode() argument 79 pDocument->CreateNode(XFA_XDPPACKET_Datasets, eNodeType); in XFA_DataDescription_MaybeCreateDataNode() 109 pDocument->CreateNode(XFA_XDPPACKET_Datasets, eNodeType); in XFA_DataDescription_MaybeCreateDataNode()
|
D | xfa_document_serialize.h | 11 CXFA_DataImporter(CXFA_Document* pDocument); 20 CXFA_DataExporter(CXFA_Document* pDocument);
|
D | xfa_document_serialize.cpp | 18 IXFA_PacketImport* IXFA_PacketImport::Create(CXFA_Document* pDocument) { in Create() argument 19 return new CXFA_DataImporter(pDocument); in Create() 21 CXFA_DataImporter::CXFA_DataImporter(CXFA_Document* pDocument) in CXFA_DataImporter() argument 22 : m_pDocument(pDocument) { in CXFA_DataImporter() 465 IXFA_PacketExport* IXFA_PacketExport::Create(CXFA_Document* pDocument, in Create() argument 467 return new CXFA_DataExporter(pDocument); in Create() 469 CXFA_DataExporter::CXFA_DataExporter(CXFA_Document* pDocument) in CXFA_DataExporter() argument 470 : m_pDocument(pDocument) { in CXFA_DataExporter()
|
D | xfa_script_signaturepseudomodel.cpp | 19 CXFA_Document* pDocument) in CScript_SignaturePseudoModel() argument 20 : CXFA_OrdinaryObject(pDocument, XFA_ELEMENT_SignaturePseudoModel) { in CScript_SignaturePseudoModel()
|
D | xfa_document_imp.cpp | 302 static void XFA_ProtoMerge_MergeNodeRecurse(CXFA_Document* pDocument, in XFA_ProtoMerge_MergeNodeRecurse() argument 324 XFA_ProtoMerge_MergeNodeRecurse(pDocument, pExistingNode, pTemplateChild); in XFA_ProtoMerge_MergeNodeRecurse() 332 static void XFA_ProtoMerge_MergeNode(CXFA_Document* pDocument, in XFA_ProtoMerge_MergeNode() argument 347 XFA_ProtoMerge_MergeNodeRecurse(pDocument, pDestNode, pTemplateChild); in XFA_ProtoMerge_MergeNode()
|
/external/pdfium/fpdfsdk/src/formfiller/ |
D | FFL_CBA_Fontmap.cpp | 81 CPDF_Document* pDocument = GetDocument(); in FindFontSameCharset() local 82 ASSERT(pDocument != NULL); in FindFontSameCharset() 84 CPDF_Dictionary* pRootDict = pDocument->GetRoot(); in FindFontSameCharset() 112 CPDF_Document* pDocument = GetDocument(); in FindResFontSameCharset() local 113 ASSERT(pDocument != NULL); in FindResFontSameCharset() 133 CPDF_Font* pFont = pDocument->LoadFont(pElement); in FindResFontSameCharset()
|
D | FFL_IFormFiller.cpp | 68 CPDFSDK_Document* pDocument = m_pApp->GetSDKDocument(); in OnDraw() local 69 if (pDocument->GetFocusAnnot() == pAnnot) { in OnDraw() 244 CPDFSDK_Document* pDocument = m_pApp->GetSDKDocument(); in OnLButtonUp() local 251 pDocument->SetFocusAnnot(pAnnot); in OnLButtonUp() 254 pDocument->SetFocusAnnot(pAnnot); in OnLButtonUp() 264 if (pDocument->GetFocusAnnot() == pAnnot) { in OnLButtonUp() 500 CPDF_Document* pDocument = pPage->m_pDocument; in IsFillingAllowed() local 501 FX_DWORD dwPermissions = pDocument->GetUserPermissions(); in IsFillingAllowed() 708 CPDFSDK_Document* pDocument = pPageView->GetSDKDocument(); in OnCalculate() local 710 (CPDFSDK_InterForm*)pDocument->GetInterForm(); in OnCalculate() [all …]
|
/external/pdfium/xfa/src/fxfa/src/fm2js/ |
D | xfa_fm2jsapi.cpp | 40 CXFA_Document* pDocument) { in XFA_FM2JS_ContextInitialize() argument 43 pContext->Initialize(hScriptRuntime, hScriptContext, pDocument); in XFA_FM2JS_ContextInitialize()
|