From The Document Foundation Wiki
< DLP‎ | Libraries(Redirected from Libcdr)
Jump to navigation Jump to search
CorelDRAW import library
The Document Liberation Project
Development statusStable
LicenseMPL 2.0
MaintainersDavid Tardon (
Fridrich Strba (

Libcdr is a library that parses the file format of CorelDRAW documents of all versions.

Getting the sources

libcdr sources are stored in git. To get them, you can use:

git clone git://

or you can browse the code online.

Source tarballs of all released versions can be found here.

Building the code

You will need these tools and libraries to build libcdr:

doxygen # optional for documentation building (can be disabled by passing --without-docs to configure)

Once you have the source code and the dependencies, you can proceed to build. To do that, run the customary sequence of commands in the source code directory:

./ ''# only needed for building from git''
make install


Once you have made a change that you are happy with, contribute it back, we'll be happy to integrate it! There are two ways to get your contribution to us:

  1. Submitting it to gerrit (strongly preferred, easier if you already have done the initial setup). How to work with gerrit is described here.
  2. Sending a patch.
git format-patch origin/master

will create one or more patch files. These you can send to Please prefix the subject with "[PATCH] libcdr: ".