<div dir="ltr">Hi folks,<div><br></div><div>  I need your advice or comment!</div><div><br></div><div>  Implement ITextDocument_fnOpen[0] (riched20) is a part of work to my GSoC. The 'pencils down' date is </div><div>


coming. And I think it is time to clear the code up.<div><br></div><div>  This series of patches is the implementation of ITextDocument_fnOpen. I would like to improve it to be</div><div>enough good for sending to wine-patches and being accepted.</div>


<div><br></div><div>I split the implementation into six patches:</div><div>  - patch 0001 is just a simple implementation;</div><div>  - patch 0002 added the creation mode to let it support these parameters: tomCreateNew, tomCreateAlways,</div>


<div>tomOpenExisting, tomOpenAlways, tomTruncateExisting;</div><div>  - patch 0003 added the access mode to let support tomReadOnly and any combination of tomReadOnly and</div><div>tomShareDenyRead, tomShareDenyWrite, tomPasteFile;<br>


</div><div>  - patch 0004 added the support of RTF</div><div>  - patch 0005 added tomPasteFile support</div><div>  - patch 0006 added a UTF-16 support, with this patch you can open a UTF-6 text file without dependence of </div>


<div>the long CodePage parameter.</div><div><br></div><div>If you want to open a utf-8 text file with it, you may need these patch to fix a bug of EM_SETTEXTEX: </div><div><a href="http://source.winehq.org/patches/data/98574" target="_blank">http://source.winehq.org/patches/data/98574</a><br>

</div><div><a href="http://source.winehq.org/patches/data/98575" target="_blank">http://source.winehq.org/patches/data/98575</a><br></div><div><a href="http://source.winehq.org/patches/data/98576" target="_blank">http://source.winehq.org/patches/data/98576</a><br>

</div><div><a href="http://source.winehq.org/patches/data/98577" target="_blank">http://source.winehq.org/patches/data/98577</a><br></div><div><br></div><div>  I appreciate for any comment! :)<br></div><div>  Thank you.</div>
<div><br></div><div><br></div>
<div>** Thanks my mentor Huw and Qian Hong for giving me a lot good advice. Thanks other people for help! **</div>
<div><br></div><div><br></div><div><br></div><div>[0] <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/bb774093(v=vs.85).aspx">http://msdn.microsoft.com/en-us/library/windows/desktop/bb774093(v=vs.85).aspx</a></div>
-- <br><div dir="ltr"><div>Regards,<br></div><div>Jactry Zeng</div><div><br></div></div>
</div></div>