<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear, Caolán McNamara.</div><div><br></div><div>Thanks for your reply.</div><div><br></div><div>Hmm, I have hwp v3.0 file and hwp v5.0 file. </div><div><br></div><div dir="ltr">I also attached test hwp v5.0 file "hello.hwp" and hwp v3.0 file "hellov3.hwp".<div><br></div><div>also check it please. Then, I'll read the writerfilter/source/filter/WriterFilter.cxx file.</div><div><br></div><div>Sincerely,</div><div>DaeHyun Sung(DaeHyun Sung(성대현, 成大鉉, <span style="font-size:13px;color:rgb(102,102,102);font-family:Roboto,Helvetica,sans-serif">ソン・デヒョン)</span></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2021년 11월 25일 (목) 오전 2:31, Caolán McNamara <<a href="mailto:caolanm@redhat.com">caolanm@redhat.com</a>>님이 작성:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, 2021-11-25 at 01:56 +0900, DaeHyun Sung wrote:<br>
> It is zipped Compound File Binary Format. So, I added read & check<br>
> zipped format<br>
<br>
I downloaded the attachment and I don't think its zipped (unzip -l<br>
fails to show any structure), I think its just a Compound File Binary<br>
Format (like the older msoffice file formats) where "gsf list filename"<br>
does show its structure.<br>
<br>
writerfilter/source/filter/WriterFilter.cxx:260 might be closer to what<br>
you want, there a oox::ole::OleStorage is created from an XInputStream,<br>
like you have in your case, and its ::isStorage should return true if<br>
the file is a CFBF.<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Korean Open Source Developer, Contributor, Translator.<div>LibreOffice, KDE, GNOME Contributor.</div><div>The Document Foundation Member in Korea.</div><div>GNOME Foundation Member in Korea.</div><div>Interested in LibreOffice, KDE, GNOME, Web, etc.</div>LibreOffice – free and open source office suite: <a href="https://www.libreoffice.org" target="_blank">https://www.libreoffice.org</a><br>Respects your privacy, and gives you back control over your data</div></div></div></div></div></div>