Home
last modified time | relevance | path

Searched refs:CPDF_Number (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/fpdfsdk/src/
Dfpdfeditpage.cpp78 pMediaBoxArray->Add(new CPDF_Number(0)); in FPDFPage_New()
79 pMediaBoxArray->Add(new CPDF_Number(0)); in FPDFPage_New()
80 pMediaBoxArray->Add(new CPDF_Number(FX_FLOAT(width))); in FPDFPage_New()
81 pMediaBoxArray->Add(new CPDF_Number(FX_FLOAT(height))); in FPDFPage_New()
84 pPageDict->SetAt("Rotate", new CPDF_Number(0)); in FPDFPage_New()
289 pRectArray->SetAt(0, new CPDF_Number(rect.left)); in FPDFPage_TransformAnnots()
290 pRectArray->SetAt(1, new CPDF_Number(rect.bottom)); in FPDFPage_TransformAnnots()
291 pRectArray->SetAt(2, new CPDF_Number(rect.right)); in FPDFPage_TransformAnnots()
292 pRectArray->SetAt(3, new CPDF_Number(rect.top)); in FPDFPage_TransformAnnots()
311 pDict->SetAt("Rotate", new CPDF_Number(rotate * 90)); in FPDFPage_SetRotation()
Dfpdf_flatten.cpp362 pMediaBox->Add(new CPDF_Number(rcOriginalMB.left)); in FPDFPage_Flatten()
363 pMediaBox->Add(new CPDF_Number(rcOriginalMB.bottom)); in FPDFPage_Flatten()
364 pMediaBox->Add(new CPDF_Number(rcOriginalMB.right)); in FPDFPage_Flatten()
365 pMediaBox->Add(new CPDF_Number(rcOriginalMB.top)); in FPDFPage_Flatten()
371 pCropBox->Add(new CPDF_Number(rcOriginalCB.left)); in FPDFPage_Flatten()
372 pCropBox->Add(new CPDF_Number(rcOriginalCB.bottom)); in FPDFPage_Flatten()
373 pCropBox->Add(new CPDF_Number(rcOriginalCB.right)); in FPDFPage_Flatten()
374 pCropBox->Add(new CPDF_Number(rcOriginalCB.top)); in FPDFPage_Flatten()
Dfpdf_transformpage.cpp21 pBoundingBoxArray->Add(new CPDF_Number(left)); in SetBoundingBox()
22 pBoundingBoxArray->Add(new CPDF_Number(bottom)); in SetBoundingBox()
23 pBoundingBoxArray->Add(new CPDF_Number(right)); in SetBoundingBox()
24 pBoundingBoxArray->Add(new CPDF_Number(top)); in SetBoundingBox()
Dfpdfppo.cpp83 pNewPages->SetAt("Count", new CPDF_Number(0)); in PDFDocInit()
Dfsdk_baseannot.cpp677 pBorder->SetAt(2, new CPDF_Number(nWidth)); in SetBorderWidth()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_objects.cpp249 const CPDF_Number* pThis = AsNumber(); in CloneInternal()
250 return new CPDF_Number(pThis->m_bInteger ? pThis->m_Integer in CloneInternal()
368 CPDF_Number* CPDF_Object::AsNumber() { in AsNumber()
369 return IsNumber() ? static_cast<CPDF_Number*>(this) : nullptr; in AsNumber()
372 const CPDF_Number* CPDF_Object::AsNumber() const { in AsNumber()
373 return IsNumber() ? static_cast<const CPDF_Number*>(this) : nullptr; in AsNumber()
400 CPDF_Number::CPDF_Number(int value) in CPDF_Number() function in CPDF_Number
403 CPDF_Number::CPDF_Number(FX_FLOAT value) in CPDF_Number() function in CPDF_Number
406 CPDF_Number::CPDF_Number(const CFX_ByteStringC& str) in CPDF_Number() function in CPDF_Number
411 void CPDF_Number::SetString(const CFX_ByteStringC& str) { in SetString()
[all …]
Dfpdf_parser_parser.cpp75 CPDF_Number* pObj = ToNumber(pDict->GetElement(key)); in GetDirectInteger()
1579 if (CPDF_Number* pNo = ToNumber(pDict->GetElement("P"))) in IsLinearizedFile()
1582 if (CPDF_Number* pTable = ToNumber(pDict->GetElement("T"))) in IsLinearizedFile()
2097 return new CPDF_Number(word); in GetObject()
2252 return new CPDF_Number(word); in GetObjectByStrict()
3739 if (CPDF_Number* pNo = ToNumber(pDict->GetElement("P"))) in IsLinearizedFile()
/external/pdfium/core/include/fpdfapi/
Dfpdf_objects.h24 class CPDF_Number; variable
107 CPDF_Number* AsNumber();
108 const CPDF_Number* AsNumber() const;
161 class CPDF_Number : public CPDF_Object {
163 CPDF_Number() : CPDF_Object(PDFOBJ_NUMBER), m_bInteger(TRUE), m_Integer(0) {} in CPDF_Number() function
165 explicit CPDF_Number(int value);
167 explicit CPDF_Number(FX_FLOAT value);
169 explicit CPDF_Number(const CFX_ByteStringC& str);
171 FX_BOOL Identical(CPDF_Number* pOther) const;
203 inline CPDF_Number* ToNumber(CPDF_Object* obj) { in ToNumber()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser.cpp220 CPDF_Number* pNumber = param.m_Number.m_bInteger in GetObject()
221 ? new CPDF_Number(param.m_Number.m_Integer) in GetObject()
222 : new CPDF_Number(param.m_Number.m_Float); in GetObject()
Dfpdf_page_parser_old.cpp607 return new CPDF_Number(CFX_ByteStringC(m_WordBuffer, m_WordSize)); in ReadNextObject()
/external/pdfium/core/src/fpdfdoc/
Ddoc_formfield.cpp1021 CPDF_Number* pNum = new CPDF_Number(iOptIndex); in SelectOption()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font.cpp1385 pDiff->Add(new CPDF_Number(i)); in Realize()