[GSoC] QuarkXPress import, project results

2017-08-29 Thread Alex P
libqxp currently can import documents and templates created by QuarkXPress 3.1-4.1 for Windows and Mac. Import of text and shapes is almost complete, but it lacks pictures because reverse engineering of other parts of the format took more time than expected and picture format seems to be quite

[GSoC] QuarkXPress import, Week 12

2017-08-28 Thread Alex P
During the final GSoC week I implement parsing and output of paragraph rules (using fo:border-top/bottom, which seem to be not supported in LO Draw) and handling of document charsets (only for English because we don't have sample docs in other languages and don't know their identifiers and

[GSoC] QuarkXPress import, Week 11

2017-08-21 Thread Alex P
During this week I was less active because I am away from home, but still I tried to do as much as I could: added test documents to libqxp-test covering all currently supported features in 3.3-4.0 Win/Mac and implemented parsing and output of paragraph/document leading (as line height). Also when

[GSoC] QuarkXPress import, Week 10

2017-08-11 Thread Alex P
During this week I finished parsing of QXP 4.0 objects and implemented output for new objects that were missing in 3.3: text paths, Bezier curves, Bezier boxes. Also I implemented parsing and output of arrows, dashes (except stripes and bitmap frames), tabs, runaround (as far as it's supported in

[GSoC] QuarkXPress import, Week 9

2017-08-03 Thread Alex P
During this week I finished parsing of QXP 3.3 objects, implemented output of lines, ovals, groups, textboxes (including linked texts), polygons, and started implementation of 4.0 objects parsing. Boxes are currently missing non-rectangular corners and text output in oval/polygon boxes may not be

[GSoC] QuarkXPress import, Week 8

2017-07-27 Thread Alex P
During this work I implemented parsing of text and 3.3 lines, boxes, groups, and finally started to produce output, currently only empty boxes (color, gradient, frame, rotation). Result example: http://i.imgur.com/jOkiJau.png ___ LibreOffice mailing

[GSoC] QuarkXPress import, Week 7

2017-07-19 Thread Alex P
During this week I worked on libqxp and implemented parsing of most of the important records (character/paragraph format, tab stops, ...) and started to parse pages, implemented deobfuscation for both formats (3.3, 4.0). Also during the work some small issues with current format "specification"

[GSoC] QuarkXPress import, Week 6

2017-07-12 Thread Alex P
During this week I implemented parsing of the main file structure (blocks, chains, records) and parsing of fonts, colors in libqxp. Also we did some reverse engineering of documents produced by QuarkXPress 3.3-4.0 for Mac (before that we only used Windows versions). They are mostly the same, the

[GSoC] QuarkXPress import, Week 5

2017-07-06 Thread Alex P
During this week we finished reverse engineering of QXP4 colors and partially parsed bezier data. Current knowledge of QuarkXPress 3.3-4 formats seems to be complete enough, so we started import library (libqxp) implementation. Right now it can parse headers of these format and detect version.

[GSoC] QuarkXPress import, Week 4

2017-06-28 Thread Alex P
Reverse engineering progress: - Finally finished deobfuscation of QXP 4 objects and pages. - Refactored object parsing and improved size identification in QXP 4. - Dashes and stripes. - Text path properties. - Identified OLE picture boxes. Looks like reverse engineering of QuarkXPress 3-4 formats

[GSoC] QuarkXPress import, Week 3

2017-06-21 Thread Alex P
During this week we continued reverse engineering of QuarkXPress 3-4 format and had some substantial progress: - Completed object type identification (shape type, content type). - Refactored object parsing and improved size identification (QXP does not store sizes/offsets for object records),

[GSoC] QuarkXPress import, Week 2

2017-06-14 Thread Alex P
During this week we had some progress with reverse engineering: - Finished parsing of page settings and master pages. - Improved parsing of all dimensions/lengths (figured out the value format more accurately). - Colors, gradients in QXP 3. - Initial parsing of QXP 3 objects. - Objects properties

[GSoC] QuarkXPress import, Week 1

2017-06-07 Thread Alex P
During the first week I was busy finishing my bachelor work, so I did not have much time and only contributed some reverse engineering of page parameters (size, margins, columns). Starting with this week I will be able to work more actively. At the current stage of the project we are trying to

GSoC 2017 introduction: QuarkXPress import filter implementation

2017-05-13 Thread Alex P
Hello, I am a Computer science/Informatics student from Lithuania, currently finishing my bachelor degree. I have been selected to work on a GSoC project: reverse engineering and import filter implementation for QuarkXPress. It is a desktop publishing application that was very popular in the 90s

[Libreoffice-commits] core.git: sc/source

2017-03-03 Thread Alex P
Author: Alex P <alex.pan...@gmail.com> Date: Wed Mar 1 20:20:44 2017 +0200 tdf#42982 improve error reporting in sc unoobj Change-Id: I35a4142f4f1bdaa4ebb5c5c0f1d4e7201301ee8d Reviewed-on: https://gerrit.libreoffice.org/34762 Tested-by: Jenkins <c...@libreo

[GSoC] Zoner Draw import, project results

2016-08-17 Thread Alex P
libzmf currently supports importing of Zoner Draw 4-5 documents and BMI images (bitmap format used in Zoner Draw). Supported features: - layers, pages - curves (lines, bezier curves, curve combinations) - rectangles - ellipses - arcs - polygons, stars - barcodes - object groups and combinations -

[GSoC] Zoner Draw import, Week 12 report

2016-08-17 Thread Alex P
During the last GSoC week we improved rotation and mirroring of polygons/stars and images, now it should work correctly. Arc mirroring is still not working because it is much more difficult to implement. http://i.imgur.com/RWM3VMk.png http://i.imgur.com/YUONVUK.png Also I added some input checks

[GSoC] Zoner Draw import, Week 11 report

2016-08-10 Thread Alex P
I improved image fill tiling in libzmf, now it works correctly. http://i.imgur.com/fvhGGdz.png Also we probably figured out how to fix incorrect orientation and rotation of some shapes drawn via Zoner Draw "from corner" or "from center" modes, but not implemented it. I used American Fuzzy Lop

[GSoC] Zoner Draw import, Week 10 report

2016-08-02 Thread Alex P
During this week I implemented parsing and output of images with lower color depth (1, 4, 8 bit) and transparency in libzmf. For transparency we had to switch to PNG (libpng) output instead of BMP because Libre Office does not handle them well and transparency does not work for BMP (v.4-5

[GSoC] Zoner Draw import, Week 9 report

2016-07-27 Thread Alex P
I implemented parsing and output of arrows/markers in libzmf. It works fine for some arrows, but for others it results in wrong arrow position in LO. I tried some workarounds, but did not manage to fix that yet. Raw output seems correct, so maybe it is a bug in LO. Also arrows with not closed

[GSoC] Zoner Draw import, Week 8 report

2016-07-19 Thread Alex P
I implemented parsing of Zoner bitmap format - BMI (only 24 bit so far), and bitmap fill, images from ZMF. Bitmap fill can be tiled, but custom tile size is not supported, because as far as I know it is not available in ODF/librevenge. The same for fit and crop image placements. Also shadow and

[GSoC] Zoner Draw import, Week 7 report

2016-07-13 Thread Alex P
I implemented dashed pen styles and text alignment, rotation (except some cases that are probably not supported by librevenge/LO such as starting text from different corners and custom baseline) in libzmf. http://i.imgur.com/cXiQW91.png http://i.imgur.com/JNbJEX4.png Also I fixed some issues

[GSoC] Zoner Draw import, Week 6 report

2016-07-05 Thread Alex P
I started implementing tables and text in libzmf. Currently it can output simple text (except some features such as alignment and features that are probably not supported by librevenge/ODF like custom baseline curve). Tables currently have only background cell colors and text. I tried to

[GSoC] Zoner Draw import, Week 5 report

2016-06-27 Thread Alex P
During this week I implemented line caps, joins and ellipse rotation in libzmf, also some small fixes such as removing empty first page (used for default guidelines in Zoner Draw) from output. http://i.imgur.com/2kvNHJX.png (pointed line caps are not supported in librevenge/ODF)

[GSoC] Zoner Draw import, Week 4 report

2016-06-20 Thread Alex P
During this week I implemented transparency, shadows, groups and (after curves format was fully reverse engineered with help of my mentor) combinations of shapes in libzmf. http://i.imgur.com/BCMkFUl.png http://i.imgur.com/aCamfTZ.png http://i.imgur.com/ZIbyibD.png Also during the second half of

[GSoC] Zoner Draw import, Week 3 report

2016-06-13 Thread Alex P
During this week I implemented pen color, width and fill with color and gradient in libzmf. Only linear and radial gradients are implemented because other gradients available in Zoner Draw (conical, rectangular, cross-shaped) are not supported by librevenge. http://i.imgur.com/q0y6yvY.png

[GSoC] Zoner Draw import, Week 2 report

2016-06-06 Thread Alex P
During the second week I implemented parsing and output of ellipses and arcs (except rotation) in libzmf. http://i.imgur.com/iVeZ9hj.pnghttp://i.imgur.com/DUazEdi.png Also I continued reverse engineering and submitted some information about colors, pen, fill, transparency, shadow styles, text to

[GSoC] Zoner Draw import, Week 1 report

2016-05-30 Thread Alex P
During the first week I implemented parsing and output of lines, rectangles (except round corners) and Bezier curves. Only geometries, without colors. Result example: http://i.imgur.com/h3tXPy9.png Also submitted 2 patches to OLEToy revealing information about rectangles corner types/rounding

Interested in contributing to LibreOffice GSOC 2016

2016-03-08 Thread Alex P
Hello, I am a third year Informatics/Computer Science student looking forward to contribute to Libre Office during GSoC. I have experience in desktop (Windows, Linux) and web development. C, C++, Java, .NET, PHP, Python, JS, ... I live in Europe, UTC+2. My native language is Russian, but I think

Aleksas Pantechovskis AlexP11223 license statement

2016-03-03 Thread Alex P
All of my past & future contributions to LibreOffice may be licensed under the MPLv2/LGPLv3+ dual license. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice