/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_create.cpp | 394 …FX_BOOL Initialize(CPDF_CryptoHandler* pHandler, int objnum, FX_LPBYTE src_data, FX_DWORD src_siz… 405 FX_BOOL CPDF_Encryptor::Initialize(CPDF_CryptoHandler* pHandler, int objnum, FX_LPBYTE src_data, FX… in Initialize() argument 416 m_dwSize = pHandler->EncryptGetSize(objnum, 0, src_data, src_size); in Initialize() 418 pHandler->EncryptContent(objnum, 0, src_data, src_size, m_pData, m_dwSize); in Initialize() 604 static void _AppendIndex2(CFX_ByteTextBuf& buffer, FX_DWORD objnum, FX_INT32 index) in _AppendIndex2() argument 607 buffer.AppendByte(FX_GETBYTEOFFSET24(objnum)); in _AppendIndex2() 608 buffer.AppendByte(FX_GETBYTEOFFSET16(objnum)); in _AppendIndex2() 609 buffer.AppendByte(FX_GETBYTEOFFSET8(objnum)); in _AppendIndex2() 610 buffer.AppendByte(FX_GETBYTEOFFSET0(objnum)); in _AppendIndex2() 686 FX_DWORD objnum = ++pCreator->m_dwLastObjNum; in GenerateXRefStream() local [all …]
|
D | fpdf_edit_content.cpp | 62 int objnum = m_pDocument->AddIndirectObject(m_pPage->m_pResources); in RealizeResource() local 63 m_pPage->m_pFormDict->SetAtReference("Resources", m_pDocument, objnum); in RealizeResource()
|
D | editint.h | 44 FX_BOOL AddObjectNumberToIndexArray(FX_DWORD objnum);
|
D | fpdf_edit_doc.cpp | 26 int objnum = AddIndirectObject(m_pRootDict); in CreateNewDoc() local 31 objnum = AddIndirectObject(pPages); in CreateNewDoc() 32 m_pRootDict->SetAtReference("Pages", this, objnum); in CreateNewDoc()
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_document.cpp | 155 int objnum = m_PageList.GetAt(iPage); in GetPage() local 156 if (objnum) { in GetPage() 157 CPDF_Object* pObj = GetIndirectObject(objnum); in GetPage() 176 int CPDF_Document::_FindPageIndex(CPDF_Dictionary* pNode, FX_DWORD& skip_count, FX_DWORD objnum, in… in _FindPageIndex() argument 196 if (((CPDF_Reference*) pKid)->GetRefObjNum() == objnum) { in _FindPageIndex() 197 m_PageList.SetAt(index + i, objnum); in _FindPageIndex() 211 int found_index = _FindPageIndex(pKid, skip_count, objnum, index, level + 1); in _FindPageIndex() 217 if (objnum == pNode->GetObjNum()) { in _FindPageIndex() 227 int CPDF_Document::GetPageIndex(FX_DWORD objnum) in GetPageIndex() argument 234 if (objnum1 == objnum) { in GetPageIndex() [all …]
|
D | fpdf_parser_parser.cpp | 86 FX_LPVOID objnum; in CloseParser() local 88 m_ObjectStreamMap.GetNextAssoc(pos, objnum, (void*&)pStream); in CloseParser() 320 FX_FILESIZE CPDF_Parser::GetObjectOffset(FX_DWORD objnum) in GetObjectOffset() argument 322 if (objnum >= (FX_DWORD)m_CrossRef.GetSize()) { in GetObjectOffset() 325 if (m_V5Type[objnum] == 1) { in GetObjectOffset() 326 return m_CrossRef[objnum]; in GetObjectOffset() 328 if (m_V5Type[objnum] == 2) { in GetObjectOffset() 329 return m_CrossRef[(FX_INT32)m_CrossRef[objnum]]; in GetObjectOffset() 465 FX_DWORD objnum = start_objnum + block * 1024 + i; in LoadLinearizedCrossRefV4() local 468 m_CrossRef.SetAtGrow(objnum, 0); in LoadLinearizedCrossRefV4() [all …]
|
D | fpdf_parser_objects.cpp | 553 void CPDF_Array::AddReference(CPDF_IndirectObjects* pDoc, FX_DWORD objnum) in AddReference() argument 556 Add(new CPDF_Reference(pDoc, objnum)); in AddReference() 822 void CPDF_Dictionary::SetAtReference(FX_BSTR key, CPDF_IndirectObjects* pDoc, FX_DWORD objnum) in SetAtReference() argument 824 SetAt(key, new CPDF_Reference(pDoc, objnum)); in SetAtReference() 826 void CPDF_Dictionary::AddReference(FX_BSTR key, CPDF_IndirectObjects* pDoc, FX_DWORD objnum) in AddReference() argument 828 AddValue(key, new CPDF_Reference(pDoc, objnum)); in AddReference() 1171 void CPDF_Reference::SetRef(CPDF_IndirectObjects* pDoc, FX_DWORD objnum) in SetRef() argument 1174 m_RefObjNum = objnum; in SetRef() 1195 CPDF_Object* CPDF_IndirectObjects::GetIndirectObject(FX_DWORD objnum, struct PARSE_CONTEXT* pContex… in GetIndirectObject() argument 1197 if (objnum == 0) { in GetIndirectObject() [all …]
|
D | fpdf_parser_fdf.cpp | 56 FX_DWORD objnum = FXSYS_atoi(word); in ParseStream() local 65 CPDF_Object* pObj = parser.GetObject(this, objnum, 0, FALSE); in ParseStream() 69 InsertIndirectObject(objnum, pObj); in ParseStream() 96 size_t objnum; in WriteBuf() local 98 m_IndirectObjs.GetNextAssoc(pos, (FX_LPVOID&)objnum, (FX_LPVOID&)pObj); in WriteBuf() 99 buf << (FX_DWORD)objnum << FX_BSTRC(" 0 obj\r\n") << pObj << FX_BSTRC("\r\nendobj\r\n\r\n"); in WriteBuf()
|
D | fpdf_parser_encrypt.cpp | 663 void CPDF_StandardCryptoHandler::CryptBlock(FX_BOOL bEncrypt, FX_DWORD objnum, FX_DWORD gennum, FX_… in CryptBlock() argument 675 key1[m_KeyLen + 0] = (FX_BYTE)objnum; in CryptBlock() 676 key1[m_KeyLen + 1] = (FX_BYTE)(objnum >> 8); in CryptBlock() 677 key1[m_KeyLen + 2] = (FX_BYTE)(objnum >> 16); in CryptBlock() 680 FXSYS_memcpy32(key1 + m_KeyLen, &objnum, 3); in CryptBlock() 727 FX_LPVOID CPDF_StandardCryptoHandler::CryptStart(FX_DWORD objnum, FX_DWORD gennum, FX_BOOL bEncrypt) in CryptStart() argument 747 FXSYS_memcpy32(key1 + m_KeyLen, &objnum, 3); in CryptStart() 861 FX_LPVOID CPDF_StandardCryptoHandler::DecryptStart(FX_DWORD objnum, FX_DWORD gennum) in DecryptStart() argument 863 return CryptStart(objnum, gennum, FALSE); in DecryptStart() 927 FX_DWORD CPDF_StandardCryptoHandler::EncryptGetSize(FX_DWORD objnum, FX_DWORD version, FX_LPCBYTE s… in EncryptGetSize() argument [all …]
|
D | filters_int.h | 13 CPDF_DecryptFilter(CPDF_CryptoHandler* pCryptoHandler, FX_DWORD objnum, FX_DWORD gennum);
|
D | fpdf_parser_filters.cpp | 266 CPDF_DecryptFilter::CPDF_DecryptFilter(CPDF_CryptoHandler* pCryptoHandler, FX_DWORD objnum, FX_DWOR… in CPDF_DecryptFilter() argument 270 m_ObjNum = objnum; in CPDF_DecryptFilter()
|
/external/pdfium/core/include/fpdfapi/ |
D | fpdf_parser.h | 87 int GetPageIndex(FX_DWORD objnum); 115 FX_BOOL IsFormStream(FX_DWORD objnum, FX_BOOL& bForm) const; 178 …int _FindPageIndex(CPDF_Dictionary* pNode, FX_DWORD& skip_count, FX_DWORD objnum, int& index,… 179 FX_BOOL IsContentUsedElsewhere(FX_DWORD objnum, CPDF_Dictionary* pPageDict); 259 …CPDF_Object* GetObject(CPDF_IndirectObjects* pObjList, FX_DWORD objnum, FX_DWORD gennum, struct P… 262 …CPDF_Object* GetObjectByStrict(CPDF_IndirectObjects* pObjList, FX_DWORD objnum, FX_DWORD gennum, … 266 CFX_ByteString GetString(FX_DWORD objnum, FX_DWORD gennum); 315 …CPDF_Stream* ReadStream(CPDF_Dictionary* pDict, PARSE_CONTEXT* pContext, FX_DWORD objnum, FX_DWOR… 448 …CPDF_Object* ParseIndirectObject(CPDF_IndirectObjects* pObjList, FX_DWORD objnum, PARSE_CONTEXT* … 450 FX_BOOL IsFormStream(FX_DWORD objnum, FX_BOOL& bForm); [all …]
|
D | fpdf_objects.h | 362 void AddReference(CPDF_IndirectObjects* pDoc, FX_DWORD objnum); 462 void SetAtReference(FX_BSTR key, CPDF_IndirectObjects* pDoc, FX_DWORD objnum); 469 void AddReference(FX_BSTR key, CPDF_IndirectObjects* pDoc, FX_DWORD objnum); 678 static CPDF_Reference* Create(CPDF_IndirectObjects* pDoc, int objnum) in Create() argument 680 return new CPDF_Reference(pDoc, objnum); in Create() 683 CPDF_Reference(CPDF_IndirectObjects* pDoc, int objnum) in CPDF_Reference() argument 684 : CPDF_Object(PDFOBJ_REFERENCE), m_pObjList(pDoc), m_RefObjNum(objnum) { in CPDF_Reference() 697 void SetRef(CPDF_IndirectObjects* pDoc, FX_DWORD objnum); 718 CPDF_Object* GetIndirectObject(FX_DWORD objnum, struct PARSE_CONTEXT* pContext = NULL); 720 int GetIndirectType(FX_DWORD objnum); [all …]
|
D | fpdf_serial.h | 175 FX_INT32 WriteOldIndirectObject(FX_DWORD objnum); 179 FX_INT32 WriteDirectObj(FX_DWORD objnum, const CPDF_Object* pObj, FX_BOOL bEncrypt = TRUE); 181 FX_INT32 WriteIndirectObj(FX_DWORD objnum, const CPDF_Object* pObj); 182 FX_INT32 WriteIndirectObjectToStream(FX_DWORD objnum, FX_LPCBYTE pBuffer, FX_DWORD dwSize); 183 FX_INT32 AppendObjectNumberToXRef(FX_DWORD objnum); 185 … FX_INT32 WriteStream(const CPDF_Object* pStream, FX_DWORD objnum, CPDF_CryptoHandler* pCrypto);
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_link.cpp | 21 FX_DWORD objnum = pPage->m_pFormDict->GetObjNum(); in GetPageLinks() local 22 if (objnum == 0) { in GetPageLinks() 26 if (!m_PageMap.Lookup((FX_LPVOID)(FX_UINTPTR)objnum, (FX_LPVOID&)pPageLinkList)) { in GetPageLinks() 28 m_PageMap.SetAt((FX_LPVOID)(FX_UINTPTR)objnum, pPageLinkList); in GetPageLinks()
|
D | doc_ap.cpp | 408 FX_INT32 objnum = pDoc->AddIndirectObject(pNormalStream); in GenerateWidgetAP() local 409 pAnnotDict->GetDict("AP")->SetAtReference("N", pDoc, objnum); in GenerateWidgetAP()
|
/external/pdfium/fpdfsdk/src/formfiller/ |
D | FFL_CBA_Fontmap.cpp | 190 FX_INT32 objnum = m_pDocument->AddIndirectObject(pStream); in AddFontToAnnotDict() local 191 pAPDict->SetAtReference(m_sAPType, m_pDocument, objnum); in AddFontToAnnotDict() 217 FX_INT32 objnum = m_pDocument->AddIndirectObject(pStreamResFontList); in AddFontToAnnotDict() local 218 pStreamResList->SetAtReference("Font", m_pDocument, objnum); in AddFontToAnnotDict()
|
/external/pdfium/fpdfsdk/src/ |
D | fsdk_baseannot.cpp | 1042 FX_INT32 objnum = pDoc->AddIndirectObject(pStream); in WriteAppearance() local 1043 pParentDict->SetAtReference(sAPType, pDoc, objnum); in WriteAppearance()
|