summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_textprovider.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_textprovider.h')
-rw-r--r--xfa/fxfa/cxfa_textprovider.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fxfa/cxfa_textprovider.h b/xfa/fxfa/cxfa_textprovider.h
index 4f349e47e2..d6f00056f0 100644
--- a/xfa/fxfa/cxfa_textprovider.h
+++ b/xfa/fxfa/cxfa_textprovider.h
@@ -8,6 +8,7 @@
#define XFA_FXFA_CXFA_TEXTPROVIDER_H_
#include "core/fxcrt/fx_string.h"
+#include "third_party/base/optional.h"
#include "xfa/fxfa/cxfa_textlayout.h"
class CXFA_Font;
@@ -33,11 +34,10 @@ class CXFA_TextProvider {
CXFA_Node* GetTextNode(bool& bRichText);
CXFA_Para* GetParaIfExists();
CXFA_Font* GetFontIfExists();
- bool IsCheckButtonAndAutoWidth();
- bool GetEmbbedObj(bool bURI,
- bool bRaw,
- const WideString& wsAttr,
- WideString& wsValue);
+ bool IsCheckButtonAndAutoWidth() const;
+ Optional<WideString> GetEmbeddedObj(bool bURI,
+ bool bRaw,
+ const WideString& wsAttr);
private:
CXFA_Node* m_pNode; // Raw, this class owned by tree node.