Add docs
Browse filesFiles changed (23)
- docs/MakefileAdded+195
- docs/changes.rstAdded+124
- docs/conf.pyAdded+265
- docs/converters.rstAdded+57
- docs/hacking/directory-layout.rstAdded+48
- docs/hacking/directory-layout/bin.rstAdded+19
- docs/hacking/directory-layout/root.rstAdded+19
- docs/hacking/directory-layout/tools.rstAdded+19
- docs/hacking/hack-n-test.rstAdded+29
- docs/hacking/index.rstAdded+13
- docs/hacking/setup-env.rstAdded+37
- docs/hwp5.rstAdded+62
- docs/hwp5proc.rstAdded+252
- docs/index.rstAdded+28
- docs/intro.rstAdded+73
- docs/translated/en/LC_MESSAGES/converters.poAdded+127
- docs/translated/en/LC_MESSAGES/hwp5proc.poAdded+227
- docs/translated/en/LC_MESSAGES/index.poAdded+48
- docs/translated/en/LC_MESSAGES/intro.poAdded+187
- docs/translated/ko/LC_MESSAGES/converters.poAdded+140
- docs/translated/ko/LC_MESSAGES/hwp5proc.poAdded+240
- docs/translated/ko/LC_MESSAGES/index.poAdded+48
- docs/translated/ko/LC_MESSAGES/intro.poAdded+206
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195# Makefile for Sphinx documentation#
# You can set these variables from the command line.SPHINXOPTS =SPHINXBUILD = sphinx-buildPAPER =BUILDDIR = ../build/docs
# User-friendly check for sphinx-buildifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)endif
# Internal variables.PAPEROPT_a4 = -D latex_paper_size=a4PAPEROPT_letter = -D latex_paper_size=letterALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .# the i18n builder cannot share the environment and doctrees with the othersI18NSPHINXOPTS = -d $(BUILDDIR)/doctrees.i18n $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest coverage gettext intl
help: @echo "Please use \`make <target>' where <target> is one of" @echo " html to make standalone HTML files" @echo " dirhtml to make HTML files named index.html in directories" @echo " singlehtml to make a single large HTML file" @echo " pickle to make pickle files" @echo " json to make JSON files" @echo " htmlhelp to make HTML files and a HTML help project" @echo " qthelp to make HTML files and a qthelp project" @echo " applehelp to make an Apple Help Book" @echo " devhelp to make HTML files and a Devhelp project" @echo " epub to make an epub" @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" @echo " latexpdf to make LaTeX files and run them through pdflatex" @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx" @echo " text to make text files" @echo " man to make manual pages" @echo " texinfo to make Texinfo files" @echo " info to make Texinfo files and run them through makeinfo" @echo " gettext to make PO message catalogs" @echo " changes to make an overview of all changed/added/deprecated items" @echo " xml to make Docutils-native XML files" @echo " pseudoxml to make pseudoxml-XML files for display purposes" @echo " linkcheck to check all external links for integrity" @echo " doctest to run all doctests embedded in the documentation (if enabled)" @echo " coverage to run coverage check of the documentation (if enabled)"
clean: rm -rf $(BUILDDIR)/*
html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
dirhtml: $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
singlehtml: $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml @echo @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
pickle: $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle @echo @echo "Build finished; now you can process the pickle files."
json: $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json @echo @echo "Build finished; now you can process the JSON files."
htmlhelp: $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp @echo @echo "Build finished; now you can run HTML Help Workshop with the" \ ".hhp project file in $(BUILDDIR)/htmlhelp."
qthelp: $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp @echo @echo "Build finished; now you can run "qcollectiongenerator" with the" \ ".qhcp project file in $(BUILDDIR)/qthelp, like this:" @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/METE0R-PROJECT.qhcp" @echo "To view the help file:" @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/METE0R-PROJECT.qhc"
applehelp: $(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp @echo @echo "Build finished. The help book is in $(BUILDDIR)/applehelp." @echo "N.B. You won't be able to view it unless you put it in" \ "~/Library/Documentation/Help or install it in your application" \ "bundle."
devhelp: $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp @echo @echo "Build finished." @echo "To view the help file:" @echo "# mkdir -p $$HOME/.local/share/devhelp/METE0R-PROJECT" @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/METE0R-PROJECT" @echo "# devhelp"
epub: $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub @echo @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
latex: $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex @echo @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." @echo "Run \`make' in that directory to run these through (pdf)latex" \ "(use \`make latexpdf' here to do that automatically)."
latexpdf: $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex @echo "Running LaTeX files through pdflatex..." $(MAKE) -C $(BUILDDIR)/latex all-pdf @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
latexpdfja: $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex @echo "Running LaTeX files through platex and dvipdfmx..." $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
text: $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text @echo @echo "Build finished. The text files are in $(BUILDDIR)/text."
man: $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man @echo @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
texinfo: $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo @echo @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo." @echo "Run \`make' in that directory to run these through makeinfo" \ "(use \`make info' here to do that automatically)."
info: $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo @echo "Running Texinfo files through makeinfo..." make -C $(BUILDDIR)/texinfo info @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
gettext: $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) locale/pot @echo @echo "Build finished. The message catalogs are in locale."
intl: sphinx-intl update --pot-dir locale/pot --language=en --language=ko
changes: $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes @echo @echo "The overview file is in $(BUILDDIR)/changes."
linkcheck: $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck @echo @echo "Link check complete; look for any errors in the above output " \ "or in $(BUILDDIR)/linkcheck/output.txt."
doctest: $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest @echo "Testing of doctests in the sources finished, look at the " \ "results in $(BUILDDIR)/doctest/output.txt."
coverage: $(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage @echo "Testing of coverage in the sources finished, look at the " \ "results in $(BUILDDIR)/coverage/python.txt."
xml: $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml @echo @echo "Build finished. The XML files are in $(BUILDDIR)/xml."
pseudoxml: $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml @echo @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124CHANGES=======
0.1b16 (unreleased)-------------------
- [CVE-2023-0286] Depends on cryptography >= 40.0.1- [CVE-2022-2309] Depends on lxml >= 4.9,2
0.1b15 (2020-05-30)-------------------
- Unknown Numbering.Kind value of 6, which is not described in the official specification docs, has been added. See #177.
0.1b14 (2020-05-17)-------------------
- Fix xmldump_flat for Python 3.8
0.1b13 (2020-05-17)-------------------
- Replace docopt with argparse.- Workaround for BinData decompression (#175, #176)
0.1b12 (2019-04-08)-------------------
- Add Python 3.x support.- Add an optional dependency on colorlog for colorful logging- Remove dependency on hypua2jamo, resulting no automatic conversion of Hanyang PUA to Hangul Jamo
0.1b11 (2019-03-21)-------------------
- Remove dependency on PyCrypto. - [CVE-2013-7458], [CVE-2018-6594]- Add dependency on cryptography.
0.1b10 (2019-03-21)-------------------
- Drop support for Python 2.5, 2.6.- Prefer 'olefile' to 'OleFileIO_PL'.- Fix 'Dutmal' control attribute names.- hwp5html: represent path names in bytes- Declare some dependencies with environment markers: olefile, lxml, pycrypto- Update dependency on hypua2jamo >= 0.4.4
0.1b9 (2016-02-26)------------------
- hwp5html: serveral improvements - lang-* classes of span elements and associated css font-family - horizontal page layouts - Single page layout - enhance horizontal positioning of TableControl, GShapeObject- distdoc: fix sha1offset (by Hodong Kim)
0.1b8 (2014-11-03)------------------
- hwp5view: experimental viewer with webkitgtk+- hwp5proc: xml --formats ("flat", "nested")- hwp5proc: models --events (experimental)- hwp5proc: models --seqno --format (incompatible changes)- hwp5proc: find --from-stdin- hwp5proc: find --format- binmodels: GShapeObjectCaption- olestorage: Gsf implementation through python-gi- olestorage: use new olefile instead of OleFileIO_PL
0.1b7 (2014-01-31)------------------
- support distribution docs. (based on `Changwoo Ryu's algorithm <https://groups.google.com/forum/#!topic/hwp-foss/d2KL2ypR89Q>`_)
0.1b6 (2014-01-20)------------------
- binmodel: change type of TableCell dimensions to signed integer- hwp5odt: fix NCName for style:name (close #140)- hwp5proc: fix with-statement in 'xml' command for Python 2.5- hwp5proc: mark 'xml' command experimental
0.1b5 (2013-10-29)------------------
- close #134- hwp5html generates .xhtml instead of .html- hwp5proc: new '--no-xml-decl' option- hwp5odt: fix to not use '/' in resulting style names- hwp5proc: IdMappings.memoshape only if version > 5.0.1.6
0.1b4 (2013-07-03)------------------
- hwp5proc records: new option '--raw-header'- hwp5odt: new '--document' option produces single ODT XML files (``*.fodt``)- hwp5odt: new '--styles', '--content' option produces styles/content XML files- ODT XSL files restructured
0.1b3 (2013-06-18)------------------
- Fix IdMappings (#125)- hwp5proc records: new option '--raw-payload'- hwp5proc xml: FlagsType as xsd:hexBinary- Various binary/xml models changes
0.1b2 (2013-06-08)------------------
- Add PyPy support123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265# -*- coding: utf-8 -*-## pyhwp documentation build configuration file, created by# sphinx-quickstart on Sat Mar 10 15:30:24 2012.## This file is execfile()d with the current directory set to its containing dir.## Note that not all possible configuration values are present in this# autogenerated file.## All configuration values have a default; values that are commented out# serve to show the default.
import sys, osimport os.path
# If extensions (or modules to document with autodoc) are in another directory,# add these directories to sys.path here. If the directory is relative to the# documentation root, use os.path.abspath to make it absolute, like shown here.sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'src')))
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.#needs_sphinx = '1.0'
# Add any Sphinx extension module names here, as strings. They can be extensions# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinxarg.ext',]
# Add any paths that contain templates here, relative to this directory.templates_path = ['templates']locale_dirs = ['translated']
# The suffix of source filenames.source_suffix = '.rst'
# The encoding of source files.#source_encoding = 'utf-8-sig'
# The master toctree document.master_doc = 'index'
# General information about the project.project = u'pyhwp'copyright = u'2012, mete0r'
# The version info for the project you're documenting, acts as replacement for# |version| and |release|, also used in various other places throughout the# built documents.## The full version, including alpha/beta/rc tags.from hwp5 import __version__ as hwp5_releaserelease = hwp5_releaseif release.endswith('-dirty'): release = release[:-len('-dirty')]
# The short X.Y version.import reversion_match = re.match(r'([0-9]+\.[0-9]+).*', release)if version_match: version = version_match.group(1)else: version = 'develop'
# The language for content autogenerated by Sphinx. Refer to documentation# for a list of supported languages.#language = None
# There are two options for replacing |today|: either, you set today to some# non-false value, then it is used:#today = ''# Else, today_fmt is used as the format for a strftime call.#today_fmt = '%B %d, %Y'
# List of patterns, relative to source directory, that match files and# directories to ignore when looking for source files.exclude_patterns = ['.build']
# The reST default role (used for this markup: `text`) to use for all documents.#default_role = None
# If true, '()' will be appended to :func: etc. cross-reference text.#add_function_parentheses = True
# If true, the current module name will be prepended to all description# unit titles (such as .. function::).#add_module_names = True
# If true, sectionauthor and moduleauthor directives will be shown in the# output. They are ignored by default.#show_authors = False
# The name of the Pygments (syntax highlighting) style to use.pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting.#modindex_common_prefix = []
# -- Options for HTML output ---------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for# a list of builtin themes.html_theme = 'default'
# Theme options are theme-specific and customize the look and feel of a theme# further. For a list of options available for each theme, see the# documentation.#html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.#html_theme_path = []
# The name for this set of Sphinx documents. If None, it defaults to# "<project> v<release> documentation".#html_title = None
# A shorter title for the navigation bar. Default is the same as html_title.#html_short_title = None
# The name of an image file (relative to this directory) to place at the top# of the sidebar.#html_logo = None
# The name of an image file (within the static path) to use as favicon of the# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32# pixels large.#html_favicon = None
# Add any paths that contain custom static files (such as style sheets) here,# relative to this directory. They are copied after the builtin static files,# so a file named "default.css" will overwrite the builtin "default.css".html_static_path = ['static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,# using the given strftime format.#html_last_updated_fmt = '%b %d, %Y'
# If true, SmartyPants will be used to convert quotes and dashes to# typographically correct entities.#html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.#html_sidebars = {}
# Additional templates that should be rendered to pages, maps page names to# template names.#html_additional_pages = {}
# If false, no module index is generated.#html_domain_indices = True
# If false, no index is generated.#html_use_index = True
# If true, the index is split into individual pages for each letter.#html_split_index = False
# If true, links to the reST sources are added to the pages.#html_show_sourcelink = True
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.#html_show_sphinx = True
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.#html_show_copyright = True
# If true, an OpenSearch description file will be output, and all pages will# contain a <link> tag referring to it. The value of this option must be the# base URL from which the finished HTML is served.#html_use_opensearch = ''
# This is the file name suffix for HTML files (e.g. ".xhtml").#html_file_suffix = None
# Output file base name for HTML help builder.htmlhelp_basename = 'pyhwpdoc'
# -- Options for LaTeX output --------------------------------------------------
latex_elements = {# The paper size ('letterpaper' or 'a4paper').'papersize': 'a4paper',
# The font size ('10pt', '11pt' or '12pt').#'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.'preamble': '\\usepackage{kotex}',
# Workaround for latex babel language; there are no korean support currently# Just force it to english documentclass# see https://bitbucket.org/birkenfeld/sphinx/src/# 87eb42dafb5c172e085893d57224fa58e3df80e8/sphinx/writers/latex.py# ?at=default#cl-238'extraclassoptions': 'english',}
# Grouping the document tree into LaTeX files. List of tuples# (source start file, target name, title, author, documentclass [howto/manual]).latex_documents = [ ('index', 'pyhwp.tex', u'pyhwp Documentation', u'mete0r', 'manual'),]
# The name of an image file (relative to this directory) to place at the top of# the title page.#latex_logo = None
# For "manual" documents, if this is true, then toplevel headings are parts,# not chapters.#latex_use_parts = False
# If true, show page references after internal links.#latex_show_pagerefs = False
# If true, show URL addresses after external links.#latex_show_urls = False
# Documents to append as an appendix to all manuals.#latex_appendices = []
# If false, no module index is generated.#latex_domain_indices = True
# -- Options for manual page output --------------------------------------------
# One entry per manual page. List of tuples# (source start file, name, description, authors, manual section).man_pages = [ ('index', 'pyhwp', u'pyhwp Documentation', [u'mete0r'], 1)]
# If true, show URL addresses after external links.#man_show_urls = False
# -- Options for Texinfo output ------------------------------------------------
# Grouping the document tree into Texinfo files. List of tuples# (source start file, target name, title, author,# dir menu entry, description, category)texinfo_documents = [ ('index', 'pyhwp', u'pyhwp Documentation', u'mete0r', 'pyhwp', 'One line description of project.', 'Miscellaneous'),]
# Documents to append as an appendix to all manuals.#texinfo_appendices = []
# If false, no module index is generated.#texinfo_domain_indices = True
# How to display URL addresses: 'footnote', 'no', or 'inline'.#texinfo_show_urls = 'footnote'123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657Converters (*Experimental*)===========================
Convert HWPv5 documents into other document formats.
Requirements------------The conversions are performed with `XSLT <http://www.w3.org/TR/xslt>`_internally and verified with `Relax NG <http://relaxng.org/>`_ if possible.
For these processing, the converters requires`lxml <http://pypi.python.org/pypi/lxml>`_ (`homepage <http://lxml.de>`_) or`libxml2 <http://www.xmlsoft.org/>`_'s`xsltproc <http://xmlsoft.org/XSLT/xsltproc2.html>`_ /`xmllint <http://infohost.nmt.edu/tcc/help/xml/lint.html>`_ programs.
For lxml installation::
pip install --user lxml # install to user directory pip install lxml # install with virtualenv
or see `Installing lxml <http://lxml.de/installation.html>`_.
(Currently conversions with lxml 2.3.5 is tested and verified to be working.lxml versions below that may work too, but those are not tested.)
For ``xsltproc`` / ``xmllint`` installation::
sudo apt-get install xsltproc libxml2-utils # Debian/Ubuntu
Optional environment variables ``PYHWP_XSLTPROC`` and ``PYHWP_XMLLINT``specifies the paths of the each programs. (If not set, ``xsltproc`` and/or``xmllint`` should be in the one of the directories specified in ``PATH``.)
``hwp5odt``: ODT conversion---------------------------
.. argparse:: :module: hwp5.hwp5odt :func: main_argparser :prog: hwp5odt
``hwp5html``: HTML conversion-----------------------------
.. argparse:: :module: hwp5.hwp5html :func: main_argparser :prog: hwp5html
``hwp5txt``: text conversion----------------------------
.. argparse:: :module: hwp5.hwp5txt :func: main_argparser :prog: hwp5txt123456789101112131415161718192021222324252627282930313233343536373839404142434445464748================Directory Layout================
::
pyhwp Project Root | +-- pyhwp/ Source packages root | | | +-- hwp5/ Source package | +-- pyhwp-tests/ Test packages root | | | +-- hwp5_tests/ Test package | +-- docs/ Documentations, i.e. this document! | +-- bin/ hwp5proc, hwp5odt, build/testing scripts, etc., | +-- etc/ development configuration files | +-- misc/ development configuration templates / helper scripts | +-- tools/ development helper packages | . . (various directories) .
After the initial :ref:`invocation of buildout <invoke-buildout>` completessuccessfully, your directory will have a few more new generated directories,e.g. :file:`bin/`, :file:`develop-eggs/`. These are the standard buildoutdirectories, which we will not cover the every details of them here. For generalinformation, see `Directory Structure of a Buildout<http://www.buildout.org/docs/dirstruct.html>`_.
Followings are ``pyhwp`` specific informations:
.. include:: directory-layout/root.rst
.. include:: directory-layout/bin.rst
.. include:: directory-layout/pyhwp.rst
.. include:: directory-layout/pyhwp-tests.rst
.. include:: directory-layout/tools.rst12345678910111213141516171819``bin/`` - Buildout generated scripts-------------------------------------
This directory will be populated with scripts generated from the ``pyhwp``package and the various development helper packages/scripts.
``pyhwp`` generate following scripts:
:program:`hwp5proc` HWP format version 5 files processor. See :doc:`../hwp5proc`.:program:`hwp5odt`, :program:`hwp5txt`, :program:`hwp5html` Experimental converters. See :doc:`../converters`.
Development helper scripts (incomplete):
:program:`buildout` (Re)generate the development environment.:program:`test-core` Run a quick unit test.12345678910111213141516171819``/`` - project root directory------------------------------
The project root directory contains project configuration files.
:file:`buildout.cfg` `buildout <http://www.buildout.org>`_ configuration file.
:file:`setup.py`, :file:`setup.cfg` ``pyhwp`` setup files.
:file:`tox.ini` `tox <http://tox.testrun.org>`_ configuration file. This file will be automatically generated from :file:`tox.ini.in` by :program:`bin/buildout`. See ``[tox]`` parts in :file:`buildout.cfg`.
:file:`tox.ini.in` tox_ configuration template file. If you want to modify tox_ configuration, edit this file and run :program:`bin/buildout` again.12345678910111213141516171819``tools/`` - Development helper packages----------------------------------------
``discover.python/````discover.lxml/````discover.jre/````discover.lo/````install.jython/``
Discover multiple python versions, lxml, JRE, Libreoffice to use in the developement environment. Provides zc.buildout recipes.
``xsltest/``
an XSLT test runner.
``oxt.tool/``
Build and test .oxt packages with the LibreOffice.1234567891011121314151617181920212223242526272829===========Hack & Test===========
If you modify some modules in ``hwp5`` package in the ``pyhwp/`` directory, youcan test the modification with the ``hwp5proc`` script in the ``bin/``directory.
You can test the ``hwp5`` package by executing ``bin/test-core``, but it's justa quick test and not a complete test suite. If you want to run a full-blowntest suite, run ``tox``, which tries to test ``pyhwp`` in various`virtualenv <http://pypi.python.org/pypi/virtualenv>`_-isolated pythonplatforms, including Python 2.5, 2.6, 2.7, Jython 2.5 and PyPy.
::
$ bin/buildout
(...)
$ vim pyhwp/hwp5/proc/__init__.py
(HACK HACK HACK)
$ bin/test-core
$ bin/hwp5proc ...
$ bin/tox12345678910111213Hacking Guide=============
Standard procedures to hacking on ``pyhwp``.
Contents:
.. toctree:: :maxdepth: 2
setup-env directory-layout hack-n-test12345678910111213141516171819202122232425262728293031323334353637=============================Setup development environment=============================
1. Install prerequisites------------------------
* CPython 2.7* `virtualenv`* GNU `Make`
2. Clone the source repository------------------------------
::
$ git clone https://github.com/mete0r/pyhwp.git
3. Initialize the environment------------------------------
Bootstrap development environment::
$ make bootstrap $ . bin/activate
4. Check basic stuffs---------------------
Run `hwp5proc`::
$ hwp5proc --help
To run tests::
$ tox1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162package hwp5************
module :mod:`hwp5.filestructure`================================.. automodule:: hwp5.filestructure :members:
module :mod:`hwp5.recordstream`===============================.. automodule:: hwp5.recordstream :members:
module :mod:`hwp5.binmodel`===========================.. automodule:: hwp5.binmodel :members:
module :mod:`hwp5.xmlmodel`===========================.. automodule:: hwp5.xmlmodel :members:
module :mod:`hwp5.xmlformat`============================.. automodule:: hwp5.xmlformat :members:
module :mod:`hwp5.storage`==========================.. automodule:: hwp5.storage :members:
module :mod:`hwp5.dataio`=========================.. automodule:: hwp5.dataio :members:
module :mod:`hwp5.tagids`=========================.. automodule:: hwp5.tagids :members:
module :mod:`hwp5.plat`===========================.. automodule:: hwp5.plat :members:
module :mod:`hwp5.importhelper`===============================.. automodule:: hwp5.importhelper :members:
module :mod:`hwp5.treeop`=========================.. automodule:: hwp5.treeop :members:
module :mod:`hwp5.utils`=========================.. automodule:: hwp5.utils :members:123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252``hwp5proc``: HWPv5 processor=============================
.. argparse:: :module: hwp5.hwp5proc :func: main_argparser :prog: hwp5proc :nosubcommands:
Subcommands===========
version-------
Print the file format version of .hwp files.
.. argparse:: :module: hwp5.hwp5proc :func: main_argparser :prog: hwp5proc :path: version
header------
Print file headers of .hwp files.
.. argparse:: :module: hwp5.hwp5proc :func: main_argparser :prog: hwp5proc :path: header
summaryinfo-----------
Print summary informations of .hwp files.
.. argparse:: :module: hwp5.hwp5proc :func: main_argparser :prog: hwp5proc :path: summaryinfo
ls--List streams in .hwp files.
.. argparse:: :module: hwp5.hwp5proc :func: main_argparser :prog: hwp5proc :path: ls
cat---
Extract out internal streams of .hwp files
.. argparse:: :module: hwp5.hwp5proc :func: main_argparser :prog: hwp5proc :path: cat
Example::
$ hwp5proc cat samples/sample-5017.hwp BinData/BIN0002.jpg | file -
$ hwp5proc cat samples/sample-5017.hwp BinData/BIN0002.jpg > BIN0002.jpg
$ hwp5proc cat samples/sample-5017.hwp PrvText | iconv -f utf-16le -t utf-8
$ hwp5proc cat --vstreams samples/sample-5017.hwp PrvText.utf8
$ hwp5proc cat --vstreams samples/sample-5017.hwp FileHeader.txt
ccl: 0 cert_drm: 0 cert_encrypted: 0 cert_signature_extra: 0 cert_signed: 0 compressed: 1 distributable: 0 drm: 0 history: 0 password: 0 script: 0 signature: HWP Document File version: 5.0.1.7 xmltemplate_storage: 0
unpack------
Extract out internal streams of .hwp files into a directory.
.. argparse:: :module: hwp5.hwp5proc :func: main_argparser :prog: hwp5proc :path: unpack
Example::
$ hwp5proc unpack samples/sample-5017.hwp $ ls sample-5017
Example::
$ hwp5proc unpack --vstreams samples/sample-5017.hwp $ cat sample-5017/PrvText.utf8
records-------
Print the record structure of .hwp file record streams.
.. argparse:: :module: hwp5.hwp5proc :func: main_argparser :prog: hwp5proc :path: records
Example::
$ hwp5proc records samples/sample-5017.hwp DocInfo
Example::
$ hwp5proc records samples/sample-5017.hwp DocInfo --range=0-2
If neither <hwp5file> nor <record-stream> is specified, the record stream isread from the standard input with an assumption that the input is in the formatversion specified by -V option.
Example::
$ hwp5proc records --raw samples/sample-5017.hwp DocInfo --range=0-2 > tmp.rec $ hwp5proc records < tmp.rec
models-------
Print parsed binary models of .hwp file record streams.
.. argparse:: :module: hwp5.hwp5proc :func: main_argparser :prog: hwp5proc :path: models
Example::
$ hwp5proc models samples/sample-5017.hwp DocInfo $ hwp5proc models samples/sample-5017.hwp BodyText/Section0
$ hwp5proc models samples/sample-5017.hwp docinfo $ hwp5proc models samples/sample-5017.hwp bodytext/0
Example::
$ hwp5proc models --simple samples/sample-5017.hwp bodytext/0 $ hwp5proc models --format='%(level)s %(tagname)s\\n' \\ samples/sample-5017.hwp bodytext/0
Example::
$ hwp5proc models --simple --treegroup=1 samples/sample-5017.hwp bodytext/0 $ hwp5proc models --simple --seqno=4 samples/sample-5017.hwp bodytext/0
If neither <hwp5file> nor <record-stream> is specified, the record stream isread from the standard input with an assumption that the input is in the formatversion specified by -V option.
Example::
$ hwp5proc cat samples/sample-5017.hwp BodyText/Section0 > Section0.bin $ hwp5proc models -V 5.0.1.7 < Section0.bin
find----
Find record models with specified predicates.
.. argparse:: :module: hwp5.hwp5proc :func: main_argparser :prog: hwp5proc :path: find
Example: Find paragraphs::
$ hwp5proc find --model=Paragraph samples/*.hwp $ hwp5proc find --tag=HWPTAG_PARA_TEXT samples/*.hwp $ hwp5proc find --tag=66 samples/*.hwp
Example: Find and dump records of ``HWPTAG_LIST_HEADER`` which is parsedincompletely::
$ hwp5proc find --tag=HWPTAG_LIST_HEADER --incomplete --dump samples/*.hwp
xml---
Transform .hwp files into an XML.
.. argparse:: :module: hwp5.hwp5proc :func: main_argparser :prog: hwp5proc :path: xml
Example::
$ hwp5proc xml samples/sample-5017.hwp > sample-5017.xml $ xmllint --format sample-5017.xml
With ``--embedbin`` option, you can embed base64-encoded ``BinData/*`` files inthe output XML.
Example::
$ hwp5proc xml --embedbin samples/sample-5017.hwp > sample-5017.xml $ xmllint --format sample-5017.xml
rawunz------
Deflate an headerless zlib-compressed stream.
.. argparse:: :module: hwp5.hwp5proc :func: main_argparser :prog: hwp5proc :path: rawunz
diststream----------
Decode a distribute document stream.
.. argparse:: :module: hwp5.hwp5proc :func: main_argparser :prog: hwp5proc :path: diststream12345678910111213141516171819202122232425262728.. pyhwp documentation master file, created by sphinx-quickstart on Sat Mar 10 15:30:24 2012. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive.
Welcome to pyhwp's documentation!=================================
Contents:
.. toctree:: :maxdepth: 2
intro hwp5proc converters hacking/index changes
Indices and tables==================
* :ref:`genindex`* :ref:`modindex`* :ref:`search`
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273pyhwp=====
HWP Document Format v5 parser & processor.
Features--------
- Analyze and extract internal streams out from a HWP Document Format v5 file- (*Experimental*) Conversion to OpenDocument format (.odt) or plain text (.txt)
Installation------------
from `pypi <http://pypi.org/project/pyhwp>`_::
virtualenv pyhwp pyhwp/bin/pip install --pre pyhwp # Install pyhwp into a virtualenv directory
Or::
pip install --user --pre pyhwp # Install pyhwp into user's home directory
Requirements------------
- Python 2.7, 3.5, 3.6, 3.7 or 3.8- `cryptography <https://pypi.org/project/cryptography>`_- `lxml <https://pypi.org/project/lxml>`_- `olefile <https://pypi.org/project/olefile>`_
Documentation & Development---------------------------
- Documentation: `https://pyhwp.readthedocs.io <https://pyhwp.readthedocs.io>`_ [`한국/조선어 <https://pyhwp.readthedocs.io/ko/latest>`_]- Distribution: `https://pypi.org/project/pyhwp/ <https://pypi.org/project/pyhwp/>`_- Development: `https://github.com/mete0r/pyhwp <https://github.com/mete0r/pyhwp>`_- Issue tracker: `https://github.com/mete0r/pyhwp/issues <https://github.com/mete0r/pyhwp/issues>`_- Feedbacks & contributions are welcome!
Contributors------------
Maintainer: `mete0r <https://github.com/mete0r>`_
License-------
Copyright (C) 2010-2023 mete0r <https://github.com/mete0r>
.. image:: http://www.gnu.org/graphics/agplv3-155x51.png
`GNU Affero General Public License v3.0 <http://www.gnu.org/licenses/agpl-3.0.html>`_`(text version) <http://www.gnu.org/licenses/agpl-3.0.txt>`_
This program is free software: you can redistribute it and/or modifyit under the terms of the GNU Affero General Public License as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.
This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.
Disclosure----------
This program has been developed in accordance with a public document named "HWPBinary Specification 1.1" published by `Hancom Inc. <http://www.hancom.co.kr>`_123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127# SOME DESCRIPTIVE TITLE.# Copyright (C) 2012, mete0r# This file is distributed under the same license as the pyhwp package.# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.##, fuzzymsgid ""msgstr """Project-Id-Version: pyhwp 0.1\n""Report-Msgid-Bugs-To: \n""POT-Creation-Date: 2013-10-29 04:47\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""Language: en\n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"
# eafb3e22bc3740cb9f41f4f2df9e7800#: ../../converters.rst:2msgid "Converters (*Experimental*)"msgstr ""
# 6b4bc6aa159144d4bb3a51e48e5909da#: ../../converters.rst:4msgid "Convert HWPv5 documents into other document formats."msgstr ""
# 5d38e3678e074ca2b766734ae5247217#: ../../converters.rst:7msgid "Requirements"msgstr ""
# 67f8cb2c410f45559ea36edddc5f3bd6#: ../../converters.rst:8msgid """The conversions are performed with `XSLT <http://www.w3.org/TR/xslt>`_ ""internally and verified with `Relax NG <http://relaxng.org/>`_ if possible."msgstr ""
# 45e757bc017d449a95192776960d8b5d#: ../../converters.rst:11msgid """For these processing, the converters requires `lxml <http://pypi.python.org/""pypi/lxml>`_ (`homepage <http://lxml.de>`_) or `libxml2 <http://www.xmlsoft.""org/>`_'s `xsltproc <http://xmlsoft.org/XSLT/xsltproc2.html>`_ / `xmllint ""<http://infohost.nmt.edu/tcc/help/xml/lint.html>`_ programs."msgstr ""
# 4bbc12c733e64021b1e57753c362e03f#: ../../converters.rst:17msgid "For lxml installation::"msgstr ""
# 87c456830c3f40b0b0922d11b45e7f7a#: ../../converters.rst:22msgid "or see `Installing lxml <http://lxml.de/installation.html>`_."msgstr ""
# 279b07aa798c48238be60111a825bd7a#: ../../converters.rst:24msgid """(Currently conversions with lxml 2.3.5 is tested and verified to be working. ""lxml versions below that may work too, but those are not tested.)"msgstr ""
# 173347f476564817bd87068b394dbd6a#: ../../converters.rst:27msgid "For ``xsltproc`` / ``xmllint`` installation::"msgstr ""
# 50fa23c1a25a4330bab200b3d4c5d753#: ../../converters.rst:31msgid """Optional environment variables ``PYHWP_XSLTPROC`` and ``PYHWP_XMLLINT`` ""specifies the paths of the each programs. (If not set, ``xsltproc`` and/or ""``xmllint`` should be in the one of the directories specified in ``PATH``.)"msgstr ""
# bc95c4ff391e4201a6ed44a1d0d56e5e#: ../../converters.rst:36msgid "``hwp5odt``: ODT conversion"msgstr ""
# c4f68ae4a1294abfb389633cdbfbd335#: ../../../pyhwp/hwp5/hwp5odt.py:docstring of hwp5.hwp5odt:1msgid "HWPv5 to ODT converter"msgstr ""
# 3de42de0b2fe408280df0c1236fad4e0# 6d65211ee5dc4aae9509848ed33ad453# db61f8ccd1b24c80b24fc45cef56d189#: ../../../pyhwp/hwp5/hwp5odt.py:docstring of hwp5.hwp5odt:3#: ../../../pyhwp/hwp5/hwp5html.py:docstring hwp5.hwp5html:3#: ../../../pyhwp/hwp5/hwp5txt.py:docstring hwp5.hwp5txt:3msgid "Usage::"msgstr ""
# 8e52e64968d9457da967a7f1b5826470# b650b764f0bc40d68cf0b3cff9bec9fc# ea68666462574d1da0411b50c9aaa33b#: ../../../pyhwp/hwp5/hwp5odt.py:docstring of hwp5.hwp5odt:12#: ../../../pyhwp/hwp5/hwp5html.py:docstring hwp5.hwp5html:9#: ../../../pyhwp/hwp5/hwp5txt.py:docstring hwp5.hwp5txt:9msgid "Options::"msgstr ""
# 41a0562c7de84f6087262873b7090b36#: ../../converters.rst:40msgid "``hwp5html``: HTML conversion"msgstr ""
# 7aa5783ccbe141a4b84397507548a5fb#: ../../../pyhwp/hwp5/hwp5html.py:docstring of hwp5.hwp5html:1msgid "HWPv5 to HTML converter"msgstr ""
# c0616df18e5148faa66eeeecbe6920d3#: ../../converters.rst:44msgid "``hwp5txt``: text conversion"msgstr ""
# 991947c6361e4eb3b2cf1ed6cfd4c15b#: ../../../pyhwp/hwp5/hwp5txt.py:docstring of hwp5.hwp5txt:1msgid "HWPv5 to text converter"msgstr ""123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227# SOME DESCRIPTIVE TITLE.# Copyright (C) 2012, mete0r# This file is distributed under the same license as the pyhwp package.# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.##, fuzzymsgid ""msgstr """Project-Id-Version: pyhwp 0.1\n""Report-Msgid-Bugs-To: \n""POT-Creation-Date: 2014-11-03 12:05+0900\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""Language: en\n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"
# 8ae66890d3c34537b90c78f06ac868ef#: ../../hwp5proc.rst:2msgid "``hwp5proc``: HWPv5 processor"msgstr ""
# bed00d76e0724575a465d3780b90d7fd#: ../../../pyhwp/hwp5/proc/__init__.py:docstring of hwp5.proc:1msgid "Do various operations on HWPv5 files."msgstr ""
# cf8a544eee554bbcb012724d966509dc#: ../../../pyhwp/hwp5/proc/__init__.py:docstring of hwp5.proc:3#: ../../../pyhwp/hwp5/proc/version.py:docstring hwp5.proc.version:3#: ../../../pyhwp/hwp5/proc/header.py:docstring hwp5.proc.header:3#: ../../../pyhwp/hwp5/proc/summaryinfo.py:docstring hwp5.proc.summaryinfo:3#: ../../../pyhwp/hwp5/proc/ls.py:docstring hwp5.proc.ls:3#: ../../../pyhwp/hwp5/proc/cat.py:docstring hwp5.proc.cat:3#: ../../../pyhwp/hwp5/proc/unpack.py:docstring hwp5.proc.unpack:3#: ../../../pyhwp/hwp5/proc/records.py:docstring hwp5.proc.records:3#: ../../../pyhwp/hwp5/proc/models.py:docstring hwp5.proc.models:3#: ../../../pyhwp/hwp5/proc/find.py:docstring hwp5.proc.find:3#: ../../../pyhwp/hwp5/proc/xml.py:docstring hwp5.proc.xml:8msgid "Usage::"msgstr ""
# 3d0680517061451580552a8980218e48#: ../../hwp5proc.rst:7msgid "command: ``version``"msgstr ""
# cad75aaf5f6a42ae8910807b46c6a1ef#: ../../../pyhwp/hwp5/proc/version.py:docstring of hwp5.proc.version:1msgid "Print HWP file format version of <hwp5file>."msgstr ""
# 71d2980c664e45d397af9734a5494c43#: ../../../pyhwp/hwp5/proc/version.py:docstring of hwp5.proc.version:8#: ../../../pyhwp/hwp5/proc/header.py:docstring hwp5.proc.header:8#: ../../../pyhwp/hwp5/proc/summaryinfo.py:docstring hwp5.proc.summaryinfo:8#: ../../../pyhwp/hwp5/proc/ls.py:docstring hwp5.proc.ls:10#: ../../../pyhwp/hwp5/proc/cat.py:docstring hwp5.proc.cat:10#: ../../../pyhwp/hwp5/proc/unpack.py:docstring hwp5.proc.unpack:10#: ../../../pyhwp/hwp5/proc/records.py:docstring hwp5.proc.records:14#: ../../../pyhwp/hwp5/proc/models.py:docstring hwp5.proc.models:11#: ../../../pyhwp/hwp5/proc/find.py:docstring hwp5.proc.find:11#: ../../../pyhwp/hwp5/proc/xml.py:docstring hwp5.proc.xml:18msgid "Options::"msgstr ""
# 4c8936ae2aab43778971aa79502a721e#: ../../hwp5proc.rst:12msgid "command: ``header``"msgstr ""
# cad75aaf5f6a42ae8910807b46c6a1ef#: ../../../pyhwp/hwp5/proc/header.py:docstring of hwp5.proc.header:1msgid "Print HWP file header."msgstr ""
# 5d77d4ca0f394422b709faccc50cfec9#: ../../hwp5proc.rst:17msgid "command: ``summaryinfo``"msgstr ""
# f8011d33ac684c2b8378e18b9e3abedc#: ../../../pyhwp/hwp5/proc/summaryinfo.py:docstring of#: hwp5.proc.summaryinfo:1msgid "Print summary information of <hwp5file>."msgstr ""
# b7b04b5b3eb74f0eb111194985e01b0d#: ../../hwp5proc.rst:22msgid "command: ``ls``"msgstr ""
# b44ddef0cd314f458485388b49c636ca#: ../../../pyhwp/hwp5/proc/ls.py:docstring of hwp5.proc.ls:1msgid "List streams in the <hwp5file>."msgstr ""
# 43a9eab8ec344cfdb4a33aa848da2a56#: ../../../pyhwp/hwp5/proc/ls.py:docstring of hwp5.proc.ls:22msgid "Example: List without virtual streams::"msgstr ""
# ecd90dc2d4094b3c8052a495648ff78f#: ../../../pyhwp/hwp5/proc/ls.py:docstring of hwp5.proc.ls:39msgid "Example: List virtual streams too::"msgstr ""
# 192f6f50cb544c27ad3479b914ef7222#: ../../hwp5proc.rst:27msgid "command: ``cat``"msgstr ""
# 15eb8617d1d944949717d81ebb9456f1#: ../../../pyhwp/hwp5/proc/cat.py:docstring of hwp5.proc.cat:1msgid """Extract out the specified stream in the <hwp5file> to the standard output."msgstr ""
# dcb71948aa8f47e9b064023f21957a35# 71ecad71cb0f4fe9ba80cf55082e5f8a# ef37227f045746b8997f0c2eb30319cd# 737e619d6b524f69af7005f5ef92ada8# 07ef11c376cb4d308967be19edcc2881# 3ae85a74884d4ad9b5c6a8e89747e224# 6f312dd686584fa4a9dff6f49bbc56b4# 35fb8b185a6a48dabea56e256d85bfb4# 4fd7a028c7ff4c11b87ba598655a7907# 170f201e5a0c4a44abcb0dcea95905d9# 8329c429e5674eee8022ec39cceed432# cbf2341d2c7c4149bdc3f07da885e0ae#: ../../../pyhwp/hwp5/proc/cat.py:docstring of hwp5.proc.cat:22#: ../../../pyhwp/hwp5/proc/unpack.py:docstring hwp5.proc.unpack:22#: hwp5.proc.unpack:27 ../../../pyhwp/hwp5/proc/records.py:docstring#: hwp5.proc.records:38 hwp5.proc.records:42 hwp5.proc.records:50#: ../../../pyhwp/hwp5/proc/models.py:docstring hwp5.proc.models:34#: hwp5.proc.models:42 hwp5.proc.models:48 hwp5.proc.models:57#: ../../../pyhwp/hwp5/proc/xml.py:docstring hwp5.proc.xml:31 hwp5.proc.xml:39msgid "Example::"msgstr ""
# 8113891b61bb4b339c77d078336391f4#: ../../hwp5proc.rst:32msgid "command: ``unpack``"msgstr ""
# 8acb7c74c7c748c6b7874f5e33b25dac#: ../../../pyhwp/hwp5/proc/unpack.py:docstring of hwp5.proc.unpack:1msgid "Extract out streams in the specified <hwp5file> to a directory."msgstr ""
# 414f684ce5a540d0a5cd18ab8b2a5f24#: ../../hwp5proc.rst:37msgid "command: ``records``"msgstr ""
# f521cdaf60f4451b88faab8a6235b5a4#: ../../../pyhwp/hwp5/proc/records.py:docstring of hwp5.proc.records:1msgid "Print the record structure."msgstr ""
# 241ea6ff890d49db8d765402e0c7b6b5# 2a49fc3eff194012a083bf9bc0426d93#: ../../../pyhwp/hwp5/proc/records.py:docstring of hwp5.proc.records:46#: ../../../pyhwp/hwp5/proc/models.py:docstring hwp5.proc.models:53msgid """If neither <hwp5file> nor <record-stream> is specified, the record stream is ""read from the standard input with an assumption that the input is in the ""format version specified by -V option."msgstr ""
# a7dfeeb3a6464db18f930dc3747acc77#: ../../hwp5proc.rst:42msgid "command: ``models``"msgstr ""
# 058aa45f4ec8463080526f955a7ff2fd#: ../../../pyhwp/hwp5/proc/models.py:docstring of hwp5.proc.models:1msgid "Print parsed binary models in the specified <record-stream>."msgstr ""
# 7375606379a84a7688a05b9939f6b47d#: ../../hwp5proc.rst:47msgid "command: ``find``"msgstr ""
# 8cdcfec208464d1a9dbafb8d0489fe4b#: ../../../pyhwp/hwp5/proc/find.py:docstring of hwp5.proc.find:1msgid "Find record models with specified predicates."msgstr ""
# 78f39cd8bb2c46a89417b59931917868#: ../../../pyhwp/hwp5/proc/find.py:docstring of hwp5.proc.find:29msgid "Example: Find paragraphs::"msgstr ""
# 9e23e53b35ca4aefb5e8c1ffa99d3d26#: ../../../pyhwp/hwp5/proc/find.py:docstring of hwp5.proc.find:35msgid """Example: Find and dump records of ``HWPTAG_LIST_HEADER`` which is parsed ""incompletely::"msgstr ""
# 7778883e65f849bf99fad8697e25308d#: ../../hwp5proc.rst:52msgid "command: ``xml`` (*Experimental*)"msgstr ""
# b8814a65f0fe49e78ffc380bfa9ce629#: ../../../pyhwp/hwp5/proc/xml.py:docstring of hwp5.proc.xml:1msgid "Transform an HWPv5 file into an XML."msgstr ""
# 412afcfa0f324982801d3cfacaf69b86#: ../../../pyhwp/hwp5/proc/xml.py:docstring of hwp5.proc.xml:5msgid """This command is experimental. Its output format is subject to change at any ""time."msgstr ""
# d89687875f5d4135963346b8e2de3a53#: ../../../pyhwp/hwp5/proc/xml.py:docstring of hwp5.proc.xml:36msgid """With ``--embedbin`` option, you can embed base64-encoded ``BinData/*`` files ""in the output XML."msgstr ""123456789101112131415161718192021222324252627282930313233343536373839404142434445464748# SOME DESCRIPTIVE TITLE.# Copyright (C) 2012, mete0r# This file is distributed under the same license as the pyhwp package.# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.##, fuzzymsgid ""msgstr """Project-Id-Version: pyhwp 0.1\n""Report-Msgid-Bugs-To: \n""POT-Creation-Date: 2013-10-29 04:47\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""Language: en\n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"
# e67bfb841934418fb9aa8d6803ae6f61#: ../../index.rst:7msgid "Welcome to pyhwp's documentation!"msgstr ""
# fce4f4f87ace4bd79507f35f9f31fc09#: ../../index.rst:9msgid "Contents:"msgstr ""
# c7b2c8ef52e84e3294e7003ff9087ee0#: ../../index.rst:23msgid "Indices and tables"msgstr ""
# 8caf5884bb214dacaf993c38e939ca98#: ../../index.rst:25msgid ":ref:`genindex`"msgstr ""
# 7d2787c7551040dd8500264c58449cc9#: ../../index.rst:26msgid ":ref:`modindex`"msgstr ""
# a3f0175d485c4314b9d7204608644b95#: ../../index.rst:27msgid ":ref:`search`"msgstr ""123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187# SOME DESCRIPTIVE TITLE.# Copyright (C) 2012, mete0r# This file is distributed under the same license as the pyhwp package.# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.##, fuzzymsgid ""msgstr """Project-Id-Version: pyhwp 0.1\n""Report-Msgid-Bugs-To: \n""POT-Creation-Date: 2014-01-31 08:31+0900\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""Language: en\n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"
# 229d7f6cb6e94b80b3ed276154632ea7#: ../../intro.rst:2msgid "pyhwp"msgstr ""
# 75c5f1d6ce704cfb987f218ddac8e5c9#: ../../intro.rst:4msgid "HWP Document Format v5 parser & processor."msgstr ""
# bdea2ae9aea14b619ceab66b9f6d685c#: ../../intro.rst:7msgid "Features"msgstr ""
# 6b057a4ced754848bd138b559238556f#: ../../intro.rst:9msgid """Analyze and extract internal streams out from a HWP Document Format v5 file"msgstr ""
# a68f3e9e704d45dda4278f0efaf64d8a#: ../../intro.rst:10msgid """(*Experimental*) Conversion to OpenDocument format (.odt) or plain text (.""txt)"msgstr ""
# ea5a3a8d49cc413eb9ef1fa6f58633ff#: ../../intro.rst:13msgid "Installation"msgstr ""
# 0d7548139cea4b37bb2298584800bffc#: ../../intro.rst:15msgid "from `pypi <http://pypi.python.org/pypi/pyhwp>`_::"msgstr ""
# 33cd4af4dc6f496bbea8284505308c83#: ../../intro.rst:20msgid "Or::"msgstr ""
# da4c2f33f39048e9a72ad43807cd7e37#: ../../intro.rst:25msgid "Requirements"msgstr ""
# db6d63914fb2413d92e5701b694e2b22#: ../../intro.rst:27msgid "CPython 2.5, 2.6, 2.7, Jython 2.5.3 or PyPy 2.0.2"msgstr ""
# 62d6fe10634a497f8d1ced5bbc8343f7#: ../../intro.rst:28msgid "`setuptools <http://pypi.python.org/pypi/setuptools>`_"msgstr ""
# 2cab7c2a85d34ff7adc294b7e48d5575#: ../../intro.rst:29msgid """`pycrypto <https://pypi.python.org/pypi/pycrypto>`_ (optional, to decode ""distribution docs)"msgstr ""
# 070821d20ddc4c6cb15fa70632bf6523#: ../../intro.rst:32msgid "Documentation & Development"msgstr ""
# f1aaad2952f54b7b9649f8a60173486c#: ../../intro.rst:34msgid """Documentation: `http://pythonhosted.org/pyhwp/ <http://pythonhosted.org/""pyhwp/>`_ [`한국/조선어 <http://pythonhosted.org/pyhwp/ko/>`_] [`develop ""branch <http://pyhwp.readthedocs.org>`_]"msgstr ""
# 85285a15a8574742b5e7e57d5ce9c7bb#: ../../intro.rst:35msgid """Distribution: `http://pypi.python.org/pypi/pyhwp <http://pypi.python.org/""pypi/pyhwp>`_"msgstr ""
# e638ce10db3e4e07ae412b24bf350d53#: ../../intro.rst:36msgid """Development: `https://github.com/mete0r/pyhwp <https://github.com/mete0r/""pyhwp>`_"msgstr ""
# f0f93a1ed81747dc9c7a3c631b971e86#: ../../intro.rst:37msgid """Issue tracker: `https://github.com/mete0r/pyhwp/issues <https://github.com/""mete0r/pyhwp/issues>`_"msgstr ""
# 317c633c180a4bda8045e2a5b1e757cf#: ../../intro.rst:38msgid "Feedbacks & contributions are welcome!"msgstr ""
# b200736b60a04a8480b72cb24a513db0#: ../../intro.rst:41msgid "Contributors"msgstr ""
# 242f97c427344df39bad7d586d5e60c0#: ../../intro.rst:43msgid "Maintainer: `mete0r <https://github.com/mete0r>`_"msgstr ""
# 3968cb8206a14f398a248eed814ad9aa#: ../../intro.rst:46msgid "License"msgstr ""
# d64dabb371984d2ba250f37e220aa39a#: ../../intro.rst:48msgid "Copyright (C) 2010-2023 mete0r <https://github.com/mete0r>"msgstr ""
# 32ed7d69ae9f4bf5bff4e8d68c113f4c#: ../../intro.rst:52msgid """`GNU Affero General Public License v3.0 <http://www.gnu.org/licenses/""agpl-3.0.html>`_ `(text version) <http://www.gnu.org/licenses/agpl-3.0.txt>`_"msgstr ""
# 164415d866774a9e9e7ad1008447cf74#: ../../intro.rst:55msgid """This program is free software: you can redistribute it and/or modify it ""under the terms of the GNU Affero General Public License as published by the ""Free Software Foundation, either version 3 of the License, or (at your ""option) any later version."msgstr ""
# 6cc8ef94865e4196898a83b1b80dd2e5#: ../../intro.rst:60msgid """This program is distributed in the hope that it will be useful, but WITHOUT ""ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ""FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License ""for more details."msgstr ""
# d54697f2f7dc44869d43637b7e5dcb68#: ../../intro.rst:65msgid """You should have received a copy of the GNU Affero General Public License ""along with this program. If not, see <http://www.gnu.org/licenses/>."msgstr ""
# c3270c668ef7418e951ef0bc8ac17fdd#: ../../intro.rst:69msgid "Disclosure"msgstr ""
# df57575778df4329940de5a8a2999e73#: ../../intro.rst:71msgid """This program has been developed in accordance with a public document named ""\"HWP Binary Specification 1.1\" published by `Hancom Inc. <http://www.""hancom.co.kr>`_"msgstr ""123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140# SOME DESCRIPTIVE TITLE.# Copyright (C) 2012, mete0r# This file is distributed under the same license as the pyhwp package.# mete0r <EMAIL@ADDRESS>, 2012.##, fuzzymsgid ""msgstr """Project-Id-Version: pyhwp 0.1\n""Report-Msgid-Bugs-To: \n""POT-Creation-Date: 2013-10-29 04:47\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: mete0r <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""Language: ko\n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"
# eafb3e22bc3740cb9f41f4f2df9e7800#: ../../converters.rst:2msgid "Converters (*Experimental*)"msgstr "변환기들 (*실험적*)"
# 6b4bc6aa159144d4bb3a51e48e5909da#: ../../converters.rst:4msgid "Convert HWPv5 documents into other document formats."msgstr "HWPv5 문서를 다른 문서 형식으로 변환한다."
# 5d38e3678e074ca2b766734ae5247217#: ../../converters.rst:7msgid "Requirements"msgstr "필요한 것"
# 67f8cb2c410f45559ea36edddc5f3bd6#: ../../converters.rst:8msgid """The conversions are performed with `XSLT <http://www.w3.org/TR/xslt>`_ ""internally and verified with `Relax NG <http://relaxng.org/>`_ if possible."msgstr """이 변환들은 내부적으로 `XSLT <http://www.w3.org/TR/xslt>`_ 를 사용하며, 가능""한 경우 `Relax NG <http://relaxng.org/>`_ 로 결과물이 검증된다."
# 45e757bc017d449a95192776960d8b5d#: ../../converters.rst:11msgid """For these processing, the converters requires `lxml <http://pypi.python.org/""pypi/lxml>`_ (`homepage <http://lxml.de>`_) or `libxml2 <http://www.xmlsoft.""org/>`_'s `xsltproc <http://xmlsoft.org/XSLT/xsltproc2.html>`_ / `xmllint ""<http://infohost.nmt.edu/tcc/help/xml/lint.html>`_ programs."msgstr """이를 수행하려면 `lxml <http://pypi.python.org/pypi/lxml>`_ (`homepage ""<http://lxml.de>`_)이나 `libxml2 <http://www.xmlsoft.org/>`_ 의 `xsltproc ""<http://xmlsoft.org/XSLT/xsltproc2.html>`_ / `xmllint <http://infohost.nmt.""edu/tcc/help/xml/lint.html>`_ 프로그램이 필요하다."
# 4bbc12c733e64021b1e57753c362e03f#: ../../converters.rst:17msgid "For lxml installation::"msgstr "lxml를 설치하려면::"
# 87c456830c3f40b0b0922d11b45e7f7a#: ../../converters.rst:22msgid "or see `Installing lxml <http://lxml.de/installation.html>`_."msgstr """혹은 `Installing lxml <http://lxml.de/installation.html>`_ 을 참조하라."
# 279b07aa798c48238be60111a825bd7a#: ../../converters.rst:24msgid """(Currently conversions with lxml 2.3.5 is tested and verified to be working. ""lxml versions below that may work too, but those are not tested.)"msgstr """(현재 lxml 2.3.5 을 이용한 변환은 테스트되었고 잘 작동하는 것으로 확인되었""다. 그보다 낮은 버전의 lxml으로도 될 수 있으나, 테스트되지는 않았다.)"
# 173347f476564817bd87068b394dbd6a#: ../../converters.rst:27msgid "For ``xsltproc`` / ``xmllint`` installation::"msgstr "``xsltproc`` / ``xmllint`` 를 설치하려면::"
# 50fa23c1a25a4330bab200b3d4c5d753#: ../../converters.rst:31msgid """Optional environment variables ``PYHWP_XSLTPROC`` and ``PYHWP_XMLLINT`` ""specifies the paths of the each programs. (If not set, ``xsltproc`` and/or ""``xmllint`` should be in the one of the directories specified in ``PATH``.)"msgstr """선택적으로 설정될 수 있는 ``PYHWP_XSLTPROC`` 과 ``PYHWP_XMLLINT`` 환경변수는 ""각 프로그램의 위치를 지정한다. (만약 설정되지 않으면, ``xsltproc`` 과 ""``xmllint`` 는 환경변수 ``PATH`` 가 지정하는 디렉토리 중 하나에 존재해야 한""다."
# bc95c4ff391e4201a6ed44a1d0d56e5e#: ../../converters.rst:36msgid "``hwp5odt``: ODT conversion"msgstr "``hwp5odt``: ODT 변환"
# c4f68ae4a1294abfb389633cdbfbd335#: ../../../pyhwp/hwp5/hwp5odt.py:docstring of hwp5.hwp5odt:1msgid "HWPv5 to ODT converter"msgstr "HWPv5-to-ODT 변환기"
# 3de42de0b2fe408280df0c1236fad4e0# 6d65211ee5dc4aae9509848ed33ad453# db61f8ccd1b24c80b24fc45cef56d189#: ../../../pyhwp/hwp5/hwp5odt.py:docstring of hwp5.hwp5odt:3#: ../../../pyhwp/hwp5/hwp5html.py:docstring hwp5.hwp5html:3#: ../../../pyhwp/hwp5/hwp5txt.py:docstring hwp5.hwp5txt:3msgid "Usage::"msgstr "사용법::"
# 8e52e64968d9457da967a7f1b5826470# b650b764f0bc40d68cf0b3cff9bec9fc# ea68666462574d1da0411b50c9aaa33b#: ../../../pyhwp/hwp5/hwp5odt.py:docstring of hwp5.hwp5odt:12#: ../../../pyhwp/hwp5/hwp5html.py:docstring hwp5.hwp5html:9#: ../../../pyhwp/hwp5/hwp5txt.py:docstring hwp5.hwp5txt:9msgid "Options::"msgstr "옵션::"
# 41a0562c7de84f6087262873b7090b36#: ../../converters.rst:40msgid "``hwp5html``: HTML conversion"msgstr "``hwp5html``: HTML 변환"
# 7aa5783ccbe141a4b84397507548a5fb#: ../../../pyhwp/hwp5/hwp5html.py:docstring of hwp5.hwp5html:1msgid "HWPv5 to HTML converter"msgstr "HWPv5-to-HTML 변환기"
# c0616df18e5148faa66eeeecbe6920d3#: ../../converters.rst:44msgid "``hwp5txt``: text conversion"msgstr "``hwp5txt``: 텍스트 변환"
# 991947c6361e4eb3b2cf1ed6cfd4c15b#: ../../../pyhwp/hwp5/hwp5txt.py:docstring of hwp5.hwp5txt:1msgid "HWPv5 to text converter"msgstr "HWPv5-to-텍스트 변환기"123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240# SOME DESCRIPTIVE TITLE.# Copyright (C) 2012, mete0r# This file is distributed under the same license as the pyhwp package.# mete0r <EMAIL@ADDRESS>, YEAR.##, fuzzymsgid ""msgstr """Project-Id-Version: pyhwp 0.1\n""Report-Msgid-Bugs-To: \n""POT-Creation-Date: 2014-11-03 12:05+0900\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: mete0r <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""Language: ko\n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"
# 8ae66890d3c34537b90c78f06ac868ef#: ../../hwp5proc.rst:2msgid "``hwp5proc``: HWPv5 processor"msgstr "``hwp5proc``: HWPv5 처리기"
# bed00d76e0724575a465d3780b90d7fd#: ../../../pyhwp/hwp5/proc/__init__.py:docstring of hwp5.proc:1msgid "Do various operations on HWPv5 files."msgstr "HWPv5 파일에 여러가지 작업을 수행한다."
# cf8a544eee554bbcb012724d966509dc#: ../../../pyhwp/hwp5/proc/__init__.py:docstring of hwp5.proc:3#: ../../../pyhwp/hwp5/proc/version.py:docstring hwp5.proc.version:3#: ../../../pyhwp/hwp5/proc/header.py:docstring hwp5.proc.header:3#: ../../../pyhwp/hwp5/proc/summaryinfo.py:docstring hwp5.proc.summaryinfo:3#: ../../../pyhwp/hwp5/proc/ls.py:docstring hwp5.proc.ls:3#: ../../../pyhwp/hwp5/proc/cat.py:docstring hwp5.proc.cat:3#: ../../../pyhwp/hwp5/proc/unpack.py:docstring hwp5.proc.unpack:3#: ../../../pyhwp/hwp5/proc/records.py:docstring hwp5.proc.records:3#: ../../../pyhwp/hwp5/proc/models.py:docstring hwp5.proc.models:3#: ../../../pyhwp/hwp5/proc/find.py:docstring hwp5.proc.find:3#: ../../../pyhwp/hwp5/proc/xml.py:docstring hwp5.proc.xml:8msgid "Usage::"msgstr "사용법::"
# 3d0680517061451580552a8980218e48#: ../../hwp5proc.rst:7msgid "command: ``version``"msgstr "명령: ``version``"
# cad75aaf5f6a42ae8910807b46c6a1ef#: ../../../pyhwp/hwp5/proc/version.py:docstring of hwp5.proc.version:1msgid "Print HWP file format version of <hwp5file>."msgstr "<hwp5file>의 HWP 파일 포맷 버전을 출력한다."
# 71d2980c664e45d397af9734a5494c43#: ../../../pyhwp/hwp5/proc/version.py:docstring of hwp5.proc.version:8#: ../../../pyhwp/hwp5/proc/header.py:docstring hwp5.proc.header:8#: ../../../pyhwp/hwp5/proc/summaryinfo.py:docstring hwp5.proc.summaryinfo:8#: ../../../pyhwp/hwp5/proc/ls.py:docstring hwp5.proc.ls:10#: ../../../pyhwp/hwp5/proc/cat.py:docstring hwp5.proc.cat:10#: ../../../pyhwp/hwp5/proc/unpack.py:docstring hwp5.proc.unpack:10#: ../../../pyhwp/hwp5/proc/records.py:docstring hwp5.proc.records:14#: ../../../pyhwp/hwp5/proc/models.py:docstring hwp5.proc.models:11#: ../../../pyhwp/hwp5/proc/find.py:docstring hwp5.proc.find:11#: ../../../pyhwp/hwp5/proc/xml.py:docstring hwp5.proc.xml:18msgid "Options::"msgstr "옵션::"
# 4c8936ae2aab43778971aa79502a721e#: ../../hwp5proc.rst:12msgid "command: ``header``"msgstr "명령: ``header``"
# cad75aaf5f6a42ae8910807b46c6a1ef#: ../../../pyhwp/hwp5/proc/header.py:docstring of hwp5.proc.header:1msgid "Print HWP file header."msgstr "HWP 파일 헤더를 출력한다."
# 5d77d4ca0f394422b709faccc50cfec9#: ../../hwp5proc.rst:17msgid "command: ``summaryinfo``"msgstr "명령: ``summaryinfo``"
# f8011d33ac684c2b8378e18b9e3abedc#: ../../../pyhwp/hwp5/proc/summaryinfo.py:docstring of#: hwp5.proc.summaryinfo:1msgid "Print summary information of <hwp5file>."msgstr "<hwp5file>의 요약정보(summary information)을 출력한다."
# b7b04b5b3eb74f0eb111194985e01b0d#: ../../hwp5proc.rst:22msgid "command: ``ls``"msgstr "명령: ``ls``"
# b44ddef0cd314f458485388b49c636ca#: ../../../pyhwp/hwp5/proc/ls.py:docstring of hwp5.proc.ls:1msgid "List streams in the <hwp5file>."msgstr "<hwp5file>의 스트림 목록을 출력한다."
# 43a9eab8ec344cfdb4a33aa848da2a56#: ../../../pyhwp/hwp5/proc/ls.py:docstring of hwp5.proc.ls:22msgid "Example: List without virtual streams::"msgstr "예: 가상 스트림을 제외한 목록을 출력한다::"
# ecd90dc2d4094b3c8052a495648ff78f#: ../../../pyhwp/hwp5/proc/ls.py:docstring of hwp5.proc.ls:39msgid "Example: List virtual streams too::"msgstr "예: 가상 스트림을 포함한 목록을 출력한다::"
# 192f6f50cb544c27ad3479b914ef7222#: ../../hwp5proc.rst:27msgid "command: ``cat``"msgstr "명령: ``cat``"
# 15eb8617d1d944949717d81ebb9456f1#: ../../../pyhwp/hwp5/proc/cat.py:docstring of hwp5.proc.cat:1msgid """Extract out the specified stream in the <hwp5file> to the standard output."msgstr "<hwp5file>의 지정된 스트림을 표준출력으로 출력한다."
# dcb71948aa8f47e9b064023f21957a35# 71ecad71cb0f4fe9ba80cf55082e5f8a# ef37227f045746b8997f0c2eb30319cd# 737e619d6b524f69af7005f5ef92ada8# 07ef11c376cb4d308967be19edcc2881# 3ae85a74884d4ad9b5c6a8e89747e224# 6f312dd686584fa4a9dff6f49bbc56b4# 35fb8b185a6a48dabea56e256d85bfb4# 4fd7a028c7ff4c11b87ba598655a7907# 170f201e5a0c4a44abcb0dcea95905d9# 8329c429e5674eee8022ec39cceed432# cbf2341d2c7c4149bdc3f07da885e0ae#: ../../../pyhwp/hwp5/proc/cat.py:docstring of hwp5.proc.cat:22#: ../../../pyhwp/hwp5/proc/unpack.py:docstring hwp5.proc.unpack:22#: hwp5.proc.unpack:27 ../../../pyhwp/hwp5/proc/records.py:docstring#: hwp5.proc.records:38 hwp5.proc.records:42 hwp5.proc.records:50#: ../../../pyhwp/hwp5/proc/models.py:docstring hwp5.proc.models:34#: hwp5.proc.models:42 hwp5.proc.models:48 hwp5.proc.models:57#: ../../../pyhwp/hwp5/proc/xml.py:docstring hwp5.proc.xml:31 hwp5.proc.xml:39msgid "Example::"msgstr "예::"
# 8113891b61bb4b339c77d078336391f4#: ../../hwp5proc.rst:32msgid "command: ``unpack``"msgstr "명령: ``unpack``"
# 5c354689e91c40c69ad6d750bd240d1c#: ../../../pyhwp/hwp5/proc/unpack.py:docstring of hwp5.proc.unpack:1msgid "Extract out streams in the specified <hwp5file> to a directory."msgstr "<hwpfile>의 스트림들을 디렉터리로 풀어낸다."
# 414f684ce5a540d0a5cd18ab8b2a5f24#: ../../hwp5proc.rst:37msgid "command: ``records``"msgstr "명령: ``records``"
# f521cdaf60f4451b88faab8a6235b5a4#: ../../../pyhwp/hwp5/proc/records.py:docstring of hwp5.proc.records:1msgid "Print the record structure."msgstr "레코드 구조를 출력한다."
# 241ea6ff890d49db8d765402e0c7b6b5# 2a49fc3eff194012a083bf9bc0426d93#: ../../../pyhwp/hwp5/proc/records.py:docstring of hwp5.proc.records:46#: ../../../pyhwp/hwp5/proc/models.py:docstring hwp5.proc.models:53msgid """If neither <hwp5file> nor <record-stream> is specified, the record stream is ""read from the standard input with an assumption that the input is in the ""format version specified by -V option."msgstr """<hwp5file>과 <record-stream>이 주어지지 않으면, 레코드 스트림을 표준 출력에서""읽어들인다. 이 때 입력의 포맷 버전은 -V 옵션으로 주어진 값인 것으로 가정한다."
# a7dfeeb3a6464db18f930dc3747acc77#: ../../hwp5proc.rst:42msgid "command: ``models``"msgstr "명령: ``models``"
# 058aa45f4ec8463080526f955a7ff2fd#: ../../../pyhwp/hwp5/proc/models.py:docstring of hwp5.proc.models:1msgid "Print parsed binary models in the specified <record-stream>."msgstr "지정된 <record-stream>을 파싱한 바이너리 모델들을 출력한다."
# 7375606379a84a7688a05b9939f6b47d#: ../../hwp5proc.rst:47msgid "command: ``find``"msgstr "명령: ``find``"
# 8cdcfec208464d1a9dbafb8d0489fe4b#: ../../../pyhwp/hwp5/proc/find.py:docstring of hwp5.proc.find:1msgid "Find record models with specified predicates."msgstr "지정된 조건을 만족하는 레코드 모델들을 찾는다."
# 78f39cd8bb2c46a89417b59931917868#: ../../../pyhwp/hwp5/proc/find.py:docstring of hwp5.proc.find:29msgid "Example: Find paragraphs::"msgstr "예: 문단 찾기::"
# 9e23e53b35ca4aefb5e8c1ffa99d3d26#: ../../../pyhwp/hwp5/proc/find.py:docstring of hwp5.proc.find:35msgid """Example: Find and dump records of ``HWPTAG_LIST_HEADER`` which is parsed ""incompletely::"msgstr """예: 온전히 파싱되지 않은 ``HWPTAG_LIST_HEADER`` 레코드들을 찾아 출력한다::"
# e531df3e57a1451a8fc331069f009f25#: ../../hwp5proc.rst:52msgid "command: ``xml`` (*Experimental*)"msgstr "명령: ``xml`` (*실험적*)"
# 36611ef624fe4bec815a5f8e03567251#: ../../../pyhwp/hwp5/proc/xml.py:docstring of hwp5.proc.xml:1msgid "Transform an HWPv5 file into an XML."msgstr "HWPv5 파일을 XML로 변환한다."
# 412afcfa0f324982801d3cfacaf69b86#: ../../../pyhwp/hwp5/proc/xml.py:docstring of hwp5.proc.xml:5msgid """This command is experimental. Its output format is subject to change at any ""time."msgstr "이 명령은 실험적입니다. 출력 형식은 언제든 바뀔 수 있습니다."
# d89687875f5d4135963346b8e2de3a53#: ../../../pyhwp/hwp5/proc/xml.py:docstring of hwp5.proc.xml:36msgid """With ``--embedbin`` option, you can embed base64-encoded ``BinData/*`` files ""in the output XML."msgstr """``--embedbin`` 옵션을 주면, ``BinData/*`` 의 파일들을 base64로 인코딩하여 출""력 XML에 내장한다."
# 63b15ef0ee354277b5963fba9147a8f9#~ msgid "Print FileHeader of <hwp5file>."#~ msgstr "<hwp5file>의 FileHeader를 출력한다."
# f521cdaf60f4451b88faab8a6235b5a4#~ msgid "Print records in the specified <record-stream>."#~ msgstr "지정된 <record-stream>의 레코드들을 출력한다."123456789101112131415161718192021222324252627282930313233343536373839404142434445464748# SOME DESCRIPTIVE TITLE.# Copyright (C) 2012, mete0r# This file is distributed under the same license as the pyhwp package.# mete0r <EMAIL@ADDRESS>, 2012.##, fuzzymsgid ""msgstr """Project-Id-Version: pyhwp 0.1\n""Report-Msgid-Bugs-To: \n""POT-Creation-Date: 2013-10-29 04:47\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: mete0r <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""Language: ko\n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"
# e67bfb841934418fb9aa8d6803ae6f61#: ../../index.rst:7msgid "Welcome to pyhwp's documentation!"msgstr ""
# fce4f4f87ace4bd79507f35f9f31fc09#: ../../index.rst:9msgid "Contents:"msgstr "목차:"
# c7b2c8ef52e84e3294e7003ff9087ee0#: ../../index.rst:23msgid "Indices and tables"msgstr "색인과 목록"
# 8caf5884bb214dacaf993c38e939ca98#: ../../index.rst:25msgid ":ref:`genindex`"msgstr ""
# 7d2787c7551040dd8500264c58449cc9#: ../../index.rst:26msgid ":ref:`modindex`"msgstr ""
# a3f0175d485c4314b9d7204608644b95#: ../../index.rst:27msgid ":ref:`search`"msgstr ""123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206# SOME DESCRIPTIVE TITLE.# Copyright (C) 2012, mete0r# This file is distributed under the same license as the pyhwp package.# mete0r <EMAIL@ADDRESS>, YEAR.##, fuzzymsgid ""msgstr """Project-Id-Version: pyhwp 0.1\n""Report-Msgid-Bugs-To: \n""POT-Creation-Date: 2014-01-31 08:31+0900\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: mete0r <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""Language: ko\n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"
# 229d7f6cb6e94b80b3ed276154632ea7#: ../../intro.rst:2msgid "pyhwp"msgstr ""
# 75c5f1d6ce704cfb987f218ddac8e5c9#: ../../intro.rst:4msgid "HWP Document Format v5 parser & processor."msgstr "HWP 문서 포맷 버젼5 파서 & 처리기"
# bdea2ae9aea14b619ceab66b9f6d685c#: ../../intro.rst:7msgid "Features"msgstr "기능"
# 6b057a4ced754848bd138b559238556f#: ../../intro.rst:9msgid """Analyze and extract internal streams out from a HWP Document Format v5 file"msgstr "HWP 문서 버젼 5 파일의 내부 스트림을 분석/분리"
# a68f3e9e704d45dda4278f0efaf64d8a#: ../../intro.rst:10msgid """(*Experimental*) Conversion to OpenDocument format (.odt) or plain text (.""txt)"msgstr "(*실험적*) OpenDocument 포맷(.odt)나 일반 텍스트 문서로 변환"
# ea5a3a8d49cc413eb9ef1fa6f58633ff#: ../../intro.rst:13msgid "Installation"msgstr "설치"
# 0d7548139cea4b37bb2298584800bffc#: ../../intro.rst:15msgid "from `pypi <http://pypi.python.org/pypi/pyhwp>`_::"msgstr "`pypi <http://pypi.python.org/pypi/pyhwp>`_ 에서::"
# 33cd4af4dc6f496bbea8284505308c83#: ../../intro.rst:20msgid "Or::"msgstr "혹은::"
# da4c2f33f39048e9a72ad43807cd7e37#: ../../intro.rst:25msgid "Requirements"msgstr "필요한 것"
# db6d63914fb2413d92e5701b694e2b22#: ../../intro.rst:27msgid "CPython 2.5, 2.6, 2.7, Jython 2.5.3 or PyPy 2.0.2"msgstr "CPython 2.5, 2.6, 2.7, Jython 2.5.3 혹은 PyPy 2.0.2"
# 0d7548139cea4b37bb2298584800bffc#: ../../intro.rst:28msgid "`setuptools <http://pypi.python.org/pypi/setuptools>`_"msgstr ""
# 2cab7c2a85d34ff7adc294b7e48d5575#: ../../intro.rst:29msgid """`pycrypto <https://pypi.python.org/pypi/pycrypto>`_ (optional, to decode ""distribution docs)"msgstr """`pycrypto <https://pypi.python.org/pypi/pycrypto>`_ (선택적, 배포용 문서""읽기에 필요)"
# 070821d20ddc4c6cb15fa70632bf6523#: ../../intro.rst:32msgid "Documentation & Development"msgstr "문서화 및 개발"
# 8228a1248e8b4f6fb82be453d4ef4135#: ../../intro.rst:34msgid """Documentation: `http://pythonhosted.org/pyhwp/ <http://pythonhosted.org/""pyhwp/>`_ [`한국/조선어 <http://pythonhosted.org/pyhwp/ko/>`_] [`develop ""branch <http://pyhwp.readthedocs.org>`_]"msgstr """문서화: `http://pythonhosted.org/pyhwp/ko <http://pythonhosted.org/pyhwp/""ko>`_ [`English <http://pythonhosted.org/pyhwp>`_] [`개발 branch <http://""pyhwp.readthedocs.org>`_]"
# 0d7548139cea4b37bb2298584800bffc#: ../../intro.rst:35msgid """Distribution: `http://pypi.python.org/pypi/pyhwp <http://pypi.python.org/""pypi/pyhwp>`_"msgstr """배포: `http://pypi.python.org/pypi/pyhwp <http://pypi.python.org/pypi/""pyhwp>`_"
# f0f93a1ed81747dc9c7a3c631b971e86#: ../../intro.rst:36msgid """Development: `https://github.com/mete0r/pyhwp <https://github.com/mete0r/""pyhwp>`_"msgstr """개발: `https://github.com/mete0r/pyhwp <https://github.com/mete0r/pyhwp>`_"
# f0f93a1ed81747dc9c7a3c631b971e86#: ../../intro.rst:37msgid """Issue tracker: `https://github.com/mete0r/pyhwp/issues <https://github.com/""mete0r/pyhwp/issues>`_"msgstr """버그 추적: `https://github.com/mete0r/pyhwp/issues <https://github.com/""mete0r/pyhwp/issues>`_"
# 317c633c180a4bda8045e2a5b1e757cf#: ../../intro.rst:38msgid "Feedbacks & contributions are welcome!"msgstr "피드백이나 기여 환영합니다."
# b200736b60a04a8480b72cb24a513db0#: ../../intro.rst:41msgid "Contributors"msgstr "기여한 이들"
# 38b9e22103b4432eaf4fdf9f452bc3e3#: ../../intro.rst:43msgid "Maintainer: `mete0r <https://github.com/mete0r>`_"msgstr "Maintainer: `mete0r <https://github.com/mete0r>`_"
# 3968cb8206a14f398a248eed814ad9aa#: ../../intro.rst:46msgid "License"msgstr "사용허가"
# d64dabb371984d2ba250f37e220aa39a#: ../../intro.rst:48msgid "Copyright (C) 2010-2023 mete0r <https://github.com/mete0r>"msgstr ""
# 32ed7d69ae9f4bf5bff4e8d68c113f4c#: ../../intro.rst:52msgid """`GNU Affero General Public License v3.0 <http://www.gnu.org/licenses/""agpl-3.0.html>`_ `(text version) <http://www.gnu.org/licenses/agpl-3.0.txt>`_"msgstr ""
# 164415d866774a9e9e7ad1008447cf74#: ../../intro.rst:55msgid """This program is free software: you can redistribute it and/or modify it ""under the terms of the GNU Affero General Public License as published by the ""Free Software Foundation, either version 3 of the License, or (at your ""option) any later version."msgstr ""
# 6cc8ef94865e4196898a83b1b80dd2e5#: ../../intro.rst:60msgid """This program is distributed in the hope that it will be useful, but WITHOUT ""ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ""FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License ""for more details."msgstr ""
# d54697f2f7dc44869d43637b7e5dcb68#: ../../intro.rst:65msgid """You should have received a copy of the GNU Affero General Public License ""along with this program. If not, see <http://www.gnu.org/licenses/>."msgstr ""
# c3270c668ef7418e951ef0bc8ac17fdd#: ../../intro.rst:69msgid "Disclosure"msgstr "공개"
# df57575778df4329940de5a8a2999e73#: ../../intro.rst:71msgid """This program has been developed in accordance with a public document named ""\"HWP Binary Specification 1.1\" published by `Hancom Inc. <http://www.""hancom.co.kr>`_"msgstr """pyhwp는 `(주)한글과컴퓨터 <http://www.hancom.co.kr>`_ 의 한/글 문서 파일(.""hwp) 공개 문서를 참고하여 개발하였습니다."
# d21d1a96770c48399bf7d7962f96c816#~ msgid ""#~ "Documentation: `http://pyhwp.readthedocs.org <http://pyhwp.readthedocs."#~ "org>`_"#~ msgstr ""#~ "문서화: `http://pyhwp.readthedocs.org <http://pyhwp.readthedocs.org>`_"docs/MakefileAdded+195
docs/changes.rstAdded+124
docs/conf.pyAdded+265
docs/converters.rstAdded+57
docs/hacking/directory-layout.rstAdded+48
docs/hacking/directory-layout/bin.rstAdded+19
docs/hacking/directory-layout/root.rstAdded+19
docs/hacking/directory-layout/tools.rstAdded+19
docs/hacking/hack-n-test.rstAdded+29
docs/hacking/index.rstAdded+13
docs/hacking/setup-env.rstAdded+37
docs/hwp5.rstAdded+62
docs/hwp5proc.rstAdded+252
docs/index.rstAdded+28
docs/intro.rstAdded+73
docs/translated/en/LC_MESSAGES/converters.poAdded+127
docs/translated/en/LC_MESSAGES/hwp5proc.poAdded+227
docs/translated/en/LC_MESSAGES/index.poAdded+48
docs/translated/en/LC_MESSAGES/intro.poAdded+187
docs/translated/ko/LC_MESSAGES/converters.poAdded+140
docs/translated/ko/LC_MESSAGES/hwp5proc.poAdded+240
docs/translated/ko/LC_MESSAGES/index.poAdded+48
docs/translated/ko/LC_MESSAGES/intro.poAdded+206