Skip to content

Commit

Permalink
feat: doc-info 파일 통합
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnlee committed Apr 10, 2024
1 parent d3a4070 commit 417dd10
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 14 deletions.
14 changes: 7 additions & 7 deletions packages/parser/src/doc-info-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ import { inflate } from 'pako'

import { FillType } from './constants/fill-type.js'
import { DocInfoTagID } from './constants/tag-id.js'
import { BinData, BinDataCompress } from './models/bin-data.js'
import { BinData, BinDataCompress } from './models/doc-info/bin-data.js'
import { ByteReader } from './utils/byte-reader.js'
import { CharShape } from './models/char-shape.js'
import { DocInfo } from './models/doc-info.js'
import { FontFace } from './models/font-face.js'
import { ParagraphShape } from './models/paragraph-shape.js'
import { CharShape } from './models/doc-info/char-shape.js'
import { DocInfo } from './models/doc-info/doc-info.js'
import { FontFace } from './models/doc-info/font-face.js'
import { ParagraphShape } from './models/doc-info/paragraph-shape.js'
import { getRGB, getFlag, getBitValue } from './utils/bit-utils.js'
import { BorderFill } from './models/border-fill.js'
import { BorderFill } from './models/doc-info/border-fill.js'
import { HWPRecord } from './models/record.js'
import { Panose } from './models/panose.js'
import { Panose } from './models/doc-info/panose.js'
import { parseRecordTree } from './parse-record.js'
import { HWPHeader } from './models/header.js'

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import { RGB } from '../types/color.js'
import { RGB } from '../../types/color.js'

interface BorerStyle {
type: number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
* limitations under the License.
*/

import { getRGB } from '../utils/bit-utils.js'
import { RGB } from '../types/color.js'
import { getRGB } from '../../utils/bit-utils.js'
import { RGB } from '../../types/color.js'

type SupportedLocaleOptions = [number, number, number, number, number, number, number]

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/parser/src/models/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import { DocInfo } from './doc-info.js'
import { DocInfo } from './doc-info/doc-info.js'
import { HWPHeader } from './header.js'
import { Section } from './section.js'

Expand Down
2 changes: 1 addition & 1 deletion packages/parser/src/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
import { inflate } from 'pako'

import { HWPDocument } from './models/document.js'
import { DocInfo } from './models/doc-info.js'
import { DocInfo } from './models/doc-info/doc-info.js'
import { HWPHeader } from './models/header.js'
import { Section } from './models/section.js'
import { DocInfoParser } from './doc-info-parser.js'
Expand Down
2 changes: 0 additions & 2 deletions website/src/pages/demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ import { HWPViewer } from '@hwp.js/viewer'
import { useCallback, useState, useRef } from 'react'
import { useDropzone } from 'react-dropzone'

import Page from '../components/Page'

function Demo() {
const ref = useRef<HTMLDivElement | null>(null)

Expand Down

0 comments on commit 417dd10

Please sign in to comment.