Home
last modified time | relevance | path

Searched refs:pDocument (Results 1 – 25 of 34) sorted by relevance

12

/external/pdfium/fpdfsdk/src/
Dfsdk_actionhandler.cpp51 …BOOL CPDFSDK_ActionHandler::DoAction_DocOpen(const CPDF_Action& action, CPDFSDK_Document* pDocument in DoAction_DocOpen() argument
55 return ExecuteDocumentOpenAction(action, pDocument, /*pDocView, */list); in DoAction_DocOpen()
60 CPDFSDK_Document* pDocument/*, CReader_DocView *pDocView*/) in DoAction_JavaScript() argument
67 RunDocumentOpenJavaScript(pDocument, csJSName, swJS); in DoAction_JavaScript()
76 CPDFSDK_Document* pDocument, CPDF_FormField* pFormField, in DoAction_FieldJavaScript() argument
79 CPDFDoc_Environment* pEnv = pDocument->GetEnv(); in DoAction_FieldJavaScript()
86 RunFieldJavaScript(pDocument, pFormField, type, data, swJS); in DoAction_FieldJavaScript()
94 CPDFSDK_Document* pDocument/*, CReader_DocView *pDocView*/) in DoAction_Page() argument
97 return ExecuteDocumentPageAction(action, eType, pDocument,/* pDocView,*/ list); in DoAction_Page()
101 CPDFSDK_Document* pDocument/*, CReader_DocView *pDocView*/) in DoAction_Document() argument
[all …]
Dfpdf_flatten.cpp205 void SetPageContents(CFX_ByteString key, CPDF_Dictionary* pPage, CPDF_Document* pDocument) in SetPageContents() argument
220 pPage->SetAtReference("Contents", pDocument, pDocument->AddIndirectObject(pNewContents)); in SetPageContents()
238 FX_DWORD dwObjNum = pDocument->AddIndirectObject(pContents); in SetPageContents()
245 pContentsArray->AddReference(pDocument, dwObjNum); in SetPageContents()
260 FX_DWORD dwObjNum = pDocument->AddIndirectObject(pContentsArray); in SetPageContents()
261 pPage->SetAtReference("Contents", pDocument, dwObjNum); in SetPageContents()
266 dwObjNum = pDocument->AddIndirectObject(pNewContents); in SetPageContents()
267 pContentsArray->AddReference(pDocument, dwObjNum); in SetPageContents()
336 CPDF_Document * pDocument = pPage->m_pDocument; in FPDFPage_Flatten() local
339 if ( !pDocument || !pPageDict ) in FPDFPage_Flatten()
[all …]
Dfsdk_baseform.cpp1596 CPDFSDK_Document* pDocument = pPageView->GetSDKDocument(); in OnAAction() local
1597 ASSERT(pDocument != NULL); in OnAAction()
1599 CPDFDoc_Environment* pEnv = pDocument->GetEnv(); in OnAAction()
1605 return pActionHandler->DoAction_Field(action, type, pDocument, GetFormField(), data); in OnAAction()
1684 CPDFSDK_InterForm::CPDFSDK_InterForm(CPDFSDK_Document* pDocument) in CPDFSDK_InterForm() argument
1685 :m_pDocument(pDocument), in CPDFSDK_InterForm()
1762 CPDF_Document* pDocument = m_pDocument->GetDocument(); in GetWidget() local
1768 int nPageIndex = pDocument->GetPageIndex(pPageDict->GetObjNum()); in GetWidget()
1777 int nPageIndex = GetPageIndexByAnnotDict(pDocument, pControlDict); in GetWidget()
1819 int CPDFSDK_InterForm::GetPageIndexByAnnotDict(CPDF_Document* pDocument, CPDF_Dictionary* pAnnotDic… in GetPageIndexByAnnotDict() argument
[all …]
Dfsdk_annothandler.cpp266 CPDFSDK_Document* pDocument = pPage->GetSDKDocument(); in Annot_OnKeyDown() local
267 pDocument->SetFocusAnnot(pNext); in Annot_OnKeyDown()
381 CPDF_Document* pDocument = pPage->m_pDocument; in CanAnswer() local
382 ASSERT(pDocument != NULL); in CanAnswer()
384 FX_DWORD dwPermissions = pDocument->GetUserPermissions(); in CanAnswer()
/external/pdfium/fpdfsdk/include/
Dfsdk_actionhandler.h17 FX_BOOL DoAction_Hide(const CPDF_Action& action, CPDFSDK_Document* pDocument);
18 FX_BOOL DoAction_SubmitForm(const CPDF_Action& action, CPDFSDK_Document* pDocument);
19 FX_BOOL DoAction_ResetForm(const CPDF_Action& action, CPDFSDK_Document* pDocument);
20 FX_BOOL DoAction_ImportData(const CPDF_Action& action, CPDFSDK_Document* pDocument);
26 FX_BOOL DoAction_Rendition(const CPDF_Action& action, CPDFSDK_Document* pDocument);
27 FX_BOOL DoAction_Sound(const CPDF_Action& action, CPDFSDK_Document* pDocument);
28 FX_BOOL DoAction_Movie(const CPDF_Action& action, CPDFSDK_Document* pDocument);
38 …virtual FX_BOOL DoAction_DocOpen(const CPDF_Action& action, CPDFSDK_Document* pDocument/*, CPDFSD…
39 …(const CPDF_Action& JsAction,CFX_WideString csJSName, CPDFSDK_Document* pDocument/*, CReader_DocVi…
40 …Action& action, enum CPDF_AAction::AActionType eType, CPDFSDK_Document* pDocument/*, CReader_DocVi…
[all …]
Dfsdk_baseform.h165 CPDFSDK_InterForm(CPDFSDK_Document* pDocument);
233 int GetPageIndexByAnnotDict(CPDF_Document* pDocument, CPDF_Dictionary* pAnnotDict) const;
/external/pdfium/fpdfsdk/include/javascript/
DField.h182 …static void SetAlignment(CPDFSDK_Document* pDocument, const CFX_WideString& swFieldName, int nCont…
183 …static void SetBorderStyle(CPDFSDK_Document* pDocument, const CFX_WideString& swFieldName, int nCo…
184 …static void SetButtonAlignX(CPDFSDK_Document* pDocument, const CFX_WideString& swFieldName, int nC…
185 …static void SetButtonAlignY(CPDFSDK_Document* pDocument, const CFX_WideString& swFieldName, int nC…
186 …static void SetButtonFitBounds(CPDFSDK_Document* pDocument, const CFX_WideString& swFieldName, int…
187 …static void SetButtonPosition(CPDFSDK_Document* pDocument, const CFX_WideString& swFieldName, int …
188 …static void SetButtonScaleHow(CPDFSDK_Document* pDocument, const CFX_WideString& swFieldName, int …
189 …static void SetButtonScaleWhen(CPDFSDK_Document* pDocument, const CFX_WideString& swFieldName, int…
190 …static void SetCalcOrderIndex(CPDFSDK_Document* pDocument, const CFX_WideString& swFieldName, int …
191 …static void SetCharLimit(CPDFSDK_Document* pDocument, const CFX_WideString& swFieldName, int nCont…
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_utils.cpp10 void InitInterFormDict(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument);
12 CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, FX_DWORD index, …
13 CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString c…
14 CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString c…
15 CPDF_Font* GetNativeInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, FX_BYTE ch…
16 CPDF_Font* GetNativeInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteSt…
18 FX_BOOL FindInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString cs…
19 void AddInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, const CPDF_Font* pFo…
20 CPDF_Font* AddNativeInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, FX_BYTE c…
21 CPDF_Font* AddNativeInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, CFX_ByteS…
[all …]
Ddoc_form.cpp10 void InitInterFormDict(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument);
12 CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, FX_DWORD index, …
13 CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString c…
14 CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString c…
15 CPDF_Font* GetNativeInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, FX_BYTE ch…
16 CPDF_Font* GetNativeInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteSt…
18 FX_BOOL FindInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString cs…
19 void AddInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, const CPDF_Font* pFo…
20 CPDF_Font* AddNativeInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, FX_BYTE c…
21 CPDF_Font* AddNativeInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, CFX_ByteS…
[all …]
Ddoc_bookmark.cpp67 CPDF_Dest CPDF_Bookmark::GetDest(CPDF_Document* pDocument) in GetDest() argument
77 CPDF_NameTree name_tree(pDocument, FX_BSTRC("Dests")); in GetDest()
79 return name_tree.LookupNamedDest(pDocument, name); in GetDest()
/external/pdfium/fpdfsdk/src/javascript/
DField.cpp172 FX_BOOL Field::AttachField(Document* pDocument, const CFX_WideString& csFieldName) in AttachField() argument
174 ASSERT(pDocument != NULL); in AttachField()
175 m_pJSDoc = pDocument; in AttachField()
177 m_pDocument = pDocument->GetReaderDoc(); in AttachField()
211 void Field::GetFormFields(CPDFSDK_Document* pDocument, const CFX_WideString& csFieldName, CFX_PtrAr… in GetFormFields() argument
213 ASSERT(pDocument != NULL); in GetFormFields()
215 CPDFSDK_InterForm* pReaderInterForm = pDocument->GetInterForm(); in GetFormFields()
237 void Field::UpdateFormField(CPDFSDK_Document* pDocument, CPDF_FormField* pFormField, in UpdateFormField() argument
240 ASSERT(pDocument != NULL); in UpdateFormField()
243 CPDFSDK_InterForm* pInterForm = (CPDFSDK_InterForm*)pDocument->GetInterForm(); in UpdateFormField()
[all …]
DJS_EventHandler.cpp610 Document* pDocument = (Document*)pJSDocument->GetEmbedObject(); in Source() local
611 ASSERT(pDocument != NULL); in Source()
613 pDocument->AttachDoc(m_pTargetDoc); in Source()
615 pDocument->AttachDoc(m_pJSContext->GetReaderDocument()); in Source()
627 pField->AttachField(pDocument, m_strSourceName); in Source()
644 Document* pDocument = (Document*)pJSDocument->GetEmbedObject(); in Target_Field() local
645 ASSERT(pDocument != NULL); in Target_Field()
647 pDocument->AttachDoc(m_pTargetDoc); in Target_Field()
649 pDocument->AttachDoc(m_pJSContext->GetReaderDocument()); in Target_Field()
657 pField->AttachField(pDocument, m_strTargetName); in Target_Field()
DDocument.cpp1870 CPDF_Document* pDocument = m_pDocument->GetDocument(); in getPageNthWord() local
1871 if (!pDocument) return FALSE; in getPageNthWord()
1873 if (nPageNo < 0 || nPageNo >= pDocument->GetPageCount()) in getPageNthWord()
1879 CPDF_Dictionary* pPageDict = pDocument->GetPage(nPageNo); in getPageNthWord()
1883 page.Load(pDocument, pPageDict); in getPageNthWord()
1941 CPDF_Document* pDocument = m_pDocument->GetDocument(); in getPageNumWords() local
1942 ASSERT(pDocument != NULL); in getPageNumWords()
1944 if (nPageNo < 0 || nPageNo >= pDocument->GetPageCount()) in getPageNumWords()
1950 CPDF_Dictionary* pPageDict = pDocument->GetPage(nPageNo); in getPageNumWords()
1954 page.Load(pDocument, pPageDict); in getPageNumWords()
/external/pdfium/fpdfsdk/include/formfiller/
DFFL_ComboBox.h51 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocument);
52 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocument);
53 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocument);
55 virtual void DoCopy(CPDFSDK_Document* pDocument);
56 virtual void DoCut(CPDFSDK_Document* pDocument);
57 virtual void DoPaste(CPDFSDK_Document* pDocument);
DFFL_TextField.h74 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocument);
75 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocument);
76 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocument);
78 virtual void DoCopy(CPDFSDK_Document* pDocument);
79 virtual void DoCut(CPDFSDK_Document* pDocument);
80 virtual void DoPaste(CPDFSDK_Document* pDocument);
DFFL_IFormFiller.h81 virtual void BeforeUndo(CPDFSDK_Document* pDocument);
82 virtual void BeforeRedo(CPDFSDK_Document* pDocument);
83 virtual void AfterUndo(CPDFSDK_Document* pDocument);
84 virtual void AfterRedo(CPDFSDK_Document* pDocument);
87 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocument);
88 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocument);
89 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocument);
91 virtual void DoCopy(CPDFSDK_Document* pDocument);
92 virtual void DoCut(CPDFSDK_Document* pDocument);
93 virtual void DoPaste(CPDFSDK_Document* pDocument);
DFFL_FormFiller.h73 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocument);
74 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocument);
75 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocument);
77 virtual void DoCopy(CPDFSDK_Document* pDocument);
78 virtual void DoCut(CPDFSDK_Document* pDocument);
79 virtual void DoPaste(CPDFSDK_Document* pDocument);
DFFL_CBA_Fontmap.h20 …CBA_FontMap(CPDF_Document* pDocument, CPDF_Dictionary* pAnnotDict, IFX_SystemHandler* pSystemHandl…
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_ComboBox.cpp379 FX_BOOL CFFL_ComboBox::CanCopy(CPDFSDK_Document* pDocument) in CanCopy() argument
381 ASSERT(pDocument != NULL); in CanCopy()
386 FX_BOOL CFFL_ComboBox::CanCut(CPDFSDK_Document* pDocument) in CanCut() argument
388 ASSERT(pDocument != NULL); in CanCut()
393 FX_BOOL CFFL_ComboBox::CanPaste(CPDFSDK_Document* pDocument) in CanPaste() argument
395 ASSERT(pDocument != NULL); in CanPaste()
400 void CFFL_ComboBox::DoCopy(CPDFSDK_Document* pDocument) in DoCopy() argument
402 ASSERT(pDocument != NULL); in DoCopy()
405 void CFFL_ComboBox::DoCut(CPDFSDK_Document* pDocument) in DoCut() argument
407 ASSERT(pDocument != NULL); in DoCut()
[all …]
DFFL_IFormFiller.cpp94 CPDFSDK_Document* pDocument = m_pApp->GetCurrentDoc(); in OnDraw() local
95 ASSERT(pDocument != NULL); in OnDraw()
97 if (pDocument->GetFocusAnnot() == pAnnot) in OnDraw()
307 CPDFSDK_Document* pDocument = m_pApp->GetCurrentDoc(); in OnLButtonUp() local
308 ASSERT(pDocument != NULL); in OnLButtonUp()
317 pDocument->SetFocusAnnot(pAnnot); in OnLButtonUp()
321 pDocument->SetFocusAnnot(pAnnot); in OnLButtonUp()
332 if (pDocument->GetFocusAnnot() == pAnnot) in OnLButtonUp()
635 CPDF_Document* pDocument = pPage->m_pDocument; in IsFillingAllowed() local
636 ASSERT(pDocument != NULL); in IsFillingAllowed()
[all …]
DFFL_CBA_Fontmap.cpp25 CBA_FontMap::CBA_FontMap(CPDF_Document* pDocument, CPDF_Dictionary* pAnnotDict, in CBA_FontMap() argument
28 m_pDocument(pDocument), in CBA_FontMap()
98 CPDF_Document* pDocument = GetDocument(); in FindFontSameCharset() local
99 ASSERT(pDocument != NULL); in FindFontSameCharset()
101 CPDF_Dictionary * pRootDict = pDocument->GetRoot(); in FindFontSameCharset()
126 CPDF_Document* pDocument = GetDocument(); in FindResFontSameCharset() local
127 ASSERT(pDocument != NULL); in FindResFontSameCharset()
148 CPDF_Font* pFont = pDocument->LoadFont(pElement); in FindResFontSameCharset()
DFFL_TextField.cpp380 FX_BOOL CFFL_TextField::CanCopy(CPDFSDK_Document* pDocument) in CanCopy() argument
385 FX_BOOL CFFL_TextField::CanCut(CPDFSDK_Document* pDocument) in CanCut() argument
390 FX_BOOL CFFL_TextField::CanPaste(CPDFSDK_Document* pDocument) in CanPaste() argument
395 void CFFL_TextField::DoCopy(CPDFSDK_Document* pDocument) in DoCopy() argument
400 void CFFL_TextField::DoCut(CPDFSDK_Document* pDocument) in DoCut() argument
404 void CFFL_TextField::DoPaste(CPDFSDK_Document* pDocument) in DoPaste() argument
DFFL_FormFiller.cpp777 FX_BOOL CFFL_FormFiller::CanCopy(CPDFSDK_Document* pDocument) in CanCopy() argument
782 FX_BOOL CFFL_FormFiller::CanCut(CPDFSDK_Document* pDocument) in CanCut() argument
787 FX_BOOL CFFL_FormFiller::CanPaste(CPDFSDK_Document* pDocument) in CanPaste() argument
792 void CFFL_FormFiller::DoCopy(CPDFSDK_Document* pDocument) in DoCopy() argument
796 void CFFL_FormFiller::DoCut(CPDFSDK_Document* pDocument) in DoCut() argument
800 void CFFL_FormFiller::DoPaste(CPDFSDK_Document* pDocument) in DoPaste() argument
/external/pdfium/core/include/fpdfdoc/
Dfpdf_doc.h128 CPDF_Dest GetDest(CPDF_Document* pDocument);
817 CPDF_InterForm(CPDF_Document* pDocument, FX_BOOL bUpdateAP);
832 static CPDF_Font* AddSystemDefaultFont(const CPDF_Document* pDocument);
834 …static CPDF_Font* AddSystemFont(const CPDF_Document* pDocument, CFX_ByteString csFontName, FX_BYT…
836 …static CPDF_Font* AddSystemFont(const CPDF_Document* pDocument, CFX_WideString csFontName, FX_BYT…
838 static CPDF_Font* AddStandardFont(const CPDF_Document* pDocument, CFX_ByteString csFontName);
846 static CPDF_Font* AddNativeFont(FX_BYTE iCharSet, const CPDF_Document* pDocument);
848 static CPDF_Font* AddNativeFont(const CPDF_Document* pDocument);
1609 CPDF_PageLabel(CPDF_Document* pDocument) in CPDF_PageLabel() argument
1611 m_pDocument = pDocument; in CPDF_PageLabel()
/external/pdfium/core/include/fpdfapi/
Dfpdf_page.h151 void Load(CPDF_Document* pDocument, CPDF_Dictionary* pPageDict, FX_BOOL bPageCache = TRUE);
220 …CPDF_Form(CPDF_Document* pDocument, CPDF_Dictionary* pPageResources, CPDF_Stream* pFormStream, CPD…

12