-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parser for fileformat 3 #39
Conversation
- New parser class for handling the old format. It handles all supported options of the new model. gdk pixdata is also imported. - Format for debug output of the distance class ToDo: Alignment of text seems reversed. This needs to be checked.
For the first try parse all NL tags to a newline. It should be checked if ever NL implies a new block in the qt document.
- make all barcode style names lowercase to be compatible with glabels-4.0.dtd - convert backend="libiec16022" and style="IEC16022" to build in datamatrix code
If the size attributes are not updated, the GUI shows 0 for them.
- New parser class for handling the old format. It handles all supported options of the new model. gdk pixdata is also imported. - Format for debug output of the distance class ToDo: Alignment of text seems reversed. This needs to be checked.
For the first try parse all NL tags to a newline. It should be checked if ever NL implies a new block in the qt document.
- make all barcode style names lowercase to be compatible with glabels-4.0.dtd - convert backend="libiec16022" and style="IEC16022" to build in datamatrix code
… not get converted automatic
…ith int oder unsigned int argument
…as module global constant
The backend will be added to the application. When the conversation from gtk to qt happend it got removed.
- sort constructors after the order in the class - comment unused variable - remove extra and not needed ;
- New parser class for handling the old format. It handles all supported options of the new model. gdk pixdata is also imported. - Format for debug output of the distance class ToDo: Alignment of text seems reversed. This needs to be checked.
If the size attributes are not updated, the GUI shows 0 for them.
- New parser class for handling the old format. It handles all supported options of the new model. gdk pixdata is also imported. - Format for debug output of the distance class ToDo: Alignment of text seems reversed. This needs to be checked.
For the first try parse all NL tags to a newline. It should be checked if ever NL implies a new block in the qt document.
- make all barcode style names lowercase to be compatible with glabels-4.0.dtd - convert backend="libiec16022" and style="IEC16022" to build in datamatrix code
… not get converted automatic
…ith int oder unsigned int argument
…as module global constant
The backend will be added to the application. When the conversation from gtk to qt happend it got removed.
- sort constructors after the order in the class - comment unused variable - remove extra and not needed ;
- check that a node can be converted to a element - replace the version 0_4 to 3 since the dtd is named 3 - sort the includes that it is more readable - rename some variables to reflect the content
Line 546: no such variable as tagName. Consistent numbers of blank lines.
Don't need this. Does not actually override TARGET settings. Nor do I want to move to C++14 at this time -- will need to validate in CI environment when the time comes.
There are two remaining capabilities for this to be feature complete: text box sizes and merge fields within text and barcode objects. The following is a tarball of some test data to help. Note for the crew-orientation-name-tags-7.glabels example, once converted, you will need to point the merge source to the location of the CSV file in your directory (i.e. the locations are encoded as absolute path names -- merge locations were never designed to be relocatable). Text Box SizesAgain, since the text object models are different, I would simply ignore the original sizes if either is set to zero and use the
You may be able to still use the omnibus constructor and follow it with the Merge Fields in Text and Barcode ObjectsMerge fields in these objects are now simply embedded substitution fields. E.g. So for barcodes this is easy, if it has an attribute of For text objects, when you encounter a |
The size of textboxes differ greatly between gtk and qt. So the best option is to ignore the size that is in the file and calculate the size based on the text in it. For merging of text templates there is a special syntax. so every field hast du be surrounded by ${ and }
I have fixed the size issue with the recalculation and field are now enclosed with ${}. |
Cleaned up and manually merged. |
This is the compatibility parser for file version 3 aka the gtk version of glabels.