Forum


Replies: 7   Views: 3619
Other word file types
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by kinguk  · 29-12-2013 - 14:17






Hi,



I have used the api to turn .docx to .txt files successfully.

What I need is to turn .doc to .txt too.



Is there anyway of doing this using phpdocx?



Thanks,







Posted by kinguk  · 29-12-2013 - 15:13

If I cannot, can I convert the .doc file to .docx?



Thanks,


Posted by jorgelj  · 30-12-2013 - 20:22

Hello,



There's no method to transform DOC to TXT but you can use http://www.wagner.pp.ru/~vitus/software/catdoc/ if you're using Linux. If you prefer to transform DOC to DOCX you need to use a macro and this method:



http://www.phpdocx.com/api-documentation/layout-and-general/imports-macro-Word-document-with-PHP



Regards.


Posted by kinguk  · 31-12-2013 - 11:53

Thanks, is there any example code you could provide? I cannot get this to work.



 


Posted by jorgelj  · 01-01-2014 - 12:49

Hello



What license of PHPDocX are you using?



Regards.


Posted by kinguk  · 02-01-2014 - 12:21

Only using community at the moment


Posted by jorgelj  · 02-01-2014 - 13:44

Hello,



Sorry but the community version lacks of a lot of options that are included in payment versions.



Regards.