Swiftpack.co - Package - Team-Platypus/HwpKit

HwpKit

본 제품은 한글과컴퓨터의 한글 문서 파일(.hwp) 공개 문서를 참고하여 개발하였습니다.

Test Coverage Documentation Lint

Discord

Swift Package for Reading & Writing HWP File

Install

Swift Package Manager

Go to File > Swift Packages > Add Package Dependency... in Xcode.

Or add dependency manually.

dependencies: [
    .package(url: "https://github.com/sboh1214/HwpKit.git", .branch("main")),
],

Contribute

Visit CONTRIBUTING.md

License

GitHub

Github

link
Stars: 4

Used By

Total: 0

Releases

0.4.0 - 2020-10-12 16:13:19

Breaking changes

  • minimum swift version 5.1 --> 5.3
  • Package now includes hwpkit(command line executable) HwpKitFramework(previously HwpKit)
  • Structure of HwpFile.docInfo has changed.

API changes

  • Modified
struct HwpFile
    docInfo: HwpDocInfo
        documentProperties: HwpDocumentProperties
        idMappings: HwpIdMappings
        compatibleDocument: HwpCompatibleDocument?
  • Added (sectionArray)
struct HwpFile
    sectionArray: [HwpSection]
  • Added (experimental)
HwpFile.init()

Closed Issues & Merged PRs

  • hwpkit and HwpKitFramework, add pre-commit (#17) @sboh1214
  • Edit draft (remove internal changes) (#16) @sboh1214
  • sboh1214 create new file (#15) @sboh1214
  • Update README.md (remove Codecov add Code climate) (#14) @sboh1214
  • Update Coverage.yml switch codecov to code climate (#13) @sboh1214
  • remove codefactor and add code climate (#12) @sboh1214
  • Change to record tree (#11) @sboh1214
  • Add discord (#10) @sboh1214

0.3.1 - 2020-10-06 15:34:48

Breaking changes

  • Change default branch to main

API changes

  • None

Closed Issues & Merged PRs

  • Change default branch to main (#9) @sboh1214

0.3.0 - 2020-10-06 05:59:11

Breaking changes

  • None

API changes

  • Parse SectionArray (#8) @sboh1214 Add some struct under the HwpSection Array
class HwpFile
    sectionArray: [HwpSection]
        paragraph: [HwpParagraph]
            paraHeader: HwpParaHeader
            paraText: HwpParaText?
            paraCharShape: HwpParaCharShape?
            paraLineSegArray: [HwpParaLineSeg]?
            paraRangeTagArray: [HwpParaRangeTag]?
            ctrlHeaderArray: [HwpCtrlHeader]?
            listHeaderArray: [HwpListHeader]?

Closed Issues & Merged PRs

  • Parse SectionArray (#8) @sboh1214

0.2.0 - 2020-10-01 11:44:23

Breaking changes

  • dropping ubuntu support d39094aa968220c8a1c8cb0facd5cb6cb4b13d7a

API changes

  • add
HwpFile.HwpDocInfo.{HwpDocumentProperties, [HwpBinData], [HwpFaceName], [HwpBorderFill], [HwpCharShape], [HwpParaShape]}

Closed Issues & Merged PRs

  • #5 Add feature parsing docinfo

0.1.1 - 2020-09-30 05:22:13

Breaking changes

  • None

Closed Issues & Merged PRs

  • Cannot use HwpKit with version because OLEKit depends on revision.
  • Fix Versioning (#4)

0.1.0 - 2020-09-28 01:28:41