문서의 이전 판입니다!
What is HWP
The file extension HWP, HWPX is word processor file type which is developed by Hancom.
Like DOC or DOCX, the HWP files has its own specification. But, hwp is very like DOC, and hwpx is very similar to DOCX in view of file specification. For example, hwp uses Microsoft compound file like DOC, and hwpx uses zip like DOCX.
So, If you can analysis DOC, you can analysis HWP. Actually, the hwplib uses APACHE-POI who manipulate Microsoft WORD.
In this article, I will show you how to manipulate hwp file by using hwplib.
hwplib
Hwplib is a library that can read and write hwp file. Hwplib was made by 박성균(Park.sung.kyun).
The maven repository is
[[https://mvnrepository.com/artifact/kr.dogfoot/hwplib/|https://mvnrepository.com/artifact/kr.dogfoot/hwplib/]]
You can add dependency is android project by typing this in gradle.kts
// https://mvnrepository.com/artifact/kr.dogfoot/hwplib implementation("kr.dogfoot:hwplib:1.1.8")
You can find many source file in source files.
HWP File
First, you must make “ClickHere(누름틀)” Field in HWP File.
By Ctrl + K + E, You can make “ClickHere” Field. and by Ctrl + N + K, You can modify that Field.
This is a sample hwp file which make “ClickHere” Field.
로그인