#include "xfa/fxfa/cxfa_ffbarcode.h"
#include <utility>
#include "core/fxcrt/check.h"
#include "core/fxcrt/fx_extension.h"
#include "xfa/fwl/cfwl_app.h"
#include "xfa/fwl/cfwl_barcode.h"
#include "xfa/fwl/cfwl_notedriver.h"
#include "xfa/fxfa/cxfa_fffield.h"
#include "xfa/fxfa/cxfa_ffpageview.h"
#include "xfa/fxfa/cxfa_ffwidget.h"
#include "xfa/fxfa/cxfa_fwladapterwidgetmgr.h"
#include "xfa/fxfa/parser/cxfa_barcode.h"
#include "xfa/fxfa/parser/cxfa_border.h"
namespace {
struct BarCodeInfo { … };
const BarCodeInfo kBarCodeData[] = …;
std::optional<BC_TEXT_LOC> TextLocFromAttribute(XFA_AttributeValue value) { … }
}
BC_TYPE CXFA_FFBarcode::GetBarcodeTypeByName(const WideString& wsName) { … }
CXFA_FFBarcode::CXFA_FFBarcode(CXFA_Node* pNode, CXFA_Barcode* barcode)
: … { … }
CXFA_FFBarcode::~CXFA_FFBarcode() = default;
void CXFA_FFBarcode::Trace(cppgc::Visitor* visitor) const { … }
bool CXFA_FFBarcode::LoadWidget() { … }
void CXFA_FFBarcode::RenderWidget(CFGAS_GEGraphics* pGS,
const CFX_Matrix& matrix,
HighlightOption highlight) { … }
void CXFA_FFBarcode::UpdateWidgetProperty() { … }
bool CXFA_FFBarcode::AcceptsFocusOnButtonDown(
Mask<XFA_FWL_KeyFlag> dwFlags,
const CFX_PointF& point,
CFWL_MessageMouse::MouseCommand command) { … }