Barcodes in PDFs generated by BIRT - eclipse

I'm trying to simply include a barcode in a report generated by BIRT.
Here's what I have:
BIRT Runtime 4.4.2
Eclipse BIRT Project 4.6
Eclipse Neon.3 Release 4.6.3
First I tried to simply set the font on a standard text item. This works fine in the designer, but when the pdf is generated, the text item just shows the text in the standard font, not the barcode font that I set in the designer.
I have also tried plugins from these guys:
OnBarcode.com - I was using Eclipse 2019-11 but the Barcode item didn't appear at all in the pallete when editing a report. I had to go back to Neon to get the item to show. I was then able to ad a barcode item into the report and save the report. Then when my server code tried to generate a barcode, BIRT just crashed.
BusinessRefinery.com - Even in Eclipse Neon the Barcode item didn't show in the palette. I couldn't do anything with this.
I know where the plugins folder is in my Eclipse, so I guess it's just a versioning issue somewhere with teh plugins. Also I can see that the plugins are stored in a completely different place in Eclipse 2019-11 so it's no surprise that the two plugins I mention above don't work because I would guess that the plugin architecture has changed.
I would love to hear from anybody who has achieved either of these two:
Got a non-standard font to appear in a pdf generated by BIRT.
Got a barcode plugin that works with the versions of BIRT and Eclipse that I mentioned above.
Thanks in advance.

We are using the Java libraries from ID automation and generate images on the fly by using the Java libraries with Javascript from inside BIRT.
This is not as elegant as a plugin, but it works fine.
For QR-Codes, we are using Google's ZXing library in a similar way.

I've been using this PLUGIN (source code): https://code.google.com/archive/p/birt-barcode-extension/
It's not very sophisticated, but you can insert / EDIT the barcodes on the template with a "default" preview.
It relies on ZXing (you must get it from GITHUB)

Related

Eclipse Generic Text Editor Sort OUtline

I thought this would be very simple to achieve but I cannot sort the outline in alphabetical order in the generic text editor that is now the default editor for javascript files in Eclipse 2020-12. In fact I have no sorting options whatsoever in the outline.
This is all I have in any perspective using the generic text editor.
This really affects my productivity having to sroll through many functions in a javascript file to find the correct one. I have hundreds of javascript files with hundreds of functions each.
I am using Wild Web Developer tools as this is the way Eclipse is heading (and because each update automaticaly installs it). Also I have node.js installed even though I don't require node.js for anything other than the generic text editor.
I'd prefer to not have the overhead of uninstalling Wild Web Devleoper and installing JDT each time Eclipse updates. Ideally, I should be able to simply update when prompted and all works as previously.
This is the Eclipse version I am using
Version: 2020-12 (4.18.0)
Build id: 20201210-1552
Does anybody have any idea how I can simply sort my functions and variables alphabetically in the generic text editor please? (I can sort the outline in java files

Naming audio plug-ins using JUCE framework

I've been working on developing some audio plugins recently using the JUCE framework. I'm having an issue regarding naming the plugin. I've created separate projects for entirely different plugins. However when I load the plugin by starting Logic Pro X, I seem to only get the most recent plugin that I built, however, the plugin is always title as the very first plugin that I made. That is to say, It seems that when I make a new plugin, it takes on the name of my previous plugin and replaces it.
I've tried renaming the Plugin Code, but the AU validation tool recognizes the plugin as having the Plugin Code of the previous plugin.
Has anyone come across this problem or have any suggesting as to what might be causing it?
Additionally, I was using the WDL framework before using JUCE and had the same problem. This of course makes me think that the problem is not specific to JUCE or WDL.
Any input is appreciated, Thanks!
Open the Introjucer with one of your projects and select the "Config" tab in the left panel. Then select your project at the top of the tree view.
In the right panel, you should see 2 fields called "Plugin Manufacturer Code" and "Plugin Code".
Your other project should have the same Plugin Manufacturer code, but a different Plugin Code to uniquely identify each plugin.

How to create Eclipse GWT Designer Project, something is off?

After downloading the latest Eclipse (Luna 4.4.1), I installed the GWT / GWT designer plugin.
I concluded I that I am missing WindowsBuilderPro, and so I installed it via Eclipse Help->Install New Software.
Now I want to create a new GTW Designer project, and get the following choices, which I think are wrong:
Tutorials, perhaps older, show the following project choice:
Is my installation messed up? I reversed the installation order, and nothing changed.
Is GWT Designer out of date, should I no longer be using it?
I'm a bit more confused based on your answer (Phil). I found this presentation:
The Future of GWT, 2013 Report
and it shows:
Does GWT Designer still exist (2014) as something separate from UI Binder (I don't really want to do any HTML)?
If not, do I need the WindowBuilder plugin for UIBinder?
You don't directly create a GWT Designer project. Create a "Web application project" as displayed in your first screenshot. Then create a new "UiBinder":
It will create two files: one java file and one .ui.xml file.
When you will open the .ui.xml file, you will have two tabs at the bottom of the window: one for the code, and one for the graphic designer:

blackberry 10 Unresolved inclusion <QObject>

I'm using the new version of Blackberry (Blackberry 10) . I'm trying to integrate c++ code with QML , but I faced some problems that I thinks connected to other . in the .h file Q_OBJECT , Q_PROPERTY signals and slots shows that there is syntax error . and in the QML file in which I try to use this type (i.e import CustomTimer 1.0 for example) I got this problem module "CustomTimer" is not installed . how to solve this issue???
I'm using QNX Momentics Version 10.1.0
I resolved my errors by right-clicking on my project folder, then selecting Configure -> Add Library..., and then choose Standard BlackBerry Platform Library. Choose the relevant library to include and click Finish.
For QObject, I found it under Platform > Qt Core
I corrected the issue in following manner:
Right Click on your project in Project Explorer.
Goto Index.
click Rebuild.
For the syntax errors that you are reporting in QNX Momentics for the Q_OBJECT macros and other Qt macros, these errors went away for me after updating to the latest Momentics and SDK release. However, there are still some others who seem to have this issue, and some workarounds have been posted in the Blackberry Developer support forums:
http://supportforums.blackberry.com/t5/Cascades-Development/Beta-4-Momentics-IDE-autocompletion-does-not-work-for-Qt-classes/td-p/2014793
For the error in your QML file, I think you encountering a known limitation with the QML preview for custom components from C++ registered and imported into QML. The QML preview only understands how to display the core Cascades components. This should not affect how your code runs in the simulator or on an actual device.
See:
https://developer.blackberry.com/cascades/download/releasenotes/
under "Known Limitations":
QML preview with C++ objects The QML preview can load and render
components based on the Cascades plug-in only (in bb.cascades 1.0).
Objects that are registered in C++ in your project are not understood
by the QML preview and cannot be loaded and rendered.
In some cases, as a workaround in order to see the preview for the rest of your QML document, you can just comment out the import MyLibrary 1.0 when using the QML preview. However in some cases this could mean commenting out half of your document. For more than very basic QML layouts, and usually after the initial design stage, I have found it more efficient just to build and launch my app to view the actual working QML UI.
This worked for me:
I right-clicked my project, and selected in the drop-down menu:
Index > Re-resolve Unresolved Includes
Index > Rebuild
(Using Momentics 2.1.1)

Eclipse can't handle CSS3 Animations

I was wondering if anybody could tell me why eclipse seems determined to not format the code for css3 animations correctly, more specifically it inserts newlines into the keyframe rules. ANy tips on how to fix this?
Accordingly to this comment
Also, CSS3 is not the default CSS-level. So when the time comes you'll
need to modify the Web Content Settings at either the project level or
file level by right clicking on the project or file and selecting
Properties. Select Web Content Settings and change CSS Profile to
"Cascading Style Sheets, level 3".
Verify if your version of the WTP is, at least, 3.2.3.
Try it. If you still go into formatting problems I suggest you to add an issue at Eclipse Bug track.
You can also try installing Aptana Studio 3 Eclipse plugin version.