All Projects → LibreOffice → barcode

LibreOffice / barcode

Licence: GPL-3.0 license
LibreOffice Barcode Extension

Programming Languages

python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to barcode

loeclipse
LibreOffice Eclipse plugin for extension development
Stars: ✭ 26 (+4%)
Mutual labels:  libreoffice, libreoffice-extension
LOC-Extension
LibreOffice Cryptocurrency extension
Stars: ✭ 33 (+32%)
Mutual labels:  libreoffice, libreoffice-extension
WollMux
Letterhead, template, form, autotext, mail merge,... extension for LibreOffice
Stars: ✭ 45 (+80%)
Mutual labels:  libreoffice, libreoffice-extension
libreoffice-starter-extension
LibreOffice Starter Extension
Stars: ✭ 22 (-12%)
Mutual labels:  libreoffice, libreoffice-extension
Spreadsheet server
A python server harnessing the calculational ability of LibreOffice Calc (thanks to 'pyoo'). It provides 'instant' access to the cell ranges of a set of spreadsheets.
Stars: ✭ 132 (+428%)
Mutual labels:  libreoffice
Docker Desktop
Docker Desktop enables you to create virtual desktops that can be accessed remotely. It comes with Firefox and Libreoffice already installed!
Stars: ✭ 1,098 (+4292%)
Mutual labels:  libreoffice
Tablereport
A python library for making table report.
Stars: ✭ 51 (+104%)
Mutual labels:  libreoffice
Docker Image Jodconverter
Docker image with jodconverter + libreoffice for document conversion through a REST api
Stars: ✭ 20 (-20%)
Mutual labels:  libreoffice
Libreoffice Impress Templates
Freely-licensed LibreOffice Impress templates
Stars: ✭ 238 (+852%)
Mutual labels:  libreoffice
Richdocuments
📔 Collabora Online for Nextcloud
Stars: ✭ 193 (+672%)
Mutual labels:  libreoffice
Phpspreadsheet
A pure PHP library for reading and writing spreadsheet files
Stars: ✭ 10,627 (+42408%)
Mutual labels:  libreoffice
Core
Read-only LibreOffice core repo - no pull request (use gerrit instead https://gerrit.libreoffice.org/) - don't download zip, use https://dev-www.libreoffice.org/bundles/ instead
Stars: ✭ 1,153 (+4512%)
Mutual labels:  libreoffice
Papirus Libreoffice Theme
Papirus theme for LibreOffice
Stars: ✭ 140 (+460%)
Mutual labels:  libreoffice
Ged2dot
GEDCOM to Graphviz converter
Stars: ✭ 57 (+128%)
Mutual labels:  libreoffice
Img2xls
Convert images to colored cells in an Excel spreadsheet.
Stars: ✭ 200 (+700%)
Mutual labels:  libreoffice
Ods2md
Convert LibreOffice Calc Spreadsheets (*.ods) into Markdown tables.
Stars: ✭ 35 (+40%)
Mutual labels:  libreoffice
Pdf
Simple http microservice that converts Word documents to PDF
Stars: ✭ 107 (+328%)
Mutual labels:  libreoffice
Xlsxir
Xlsx parser for the Elixir language.
Stars: ✭ 167 (+568%)
Mutual labels:  libreoffice
Libreoffice Breezedark
Icons, color palette and color scheme for LibreOffice
Stars: ✭ 90 (+260%)
Mutual labels:  libreoffice
Word2pdf Tools
📝通过LibreOffice / WPS / Microsoft Office / 第三方库 实现多种word转pdf格式的方案
Stars: ✭ 82 (+228%)
Mutual labels:  libreoffice

LibreOffice Barcode Extension

Description

Generates the following Barcode types in LibreOffice:

  • EAN-13
  • ISBN-13
  • ISB-13 from ISBN-10
  • UPC-A
  • JAN
  • EAN-8
  • UPC-E
  • Standard 2 of 5 (Code 25)
  • Interleaved 2 of 5 (ITF 25)
  • Code 128

Install

Download the Extension from the Release section. You need the .oxt file.

Then install it in LibreOffice via Tools→Extension Manager.

Usage

The extension works in LibreOffice Writer, Calc, Impress and Draw.

Graphical

When installed, the extension adds the following menu entry: Insert→Object→Barcode

Insert the Barcode by using the dialog:

Barcode dialog

API

You can insert Barcodes by using LibreOffice Basic Macros (or any other language which as UNO bindings).

Use it like this:

Sub InsertBarcode
    Dim oJob as Object
    oJob = createUnoService("org.libreoffice.Barcode")

    Dim args(8) as new com.sun.star.beans.NamedValue
    args(0).Name = "Action"
    args(0).Value = "InsertBarcode"
    args(1).Name = "BarcodeType"
    args(1).Value = "CODE128"
    args(2).Name = "BarcodeValue"
    args(2).Value = "123456789"
    args(3).Name = "BarcodeAddChecksum"
    args(3).Value = True
    args(4).Name = "WidthScale"
    args(4).Value = "100"
    args(5).Name = "HeightScale"
    args(5).Value = "100"
    args(6).Name = "PositionX"
    args(6).Value = "1000"
    args(7).Name = "PositionY"
    args(7).Value = "1000"
    args(8).Name = "TargetComponent"
    args(8).Value = ThisComponent
    oJob.execute(args)
End Sub

Parameters

Only the first three parameters are required. For the others, the default value will be used, when omitted.

Parameter Description Possible values Default value
Action Which action to execute InsertBarcode
BarcodeType Barcode type EAN13, ISBN13, Bookland, UPCA, JAN, EAN8, UPCE, STANDARD2OF5, INTERLEAVED2OF5, CODE128
BarcodeValue The actual content of the barcode. Different barcode types have different restrictions (e.g. numbers only)
BarcodeAddChecksum Whether a checksum should be automatically added. Ignored by some types. True, False True
WidthScale Scale the barcode horizontally. Unit is percent. A value of 200 means the barcode width is doubled. Integer (>0) 100
HeightScale Scale the barcode vertically. Unit is percent. A value of 200 means the barcode height is doubled. Integer (>0) 100
PositionX Where the barcode is placed on the document canvas (X axis). Unit is 1/100th mm. A value of 1000 means 1cm. Integer 5000
PositionY Where the barcode is placed on the document canvas (Y axis). Unit is 1/100th mm. A value of 1000 means 1cm. Integer 5000
TargetComponent Which XComponent will be used to insert the Barcode. In Basic IDE, ThisComponent needs to be provided for the script to work from Basic IDE. XComponent The current component, as returned by XDesktop::getCurrentComponent

Development

  1. Install LibreOffice & the LibreOffice SDK
  2. Install Eclipse IDE for Java Developers & the LOEclipse plugin
  3. Clone this repo to your disk
  4. Import the project in Eclipse (File->Import->Existing Projects into Workspace)
  5. Let Eclipse know the paths to LibreOffice & the SDK (Project->Properties->LibreOffice Properties)
  6. Setup Run Configuration
    • Go to Run->Run Configurations
    • Create a new run configuration of the type "LibreOffice Application"
    • Select the project
    • Run!
    • Hint: Show the error log to view the output of the run configuration (Window->Show View->Error Log)

The extension will be installed in LibreOffice (see Tools->Extension Manager)

Original Credits

This extension was originally created with the EuroOffice Extension Creator (by MultiRacio Ltd.)

  • Code: Daniel Darabos, Kalman Szalai
  • Chinese translation: Jack Shen
  • Danish translation: Leif Lodahl
  • Dutch translation: Nouws Cor
  • French translation: Sophie Gautier
  • German translation: Jens Binfet
  • Japanese translation: Takaya Kubota
  • Russian translation: Basil Shubin
  • Serbian translation: Goran Rakic

For recent credits, see https://github.com/LibreOffice/barcode/graphs/contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].