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_ffbarcode.h
Go to the documentation of this file.
1// Copyright 2014 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_CXFA_FFBARCODE_H_
8#define XFA_FXFA_CXFA_FFBARCODE_H_
9
10#include "fxbarcode/BC_Library.h"
11#include "v8/include/cppgc/member.h"
12#include "v8/include/cppgc/visitor.h"
13#include "xfa/fxfa/cxfa_ffpageview.h"
14#include "xfa/fxfa/cxfa_fftextedit.h"
15
16class CXFA_Barcode;
17
18class CXFA_FFBarcode final : public CXFA_FFTextEdit {
19 public:
20 static BC_TYPE GetBarcodeTypeByName(const WideString& wsName);
21
23 ~CXFA_FFBarcode() override;
24
25 void Trace(cppgc::Visitor* visitor) const override;
26
27 // CXFA_FFTextEdit
28 bool LoadWidget() override;
30 const CFX_Matrix& matrix,
31 HighlightOption highlight) override;
32 void UpdateWidgetProperty() override;
34 Mask<XFA_FWL_KeyFlag> dwFlags,
35 const CFX_PointF& point,
36 CFWL_MessageMouse::MouseCommand command) override;
37
38 private:
39 CXFA_FFBarcode(CXFA_Node* pNode, CXFA_Barcode* barcode);
40
41 cppgc::Member<CXFA_Barcode> const barcode_;
42};
43
44#endif // XFA_FXFA_CXFA_FFBARCODE_H_
BC_TEXT_LOC
Definition BC_Library.h:12
BC_TYPE
Definition BC_Library.h:25
BC_CHAR_ENCODING
Definition BC_Library.h:20
void RegisterEventTarget(CFWL_Widget *pListener, CFWL_Widget *pEventSource)
void SetDelegate(IFWL_WidgetDelegate *delegate)
void SetAdapterIface(AdapterIface *pItem)
CFWL_App * GetFWLApp() const
CFX_Matrix(float a1, float b1, float c1, float d1, float e1, float f1)
void Concat(const CFX_Matrix &right)
void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight) override
bool AcceptsFocusOnButtonDown(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point, CFWL_MessageMouse::MouseCommand command) override
void Trace(cppgc::Visitor *visitor) const override
static BC_TYPE GetBarcodeTypeByName(const WideString &wsName)
void UpdateWidgetProperty() override
bool LoadWidget() override
~CXFA_FFBarcode() override
bool LoadWidget() override
void SetNormalWidget(CFWL_Widget *widget)
void RenderCaption(CFGAS_GEGraphics *pGS, const CFX_Matrix &pMatrix)
bool AcceptsFocusOnButtonDown(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point, CFWL_MessageMouse::MouseCommand command) override
CXFA_FFTextEdit(CXFA_Node *pNode)
void UpdateWidgetProperty() override
CFX_Matrix GetRotateMatrix() override
virtual void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight)
bool HasVisibleStatus() const
bool IsEmpty() const
Definition widestring.h:118
int CompareNoCase(const wchar_t *str) const
bool EqualsASCII(ByteStringView that) const
Definition widestring.h:216
XFA_FWL_KeyFlag
XFA_AttributeValue
Definition fxfa_basic.h:60
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32
Definition heap.h:12