Go Premium for a chance to win a PS4. Enter to Win


Component in Delphi or DLL Required to Convert *.DOC *.DOCX *.PDF to *.TXT or *.RTF

Posted on 2017-10-12
Medium Priority
Last Modified: 2017-10-13
I am programming in Delphi XE8 and have been looking for some time for software that I can call from my program that can convert from as many formats as possible to text or RTF.

Any suggestions?
Question by:A Nielsen
  • 3
  • 2
LVL 38

Expert Comment

by:Geert Gruwez
ID: 42328120
Not sure if you'll find an all in one tool ...

This is just one.
google has a ton of these links

all depends what need exactly

i'd provide an interface in your app, which works per extension
doc: if word is installed, use automation: open doc, save as .rtf
or use shellexecute to call an exe with parameters

if you make it configurable, you can go a very long way.

Author Comment

by:A Nielsen
ID: 42328140
Thank you Geert for your suggestion - which is new to me. However, I am looking for something that I can put in my program so that I don't need to pay for a new license for each user. I am writing a stand-alone tool for my users.

I searched extensively in Google, but today's Google cannot compare to the Google of 10 years ago. It has become a seriously flawed search engine IMHO.

Also, I don't want to use COM as the users may not have MS Office installed - and it is very slow.
LVL 38

Expert Comment

by:Geert Gruwez
ID: 42328221
either google is seriously flawed or there is just too much choice
experiments have learned that when someone is given more than 25 items to choose from, making a choice takes longer with an exponentiel factor
only select the first 10 from google ?

it is very slow ... well you didn't really state "FAST" in your initial question, or did i miss that ?

what about the online solution ?
or a panel in your app with this text:
"Hey, look, i could do everything for you, but you didn't really pay that much, did you ?"
"So please, drop your document on this site: 'http://convert_from_whatever_to_whatever' and then drag the .rtf file on this panel"
"That way we did half off the work each ... satisfied ? Yes, good !"

I learned not to give a user a Rolls Royce when satisfied with a Trabant

if you're app expects .rtf or can only process .rtf's, then indicate that to your user
providing a simple help explanation on how to do that via certain online site is way easier for you

why invent the wheel, if someone else already did that ?
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Author Comment

by:A Nielsen
ID: 42329157
"why invent the wheel, if someone else already did that ?"


I fully agree with that sentiment. That is why I am looking for a component or DLL.

As for the Trabant, I have never been in one. I was in Munich when "die Mauer" came down and do remember the TV (no internet then) showing a large number of little cars driving West. I was driving a Porsche 944 at that time. Now, just a VW Polo :)
LVL 28

Expert Comment

by:Sinisa Vuk
ID: 42329564
With not so much money you can try Scalabium TMSWordDocument and TSMPDFReader components. These will export all texts...even from other formats.

Author Comment

by:A Nielsen
ID: 42329570
Hi Sinisa,

Thanks for that suggestion.

I bought TMSWordDocument a few months ago. Sadly, it cannot produce text from a document which contains English and Russian. It produces some pseudo-Chinese characters. I was a bit surprised as Cyrilic is native to Ukrainians and this developer is based there. I asked him about it 3 days ago and send him the document. I have received no reply. I will write again in a few days - just in case.

However, if he comes up with an explanation, I will post it here. It works fine for English language attachments. I have not checked it for French etc. - let alone Eastern languages.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Join & Write a Comment

pc, laptop  monitor connection configurations
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question