/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_validate.cpp | 61 return JSObject()->GetEnum(XFA_Attribute::FormatTest); in GetFormatTest() 67 JSObject()->SetEnum( in SetNullTest() 73 return JSObject()->GetEnum(XFA_Attribute::NullTest); in GetNullTest() 77 return JSObject()->GetEnum(XFA_Attribute::ScriptTest); in GetScriptTest() 82 JSObject()->GetProperty<CXFA_Message>(0, XFA_Element::Message); in GetMessageText() 91 WideString wsName = pItemNode->JSObject()->GetCData(XFA_Attribute::Name); in GetMessageText() 93 return pItemNode->JSObject()->GetContent(false); in GetMessageText() 125 JSObject()->GetOrCreateProperty<CXFA_Message>(0, XFA_Element::Message); in SetMessageText() 134 WideString wsName = pItemNode->JSObject()->GetCData(XFA_Attribute::Name); in SetMessageText() 136 pItemNode->JSObject()->SetContent(wsMessage, wsMessage, false, false, in SetMessageText() [all …]
|
D | cxfa_font.cpp | 71 return JSObject()->GetMeasureInUnit(XFA_Attribute::BaselineShift, in GetBaselineShift() 76 WideString wsValue = JSObject()->GetCData(XFA_Attribute::FontHorizontalScale); in GetHorizontalScale() 82 WideString wsValue = JSObject()->GetCData(XFA_Attribute::FontVerticalScale); in GetVerticalScale() 88 WideString wsValue = JSObject()->GetCData(XFA_Attribute::LetterSpacing); in GetLetterSpacing() 96 return JSObject()->GetInteger(XFA_Attribute::LineThrough); in GetLineThrough() 100 return JSObject()->GetInteger(XFA_Attribute::Underline); in GetUnderline() 104 return JSObject() in GetUnderlinePeriod() 110 return JSObject()->GetMeasureInUnit(XFA_Attribute::Size, XFA_Unit::Pt); in GetFontSize() 114 return JSObject()->GetCData(XFA_Attribute::Typeface); in GetTypeface() 118 return JSObject()->GetEnum(XFA_Attribute::Weight) == XFA_AttributeValue::Bold; in IsBold() [all …]
|
D | cxfa_stroke.cpp | 89 XFA_AttributeValue presence = JSObject() in IsVisible() 96 return JSObject()->GetEnum(XFA_Attribute::Cap); in GetCapType() 100 return JSObject()->GetEnum(XFA_Attribute::Stroke); in GetStrokeType() 108 return JSObject()->GetMeasure(XFA_Attribute::Thickness); in GetMSThickness() 112 JSObject()->SetMeasure(XFA_Attribute::Thickness, msThinkness, false); in SetMSThickness() 121 pNode->JSObject()->GetCData(XFA_Attribute::Value).AsStringView()); in GetColor() 126 JSObject()->GetOrCreateProperty<CXFA_Color>(0, XFA_Element::Color); in SetColor() 130 pNode->JSObject()->SetCData( in SetColor() 136 return JSObject()->GetEnum(XFA_Attribute::Join); in GetJoinType() 140 return JSObject()->GetBoolean(XFA_Attribute::Inverted); in IsInverted() [all …]
|
D | cxfa_image.cpp | 51 return JSObject()->GetEnum(XFA_Attribute::Aspect); in GetAspect() 55 return JSObject()->TryCData(XFA_Attribute::ContentType, true).value_or(L""); in GetContentType() 59 return JSObject()->TryCData(XFA_Attribute::Href, true).value_or(L""); in GetHref() 64 JSObject()->GetEnum(XFA_Attribute::TransferEncoding)); in GetTransferEncoding() 68 return JSObject()->TryContent(false, true).value_or(L""); in GetContent() 72 JSObject()->SetCData(XFA_Attribute::ContentType, wsContentType); in SetContentType() 76 JSObject()->SetCData(XFA_Attribute::Href, wsHref); in SetHref() 80 JSObject()->SetEnum(XFA_Attribute::TransferEncoding, iTransferEncoding, in SetTransferEncoding()
|
D | cxfa_barcode.cpp | 70 return WideString(JSObject()->GetCData(XFA_Attribute::Type)); in GetBarcodeType() 75 JSObject()->TryEnum(XFA_Attribute::Checksum, true); in GetChecksum() 95 JSObject()->TryCData(XFA_Attribute::DataLength, true); in GetDataLength() 104 JSObject()->TryCData(XFA_Attribute::StartChar, true); in GetStartChar() 113 JSObject()->TryCData(XFA_Attribute::EndChar, true); in GetEndChar() 122 JSObject()->TryCData(XFA_Attribute::ErrorCorrectionLevel, true); in GetECLevel() 130 JSObject()->TryMeasure(XFA_Attribute::ModuleWidth, true); in GetModuleWidth() 139 JSObject()->TryMeasure(XFA_Attribute::ModuleHeight, true); in GetModuleHeight() 147 return JSObject()->TryBoolean(XFA_Attribute::PrintCheckDigit, true); in GetPrintChecksum() 151 return JSObject()->TryEnum(XFA_Attribute::TextLocation, true); in GetTextLocation() [all …]
|
D | cxfa_para.cpp | 58 return JSObject() in GetHorizontalAlign() 64 return JSObject() in GetVerticalAlign() 70 return JSObject()->GetMeasureInUnit(XFA_Attribute::LineHeight, XFA_Unit::Pt); in GetLineHeight() 74 return JSObject()->GetMeasureInUnit(XFA_Attribute::MarginLeft, XFA_Unit::Pt); in GetMarginLeft() 78 return JSObject()->GetMeasureInUnit(XFA_Attribute::MarginRight, XFA_Unit::Pt); in GetMarginRight() 82 return JSObject()->GetMeasureInUnit(XFA_Attribute::SpaceAbove, XFA_Unit::Pt); in GetSpaceAbove() 86 return JSObject()->GetMeasureInUnit(XFA_Attribute::SpaceBelow, XFA_Unit::Pt); in GetSpaceBelow() 90 return JSObject()->GetMeasureInUnit(XFA_Attribute::TextIndent, XFA_Unit::Pt); in GetTextIndent()
|
D | cxfa_occur.cpp | 44 std::optional<int32_t> max = JSObject()->TryInteger(XFA_Attribute::Max, true); in GetMax() 49 std::optional<int32_t> min = JSObject()->TryInteger(XFA_Attribute::Min, true); in GetMin() 58 JSObject()->TryInteger(XFA_Attribute::Initial, false); in GetOccurInfo() 65 JSObject()->SetInteger(XFA_Attribute::Max, iMax, false); in SetMax() 70 JSObject()->SetInteger(XFA_Attribute::Min, iMin, false); in SetMax() 76 JSObject()->SetInteger(XFA_Attribute::Min, iMin, false); in SetMin() 81 JSObject()->SetInteger(XFA_Attribute::Max, iMax, false); in SetMin()
|
D | cxfa_document.cpp | 87 pValueNode->JSObject()->GetOrCreateProperty<CXFA_Node>(0, iType); in FormValueNode_CreateChild() 110 pChildNode->JSObject()->TryAttribute(XFA_Attribute::ContentType, in FormValueNode_SetChildContent() 122 pContentRawDataNode->JSObject()->SetCData(XFA_Attribute::Value, in FormValueNode_SetChildContent() 129 pChildNode->JSObject()->SetCData(XFA_Attribute::Value, wsContent); in FormValueNode_SetChildContent() 190 pTemplateNode->JSObject()->GetCData(XFA_Attribute::Name); in CloneOrMergeInstanceManager() 225 L"_" + pTemplateNode->JSObject()->GetCData(XFA_Attribute::Name); in CloneOrMergeInstanceManager() 226 pNewNode->JSObject()->SetCData(XFA_Attribute::Name, wsInstMgrNodeName); in CloneOrMergeInstanceManager() 427 ? pTemplateNodeBind->JSObject()->GetEnum(XFA_Attribute::Match) in FindMatchingDataNode() 445 pCurTemplateNode->JSObject()->GetCData(XFA_Attribute::Name), in FindMatchingDataNode() 458 pCurTemplateNode->JSObject()->GetCData(XFA_Attribute::Name), in FindMatchingDataNode() [all …]
|
D | cxfa_document_builder.cpp | 272 pXFAChild->JSObject()->SetCData(XFA_Attribute::Name, wsNodeStr); in ConstructXFANode() 275 pXFAChild->JSObject()->SetCData(XFA_Attribute::Value, wsChildValue); in ConstructXFANode() 341 pXFARootNode->JSObject()->SetCData(XFA_Attribute::Name, L"xfa"); in ParseAsXDPPacket_XDP() 345 pXFARootNode->JSObject()->SetCData(XFA_Attribute::Uuid, it.second); in ParseAsXDPPacket_XDP() 347 pXFARootNode->JSObject()->SetCData(XFA_Attribute::TimeStamp, it.second); in ParseAsXDPPacket_XDP() 458 pNode->JSObject()->SetCData(XFA_Attribute::Name, in ParseAsXDPPacket_Config() 478 pNode->JSObject()->SetCData(XFA_Attribute::Name, in ParseAsXDPPacket_Template() 506 pNode->JSObject()->SetCData(XFA_Attribute::Name, in ParseAsXDPPacket_Form() 516 pTemplateChosen->JSObject()->GetEnum(XFA_Attribute::RestoreState) != in ParseAsXDPPacket_Form() 538 pNode->JSObject()->SetCData(XFA_Attribute::Name, in ParseAsXDPPacket_Data() [all …]
|
D | cxfa_box.cpp | 84 return JSObject()->GetEnum(XFA_Attribute::Hand); in GetHand() 88 return JSObject() in GetPresence() 99 return JSObject()->GetOrCreateProperty<CXFA_Edge>( in GetEdgeIfExists() 102 return JSObject()->GetProperty<CXFA_Edge>( in GetEdgeIfExists() 111 return JSObject()->GetBoolean(XFA_Attribute::Circular); in IsCircular() 115 return JSObject()->TryInteger(XFA_Attribute::StartAngle, false); in GetStartAngle() 119 return JSObject()->TryInteger(XFA_Attribute::SweepAngle, false); in GetSweepAngle() 123 return JSObject()->GetOrCreateProperty<CXFA_Fill>(0, XFA_Element::Fill); in GetOrCreateFillIfPossible() 148 JSObject()->GetOrCreateProperty<CXFA_Corner>(i, XFA_Element::Corner); in GetStrokesInternal() 150 corner = JSObject()->GetProperty<CXFA_Corner>(i, XFA_Element::Corner); in GetStrokesInternal() [all …]
|
D | cxfa_submit.cpp | 47 return JSObject()->GetBoolean(XFA_Attribute::EmbedPDF); in IsSubmitEmbedPDF() 51 return JSObject()->GetEnum(XFA_Attribute::Format); in GetSubmitFormat() 55 return JSObject()->GetCData(XFA_Attribute::Target); in GetSubmitTarget() 59 return JSObject()->GetCData(XFA_Attribute::XdpContent); in GetSubmitXDPContent()
|
D | cxfa_fill.cpp | 58 return JSObject() in IsVisible() 66 JSObject()->GetOrCreateProperty<CXFA_Color>(0, XFA_Element::Color); in SetColor() 126 JSObject()->GetOrCreateProperty<CXFA_Stipple>(0, XFA_Element::Stipple); in DrawStipple() 136 JSObject()->GetOrCreateProperty<CXFA_Radial>(0, XFA_Element::Radial); in DrawRadial() 146 JSObject()->GetOrCreateProperty<CXFA_Linear>(0, XFA_Element::Linear); in DrawLinear() 156 JSObject()->GetOrCreateProperty<CXFA_Pattern>(0, XFA_Element::Pattern); in DrawPattern()
|
D | cxfa_margin.cpp | 61 return JSObject()->TryMeasureAsFloat(XFA_Attribute::LeftInset); in TryLeftInset() 65 return JSObject()->TryMeasureAsFloat(XFA_Attribute::TopInset); in TryTopInset() 69 return JSObject()->TryMeasureAsFloat(XFA_Attribute::RightInset); in TryRightInset() 73 return JSObject()->TryMeasureAsFloat(XFA_Attribute::BottomInset); in TryBottomInset()
|
D | cxfa_nodelocale.cpp | 51 return WideString(m_pNode ? m_pNode->JSObject()->GetCData(XFA_Attribute::Name) in GetName() 80 return pSymbols ? pSymbols->JSObject()->GetContent(false) : WideString(); in GetDateTimeSymbols() 141 if (pChild->JSObject()->GetAttributeByEnum(XFA_Attribute::Name) == wsName) in GetNodeByName() 154 return pSymbol ? pSymbol->JSObject()->GetContent(false) : WideString(); in GetSymbol() 169 if (pNode->JSObject()->GetBoolean(XFA_Attribute::Abbr) == bAbbr) { in GetCalendarSymbol() 172 return pSymbol ? pSymbol->JSObject()->GetContent(false) : WideString(); in GetCalendarSymbol()
|
D | cxfa_caption.cpp | 52 auto value = JSObject()->TryEnum(XFA_Attribute::Presence, true); in IsVisible() 57 auto value = JSObject()->TryEnum(XFA_Attribute::Presence, true); in IsHidden() 62 auto value = JSObject()->TryEnum(XFA_Attribute::Placement, true); in GetPlacementType() 67 return JSObject()->GetMeasureInUnit(XFA_Attribute::Reserve, XFA_Unit::Pt); in GetReserve()
|
D | cxfa_binditems.cpp | 38 return JSObject()->GetCData(XFA_Attribute::LabelRef); in GetLabelRef() 42 return JSObject()->GetCData(XFA_Attribute::ValueRef); in GetValueRef() 46 return JSObject()->GetCData(XFA_Attribute::Ref); in GetRef()
|
D | xfa_utils.cpp | 116 pContentNode->JSObject()->TryContent(false, false); in ContentNodeNeedtoExport() 139 if (!bProto && !pNode->JSObject()->HasAttribute(eName)) in SaveAttribute() 143 pNode->JSObject()->TryAttribute(eName, false); in SaveAttribute() 185 pNode->JSObject()->TryAttribute(XFA_Attribute::ContentType, false); in RegenerateFormFile_Changed() 205 pRawValueNode->JSObject()->TryAttribute(XFA_Attribute::Value, in RegenerateFormFile_Changed() 216 pGrandparentNode->JSObject()->GetCData(XFA_Attribute::Name); in RegenerateFormFile_Changed() 228 pRawValueNode->JSObject()->GetCData(XFA_Attribute::Value); in RegenerateFormFile_Changed() 236 WideString wsValue = pNode->JSObject()->GetCData(XFA_Attribute::Value); in RegenerateFormFile_Changed() 273 pNode->JSObject()->HasAttribute(XFA_Attribute::Name)) { in RegenerateFormFile_Changed() 342 pTemplateRoot->JSObject()->TryNamespace(); in RecognizeXFAVersionNumber() [all …]
|
D | cxfa_node.cpp | 743 ws = pNode->JSObject()->GetCData(XFA_Attribute::Name); in GetNameExpressionSinglePath() 1022 JSObject()->MergeAllData(pClone); in Clone() 1027 WideString wsName = JSObject() in Clone() 1033 WideString wsValue = JSObject()->GetCData(XFA_Attribute::Value); in Clone() 1040 pClone->JSObject()->SetEnum(XFA_Attribute::Contains, in Clone() 1443 pLocaleNode->JSObject()->TryCData(XFA_Attribute::Locale, false); in GetLocaleName() 1457 pTopSubform->JSObject()->TryCData(XFA_Attribute::Locale, false); in GetLocaleName() 1471 auto layout = JSObject()->TryEnum(XFA_Attribute::Layout, true); in GetIntact() 1497 auto value = parent->JSObject()->TryEnum(XFA_Attribute::Layout, true); in GetIntact() 1509 JSObject()->TryMeasure(XFA_Attribute::H, false); in GetIntact() [all …]
|
D | cxfa_checkbutton.cpp | 60 return JSObject()->GetEnum(XFA_Attribute::Shape) == XFA_AttributeValue::Round; in IsRound() 64 return JSObject()->GetEnum(XFA_Attribute::Mark); in GetMark() 68 return JSObject()->GetBoolean(XFA_Attribute::AllowNeutral); in IsAllowNeutral()
|
D | cxfa_script.cpp | 59 JSObject()->TryCData(XFA_Attribute::ContentType, false); in GetContentType() 70 return JSObject()->GetEnum(XFA_Attribute::RunAt); in GetRunAt() 74 return JSObject()->GetContent(false); in GetExpression()
|
/external/pdfium/xfa/fxfa/layout/ |
D | cxfa_viewlayoutprocessor.cpp | 113 pFormItem->JSObject()->GetCData(XFA_Attribute::Relevant); in GetRelevant() 143 ->JSObject() in SyncContainer() 255 WideString wsExpression = pTestScript->JSObject()->GetContent(false); in RunBreakTestScript() 313 const float fHeight = pContentAreaNode->JSObject()->GetMeasureInUnit( in ContentAreasFitInPageAreas() 377 m_pPageSetNode = pTemplateNode->JSObject()->GetOrCreateProperty<CXFA_PageSet>( in InitLayoutPage() 388 m_pPageSetNode->JSObject()->SetLayoutItem(m_pPageSetRootLayoutItem.Get()); in InitLayoutPage() 391 m_pPageSetNode->JSObject()->GetEnum(XFA_Attribute::Relation); in InitLayoutPage() 434 pContentArea->JSObject()->SetMeasure( in InitLayoutPage() 436 pContentArea->JSObject()->SetMeasure( in InitLayoutPage() 438 pContentArea->JSObject()->SetMeasure( in InitLayoutPage() [all …]
|
D | cxfa_contentlayoutprocessor.cpp | 105 pFormNode->JSObject()->TryMeasure(XFA_Attribute::W, false); in CalculateContainerSpecifiedSize() 112 pFormNode->JSObject()->TryMeasure(XFA_Attribute::H, false); in CalculateContainerSpecifiedSize() 121 pFormNode->JSObject()->TryMeasure(XFA_Attribute::MaxW, false); in CalculateContainerSpecifiedSize() 128 pFormNode->JSObject()->TryMeasure(XFA_Attribute::MaxH, false); in CalculateContainerSpecifiedSize() 151 pMarginNode->JSObject()->TryMeasure(XFA_Attribute::LeftInset, false); in CalculateContainerComponentSizeFromContentSize() 156 pMarginNode->JSObject()->TryMeasure(XFA_Attribute::RightInset, false); in CalculateContainerComponentSizeFromContentSize() 166 pMarginNode->JSObject()->TryMeasure(XFA_Attribute::TopInset, false); in CalculateContainerComponentSizeFromContentSize() 171 pMarginNode->JSObject()->TryMeasure(XFA_Attribute::BottomInset, in CalculateContainerComponentSizeFromContentSize() 185 inset.left = pMargin->JSObject()->GetMeasureInUnit(XFA_Attribute::LeftInset, in GetMarginInset() 187 inset.top = pMargin->JSObject()->GetMeasureInUnit(XFA_Attribute::TopInset, in GetMarginInset() [all …]
|
D | cxfa_contentlayoutitem.cpp | 80 sPos += CFX_PointF(pMarginNode->JSObject()->GetMeasureInUnit( in GetAbsoluteRect() 82 pMarginNode->JSObject()->GetMeasureInUnit( in GetAbsoluteRect() 91 CFX_PointF(pLayoutItem->GetFormNode()->JSObject()->GetMeasureInUnit( in GetAbsoluteRect() 93 pLayoutItem->GetFormNode()->JSObject()->GetMeasureInUnit( in GetAbsoluteRect()
|
D | cxfa_viewlayoutitem.cpp | 50 pMedium->JSObject()->GetMeasureInUnit(XFA_Attribute::Short, XFA_Unit::Pt), in GetPageSize() 51 pMedium->JSObject()->GetMeasureInUnit(XFA_Attribute::Long, XFA_Unit::Pt)); in GetPageSize() 52 if (pMedium->JSObject()->GetEnum(XFA_Attribute::Orientation) == in GetPageSize()
|
/external/pdfium/fxjs/xfa/ |
D | cfxjse_engine.cpp | 127 pDocument->GetRoot()->JSObject(), in CFXJSE_Engine() 221 CJX_Object* jsObject = maybeResult.value().objects.front()->JSObject(); in QueryNodeByFlag() 243 CJX_Object* jsObject = maybeResult.value().objects.front()->JSObject(); in UpdateNodeByFlag() 372 if (pObject->JSObject()->HasMethod(wsPropName)) in GlobalPropTypeGetter() 429 (*info.value().callback)(pIsolate, pObject->JSObject(), &pReturnValue, in NormalPropertyGetter() 470 CJX_Object* jsObject = pObject->JSObject(); in NormalPropertySetter() 485 pNode->JSObject()->GetOrCreateProperty<CXFA_Node>(0, eType); in NormalPropertySetter() 494 pPropOrChild->JSObject()->ScriptSomDefaultValue(pIsolate, &pValue, true, in NormalPropertySetter() 522 if (pObject->JSObject()->HasMethod(wsPropName)) in NormalPropTypeGetter() 548 return pObject->JSObject()->RunMethod(pScriptContext, functionName, in NormalMethodCall() [all …]
|