/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_name.cpp | 13 CPDF_Name::CPDF_Name(WeakPtr<ByteStringPool> pPool, const ByteString& str) 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 ByteString CPDF_Name::GetString() const { in GetString() 33 void CPDF_Name::SetString(const 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(WeakPtr<ByteStringPool> pPool, const ByteString& str); 19 ~CPDF_Name() override; 28 CPDF_Name* AsName() override; 29 const CPDF_Name* AsName() const override; 36 inline CPDF_Name* ToName(CPDF_Object* obj) { in ToName() 40 inline const CPDF_Name* ToName(const CPDF_Object* obj) { in ToName()
|
D | cpdf_document.cpp | 310 pBaseDict->SetNewFor<CPDF_Name>("Subtype", "TrueType"); in ProcessNonbCJK() 311 pBaseDict->SetNewFor<CPDF_Name>("BaseFont", basefont); in ProcessNonbCJK() 328 pFontDesc->SetNewFor<CPDF_Name>("Type", "FontDescriptor"); in CalculateFontDesc() 329 pFontDesc->SetNewFor<CPDF_Name>("FontName", basefont); in CalculateFontDesc() 660 m_pRootDict->SetNewFor<CPDF_Name>("Type", "Catalog"); in CreateNewDoc() 663 pPages->SetNewFor<CPDF_Name>("Type", "Pages"); in CreateNewDoc() 672 pDict->SetNewFor<CPDF_Name>("Type", "Page"); in CreateNewPage() 790 pEncodingDict->SetNewFor<CPDF_Name>("BaseEncoding", "WinAnsiEncoding"); in CalculateEncodingDict() 798 pArray->AddNew<CPDF_Name>(name.IsEmpty() ? ".notdef" : name); in CalculateEncodingDict() 854 pBaseDict->SetNewFor<CPDF_Name>("Subtype", "Type0"); in ProcessbCJK() [all …]
|
D | cpdf_object.h | 20 class CPDF_Name; variable 84 virtual CPDF_Name* AsName(); 85 virtual const CPDF_Name* AsName() const; 124 std::is_same<T, CPDF_Name>::value ||
|
D | cpdf_object.cpp | 126 CPDF_Name* CPDF_Object::AsName() { in AsName() 130 const CPDF_Name* CPDF_Object::AsName() const { in AsName()
|
D | cpdf_object_unittest.cpp | 58 CPDF_Name* name_obj = new CPDF_Name(nullptr, "space"); in SetUp() 62 m_ArrayObj->InsertNewAt<CPDF_Name>(1, "address"); in SetUp() 495 name_array->InsertNewAt<CPDF_Name>(i, vals[i]); in TEST() 623 arr->InsertNewAt<CPDF_Name>(8, "NAME"); in TEST() 624 arr->InsertNewAt<CPDF_Name>(9, "test"); in TEST() 707 name_array->AddNew<CPDF_Name>(vals[i]); in TEST() 724 CPDF_Name* name_obj = new CPDF_Name(nullptr, "Title:"); in TEST()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_image.cpp | 93 pDict->SetNewFor<CPDF_Name>("Type", "XObject"); in InitJPEG() 94 pDict->SetNewFor<CPDF_Name>("Subtype", "Image"); in InitJPEG() 110 pDict->SetNewFor<CPDF_Name>("ColorSpace", csname); in InitJPEG() 112 pDict->SetNewFor<CPDF_Name>("Filter", "DCTDecode"); in InitJPEG() 173 pDict->SetNewFor<CPDF_Name>("Type", "XObject"); in SetImage() 174 pDict->SetNewFor<CPDF_Name>("Subtype", "Image"); in SetImage() 205 pCS->AddNew<CPDF_Name>("Indexed"); in SetImage() 206 pCS->AddNew<CPDF_Name>("DeviceRGB"); in SetImage() 225 pCS->AddNew<CPDF_Name>("Indexed"); in SetImage() 226 pCS->AddNew<CPDF_Name>("DeviceRGB"); in SetImage() [all …]
|
D | cpdf_docpagedata.cpp | 174 pDict->SetNewFor<CPDF_Name>("Type", "Font"); in GetStandardFont() 175 pDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in GetStandardFont() 176 pDict->SetNewFor<CPDF_Name>("BaseFont", fontName); in GetStandardFont()
|
/external/pdfium/fpdfsdk/ |
D | fpdfedittext.cpp | 37 fontDesc->SetNewFor<CPDF_Name>("Type", "FontDescriptor"); in LoadFontDesc() 38 fontDesc->SetNewFor<CPDF_Name>("FontName", font_name); in LoadFontDesc() 247 fontDict->SetNewFor<CPDF_Name>("Type", "Font"); in LoadSimpleFont() 248 fontDict->SetNewFor<CPDF_Name>( in LoadSimpleFont() 253 fontDict->SetNewFor<CPDF_Name>("BaseFont", name); in LoadSimpleFont() 290 fontDict->SetNewFor<CPDF_Name>("Type", "Font"); in LoadCompositeFont() 291 fontDict->SetNewFor<CPDF_Name>("Subtype", "Type0"); in LoadCompositeFont() 294 fontDict->SetNewFor<CPDF_Name>("Encoding", encoding); in LoadCompositeFont() 298 fontDict->SetNewFor<CPDF_Name>( in LoadCompositeFont() 302 pCIDFont->SetNewFor<CPDF_Name>("Type", "Font"); in LoadCompositeFont() [all …]
|
D | cpdfsdk_baannot.cpp | 206 pBSDict->SetNewFor<CPDF_Name>("S", "S"); in SetBorderStyle() 209 pBSDict->SetNewFor<CPDF_Name>("S", "D"); in SetBorderStyle() 212 pBSDict->SetNewFor<CPDF_Name>("S", "B"); in SetBorderStyle() 215 pBSDict->SetNewFor<CPDF_Name>("S", "I"); in SetBorderStyle() 218 pBSDict->SetNewFor<CPDF_Name>("S", "U"); in SetBorderStyle()
|
D | fpdfdoc_unittest.cpp | 130 bookmarks[0].obj->SetNewFor<CPDF_Name>("Type", "Outlines"); in TEST_F() 173 bookmarks[0].obj->SetNewFor<CPDF_Name>("Type", "Outlines"); in TEST_F() 214 bookmarks[0].obj->SetNewFor<CPDF_Name>("Type", "Outlines"); in TEST_F() 238 array->AddNew<CPDF_Name>("XYZ"); in TEST_F()
|
D | fpdf_flatten.cpp | 321 pNewOXbjectDic->SetNewFor<CPDF_Name>("Type", "XObject"); in FPDFPage_Flatten() 322 pNewOXbjectDic->SetNewFor<CPDF_Name>("Subtype", "Form"); in FPDFPage_Flatten() 384 pObjDic->SetNewFor<CPDF_Name>("Type", "XObject"); in FPDFPage_Flatten() 385 pObjDic->SetNewFor<CPDF_Name>("Subtype", "Form"); in FPDFPage_Flatten()
|
/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_filespec_unittest.cpp | 120 auto name_obj = pdfium::MakeUnique<CPDF_Name>(nullptr, "test.pdf"); in TEST() 162 auto name_obj = pdfium::MakeUnique<CPDF_Name>(nullptr, "test.pdf"); in TEST() 221 auto name_obj = pdfium::MakeUnique<CPDF_Name>(nullptr, "test.pdf"); in TEST()
|
D | cpdf_annotlist.cpp | 45 pAnnotDict->SetNewFor<CPDF_Name>("Type", "Annot"); in CreatePopupAnnot() 46 pAnnotDict->SetNewFor<CPDF_Name>("Subtype", "Popup"); in CreatePopupAnnot()
|
D | cpdf_viewerpreferences.cpp | 49 const CPDF_Name* pName = ToName(pDict->GetObjectFor(bsKey)); in GenericName()
|
D | cpvt_generateap.cpp | 397 pFontDict->SetNewFor<CPDF_Name>("Type", "Font"); in GenerateResourceFontDict() 398 pFontDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in GenerateResourceFontDict() 399 pFontDict->SetNewFor<CPDF_Name>("BaseFont", "Helvetica"); in GenerateResourceFontDict() 400 pFontDict->SetNewFor<CPDF_Name>("Encoding", "WinAnsiEncoding"); in GenerateResourceFontDict() 925 pFontDict->SetNewFor<CPDF_Name>("Type", "Font"); in GenerateFormAP() 926 pFontDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in GenerateFormAP() 927 pFontDict->SetNewFor<CPDF_Name>("BaseFont", "Helvetica"); in GenerateFormAP() 928 pFontDict->SetNewFor<CPDF_Name>("Encoding", "WinAnsiEncoding"); in GenerateFormAP()
|
D | cpdf_formcontrol.cpp | 67 m_pWidgetDict->SetNewFor<CPDF_Name>("AS", csValue); in SetOnStateName() 159 m_pWidgetDict->SetNewFor<CPDF_Name>("AS", csAS); in CheckControl()
|
D | cpdf_dest_unittest.cpp | 25 array->AddNew<CPDF_Name>("XYZ"); in TEST()
|
D | cpdf_dest.cpp | 106 const CPDF_Name* xyz = ToName(pArray->GetDirectObjectAt(1)); in GetXYZ()
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_fontencoding.cpp | 1694 return pdfium::MakeUnique<CPDF_Name>(pPool, "WinAnsiEncoding"); in Realize() 1696 return pdfium::MakeUnique<CPDF_Name>(pPool, "MacRomanEncoding"); in Realize() 1698 return pdfium::MakeUnique<CPDF_Name>(pPool, "MacExpertEncoding"); in Realize() 1710 pDiff->AddNew<CPDF_Name>(PDF_AdobeNameFromUnicode(m_Unicodes[i])); in Realize() 1714 pDict->SetNewFor<CPDF_Name>("BaseEncoding", "WinAnsiEncoding"); in Realize()
|
D | cpdf_font.cpp | 313 pDict->SetNewFor<CPDF_Name>("Type", "Font"); in GetStockFont() 314 pDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in GetStockFont() 315 pDict->SetNewFor<CPDF_Name>("BaseFont", fontname); in GetStockFont() 316 pDict->SetNewFor<CPDF_Name>("Encoding", "WinAnsiEncoding"); in GetStockFont() 416 if (CPDF_Name* pName = pElement->AsName()) { in LoadPDFEncoding()
|
/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_pagecontentgenerator.cpp | 312 gsDict->SetNewFor<CPDF_Name>("BM", in ProcessGraphics() 340 gsDict->SetNewFor<CPDF_Name>("BM", "Normal"); in ProcessDefaultGraphics() 379 fontDict->SetNewFor<CPDF_Name>("Type", "Font"); in ProcessText() 380 fontDict->SetNewFor<CPDF_Name>("Subtype", fontD.type); in ProcessText() 381 fontDict->SetNewFor<CPDF_Name>("BaseFont", fontD.baseFont); in ProcessText()
|
D | cpdf_pagecontentgenerator_unittest.cpp | 241 pDict->SetNewFor<CPDF_Name>("Type", "Font"); in TEST_F() 242 pDict->SetNewFor<CPDF_Name>("Subtype", "TrueType"); in TEST_F() 244 pDict->SetNewFor<CPDF_Name>("BaseFont", pFont->GetBaseFont()); in TEST_F() 247 pDesc->SetNewFor<CPDF_Name>("Type", "FontDescriptor"); in TEST_F() 248 pDesc->SetNewFor<CPDF_Name>("FontName", pFont->GetBaseFont()); in TEST_F()
|
D | cpdf_flateencoder.cpp | 44 m_pDict->SetNewFor<CPDF_Name>("Filter", "FlateDecode"); in CPDF_FlateEncoder()
|