Re: [Question] How to check Zipped file format on LibreOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear, Caolán McNamara.

Thanks for your reply.

Hmm, I have hwp v3.0 file and hwp v5.0 file. 

I also attached test hwp v5.0 file "hello.hwp" and hwp v3.0 file "hellov3.hwp".

also check it please. Then, I'll read the writerfilter/source/filter/WriterFilter.cxx file.

Sincerely,
DaeHyun Sung(DaeHyun Sung(성대현, 成大鉉, ソン・デヒョン)

2021년 11월 25일 (목) 오전 2:31, Caolán McNamara <caolanm@xxxxxxxxxx>님이 작성:
On Thu, 2021-11-25 at 01:56 +0900, DaeHyun Sung wrote:
> It is zipped Compound File Binary Format. So, I added read & check
> zipped format

I downloaded the attachment and I don't think its zipped (unzip -l
fails to show any structure), I think its just a Compound File Binary
Format (like the older msoffice file formats) where "gsf list filename"
does show its structure.

writerfilter/source/filter/WriterFilter.cxx:260 might be closer to what
you want, there a oox::ole::OleStorage is created from an XInputStream,
like you have in your case, and its ::isStorage should return true if
the file is a CFBF.



--
Korean Open Source Developer, Contributor, Translator.
LibreOffice, KDE, GNOME Contributor.
The Document Foundation Member in Korea.
GNOME Foundation Member in Korea.
Interested in LibreOffice, KDE, GNOME, Web, etc.
LibreOffice – free and open source office suite: https://www.libreoffice.org
Respects your privacy, and gives you back control over your data

Attachment: hellov3.hwp
Description: application/haansofthwp

Attachment: hello.hwp
Description: application/haansofthwp


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux