/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_name.cpp | 12 CPDF_Name::CPDF_Name(CFX_WeakPtr<CFX_ByteStringPool> pPool, in CPDF_Name() function in CPDF_Name 19 CPDF_Name::~CPDF_Name() {} in ~CPDF_Name() 21 CPDF_Object::Type CPDF_Name::GetType() const { in GetType() 25 std::unique_ptr<CPDF_Object> CPDF_Name::Clone() const { in Clone() 26 return pdfium::MakeUnique<CPDF_Name>(nullptr, m_Name); in Clone() 29 CFX_ByteString CPDF_Name::GetString() const { in GetString() 33 void CPDF_Name::SetString(const CFX_ByteString& str) { in SetString() 37 bool CPDF_Name::IsName() const { in IsName() 41 CPDF_Name* CPDF_Name::AsName() { in AsName() 45 const CPDF_Name* CPDF_Name::AsName() const { in AsName() [all …]
|
D | cpdf_name.h | 16 class CPDF_Name : public CPDF_Object { 18 CPDF_Name(CFX_WeakPtr<CFX_ByteStringPool> pPool, const CFX_ByteString& str); 19 ~CPDF_Name() override; 28 CPDF_Name* AsName() override; 29 const CPDF_Name* AsName() const override; 35 inline CPDF_Name* ToName(CPDF_Object* obj) { in ToName() 39 inline const CPDF_Name* ToName(const CPDF_Object* obj) { in ToName()
|
D | cpdf_document.cpp | 309 pBaseDict->SetNewFor<CPDF_Name>("Subtype", "TrueType"); in ProcessNonbCJK() 310 pBaseDict->SetNewFor<CPDF_Name>("BaseFont", basefont); in ProcessNonbCJK() 327 pFontDesc->SetNewFor<CPDF_Name>("Type", "FontDescriptor"); in CalculateFontDesc() 328 pFontDesc->SetNewFor<CPDF_Name>("FontName", basefont); in CalculateFontDesc() 657 m_pRootDict->SetNewFor<CPDF_Name>("Type", "Catalog"); in CreateNewDoc() 660 pPages->SetNewFor<CPDF_Name>("Type", "Pages"); in CreateNewDoc() 669 pDict->SetNewFor<CPDF_Name>("Type", "Page"); in CreateNewPage() 787 pEncodingDict->SetNewFor<CPDF_Name>("BaseEncoding", "WinAnsiEncoding"); in CalculateEncodingDict() 795 pArray->AddNew<CPDF_Name>(name.IsEmpty() ? ".notdef" : name); in CalculateEncodingDict() 851 pBaseDict->SetNewFor<CPDF_Name>("Subtype", "Type0"); in ProcessbCJK() [all …]
|
D | cpdf_object.h | 20 class CPDF_Name; variable 80 virtual CPDF_Name* AsName(); 81 virtual const CPDF_Name* AsName() const; 124 std::is_same<T, CPDF_Name>::value ||
|
D | cpdf_object.cpp | 121 CPDF_Name* CPDF_Object::AsName() { in AsName() 125 const CPDF_Name* CPDF_Object::AsName() const { in AsName()
|
D | cpdf_object_unittest.cpp | 60 CPDF_Name* name_obj = new CPDF_Name(nullptr, "space"); in SetUp() 64 m_ArrayObj->InsertNewAt<CPDF_Name>(1, "address"); in SetUp() 491 name_array->InsertNewAt<CPDF_Name>(i, vals[i]); in TEST() 619 arr->InsertNewAt<CPDF_Name>(8, "NAME"); in TEST() 620 arr->InsertNewAt<CPDF_Name>(9, "test"); in TEST() 702 name_array->AddNew<CPDF_Name>(vals[i]); in TEST() 720 CPDF_Name* name_obj = new CPDF_Name(nullptr, "Title:"); in TEST()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_image.cpp | 87 pDict->SetNewFor<CPDF_Name>("Type", "XObject"); in InitJPEG() 88 pDict->SetNewFor<CPDF_Name>("Subtype", "Image"); in InitJPEG() 104 pDict->SetNewFor<CPDF_Name>("ColorSpace", csname); in InitJPEG() 106 pDict->SetNewFor<CPDF_Name>("Filter", "DCTDecode"); in InitJPEG() 168 pDict->SetNewFor<CPDF_Name>("Type", "XObject"); in SetImage() 169 pDict->SetNewFor<CPDF_Name>("Subtype", "Image"); in SetImage() 199 pCS->AddNew<CPDF_Name>("Indexed"); in SetImage() 200 pCS->AddNew<CPDF_Name>("DeviceRGB"); in SetImage() 219 pCS->AddNew<CPDF_Name>("Indexed"); in SetImage() 220 pCS->AddNew<CPDF_Name>("DeviceRGB"); in SetImage() [all …]
|
D | cpdf_docpagedata.cpp | 182 pDict->SetNewFor<CPDF_Name>("Type", "Font"); in GetStandardFont() 183 pDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in GetStandardFont() 184 pDict->SetNewFor<CPDF_Name>("BaseFont", fontName); in GetStandardFont()
|
/external/pdfium/fpdfsdk/ |
D | fpdfedittext.cpp | 65 fontDict->SetNewFor<CPDF_Name>("Type", "Font"); in FPDFText_LoadType1Font() 66 fontDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in FPDFText_LoadType1Font() 70 fontDict->SetNewFor<CPDF_Name>("BaseFont", name); in FPDFText_LoadType1Font() 90 fontDesc->SetNewFor<CPDF_Name>("Type", "FontDescriptor"); in FPDFText_LoadType1Font() 91 fontDesc->SetNewFor<CPDF_Name>("FontName", name); in FPDFText_LoadType1Font()
|
D | cpdfsdk_baannot.cpp | 199 pBSDict->SetNewFor<CPDF_Name>("S", "S"); in SetBorderStyle() 202 pBSDict->SetNewFor<CPDF_Name>("S", "D"); in SetBorderStyle() 205 pBSDict->SetNewFor<CPDF_Name>("S", "B"); in SetBorderStyle() 208 pBSDict->SetNewFor<CPDF_Name>("S", "I"); in SetBorderStyle() 211 pBSDict->SetNewFor<CPDF_Name>("S", "U"); in SetBorderStyle() 330 pStreamDict->SetNewFor<CPDF_Name>("Type", "XObject"); in WriteAppearance() 331 pStreamDict->SetNewFor<CPDF_Name>("Subtype", "Form"); in WriteAppearance()
|
D | fpdfdoc_unittest.cpp | 133 bookmarks[0].obj->SetNewFor<CPDF_Name>("Type", "Outlines"); in TEST_F() 176 bookmarks[0].obj->SetNewFor<CPDF_Name>("Type", "Outlines"); in TEST_F() 217 bookmarks[0].obj->SetNewFor<CPDF_Name>("Type", "Outlines"); in TEST_F() 241 array->AddNew<CPDF_Name>("XYZ"); in TEST_F()
|
D | fpdf_flatten.cpp | 327 pNewOXbjectDic->SetNewFor<CPDF_Name>("Type", "XObject"); in FPDFPage_Flatten() 328 pNewOXbjectDic->SetNewFor<CPDF_Name>("Subtype", "Form"); in FPDFPage_Flatten() 330 pNewOXbjectDic->SetNewFor<CPDF_Name>("Name", "FRM"); in FPDFPage_Flatten() 392 pObjDic->SetNewFor<CPDF_Name>("Type", "XObject"); in FPDFPage_Flatten() 393 pObjDic->SetNewFor<CPDF_Name>("Subtype", "Form"); in FPDFPage_Flatten()
|
D | fpdfppo.cpp | 166 pNewRoot->SetNewFor<CPDF_Name>("Type", "Catalog"); in PDFDocInit() 179 pNewPages->SetNewFor<CPDF_Name>("Type", "Pages"); in PDFDocInit()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_formfield_unittest.cpp | 18 root->SetNewFor<CPDF_Name>("T", "foo"); in TEST() 24 dict1->SetNewFor<CPDF_Name>("T", "bar"); in TEST() 35 dict3->SetNewFor<CPDF_Name>("T", "qux"); in TEST()
|
D | cpdf_annotlist.cpp | 42 pAnnotDict->SetNewFor<CPDF_Name>("Type", "Annot"); in CreatePopupAnnot() 43 pAnnotDict->SetNewFor<CPDF_Name>("Subtype", "Popup"); in CreatePopupAnnot()
|
D | cpdf_viewerpreferences.cpp | 49 const CPDF_Name* pName = ToName(pDict->GetObjectFor(bsKey)); in GenericName()
|
D | cpdf_dest_unittest.cpp | 27 array->AddNew<CPDF_Name>("XYZ"); in TEST()
|
D | cpvt_generateap.cpp | 70 pFontDict->SetNewFor<CPDF_Name>("Type", "Font"); in GenerateWidgetAP() 71 pFontDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in GenerateWidgetAP() 72 pFontDict->SetNewFor<CPDF_Name>("BaseFont", "Helvetica"); in GenerateWidgetAP() 73 pFontDict->SetNewFor<CPDF_Name>("Encoding", "WinAnsiEncoding"); in GenerateWidgetAP() 572 pFontDict->SetNewFor<CPDF_Name>("Type", "Font"); in GenerateResourceFontDict() 573 pFontDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in GenerateResourceFontDict() 574 pFontDict->SetNewFor<CPDF_Name>("BaseFont", "Helvetica"); in GenerateResourceFontDict() 575 pFontDict->SetNewFor<CPDF_Name>("Encoding", "WinAnsiEncoding"); in GenerateResourceFontDict()
|
D | cpdf_formcontrol.cpp | 65 m_pWidgetDict->SetNewFor<CPDF_Name>("AS", csValue); in SetOnStateName() 159 m_pWidgetDict->SetNewFor<CPDF_Name>("AS", csAS); in CheckControl()
|
D | cpdf_dest.cpp | 86 const CPDF_Name* xyz = ToName(pArray->GetDirectObjectAt(1)); in GetXYZ()
|
D | cpdf_filespec.cpp | 117 m_pObj->AsDictionary()->SetNewFor<CPDF_Name>("Type", "Filespec"); in CPDF_FileSpec()
|
D | cpdf_filespec_unittest.cpp | 119 std::unique_ptr<CPDF_Object> name_obj(new CPDF_Name(nullptr, "test.pdf")); in TEST()
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_fontencoding.cpp | 1695 return pdfium::MakeUnique<CPDF_Name>(pPool, "WinAnsiEncoding"); in Realize() 1697 return pdfium::MakeUnique<CPDF_Name>(pPool, "MacRomanEncoding"); in Realize() 1699 return pdfium::MakeUnique<CPDF_Name>(pPool, "MacExpertEncoding"); in Realize() 1711 pDiff->AddNew<CPDF_Name>(PDF_AdobeNameFromUnicode(m_Unicodes[i])); in Realize() 1715 pDict->SetNewFor<CPDF_Name>("BaseEncoding", "WinAnsiEncoding"); in Realize()
|
D | cpdf_font.cpp | 308 pDict->SetNewFor<CPDF_Name>("Type", "Font"); in GetStockFont() 309 pDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in GetStockFont() 310 pDict->SetNewFor<CPDF_Name>("BaseFont", fontname); in GetStockFont() 311 pDict->SetNewFor<CPDF_Name>("Encoding", "WinAnsiEncoding"); in GetStockFont() 412 if (CPDF_Name* pName = pElement->AsName()) { in LoadPDFEncoding()
|
/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_pagecontentgenerator.cpp | 259 fontDict->SetNewFor<CPDF_Name>("Type", "Font"); in ProcessText() 260 fontDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in ProcessText() 261 fontDict->SetNewFor<CPDF_Name>("BaseFont", fontD.baseFont); in ProcessText()
|