Bug 89993 - add support for Publisher 2.0 files
Summary: add support for Publisher 2.0 files
Status: NEW
Alias: None
Product: Document Liberation Project
Classification: Unclassified
Component: libmspub (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-13 15:23 UTC by David Tardon
Modified: 2018-07-14 11:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (16.50 KB, application/x-mspublisher)
2015-03-13 15:23 UTC, David Tardon
Details
screenshot (45.29 KB, image/png)
2015-03-13 15:23 UTC, David Tardon
Details
description of the content (899 bytes, text/plain)
2015-03-13 15:24 UTC, David Tardon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Tardon 2015-03-13 15:23:19 UTC
Created attachment 114080 [details]
sample file
Comment 1 David Tardon 2015-03-13 15:23:46 UTC
Created attachment 114081 [details]
screenshot
Comment 2 David Tardon 2015-03-13 15:24:05 UTC
Created attachment 114082 [details]
description of the content
Comment 3 Valek Filippov 2015-03-16 04:43:47 UTC
Interesting... MS Pub 2010 cannot open it -- "too old format" =)
Comment 4 osnola 2018-07-13 09:16:15 UTC
Hello,
I has just "finished" to parse this format, my patches can be found in https://github.com/fosnola/libmspub .

TODO:
- the bullet/list are not retrieved,
- the code to retrieve tables must be improved, ie. actually, it is very very crude :-~
- the adjust values of custom shapes are not used, the transformation/fill properties on these shape probably also do not work.

Some side effects:
- if a file contains a group which contains a group, ... , the code now tries to retrieve its shapes in 97 and 2000 files,
- some OLEs must now be retrieved in 97 and 2000 files,
- if a line contains some arrows in 2002 and plus files, a triangle arrow will be added 
  (instead of adding no arrow),
- the text font mame must now be retrieved in 97 files.
- I also try to simplify the output:
   + avoid sending setStyle(...) setStyle(...) drawShape(...)
   + use some texture when possible to draw some border arts instead of sending N pictures