diff --git a/glabels/BarcodeBackends.cpp b/glabels/BarcodeBackends.cpp index e08251c..4ebfba8 100644 --- a/glabels/BarcodeBackends.cpp +++ b/glabels/BarcodeBackends.cpp @@ -177,9 +177,273 @@ namespace glabels registerBackend( "zint", "Zint" ); glbarcode::Factory::registerType( "zint::ausp", Zint::AusP::create ); + glbarcode::Factory::registerType( "zint::ausrp", Zint::AusRP::create ); + glbarcode::Factory::registerType( "zint::ausrt", Zint::AusRT::create ); + glbarcode::Factory::registerType( "zint::ausrd", Zint::AusRD::create ); + glbarcode::Factory::registerType( "zint::aztec", Zint::Aztec::create ); + glbarcode::Factory::registerType( "zint::azrun", Zint::Azrun::create ); + glbarcode::Factory::registerType( "zint::cbr", Zint::Cbr::create ); + glbarcode::Factory::registerType( "zint::code1", Zint::Code1::create ); + glbarcode::Factory::registerType( "zint::code11", Zint::Code11::create ); + glbarcode::Factory::registerType( "zint::c16k", Zint::C16k::create ); + glbarcode::Factory::registerType( "zint::c25m", Zint::C25m::create ); + glbarcode::Factory::registerType( "zint::c25i", Zint::C25i::create ); + glbarcode::Factory::registerType( "zint::c25dl", Zint::C25dl::create ); + glbarcode::Factory::registerType( "zint::code32", Zint::Code32::create ); + glbarcode::Factory::registerType( "zint::code39", Zint::Code39::create ); + glbarcode::Factory::registerType( "zint::code39e", Zint::Code39e::create ); + glbarcode::Factory::registerType( "zint::code49", Zint::Code49::create ); + glbarcode::Factory::registerType( "zint::code93", Zint::Code93::create ); + glbarcode::Factory::registerType( "zint::code128", Zint::Code128::create ); + glbarcode::Factory::registerType( "zint::code128b", Zint::Code128b::create ); + glbarcode::Factory::registerType( "zint::daft", Zint::Daft::create ); + glbarcode::Factory::registerType( "zint::dmtx", Zint::Dmtx::create ); + glbarcode::Factory::registerType( "zint::dpl", Zint::Dpl::create ); + glbarcode::Factory::registerType( "zint::dpi", Zint::Dpi::create ); + glbarcode::Factory::registerType( "zint::kix", Zint::Kix::create ); + glbarcode::Factory::registerType( "zint::ean", Zint::Ean::create ); + glbarcode::Factory::registerType( "zint::gmtx", Zint::Gmtx::create ); + glbarcode::Factory::registerType( "zint::gs1128", Zint::Gs1128::create ); + glbarcode::Factory::registerType( "zint::rss14", Zint::Rss14::create ); + glbarcode::Factory::registerType( "zint::rssltd", Zint::Rssltd::create ); + glbarcode::Factory::registerType( "zint::rssexp", Zint::Rssexp::create ); + glbarcode::Factory::registerType( "zint::rsss", Zint::Rsss::create ); + glbarcode::Factory::registerType( "zint::rssso", Zint::Rssso::create ); + glbarcode::Factory::registerType( "zint::rssse", Zint::Rssse::create ); + glbarcode::Factory::registerType( "zint::hibc128", Zint::Hibc128::create ); + glbarcode::Factory::registerType( "zint::hibc39", Zint::Hibc39::create ); + glbarcode::Factory::registerType( "zint::hibcdm", Zint::Hibcdm::create ); + glbarcode::Factory::registerType( "zint::hibcqr", Zint::Hibcqr::create ); + glbarcode::Factory::registerType( "zint::hibcpdf", Zint::Hibcpdf::create ); + glbarcode::Factory::registerType( "zint::hibcmpdf", Zint::Hibcmpdf::create ); + glbarcode::Factory::registerType( "zint::hibcaz", Zint::Hibcaz::create ); + glbarcode::Factory::registerType( "zint::i25", Zint::I25::create ); + glbarcode::Factory::registerType( "zint::isbn", Zint::Isbn::create ); + glbarcode::Factory::registerType( "zint::itf14", Zint::Itf14::create ); + glbarcode::Factory::registerType( "zint::japan", Zint::Japan::create ); + glbarcode::Factory::registerType( "zint::korea", Zint::Korea::create ); + glbarcode::Factory::registerType( "zint::logm", Zint::Logm::create ); + glbarcode::Factory::registerType( "zint::maxi", Zint::Maxi::create ); + glbarcode::Factory::registerType( "zint::mpdf", Zint::Mpdf::create ); + glbarcode::Factory::registerType( "zint::mqr", Zint::Mqr::create ); + glbarcode::Factory::registerType( "zint::msi", Zint::Msi::create ); + glbarcode::Factory::registerType( "zint::nve", Zint::Nve::create ); + glbarcode::Factory::registerType( "zint::pdf", Zint::Pdf::create ); + glbarcode::Factory::registerType( "zint::pdft", Zint::Pdft::create ); + glbarcode::Factory::registerType( "zint::plan", Zint::Plan::create ); + glbarcode::Factory::registerType( "zint::postnet", Zint::Postnet::create ); + glbarcode::Factory::registerType( "zint::pharma", Zint::Pharma::create ); + glbarcode::Factory::registerType( "zint::pharma2", Zint::Pharma2::create ); + glbarcode::Factory::registerType( "zint::pzn", Zint::Pzn::create ); + glbarcode::Factory::registerType( "zint::qr", Zint::Qr::create ); + glbarcode::Factory::registerType( "zint::rm4", Zint::Rm4::create ); + glbarcode::Factory::registerType( "zint::tele", Zint::Tele::create ); + glbarcode::Factory::registerType( "zint::telex", Zint::Telex::create ); + glbarcode::Factory::registerType( "zint::upc-a", Zint::UpcA::create ); + glbarcode::Factory::registerType( "zint::upc-e", Zint::UpcE::create ); + glbarcode::Factory::registerType( "zint::usps", Zint::Usps::create ); + glbarcode::Factory::registerType( "zint::pls", Zint::Pls::create ); registerStyle( "ausp", "zint", tr("Austraila Post Standard"), false, false, true, false, "12345678901234567890123", true, 23 ); + + registerStyle( "ausrp", "zint", tr("Australia Post Reply Paid"), + false, false, true, false, "12345678", true, 8 ); + + registerStyle( "ausrt", "zint", tr("Australia Post Route Code"), + false, false, true, false, "12345678", true, 8 ); + + registerStyle( "ausrd", "zint", tr("Australia Post Redirect"), + false, false, true, false, "12345678", true, 8 ); + + registerStyle( "aztec", "zint", tr("Aztec Code"), + false, false, true, false, "1234567890", true, 10 ); + + registerStyle( "azrun", "zint", tr("Aztec Rune"), + false, false, true, false, "255", true, 3 ); + + registerStyle( "cbr", "zint", tr("Codabar"), + true, true, true, false, "ABCDABCDAB", true, 10 ); + + registerStyle( "code1", "zint", tr("Code One"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "code11", "zint", tr("Code 11"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "c16k", "zint", tr("Code 16K"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "c25m", "zint", tr("Code 2 of 5 Matrix"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "c25i", "zint", tr("Code 2 of 5 IATA"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "c25dl", "zint", tr("Code 2 of 5 Data Logic"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "code32", "zint", tr("Code 32 (Italian Pharmacode)"), + true, true, true, false, "12345678", true, 8 ); + + registerStyle( "code39", "zint", tr("Code 39"), + true, true, false, false, "0000000000", true, 10 ); + + registerStyle( "code39e", "zint", tr("Code 39 Extended"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "code49", "zint", tr("Code 49"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "code93", "zint", tr("Code 93"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "code128", "zint", tr("Code 128"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "code128b", "zint", tr("Code 128 (Mode C supression)"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "daft", "zint", tr("DAFT Code"), + false, false, false, false, "DAFTDAFTDAFTDAFT", true, 16 ); + + registerStyle( "dmtx", "zint", tr("Data Matrix"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "dpl", "zint", tr("Deutsche Post Leitcode"), + true, true, true, false, "1234567890123", true, 13 ); + + registerStyle( "dpi", "zint", tr("Deutsche Post Identcode"), + true, true, true, false, "12345678901", true, 11 ); + + registerStyle( "kix", "zint", tr("Dutch Post KIX Code"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "ean", "zint", tr("EAN"), + true, true, true, false, "1234567890123", false, 13 ); + + registerStyle( "gmtx", "zint", tr("Grid Matrix"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "gs1-128", "zint", tr("GS1-128"), + true, true, true, false, "[01]12345678901234", false, 18 ); + + registerStyle( "rss14", "zint", tr("GS1 DataBar-14"), + true, true, true, false, "1234567890123", true, 13 ); + + registerStyle( "rssltd", "zint", "GS1 DataBar-14 Limited", + true, true, true, false, "1234567890123", true, 13 ); + + registerStyle( "rssexp", "zint", "GS1 DataBar Extended", + true, true, true, false, "[01]12345678901234", false, 18 ); + + registerStyle( "rsss", "zint", tr("GS1 DataBar-14 Stacked"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "rssso", "zint", tr("GS1 DataBar-14 Stacked Omni."), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "rssse", "zint", tr("GS1 DataBar Extended Stacked"), + false, false, true, false, "[01]12345678901234", false, 18 ); + + registerStyle( "hibc128", "zint", tr("HIBC Code 128"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "hibc39", "zint", tr("HIBC Code 39"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "hibcdm", "zint", tr("HIBC Data Matrix"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "hibcqr", "zint", tr("HIBC QR Code"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "hibcpdf", "zint", tr("HIBC PDF417"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "hibcmpdf", "zint", tr("HIBC Micro PDF417"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "hibcaz", "zint", tr("HIBC Aztec Code"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "i25", "zint", tr("Interleaved 2 of 5"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "isbn", "zint", tr("ISBN"), + true, true, true, false, "123456789", false, 9 ); + + registerStyle( "itf14", "zint", tr("ITF-14"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "japan", "zint", tr("Japanese Postal"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "korea", "zint", tr("Korean Postal"), + true, true, true, false, "123456", false, 6 ); + + registerStyle( "logm", "zint", tr("LOGMARS"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "maxi", "zint", tr("Maxicode"), + false, false, false, false, "0000000000", true, 10 ); + + registerStyle( "mpdf", "zint", tr("Micro PDF417"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "mqr", "zint", tr("Micro QR Code"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "msi", "zint", tr("MSI Plessey"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "nve", "zint", tr("NVE-18"), + true, true, true, false, "12345678901234567", false, 17 ); + + registerStyle( "pdf", "zint", tr("PDF417"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "pdft", "zint", tr("PDF417 Truncated"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "plan", "zint", tr("PLANET"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "postnet", "zint", tr("PostNet"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "pharma", "zint", tr("Pharmacode"), + false, false, true, false, "123456", false, 6 ); + + registerStyle( "pharma2", "zint", tr("Pharmacode 2-track"), + false, false, true, false, "12345678", false, 8 ); + + registerStyle( "pzn", "zint", tr("Pharmazentral Nummer (PZN)"), + true, true, true, false, "123456", false, 6 ); + + registerStyle( "qr", "zint", tr("QR Code"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "rm4", "zint", tr("Royal Mail 4-State"), + false, false, true, false, "0000000000", true, 10 ); + + registerStyle( "tele", "zint", tr("Telepen"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "telex", "zint", tr("Telepen Numeric"), + true, true, true, false, "0000000000", true, 10 ); + + registerStyle( "upc-a", "zint", tr("UPC-A"), + true, true, true, false, "12345678901", false, 11 ); + + registerStyle( "upc-e", "zint", tr("UPC-E"), + true, true, true, false, "1234567", false, 7 ); + + registerStyle( "usps", "zint", tr("USPS One Code"), + false, false, true, false, "12345678901234567890", true, 20 ); + + registerStyle( "pls", "zint", tr("UK Plessey"), + true, true, true, false, "0000000000", true, 10 ); #endif // HAVE_ZINT } diff --git a/glabels/BarcodeBackends/Zint.cpp b/glabels/BarcodeBackends/Zint.cpp index 0a2af00..acdf921 100644 --- a/glabels/BarcodeBackends/Zint.cpp +++ b/glabels/BarcodeBackends/Zint.cpp @@ -28,6 +28,7 @@ namespace { + const double FONT_SCALE = 0.9; const int W_PTS_DEFAULT = 144; const int H_PTS_DEFAULT = 72; } @@ -117,7 +118,8 @@ namespace glabels { for ( zint_render_string *zstring = render->strings; zstring != nullptr; zstring = zstring->next ) { - addText( zstring->x, zstring->y, zstring->fsize, QString((char*)(zstring->text)).toStdString() ); + double fsize = FONT_SCALE*zstring->fsize; + addText( zstring->x, zstring->y+0.75*fsize, fsize, QString((char*)(zstring->text)).toStdString() ); } } @@ -141,6 +143,1062 @@ namespace glabels } + ////////////////////////////////////////////////////// + // AusRP Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* AusRP::create() + { + return new AusRP(); + } + + + std::string AusRP::encode( const std::string& cookedData ) + { + symbology = BARCODE_AUSREPLY; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // AusRT Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* AusRT::create() + { + return new AusRT(); + } + + + std::string AusRT::encode( const std::string& cookedData ) + { + symbology = BARCODE_AUSROUTE; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // AusRD Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* AusRD::create() + { + return new AusRD(); + } + + + std::string AusRD::encode( const std::string& cookedData ) + { + symbology = BARCODE_AUSREDIRECT; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Aztec Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Aztec::create() + { + return new Aztec(); + } + + + std::string Aztec::encode( const std::string& cookedData ) + { + symbology = BARCODE_AZTEC; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Azrun Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Azrun::create() + { + return new Azrun(); + } + + + std::string Azrun::encode( const std::string& cookedData ) + { + symbology = BARCODE_AZRUNE; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Cbr Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Cbr::create() + { + return new Cbr(); + } + + + std::string Cbr::encode( const std::string& cookedData ) + { + symbology = BARCODE_CODABAR; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Code1 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Code1::create() + { + return new Code1(); + } + + + std::string Code1::encode( const std::string& cookedData ) + { + symbology = BARCODE_CODEONE; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Code11 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Code11::create() + { + return new Code11(); + } + + + std::string Code11::encode( const std::string& cookedData ) + { + symbology = BARCODE_CODE11; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // C16k Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* C16k::create() + { + return new C16k(); + } + + + std::string C16k::encode( const std::string& cookedData ) + { + symbology = BARCODE_CODE16K; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // C25m Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* C25m::create() + { + return new C25m(); + } + + + std::string C25m::encode( const std::string& cookedData ) + { + symbology = BARCODE_C25MATRIX; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // C25i Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* C25i::create() + { + return new C25i(); + } + + + std::string C25i::encode( const std::string& cookedData ) + { + symbology = BARCODE_C25IATA; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // C25dl Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* C25dl::create() + { + return new C25dl(); + } + + + std::string C25dl::encode( const std::string& cookedData ) + { + symbology = BARCODE_C25LOGIC; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Code32 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Code32::create() + { + return new Code32(); + } + + + std::string Code32::encode( const std::string& cookedData ) + { + symbology = BARCODE_CODE32; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Code39 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Code39::create() + { + return new Code39(); + } + + + std::string Code39::encode( const std::string& cookedData ) + { + symbology = BARCODE_CODE39; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Code39e Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Code39e::create() + { + return new Code39e(); + } + + + std::string Code39e::encode( const std::string& cookedData ) + { + symbology = BARCODE_EXCODE39; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Code49 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Code49::create() + { + return new Code49(); + } + + + std::string Code49::encode( const std::string& cookedData ) + { + symbology = BARCODE_CODE49; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Code93 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Code93::create() + { + return new Code93(); + } + + + std::string Code93::encode( const std::string& cookedData ) + { + symbology = BARCODE_CODE93; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Code128 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Code128::create() + { + return new Code128(); + } + + + std::string Code128::encode( const std::string& cookedData ) + { + symbology = BARCODE_CODE128; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Code128b Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Code128b::create() + { + return new Code128b(); + } + + + std::string Code128b::encode( const std::string& cookedData ) + { + symbology = BARCODE_CODE128B; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Daft Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Daft::create() + { + return new Daft(); + } + + + std::string Daft::encode( const std::string& cookedData ) + { + symbology = BARCODE_DAFT; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Dmtx Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Dmtx::create() + { + return new Dmtx(); + } + + + std::string Dmtx::encode( const std::string& cookedData ) + { + symbology = BARCODE_DATAMATRIX; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Dpl Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Dpl::create() + { + return new Dpl(); + } + + + std::string Dpl::encode( const std::string& cookedData ) + { + symbology = BARCODE_DPLEIT; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Dpi Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Dpi::create() + { + return new Dpi(); + } + + + std::string Dpi::encode( const std::string& cookedData ) + { + symbology = BARCODE_DPIDENT; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Kix Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Kix::create() + { + return new Kix(); + } + + + std::string Kix::encode( const std::string& cookedData ) + { + symbology = BARCODE_KIX; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Ean Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Ean::create() + { + return new Ean(); + } + + + std::string Ean::encode( const std::string& cookedData ) + { + symbology = BARCODE_EANX; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Hibc128 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Hibc128::create() + { + return new Hibc128(); + } + + + std::string Hibc128::encode( const std::string& cookedData ) + { + symbology = BARCODE_HIBC_128; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Hibc39 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Hibc39::create() + { + return new Hibc39(); + } + + + std::string Hibc39::encode( const std::string& cookedData ) + { + symbology = BARCODE_HIBC_39; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Hibcdm Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Hibcdm::create() + { + return new Hibcdm(); + } + + + std::string Hibcdm::encode( const std::string& cookedData ) + { + symbology = BARCODE_HIBC_DM; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Hibcqr Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Hibcqr::create() + { + return new Hibcqr(); + } + + + std::string Hibcqr::encode( const std::string& cookedData ) + { + symbology = BARCODE_HIBC_QR; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Hibcpdf Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Hibcpdf::create() + { + return new Hibcpdf(); + } + + + std::string Hibcpdf::encode( const std::string& cookedData ) + { + symbology = BARCODE_HIBC_PDF; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Hibcmpdf Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Hibcmpdf::create() + { + return new Hibcmpdf(); + } + + + std::string Hibcmpdf::encode( const std::string& cookedData ) + { + symbology = BARCODE_HIBC_MICPDF; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Hibcaz Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Hibcaz::create() + { + return new Hibcaz(); + } + + + std::string Hibcaz::encode( const std::string& cookedData ) + { + symbology = BARCODE_HIBC_AZTEC; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // I25 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* I25::create() + { + return new I25(); + } + + + std::string I25::encode( const std::string& cookedData ) + { + symbology = BARCODE_C25INTER; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Isbn Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Isbn::create() + { + return new Isbn(); + } + + + std::string Isbn::encode( const std::string& cookedData ) + { + symbology = BARCODE_ISBNX; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Itf14 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Itf14::create() + { + return new Itf14(); + } + + + std::string Itf14::encode( const std::string& cookedData ) + { + symbology = BARCODE_ITF14; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Gmtx Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Gmtx::create() + { + return new Gmtx(); + } + + + std::string Gmtx::encode( const std::string& cookedData ) + { + symbology = BARCODE_GRIDMATRIX; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Gs1128 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Gs1128::create() + { + return new Gs1128(); + } + + + std::string Gs1128::encode( const std::string& cookedData ) + { + symbology = BARCODE_EAN128; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Logm Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Logm::create() + { + return new Logm(); + } + + + std::string Logm::encode( const std::string& cookedData ) + { + symbology = BARCODE_LOGMARS; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Rss14 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Rss14::create() + { + return new Rss14(); + } + + + std::string Rss14::encode( const std::string& cookedData ) + { + symbology = BARCODE_RSS14; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Rssltd Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Rssltd::create() + { + return new Rssltd(); + } + + + std::string Rssltd::encode( const std::string& cookedData ) + { + symbology = BARCODE_RSS_LTD; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Rssexp Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Rssexp::create() + { + return new Rssexp(); + } + + + std::string Rssexp::encode( const std::string& cookedData ) + { + symbology = BARCODE_RSS_EXP; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Rsss Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Rsss::create() + { + return new Rsss(); + } + + + std::string Rsss::encode( const std::string& cookedData ) + { + symbology = BARCODE_RSS14STACK; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Rssso Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Rssso::create() + { + return new Rssso(); + } + + + std::string Rssso::encode( const std::string& cookedData ) + { + symbology = BARCODE_RSS14STACK_OMNI; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Rssse Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Rssse::create() + { + return new Rssse(); + } + + + std::string Rssse::encode( const std::string& cookedData ) + { + symbology = BARCODE_RSS_EXPSTACK; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Pharma Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Pharma::create() + { + return new Pharma(); + } + + + std::string Pharma::encode( const std::string& cookedData ) + { + symbology = BARCODE_PHARMA; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Pharma2 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Pharma2::create() + { + return new Pharma2(); + } + + + std::string Pharma2::encode( const std::string& cookedData ) + { + symbology = BARCODE_PHARMA_TWO; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Pzn Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Pzn::create() + { + return new Pzn(); + } + + + std::string Pzn::encode( const std::string& cookedData ) + { + symbology = BARCODE_PZN; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Tele Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Tele::create() + { + return new Tele(); + } + + + std::string Tele::encode( const std::string& cookedData ) + { + symbology = BARCODE_TELEPEN; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Telex Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Telex::create() + { + return new Telex(); + } + + + std::string Telex::encode( const std::string& cookedData ) + { + symbology = BARCODE_TELEPEN_NUM; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Japan Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Japan::create() + { + return new Japan(); + } + + + std::string Japan::encode( const std::string& cookedData ) + { + symbology = BARCODE_JAPANPOST; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Korea Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Korea::create() + { + return new Korea(); + } + + + std::string Korea::encode( const std::string& cookedData ) + { + symbology = BARCODE_KOREAPOST; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Maxi Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Maxi::create() + { + return new Maxi(); + } + + + std::string Maxi::encode( const std::string& cookedData ) + { + symbology = BARCODE_MAXICODE; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Mpdf Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Mpdf::create() + { + return new Mpdf(); + } + + + std::string Mpdf::encode( const std::string& cookedData ) + { + symbology = BARCODE_MICROPDF417; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Msi Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Msi::create() + { + return new Msi(); + } + + + std::string Msi::encode( const std::string& cookedData ) + { + symbology = BARCODE_MSI_PLESSEY; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Mqr Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Mqr::create() + { + return new Mqr(); + } + + + std::string Mqr::encode( const std::string& cookedData ) + { + symbology = BARCODE_MICROQR; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Nve Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Nve::create() + { + return new Nve(); + } + + + std::string Nve::encode( const std::string& cookedData ) + { + symbology = BARCODE_NVE18; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Plan Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Plan::create() + { + return new Plan(); + } + + + std::string Plan::encode( const std::string& cookedData ) + { + symbology = BARCODE_PLANET; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Postnet Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Postnet::create() + { + return new Postnet(); + } + + + std::string Postnet::encode( const std::string& cookedData ) + { + symbology = BARCODE_POSTNET; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Pdf Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Pdf::create() + { + return new Pdf(); + } + + + std::string Pdf::encode( const std::string& cookedData ) + { + symbology = BARCODE_PDF417; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Pdft Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Pdft::create() + { + return new Pdft(); + } + + + std::string Pdft::encode( const std::string& cookedData ) + { + symbology = BARCODE_PDF417TRUNC; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Qr Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Qr::create() + { + return new Qr(); + } + + + std::string Qr::encode( const std::string& cookedData ) + { + symbology = BARCODE_QRCODE; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Rm4 Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Rm4::create() + { + return new Rm4(); + } + + + std::string Rm4::encode( const std::string& cookedData ) + { + symbology = BARCODE_RM4SCC; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // UpcA Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* UpcA::create() + { + return new UpcA(); + } + + + std::string UpcA::encode( const std::string& cookedData ) + { + symbology = BARCODE_UPCA; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // UpcE Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* UpcE::create() + { + return new UpcE(); + } + + + std::string UpcE::encode( const std::string& cookedData ) + { + symbology = BARCODE_UPCE; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Usps Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Usps::create() + { + return new Usps(); + } + + + std::string Usps::encode( const std::string& cookedData ) + { + symbology = BARCODE_ONECODE; + return ""; // Actual encoding is done in vectorize + } + + + ////////////////////////////////////////////////////// + // Pls Barcode + ////////////////////////////////////////////////////// + glbarcode::Barcode* Pls::create() + { + return new Pls(); + } + + + std::string Pls::encode( const std::string& cookedData ) + { + symbology = BARCODE_PLESSEY; + return ""; // Actual encoding is done in vectorize + } + + } } diff --git a/glabels/BarcodeBackends/Zint.h b/glabels/BarcodeBackends/Zint.h index 913e9ea..9381212 100644 --- a/glabels/BarcodeBackends/Zint.h +++ b/glabels/BarcodeBackends/Zint.h @@ -65,6 +65,864 @@ namespace glabels }; + /** + * AusRP Barcode + */ + class AusRP : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * AusRT Barcode + */ + class AusRT : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * AusRD Barcode + */ + class AusRD : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Aztec Barcode + */ + class Aztec : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Azrun Barcode + */ + class Azrun : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Cbr Barcode + */ + class Cbr : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Code1 Barcode + */ + class Code1 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Code11 Barcode + */ + class Code11 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * C16k Barcode + */ + class C16k : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * C25m Barcode + */ + class C25m : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * C25i Barcode + */ + class C25i : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * C25dl Barcode + */ + class C25dl : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Code32 Barcode + */ + class Code32 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Code39 Barcode + */ + class Code39 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Code39e Barcode + */ + class Code39e : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Code49 Barcode + */ + class Code49 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Code93 Barcode + */ + class Code93 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Code128 Barcode + */ + class Code128 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Code128b Barcode + */ + class Code128b : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Daft Barcode + */ + class Daft : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Dmtx Barcode + */ + class Dmtx : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Dpl Barcode + */ + class Dpl : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Dpi Barcode + */ + class Dpi : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Kix Barcode + */ + class Kix : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Ean Barcode + */ + class Ean : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Hibc128 Barcode + */ + class Hibc128 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Hibc39 Barcode + */ + class Hibc39 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Hibcdm Barcode + */ + class Hibcdm : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Hibcqr Barcode + */ + class Hibcqr : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Hibcpdf Barcode + */ + class Hibcpdf : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Hibcmpdf Barcode + */ + class Hibcmpdf : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Hibcaz Barcode + */ + class Hibcaz : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * I25 Barcode + */ + class I25 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Isbn Barcode + */ + class Isbn : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Itf14 Barcode + */ + class Itf14 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Gmtx Barcode + */ + class Gmtx : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Gs1128 Barcode + */ + class Gs1128 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Logm Barcode + */ + class Logm : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Rss14 Barcode + */ + class Rss14 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Rssltd Barcode + */ + class Rssltd : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Rssexp Barcode + */ + class Rssexp : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Rsss Barcode + */ + class Rsss : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Rssso Barcode + */ + class Rssso : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Rssse Barcode + */ + class Rssse : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Pharma Barcode + */ + class Pharma : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Pharma2 Barcode + */ + class Pharma2 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Pzn Barcode + */ + class Pzn : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Tele Barcode + */ + class Tele : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Telex Barcode + */ + class Telex : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Japan Barcode + */ + class Japan : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Korea Barcode + */ + class Korea : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Maxi Barcode + */ + class Maxi : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Mpdf Barcode + */ + class Mpdf : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Msi Barcode + */ + class Msi : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Mqr Barcode + */ + class Mqr : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Nve Barcode + */ + class Nve : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Plan Barcode + */ + class Plan : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Postnet Barcode + */ + class Postnet : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Pdf Barcode + */ + class Pdf : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Pdft Barcode + */ + class Pdft : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Qr Barcode + */ + class Qr : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Rm4 Barcode + */ + class Rm4 : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * UpcA Barcode + */ + class UpcA : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * UpcE Barcode + */ + class UpcE : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Usps Barcode + */ + class Usps : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + + /** + * Pls Barcode + */ + class Pls : public Base + { + public: + static Barcode* create(); + + protected: + std::string encode( const std::string& cookedData ) override; + }; + + } } diff --git a/translations/glabels_C.ts b/translations/glabels_C.ts index 6528167..3f7f4bd 100644 --- a/translations/glabels_C.ts +++ b/translations/glabels_C.ts @@ -825,6 +825,7 @@ + UPC-E @@ -840,6 +841,7 @@ + ISBN @@ -850,6 +852,7 @@ + Code 128 @@ -865,11 +868,13 @@ + Interleaved 2 of 5 + Codabar @@ -885,6 +890,7 @@ + Code 93 @@ -894,24 +900,302 @@ - + Austraila Post Standard + + + Australia Post Reply Paid + + + + + Australia Post Route Code + + + + + Australia Post Redirect + + + + + Aztec Code + + + + + Aztec Rune + + + + + Code One + + + + + Code 11 + + + + + Code 16K + + + + + Code 2 of 5 Matrix + + + + + Code 2 of 5 IATA + + + + + Code 2 of 5 Data Logic + + + + + Code 32 (Italian Pharmacode) + + + + + Code 49 + + + + + Code 128 (Mode C supression) + + + + + DAFT Code + + + + + Data Matrix + + + + + Deutsche Post Leitcode + + + + + Deutsche Post Identcode + + + + + Dutch Post KIX Code + + + + + EAN + + + + + Grid Matrix + + + + + GS1-128 + + + + + GS1 DataBar-14 + + + + + GS1 DataBar-14 Stacked + + + + + GS1 DataBar-14 Stacked Omni. + + + + + GS1 DataBar Extended Stacked + + + + + HIBC Code 128 + + + + + HIBC Code 39 + + + + + HIBC Data Matrix + + + + + HIBC QR Code + + + + + HIBC PDF417 + + + + + HIBC Micro PDF417 + + + + + HIBC Aztec Code + + + + + ITF-14 + + + + + Japanese Postal + + + + + Korean Postal + + + + + LOGMARS + + + + + Maxicode + + + + + Micro PDF417 + + + + + Micro QR Code + + + + + MSI Plessey + + + + + NVE-18 + + + + + PDF417 + + + + + PDF417 Truncated + + + + + PLANET + + + + + PostNet + + + + + Pharmacode + + + + + Pharmacode 2-track + + + + + Pharmazentral Nummer (PZN) + + + + + QR Code + + + + + Royal Mail 4-State + + + + + Telepen + + + + + Telepen Numeric + + + + + USPS One Code + + + + + UK Plessey + + + Code 39 + Code 39 Extended + UPC-A