cyke64 / keynote-nf

Automatically exported from code.google.com/p/keynote-nf
0 stars 0 forks source link

HTML Export is not working #298

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Exporting to HTML is not working.

Error: "Error while exproting to HTML: Could not load converter for HTML
Document."

Original issue reported on code.google.com by atrab...@gmail.com on 12 Apr 2010 at 1:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This is still the Case in Nov. 2010
When will this problem be solved?

Original comment by sam.f.a...@gmail.com on 4 Nov 2010 at 1:13

GoogleCodeExporter commented 9 years ago
February 2011: still does not working. What we are doing wrong?

Original comment by gound...@gmail.com on 19 Feb 2011 at 1:25

GoogleCodeExporter commented 9 years ago
Aug 2011. Still urgent.

Original comment by alexandr...@gmail.com on 31 Aug 2011 at 2:57

GoogleCodeExporter commented 9 years ago
April 2012. Same issue.

Original comment by OdinoLuo...@gmail.com on 5 Apr 2012 at 2:11

GoogleCodeExporter commented 9 years ago
Same issue. I see this issue is very old, could this be fixed please?

Original comment by omgad...@omgperu.com on 10 Oct 2012 at 7:58

GoogleCodeExporter commented 9 years ago
Another user desperate for this fix!

Original comment by arde...@gmail.com on 24 Oct 2012 at 3:19

GoogleCodeExporter commented 9 years ago

Original comment by dpra...@gmail.com on 28 Nov 2012 at 10:49

GoogleCodeExporter commented 9 years ago
Fixed at revision r167

I have revised and improved all the process of HTML Import and Export

IMPORT
------
1- No conversion (HTML source)
2- Use Shared HTML Text Converter (html32.cnv + msconv97.dll)
3- Use MS Word Converter
4- Use Internet Explorer

2: Uses the converter that was named as 'Convert using Windows native 
converters'
   Code was trying to use the converter registered in HKLM\SOFTWARE\Microsoft\Shared Tools\Text Converters\Export\HTML  and  ..\Import\HTML
   Code didn't work if the value 'Name' wasn't equals to 'HTML Document', that is, in english. Now it only searches for the key 'HTML' and then retrieves the value 'Path'.
Note that this entry doesn't appear in Windows 7 or Windows 8, and that the 
file html32.cnv has been vinculated to virus attacks several times in the past.
Html32.cnv requieres msconv97.dll to work. This file is installed with 
Microsoft Office and is ubicated in the same folder that html32.cnv (as 
indicated in the registry): 
C:\Program Files\Common Files\Microsoft Shared\TextConv

I have copied, in Windows 7 and Windows 8 the file html32.cnv from my XP SP3 
system, and it works ok. The versions I have are:
html32.cnv    : 2003.1100.8165 
msconv97.dll  : 2003.1100.8202

I had to manually add the entries 'HTML' in the registry:

HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Text Converters\
  Import\
     HTML\
      Extensions "htm html htx"
      Name   "HTML Document"
      Path   "c:\Program Files\Common Files\Microsoft Shared\Textconv\Html32.cnv"

    (Idem with Export\HTML.)

3: Is equivalente to what was named as 'Convert using MS Office converters'. 
Has been revised, because each Word instance used to import was never force to 
quit.
4: Has been also revised, because didn't work neither in Windows 7 nor in 
Windows 8. (see 
http://stackoverflow.com/questions/1859102/how-can-i-fix-cannot-open-clipboard-a
ccess-denied-errors)

EXPORT
--------------
1- Use Microsoft HTML Converter (html.iec)
2- Use MS Word Converter

When exporting from command 'Export...' in tree panel, fist option is used. 
From File/Export... we can now select that first option or use MS Word (if 
installed).

html32.cnv is not used to export, because html.iec behaves better, and it is 
always present. I have tried to use html.iec to import HTML but I couldn't. 
html.iec exports the same methods as html32.cnv (InitConverter32, 
IsFormatCorrect32, ForeignToRtf32, RtfToForeign32, etc) but all the HTML files 
I passed to it are considered as corrupt... I have verified that Internet 
Explorer actually uses that file when an application tries to paste as RTF text 
copied by IE to the clipboard.

Really, method 4 of import (Use Internet Explorer) relies in WebBrowser, an 
ActiveX based in SHDOCVW.DLL (see 
http://msdn.microsoft.com/en-us/library/aa752041(v=vs.85).aspx), and finally, 
also use html.iec, passing to it an emmbeding ole compound document (IStorage).

Original comment by dpra...@gmail.com on 31 Dec 2012 at 1:17

GoogleCodeExporter commented 9 years ago
I have just released a new version of KeyNote NF: 1.7.9 Beta 4

Could you verify and confirm if the issues are correctly resolved?
Thanks
Daniel

Original comment by dpra...@gmail.com on 7 Jan 2013 at 7:43

GoogleCodeExporter commented 9 years ago
Just tried the new 1.7.9 beta 4 and it is perfectly working.
Thank you!
Cris

Original comment by omgad...@omgperu.com on 8 Jan 2013 at 11:07