Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cxfa_image.h
Go to the documentation of this file.
1// Copyright 2017 The PDFium Authors
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 "xfa/fxfa/parser/cxfa_node.h"
11
12class CXFA_Image final : public CXFA_Node {
13 public:
14 static CXFA_Image* FromNode(CXFA_Node* pNode);
15
17 ~CXFA_Image() override;
18
20 WideString GetContent();
21
22 WideString GetHref();
23 void SetHref(const WideString& wsHref);
24
26 void SetTransferEncoding(XFA_AttributeValue iTransferEncoding);
27
28 WideString GetContentType();
29 void SetContentType(const WideString& wsContentType);
30
31 private:
32 CXFA_Image(CXFA_Document* doc, XFA_PacketType packet);
33};
34
35#endif // XFA_FXFA_PARSER_CXFA_IMAGE_H_
void Concat(const CFX_Matrix &right)
bool IsLoaded() override
void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight) override
bool LoadWidget() override
~CXFA_FFImage() override
CFX_Matrix GetRotateMatrix() override
virtual void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight)
CXFA_FFWidget(CXFA_Node *pNode)
bool HasVisibleStatus() const
CXFA_Node * GetNode() const
virtual bool LoadWidget()
CXFA_FFDoc * GetDoc()
CFX_RectF GetRectWithoutRotate()
WideString GetContent()
void SetTransferEncoding(XFA_AttributeValue iTransferEncoding)
static CXFA_Image * FromNode(CXFA_Node *pNode)
void SetContentType(const WideString &wsContentType)
void SetHref(const WideString &wsHref)
WideString GetContentType()
XFA_AttributeValue GetTransferEncoding()
WideString GetHref()
XFA_AttributeValue GetAspect()
~CXFA_Image() override
XFA_AttributeValue GetHorizontalAlign()
Definition cxfa_para.cpp:57
XFA_AttributeValue GetVerticalAlign()
Definition cxfa_para.cpp:63
void XFA_RectWithoutMargin(CFX_RectF *rt, const CXFA_Margin *margin)
XFA_AttributeValue
Definition fxfa_basic.h:60
XFA_PacketType
Definition fxfa_basic.h:44
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32