OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 |
| 7 #ifndef XFA_FXFA_PARSER_CXFA_IMAGE_H_ |
| 8 #define XFA_FXFA_PARSER_CXFA_IMAGE_H_ |
| 9 |
| 10 #include "core/fxcrt/include/fx_string.h" |
| 11 #include "core/fxcrt/include/fx_system.h" |
| 12 #include "xfa/fxfa/parser/cxfa_data.h" |
| 13 |
| 14 class CXFA_Node; |
| 15 |
| 16 class CXFA_Image : public CXFA_Data { |
| 17 public: |
| 18 CXFA_Image(CXFA_Node* pNode, FX_BOOL bDefValue); |
| 19 |
| 20 int32_t GetAspect(); |
| 21 FX_BOOL GetContentType(CFX_WideString& wsContentType); |
| 22 FX_BOOL GetHref(CFX_WideString& wsHref); |
| 23 int32_t GetTransferEncoding(); |
| 24 FX_BOOL GetContent(CFX_WideString& wsText); |
| 25 FX_BOOL SetContentType(const CFX_WideString& wsContentType); |
| 26 FX_BOOL SetHref(const CFX_WideString& wsHref); |
| 27 FX_BOOL SetTransferEncoding(int32_t iTransferEncoding); |
| 28 |
| 29 protected: |
| 30 FX_BOOL m_bDefValue; |
| 31 }; |
| 32 |
| 33 #endif // XFA_FXFA_PARSER_CXFA_IMAGE_H_ |
OLD | NEW |