Word import again

A

Andrey Dzizenko

Hi all!

Maybe someone has met with it before.

I wrote a module that imports a document from MS Word. But it works too
slow.
It's caused by calling get_Information(), used for getting paragraph's
coordinates and defining paragraph's page. This calling takes 0.2 sec. If
there're 100 paragraphs - it takes a minute. Not to mention that situation
when one word style and its paragraph's style differs.

I know a way that allows to avoid get_Information. To parse a text and
calculate its coordinates at runtime basing on char height, char width,
line spacing, margins, tabulations, placed images and ole controls and
more and more - it's not so easy and in addition I need to rewrite all
module for this.

Is there any method to optimize my import without rewriting the whole
module?

Best regards,
A. Dzizenko.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top