Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParagraphAdder를 통해 파일복사 시 복사한 파일의 개요문단 수준이 1로 고정되는 현상 #238

Closed
jihazard opened this issue Dec 4, 2023 · 2 comments

Comments

@jihazard
Copy link

jihazard commented Dec 4, 2023

안녕하세요 라이브러리 잘 사용하고 있습니다.
감사합니다.

ParagraphAdder을 이용하여 2개의 문단을 합칠 경우
개요번호 가 정상적으로 합쳐지지 않는 현상이 있어 문의드립니다.

image

image
같은 수준의 개요문단을 가진 2개의 파일을 ParagraphAdder를 통해 합칠 경우 추가한 파일의 개요문단이 1로 변경 되는데
문서상의 "4.하세"를 개요 문단 2수준 "4.1 하세"으로 변경하려면 어떻게 해야할까요?

Parashape를 추가 후 수정하거나 LevelNumbering을 변경 하는 방법을 사용해봤으나 정상적으로 작동하지 않네요.
어떻게 접근해야 할지 조언 부탁 드립니다.

Adding_Paragraph_Between_HWPFile.zip

@neolord0
Copy link
Owner

neolord0 commented Dec 5, 2023

안녕하세요..
ParagraphAdder에서 버그 수정했습니다.
원래는 문단 모양에서 개요 수준을 저장하는 부분이 3비트(0~7)이었으나,
요즘 버전에서 1-10 수준으로 확장하면서 이 정보를 다른 곳에 저장하는 것 같습니다.
소스를 다시 받아서 테스트 해 보세요.

@jihazard
Copy link
Author

jihazard commented Dec 5, 2023

정상적으로 작동 하는 것 확인 하였습니다.
감사합니다.

@jihazard jihazard closed this as completed Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants