diff options
Diffstat (limited to 'fxjs/cjx_node.h')
-rw-r--r-- | fxjs/cjx_node.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/fxjs/cjx_node.h b/fxjs/cjx_node.h index fca3c9f8a7..81af0dfe73 100644 --- a/fxjs/cjx_node.h +++ b/fxjs/cjx_node.h @@ -47,10 +47,13 @@ class CJX_Node : public CJX_Object { bool SetAttribute(const WideStringView& wsAttr, const WideStringView& wsValue, bool bNotify); - bool GetAttribute(const WideStringView& wsAttr, - WideString& wsValue, - bool bUseDefault); - bool GetAttribute(XFA_Attribute eAttr, WideString& wsValue, bool bUseDefault); + WideString GetAttribute(const WideStringView& attr); + WideString GetAttribute(XFA_Attribute attr); + pdfium::Optional<WideString> TryAttribute(const WideStringView& wsAttr, + bool bUseDefault); + pdfium::Optional<WideString> TryAttribute(XFA_Attribute eAttr, + bool bUseDefault); + bool SetAttributeValue(const WideString& wsValue, const WideString& wsXMLValue, bool bNotify, |