Urgent!!! How to export information of nodes of curves in CDR file, such as their x, y coordinates and attributes ( either smooth or cusp or Symmetrical)

We have a huge database storing 3D models formed by curves and straight lines, which are generated in CorelDraw using Bezier and Line tools.

Now we are writing C++ algorithms to process these models by loading these CDR files, which means we have to parse the CDR format to
get the x, y coordinates and the tags ( either smooth cusp, or Symmetrical .. ) of the nodes forming the curves or lines
so that we can reconstruct the curves and lines using math formula in our algorithm.

Please tell us how?

Thanks a lot