![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <BC_OnedCode39Writer.h>
Public Member Functions | |
| CBC_OnedCode39Writer () | |
| ~CBC_OnedCode39Writer () override | |
| DataVector< uint8_t > | Encode (const ByteString &contents) override |
| bool | RenderResult (WideStringView contents, pdfium::span< const uint8_t > code) override |
| bool | CheckContentValidity (WideStringView contents) override |
| WideString | FilterContents (WideStringView contents) override |
| void | SetTextLocation (BC_TEXT_LOC locationlocation) override |
| bool | SetWideNarrowRatio (int8_t ratio) override |
| WideString | RenderTextContents (WideStringView contents) |
| bool | encodedContents (WideStringView contents, WideString *resultresult) |
| Public Member Functions inherited from CBC_OneDimWriter | |
| CBC_OneDimWriter () | |
| ~CBC_OneDimWriter () override | |
| virtual void | SetDataLength (int32_t lengthlength) |
| void | SetPrintChecksum (bool checksum) |
| void | SetCalcChecksum (bool state) |
| void | SetFontSize (float sizesize) |
| void | SetFontStyle (int32_t style) |
| void | SetFontColor (FX_ARGB colorcolor) |
| bool | RenderDeviceResult (CFX_RenderDevice *device, const CFX_Matrix &matrixmatrix, WideStringView contents) |
| bool | SetFont (CFX_Font *cFont) |
| Public Member Functions inherited from CBC_Writer | |
| CBC_Writer () | |
| virtual | ~CBC_Writer () |
| bool | SetModuleHeight (int32_t moduleHeight) |
| bool | SetModuleWidth (int32_t moduleWidth) |
| void | SetHeight (int32_t heightheight) |
| void | SetWidth (int32_t widthwidth) |
| virtual bool | SetStartChar (char startstart) |
| virtual bool | SetEndChar (char endend) |
| virtual bool | SetErrorCorrectionLevel (int32_t levellevel) |
Additional Inherited Members | |
| Static Public Member Functions inherited from CBC_OneDimWriter | |
| static constexpr CFX_TextRenderOptions | GetTextRenderOptions () |
| static bool | HasValidContentSize (WideStringView contents) |
| Protected Member Functions inherited from CBC_OneDimWriter | |
| virtual bool | ShowChars (WideStringView contents, CFX_RenderDevice *device, const CFX_Matrix &matrixmatrix, int32_t barWidth) |
| void | ShowDeviceChars (CFX_RenderDevice *device, const CFX_Matrix &matrixmatrix, const ByteString str, float geWidth, pdfium::span< TextCharPos > pCharPos, float locX, float locY, int32_t barWidth) |
| void | CalcTextInfo (const ByteString &text, pdfium::span< TextCharPos > charPos, CFX_Font *cFont, float geWidth, int32_t fontSizefontSize, float &charsLen) |
| pdfium::span< uint8_t > | AppendPattern (pdfium::span< uint8_t > targettarget, pdfium::span< const uint8_t > patternpattern, bool startColor) |
| Protected Attributes inherited from CBC_OneDimWriter | |
| bool | m_bPrintChecksum = true |
| bool | m_bCalcChecksum = false |
| bool | m_bLeftPadding = false |
| bool | m_bRightPadding = false |
| UnownedPtr< CFX_Font > | m_pFont |
| float | m_fFontSize = 10.0f |
| int32_t | m_iFontStyle = 0 |
| uint32_t | m_fontColor = 0xff000000 |
| BC_TEXT_LOC | m_locTextLoc = BC_TEXT_LOC::kBelowEmbed |
| int32_t | m_iDataLenth = 0 |
| size_t | m_iContentLen = 0 |
| std::vector< CFX_Path > | m_output |
| int32_t | m_barWidth |
| float | m_outputHScale |
| Protected Attributes inherited from CBC_Writer | |
| int32_t | m_ModuleHeight = 1 |
| int32_t | m_ModuleWidth = 1 |
| int32_t | m_Height = 320 |
| int32_t | m_Width = 640 |
| Static Protected Attributes inherited from CBC_Writer | |
| static const FX_ARGB | kBarColor = 0xff000000 |
| static const FX_ARGB | kBackgroundColor = 0xffffffff |
Definition at line 15 of file BC_OnedCode39Writer.h.
|
default |
|
overridedefault |
|
overridevirtual |
Implements CBC_OneDimWriter.
Definition at line 96 of file BC_OnedCode39Writer.cpp.
References CBC_OneDimWriter::HasValidContentSize().
Referenced by CBC_Code39::Encode().
|
overridevirtual |
Implements CBC_OneDimWriter.
Definition at line 149 of file BC_OnedCode39Writer.cpp.
References fxcrt::ByteString::operator+=().
| bool CBC_OnedCode39Writer::encodedContents | ( | WideStringView | contents, |
| WideString * | result ) |
Definition at line 203 of file BC_OnedCode39Writer.cpp.
References FilterContents(), fxcrt::ByteString::operator+=(), fxcrt::WideString::operator+=(), fxcrt::WideString::operator=(), and fxcrt::WideString::ToUTF8().
Referenced by CBC_Code39::RenderDevice(), and RenderResult().
|
overridevirtual |
Implements CBC_OneDimWriter.
Definition at line 101 of file BC_OnedCode39Writer.cpp.
References FXSYS_ToUpperASCII(), and fxcrt::WideString::operator+=().
Referenced by CBC_Code39::Encode(), and encodedContents().
|
overridevirtual |
Reimplemented from CBC_OneDimWriter.
Definition at line 219 of file BC_OnedCode39Writer.cpp.
References encodedContents().
| WideString CBC_OnedCode39Writer::RenderTextContents | ( | WideStringView | contents | ) |
Definition at line 120 of file BC_OnedCode39Writer.cpp.
References FXSYS_ToUpperASCII(), and fxcrt::WideString::operator+=().
|
overridevirtual |
Reimplemented from CBC_Writer.
Definition at line 137 of file BC_OnedCode39Writer.cpp.
|
overridevirtual |
Reimplemented from CBC_Writer.
Definition at line 141 of file BC_OnedCode39Writer.cpp.