SYMBOL INDEX (2236 symbols across 209 files) FILE: ez_setup.py function _validate_md5 (line 69) | def _validate_md5(egg_name, data): function use_setuptools (line 80) | def use_setuptools( function download_setuptools (line 121) | def download_setuptools( function main (line 203) | def main(argv, version=DEFAULT_VERSION): function update_md5 (line 244) | def update_md5(filenames): FILE: misc/cleanup-pyc.py function find_files (line 9) | def find_files(root): function find_pyc_files (line 20) | def find_pyc_files(root): function main (line 26) | def main(): FILE: misc/copylxml.py function main (line 5) | def main(): FILE: misc/fix-coverage.py function main (line 8) | def main(): FILE: misc/prepare-hwp5-xsl-fixtures.py function find_hwp5files (line 11) | def find_hwp5files(dir): function main (line 16) | def main(): FILE: misc/test-cli.py function main (line 9) | def main(): FILE: misc/test-in-lo.py function main (line 4) | def main(): FILE: oxt/components.py function log_exception (line 64) | def log_exception(f): function implementation (line 75) | def implementation(component_name, *services): class Detector (line 83) | class Detector(unokit.Base, XExtendedFilterDetection): method detect (line 87) | def detect(self, mediadesc): class Importer (line 105) | class Importer(unokit.Base, XInitialization, XFilter, XImporter): method initialize (line 109) | def initialize(self, args): method setTargetDocument (line 114) | def setTargetDocument(self, target): method filter (line 120) | def filter(self, mediadesc): method cancel (line 148) | def cancel(self): class TestJob (line 153) | class TestJob(unokit.Base, XJobExecutor): method trigger (line 156) | def trigger(self, args): method tests (line 174) | def tests(self): class DetectorTest (line 185) | class DetectorTest(TestCase): method test_detect (line 187) | def test_detect(self): class ImporterTest (line 200) | class ImporterTest(TestCase): method test_filter (line 202) | def test_filter(self): FILE: pyhwp_uno/hwp5_uno/__init__.py class OleStorageAdapter (line 33) | class OleStorageAdapter(object): method __init__ (line 35) | def __init__(self, oless): method __iter__ (line 42) | def __iter__(self): method __getitem__ (line 45) | def __getitem__(self, name): class OleStorageStream (line 59) | class OleStorageStream(object): method __init__ (line 61) | def __init__(self, oless, name): method open (line 65) | def open(self): function HwpFileFromInputStream (line 70) | def HwpFileFromInputStream(inputstream): function StorageFromInputStream (line 78) | def StorageFromInputStream(inputstream): function XSLTTransformer (line 83) | def XSLTTransformer(stylesheet_url, source_url, source_url_base): function haveXSLTTransformer (line 92) | def haveXSLTTransformer(): class OneshotEvent (line 97) | class OneshotEvent(object): method __init__ (line 99) | def __init__(self): method wait (line 105) | def wait(self): method signal (line 109) | def signal(self): class XSLTListener (line 113) | class XSLTListener(unohelper.Base, XStreamListener): method __init__ (line 114) | def __init__(self): method started (line 117) | def started(self): method closed (line 120) | def closed(self): method terminated (line 124) | def terminated(self): method error (line 128) | def error(self, exception): method disposing (line 132) | def disposing(self, source): function xslt_with_libreoffice (line 137) | def xslt_with_libreoffice(xsl_path, inp_path, out_path): function load_hwp5file_into_doc (line 169) | def load_hwp5file_into_doc(hwp5file, doc, statusindicator=None): function convert_hwp5file_into_odtpkg (line 176) | def convert_hwp5file_into_odtpkg(hwp5file): function load_odt_from_storage (line 210) | def load_odt_from_storage(doc, storage, statusindicator=None): function InputSourceFromStorage (line 252) | def InputSourceFromStorage(storage, streamname): function InputSourceFromStream (line 258) | def InputSourceFromStream(stream): function let_document_import_xml (line 267) | def let_document_import_xml(doc, filter, inputsource): function inputstream_is_hwp5file (line 274) | def inputstream_is_hwp5file(inputstream): function typedetect (line 286) | def typedetect(inputstream): FILE: pyhwp_uno/hwp5_uno/tests/test_hwp5_uno.py class TestBase (line 5) | class TestBase(TestCase): method get_fixture_path (line 7) | def get_fixture_path(self, filename): method open_fixture (line 11) | def open_fixture(self, filename, *args, **kwargs): class OleStorageAdapterTest (line 16) | class OleStorageAdapterTest(TestBase): method get_adapter (line 18) | def get_adapter(self): method test_iter (line 27) | def test_iter(self): method test_getitem (line 34) | def test_getitem(self): class HwpFileFromInputStreamTest (line 55) | class HwpFileFromInputStreamTest(TestBase): method test_basic (line 57) | def test_basic(self): class StorageFromInputStreamTest (line 66) | class StorageFromInputStreamTest(TestBase): method test_basic (line 68) | def test_basic(self): class TypedetectTest (line 95) | class TypedetectTest(TestBase): method test_basic (line 96) | def test_basic(self): class LoadHwp5FileTest (line 106) | class LoadHwp5FileTest(TestBase): method get_paragraphs (line 108) | def get_paragraphs(self, text): method get_text_portions (line 112) | def get_text_portions(self, paragraph): method get_text_contents (line 116) | def get_text_contents(self, text_portion): method test_basic (line 123) | def test_basic(self): FILE: setup.py function setupdir (line 27) | def setupdir(f): function import_setuptools (line 44) | def import_setuptools(): function readfile (line 58) | def readfile(filename): function get_version (line 63) | def get_version(): function get_long_description (line 69) | def get_long_description(): function get_classifiers (line 74) | def get_classifiers(): function get_install_requires (line 82) | def get_install_requires(): class build (line 90) | class build(_build): method run (line 91) | def run(self): function main (line 196) | def main(): FILE: src/hwp5/binmodel/__init__.py class UnknownTagModel (line 243) | class UnknownTagModel(RecordModel): class Text (line 247) | class Text(object): function _check_tag_models (line 251) | def _check_tag_models(): function init_record_parsing_context (line 259) | def init_record_parsing_context(base, record): function parse_models (line 275) | def parse_models(context, records): function parse_models_intern (line 280) | def parse_models_intern(context, records): function parse_models_with_parent (line 292) | def parse_models_with_parent(context_models): function parse_model (line 303) | def parse_model(context, model): function raise_on_errorevent (line 316) | def raise_on_errorevent(context, events): function resolve_models (line 334) | def resolve_models(context, records): function resolve_model_events (line 357) | def resolve_model_events(context, model): function get_extension_mro (line 398) | def get_extension_mro(cls, up_to_cls=None): class ModelJsonEncoder (line 406) | class ModelJsonEncoder(json.JSONEncoder): method default (line 408) | def default(self, obj): function model_to_json (line 414) | def model_to_json(model, *args, **kwargs): function chain_iterables (line 428) | def chain_iterables(iterables): class ModelStream (line 434) | class ModelStream(recordstream.RecordStream): method models (line 436) | def models(self, **kwargs): method models_treegrouped (line 452) | def models_treegrouped(self, **kwargs): method model (line 460) | def model(self, idx): method models_json (line 463) | def models_json(self, **kwargs): method other_formats (line 467) | def other_formats(self): method parse_model_events (line 472) | def parse_model_events(self): class DocInfo (line 499) | class DocInfo(ModelStream): method idmappings (line 502) | def idmappings(self): method facenames_by_lang (line 508) | def facenames_by_lang(self): method charshapes (line 521) | def charshapes(self): method get_charshape (line 525) | def get_charshape(self, charshape_id): method charshape_lang_facename (line 528) | def charshape_lang_facename(self, charshape_id, lang): class Sections (line 534) | class Sections(recordstream.Sections): class Hwp5File (line 539) | class Hwp5File(recordstream.Hwp5File): function create_context (line 545) | def create_context(file=None, **context): FILE: src/hwp5/binmodel/_shared.py class RecordModelType (line 49) | class RecordModelType(StructType): method __new__ (line 51) | def __new__(mcs, name, bases, attrs): class RecordModel (line 60) | class RecordModel(with_metaclass(RecordModelType, object)): class BinStorageId (line 64) | class BinStorageId(UINT16): class COLORREF (line 68) | class COLORREF(with_metaclass(PrimitiveType, int)): method __getattr__ (line 72) | def __getattr__(self, name): method __str__ (line 84) | def __str__(self): method __repr__ (line 87) | def __repr__(self): class Margin (line 93) | class Margin(Struct): method attributes (line 94) | def attributes(): class Coord (line 102) | class Coord(Struct): method attributes (line 103) | def attributes(): class Border (line 109) | class Border(Struct): method attributes (line 142) | def attributes(cls): class BorderLine (line 149) | class BorderLine(Struct): method attributes (line 169) | def attributes(cls): class Fill (line 176) | class Fill(Struct): class FillNone (line 180) | class FillNone(Fill): method attributes (line 181) | def attributes(): class FillColorPattern (line 186) | class FillColorPattern(Fill): method attributes (line 193) | def attributes(cls): class FillImage (line 200) | class FillImage(Fill): method attributes (line 227) | def attributes(cls): class Coord32 (line 236) | class Coord32(Struct): method attributes (line 237) | def attributes(): class FillGradation (line 248) | class FillGradation(Fill): method attributes (line 249) | def attributes(): function ref_parent_member (line 260) | def ref_parent_member(member_name): FILE: src/hwp5/binmodel/controlchar.py class CHID (line 38) | class CHID(with_metaclass(PrimitiveType, str)): method decode (line 109) | def decode(bytes, context=None): class ControlChar (line 122) | class ControlChar(object): class CHAR (line 123) | class CHAR(object): class INLINE (line 126) | class INLINE(object): class EXTENDED (line 129) | class EXTENDED(object): method _populate (line 161) | def _populate(cls): method find (line 167) | def find(cls, data, start_idx): method decode (line 185) | def decode(cls, bytes): method get_kind_by_code (line 204) | def get_kind_by_code(cls, code): method get_name_by_code (line 209) | def get_name_by_code(cls, code): FILE: src/hwp5/binmodel/controls/_shared.py class ControlType (line 34) | class ControlType(RecordModelType): method __new__ (line 36) | def __new__(mcs, name, bases, attrs): class Control (line 45) | class Control(with_metaclass(ControlType, RecordModel)): method attributes (line 50) | def attributes(): method get_extension_key (line 56) | def get_extension_key(cls, context, model): FILE: src/hwp5/binmodel/controls/bookmark_control.py class BookmarkControl (line 31) | class BookmarkControl(Control): method attributes (line 35) | def attributes(): class BookmarkControlData (line 41) | class BookmarkControlData(ControlData): method attributes (line 45) | def attributes(): FILE: src/hwp5/binmodel/controls/columns_def.py class Column0 (line 36) | class Column0(Struct): method attributes (line 39) | def attributes(): class Column (line 43) | class Column(Struct): method attributes (line 45) | def attributes(): class ColumnsDef (line 50) | class ColumnsDef(Control): method attributes (line 62) | def attributes(cls): FILE: src/hwp5/binmodel/controls/common_controls.py class CommonControl (line 34) | class CommonControl(Control): method attributes (line 68) | def attributes(cls): FILE: src/hwp5/binmodel/controls/dutmal.py class Dutmal (line 31) | class Dutmal(Control): method attributes (line 38) | def attributes(cls): FILE: src/hwp5/binmodel/controls/field.py class Field (line 32) | class Field(Control): method attributes (line 40) | def attributes(cls): class FieldUnknown (line 48) | class FieldUnknown(Field): class FieldDate (line 52) | class FieldDate(Field): class FieldDocDate (line 56) | class FieldDocDate(Field): class FieldPath (line 60) | class FieldPath(Field): class FieldBookmark (line 64) | class FieldBookmark(Field): class FieldMailMerge (line 68) | class FieldMailMerge(Field): class FieldCrossRef (line 72) | class FieldCrossRef(Field): class FieldFormula (line 76) | class FieldFormula(Field): class FieldClickHere (line 80) | class FieldClickHere(Field): class FieldClickHereData (line 84) | class FieldClickHereData(ControlData): class FieldSummary (line 88) | class FieldSummary(Field): class FieldUserInfo (line 92) | class FieldUserInfo(Field): class FieldHyperLink (line 96) | class FieldHyperLink(Field): method geturl (line 99) | def geturl(self): class FieldRevisionSign (line 104) | class FieldRevisionSign(Field): class FieldRevisionDelete (line 108) | class FieldRevisionDelete(Field): class FieldRevisionAttach (line 112) | class FieldRevisionAttach(Field): class FieldRevisionClipping (line 116) | class FieldRevisionClipping(Field): class FieldRevisionSawtooth (line 120) | class FieldRevisionSawtooth(Field): class FieldRevisionThinking (line 124) | class FieldRevisionThinking(Field): class FieldRevisionPraise (line 128) | class FieldRevisionPraise(Field): class FieldRevisionLine (line 132) | class FieldRevisionLine(Field): class FieldRevisionSimpleChange (line 136) | class FieldRevisionSimpleChange(Field): class FieldRevisionHyperlink (line 140) | class FieldRevisionHyperlink(Field): class FieldRevisionLineAttach (line 144) | class FieldRevisionLineAttach(Field): class FieldRevisionLineLink (line 148) | class FieldRevisionLineLink(Field): class FieldRevisionLineTransfer (line 152) | class FieldRevisionLineTransfer(Field): class FieldRevisionRightMove (line 156) | class FieldRevisionRightMove(Field): class FieldRevisionLeftMove (line 160) | class FieldRevisionLeftMove(Field): class FieldRevisionTransfer (line 164) | class FieldRevisionTransfer(Field): class FieldRevisionSimpleInsert (line 168) | class FieldRevisionSimpleInsert(Field): class FieldRevisionSplit (line 172) | class FieldRevisionSplit(Field): class FieldRevisionChange (line 176) | class FieldRevisionChange(Field): class FieldMemo (line 180) | class FieldMemo(Field): class FieldPrivateInfoSecurity (line 184) | class FieldPrivateInfoSecurity(Field): FILE: src/hwp5/binmodel/controls/gshape_object_control.py class GShapeObjectControl (line 27) | class GShapeObjectControl(CommonControl): FILE: src/hwp5/binmodel/controls/header_footer.py class HeaderFooter (line 30) | class HeaderFooter(Control): method attributes (line 36) | def attributes(cls): class Header (line 41) | class Header(HeaderFooter): class Footer (line 46) | class Footer(HeaderFooter): FILE: src/hwp5/binmodel/controls/hidden_comment.py class HiddenComment (line 27) | class HiddenComment(Control): method attributes (line 31) | def attributes(): FILE: src/hwp5/binmodel/controls/index_marker.py class IndexMarker (line 29) | class IndexMarker(Control): method attributes (line 33) | def attributes(): FILE: src/hwp5/binmodel/controls/note.py class Note (line 29) | class Note(Control): method attributes (line 31) | def attributes(): class FootNote (line 40) | class FootNote(Note): class EndNote (line 45) | class EndNote(Note): FILE: src/hwp5/binmodel/controls/numbering.py class NumberingControl (line 32) | class NumberingControl(Control): method attributes (line 42) | def attributes(cls): class AutoNumbering (line 48) | class AutoNumbering(NumberingControl): method attributes (line 52) | def attributes(cls): method __unicode__ (line 58) | def __unicode__(self): class NewNumbering (line 67) | class NewNumbering(NumberingControl): FILE: src/hwp5/binmodel/controls/page_hide.py class PageHide (line 29) | class PageHide(Control): method attributes (line 40) | def attributes(cls): FILE: src/hwp5/binmodel/controls/page_number_position.py class PageNumberPosition (line 31) | class PageNumberPosition(Control): method attributes (line 43) | def attributes(cls): FILE: src/hwp5/binmodel/controls/page_odd_even.py class PageOddEven (line 30) | class PageOddEven(Control): method attributes (line 37) | def attributes(cls): FILE: src/hwp5/binmodel/controls/section_def.py class SectionDef (line 34) | class SectionDef(Control): method attributes (line 52) | def attributes(cls): class SectionDefData (line 68) | class SectionDefData(ControlData): method attributes (line 71) | def attributes(): FILE: src/hwp5/binmodel/controls/table_control.py class TableControl (line 28) | class TableControl(CommonControl): method on_child (line 31) | def on_child(cls, attributes, context, child): FILE: src/hwp5/binmodel/controls/tcps_control.py class TCPSControl (line 28) | class TCPSControl(Control): method attributes (line 32) | def attributes(): FILE: src/hwp5/binmodel/tagid16_document_properties.py class DocumentProperties (line 29) | class DocumentProperties(RecordModel): method attributes (line 34) | def attributes(): FILE: src/hwp5/binmodel/tagid17_id_mappings.py class IdMappings (line 28) | class IdMappings(RecordModel): method attributes (line 33) | def attributes(): FILE: src/hwp5/binmodel/tagid18_bin_data.py class BinDataLink (line 35) | class BinDataLink(Struct): method attributes (line 36) | def attributes(): class BinDataEmbedding (line 42) | class BinDataEmbedding(Struct): method attributes (line 43) | def attributes(): class BinDataStorage (line 49) | class BinDataStorage(Struct): method attributes (line 50) | def attributes(): class BinData (line 55) | class BinData(RecordModel): method attributes (line 69) | def attributes(cls): FILE: src/hwp5/binmodel/tagid19_face_name.py class AlternateFont (line 32) | class AlternateFont(Struct): method attributes (line 33) | def attributes(): class Panose1 (line 39) | class Panose1(Struct): method attributes (line 86) | def attributes(): class FaceName (line 100) | class FaceName(RecordModel): method attributes (line 115) | def attributes(cls): FILE: src/hwp5/binmodel/tagid20_border_fill.py class BorderFill (line 36) | class BorderFill(RecordModel): method attributes (line 54) | def attributes(cls): FILE: src/hwp5/binmodel/tagid21_char_shape.py function LanguageStruct (line 37) | def LanguageStruct(name, basetype): class ShadowSpace (line 47) | class ShadowSpace(Struct): method attributes (line 48) | def attributes(): class CharShape (line 54) | class CharShape(RecordModel): method attributes (line 73) | def attributes(cls): FILE: src/hwp5/binmodel/tagid22_tab_def.py class Tab (line 33) | class Tab(Struct): method attributes (line 42) | def attributes(cls): class TabDef (line 47) | class TabDef(RecordModel): method attributes (line 58) | def attributes(cls): FILE: src/hwp5/binmodel/tagid23_numbering.py class NumberingLevel (line 36) | class NumberingLevel(Struct): method attributes (line 48) | def attributes(cls): class Numbering (line 57) | class Numbering(RecordModel): method attributes (line 65) | def attributes(cls): FILE: src/hwp5/binmodel/tagid24_bullet.py class Bullet (line 40) | class Bullet(RecordModel): method attributes (line 46) | def attributes(): FILE: src/hwp5/binmodel/tagid25_para_shape.py class ParaShape (line 34) | class ParaShape(RecordModel): method attributes (line 78) | def attributes(cls): FILE: src/hwp5/binmodel/tagid26_style.py class Style (line 33) | class Style(RecordModel): method attributes (line 42) | def attributes(cls): FILE: src/hwp5/binmodel/tagid27_doc_data.py class DocData (line 27) | class DocData(RecordModel): FILE: src/hwp5/binmodel/tagid28_distribute_doc_data.py class DistributeDocData (line 27) | class DistributeDocData(RecordModel): FILE: src/hwp5/binmodel/tagid30_compatible_document.py class CompatibleDocument (line 30) | class CompatibleDocument(RecordModel): method attributes (line 39) | def attributes(cls): FILE: src/hwp5/binmodel/tagid31_layout_compatibility.py class LayoutCompatibility (line 28) | class LayoutCompatibility(RecordModel): method attributes (line 32) | def attributes(): FILE: src/hwp5/binmodel/tagid32_unknown.py class TagModel32 (line 27) | class TagModel32(RecordModel): FILE: src/hwp5/binmodel/tagid50_para_header.py class Paragraph (line 31) | class Paragraph(RecordModel): method attributes (line 50) | def attributes(cls): FILE: src/hwp5/binmodel/tagid51_para_text.py class ParaTextChunks (line 32) | class ParaTextChunks(with_metaclass(ArrayType, list)): method read (line 34) | def read(cls, f): method parse_chunks (line 39) | def parse_chunks(bytes): class ParaText (line 55) | class ParaText(RecordModel): method attributes (line 59) | def attributes(): FILE: src/hwp5/binmodel/tagid52_para_char_shape.py class ParaCharShape (line 35) | class ParaCharShape(RecordModel): method attributes (line 39) | def attributes(): class ParaCharShapeList (line 47) | class ParaCharShapeList(with_metaclass(ArrayType, list)): method read (line 51) | def read(cls, f, context): method decode (line 56) | def decode(payload, context=None): FILE: src/hwp5/binmodel/tagid53_para_line_seg.py class LineSeg (line 37) | class LineSeg(Struct): method attributes (line 48) | def attributes(cls): class ParaLineSeg (line 61) | class ParaLineSeg(RecordModel): method attributes (line 66) | def attributes(cls): class ParaLineSegList (line 73) | class ParaLineSegList(with_metaclass(ArrayType, list)): method read (line 77) | def read(cls, f, context): method decode (line 82) | def decode(cls, context, payload): FILE: src/hwp5/binmodel/tagid54_para_range_tag.py class RangeTag (line 32) | class RangeTag(Struct): method attributes (line 40) | def attributes(cls): class ParaRangeTag (line 46) | class ParaRangeTag(RecordModel): method attributes (line 52) | def attributes(): FILE: src/hwp5/binmodel/tagid56_list_header.py class ListHeaderType (line 47) | class ListHeaderType(RecordModelType): method __new__ (line 49) | def __new__(mcs, name, bases, attrs): class ListHeader (line 60) | class ListHeader(with_metaclass(ListHeaderType, RecordModel)): method attributes (line 71) | def attributes(cls): method get_extension_key (line 80) | def get_extension_key(context, model): class TableCaption (line 89) | class TableCaption(ListHeader): method attributes (line 101) | def attributes(cls): class TableCell (line 110) | class TableCell(ListHeader): method attributes (line 115) | def attributes(): class GShapeObjectCaption (line 128) | class GShapeObjectCaption(TableCaption): class TextboxParagraphList (line 132) | class TextboxParagraphList(ListHeader): method attributes (line 136) | def attributes(): class HeaderFooterParagraphList (line 142) | class HeaderFooterParagraphList(ListHeader): method attributes (line 144) | def attributes(): class HeaderParagraphList (line 152) | class HeaderParagraphList(HeaderFooterParagraphList): class FooterParagraphList (line 156) | class FooterParagraphList(HeaderFooterParagraphList): FILE: src/hwp5/binmodel/tagid57_page_def.py class PageDef (line 31) | class PageDef(RecordModel): method attributes (line 39) | def attributes(cls): method getDimension (line 53) | def getDimension(self): method getHeight (line 64) | def getHeight(self): method getWidth (line 76) | def getWidth(self): FILE: src/hwp5/binmodel/tagid58_footnote_shape.py class FootnoteShape (line 34) | class FootnoteShape(RecordModel): method attributes (line 38) | def attributes(cls): FILE: src/hwp5/binmodel/tagid59_page_border_fill.py class PageBorderFill (line 32) | class PageBorderFill(RecordModel): method attributes (line 42) | def attributes(cls): FILE: src/hwp5/binmodel/tagid60_shape_component.py class Matrix (line 47) | class Matrix(Struct): method attributes (line 56) | def attributes(): class ScaleRotationMatrix (line 66) | class ScaleRotationMatrix(Struct): method attributes (line 67) | def attributes(): function parent_must_be_gso (line 73) | def parent_must_be_gso(context, values): function chid_is_container (line 82) | def chid_is_container(context, values): function chid_is_rect (line 87) | def chid_is_rect(context, values): function chid_is_rect_and_fill_colorpattern (line 92) | def chid_is_rect_and_fill_colorpattern(context, values): function chid_is_rect_and_fill_image (line 98) | def chid_is_rect_and_fill_image(context, values): function chid_is_rect_and_fill_gradation (line 104) | def chid_is_rect_and_fill_gradation(context, values): function chid_is_line (line 110) | def chid_is_line(context, values): class ShapeComponent (line 115) | class ShapeComponent(RecordModel): method attributes (line 125) | def attributes(cls): FILE: src/hwp5/binmodel/tagid61_table.py class ZoneInfo (line 37) | class ZoneInfo(Struct): method attributes (line 38) | def attributes(): class TableBody (line 48) | class TableBody(RecordModel): method attributes (line 58) | def attributes(cls): FILE: src/hwp5/binmodel/tagid62_shape_component_line.py class ShapeLine (line 29) | class ShapeLine(RecordModel): method attributes (line 33) | def attributes(): FILE: src/hwp5/binmodel/tagid63_shape_component_rectangle.py class ShapeRectangle (line 29) | class ShapeRectangle(RecordModel): method attributes (line 33) | def attributes(): FILE: src/hwp5/binmodel/tagid64_shape_component_ellipse.py class ShapeEllipse (line 30) | class ShapeEllipse(RecordModel): method attributes (line 40) | def attributes(cls): FILE: src/hwp5/binmodel/tagid65_shape_component_arc.py class ShapeArc (line 28) | class ShapeArc(RecordModel): method attributes (line 32) | def attributes(cls): FILE: src/hwp5/binmodel/tagid66_shape_component_polygon.py class ShapePolygon (line 30) | class ShapePolygon(RecordModel): method attributes (line 34) | def attributes(cls): FILE: src/hwp5/binmodel/tagid67_shape_component_curve.py class ShapeCurve (line 30) | class ShapeCurve(RecordModel): method attributes (line 35) | def attributes(cls): FILE: src/hwp5/binmodel/tagid68_shape_component_ole.py class ShapeOLE (line 32) | class ShapeOLE(RecordModel): method attributes (line 47) | def attributes(cls): FILE: src/hwp5/binmodel/tagid69_shape_component_picture.py class PictureInfo (line 37) | class PictureInfo(Struct): method attributes (line 39) | def attributes(): class PictureEffect (line 47) | class PictureEffect(Struct): method attributes (line 53) | def attributes(cls): class ImageRect (line 59) | class ImageRect(Struct): method attributes (line 62) | def attributes(): class ImageClip (line 71) | class ImageClip(Struct): method attributes (line 74) | def attributes(): class ShapePicture (line 82) | class ShapePicture(RecordModel): method attributes (line 86) | def attributes(): FILE: src/hwp5/binmodel/tagid70_shape_component_container.py class ShapeContainer (line 27) | class ShapeContainer(RecordModel): FILE: src/hwp5/binmodel/tagid71_ctrl_data.py class ControlDataType (line 33) | class ControlDataType(RecordModelType): method __new__ (line 35) | def __new__(mcs, name, bases, attrs): class ControlData (line 44) | class ControlData(with_metaclass(ControlDataType, RecordModel)): method get_extension_key (line 51) | def get_extension_key(cls, context, model): FILE: src/hwp5/binmodel/tagid72_ctrl_eqedit.py class EqEdit (line 30) | class EqEdit(RecordModel): method attributes (line 39) | def attributes(cls): FILE: src/hwp5/binmodel/tagid74_shape_component_textart.py class ShapeTextArt (line 27) | class ShapeTextArt(RecordModel): FILE: src/hwp5/binmodel/tagid75_form_object.py class FormObject (line 27) | class FormObject(RecordModel): FILE: src/hwp5/binmodel/tagid76_memo_shape.py class MemoShape (line 27) | class MemoShape(RecordModel): FILE: src/hwp5/binmodel/tagid77_memo_list.py class MemoList (line 27) | class MemoList(RecordModel): FILE: src/hwp5/binmodel/tagid78_forbidden_char.py class ForbiddenChar (line 27) | class ForbiddenChar(RecordModel): FILE: src/hwp5/binmodel/tagid79_chart_data.py class ChartData (line 27) | class ChartData(RecordModel): FILE: src/hwp5/binmodel/tagid99_shape_component_unknown.py class ShapeUnknown (line 27) | class ShapeUnknown(RecordModel): FILE: src/hwp5/binspec.py function define_enum_type (line 41) | def define_enum_type(enum_type): function define_bitfield (line 54) | def define_bitfield(bitgroup_name, bitgroup_desc): function define_flags_type (line 63) | def define_flags_type(flags_type): function define_fixed_array_type (line 81) | def define_fixed_array_type(array_type): function define_variable_length_array_type (line 90) | def define_variable_length_array_type(array_type): function define_x_array_type (line 99) | def define_x_array_type(t): function define_selective_type (line 106) | def define_selective_type(t): function reference_type (line 116) | def reference_type(t): function referenced_types_by_member (line 144) | def referenced_types_by_member(member): function define_member (line 152) | def define_member(struct_type, member): function direct_referenced_types (line 177) | def direct_referenced_types(t): function referenced_types_by_struct_type (line 204) | def referenced_types_by_struct_type(t): function extension_sort_key (line 211) | def extension_sort_key(cls): function sort_extensions (line 219) | def sort_extensions(extension_types): function extensions_of_tag_model (line 228) | def extensions_of_tag_model(tag_model): function define_struct_type (line 238) | def define_struct_type(t): function define_tag_model (line 250) | def define_tag_model(tag_id): function define_base_type (line 267) | def define_base_type(t): function make_condition_value (line 272) | def make_condition_value(value): function define_extension (line 285) | def define_extension(t, up_to_type, name, value): function get_extends (line 301) | def get_extends(t, up_to_type=None): function define_extends (line 320) | def define_extends(t): function define_primitive_type (line 326) | def define_primitive_type(t): function main (line 342) | def main(): FILE: src/hwp5/bintype.py function bintype_map_events (line 44) | def bintype_map_events(bin_item): function filter_with_version (line 89) | def filter_with_version(events, version): function make_items_immutable (line 104) | def make_items_immutable(events): function compile_type_definition (line 117) | def compile_type_definition(bin_item): function get_compiled_typedef (line 126) | def get_compiled_typedef(type): function get_compiled_typedef_with_version (line 137) | def get_compiled_typedef_with_version(type, version): class ERROREVENT (line 155) | class ERROREVENT(object): function static_to_mutable (line 159) | def static_to_mutable(events): function pop_subevents (line 172) | def pop_subevents(events_deque): function resolve_typedefs (line 186) | def resolve_typedefs(typedef_events, context): function evaluate_bin_values (line 286) | def evaluate_bin_values(events): function construct_composite_values (line 295) | def construct_composite_values(events): function log_events (line 328) | def log_events(events, log_fn): function eval_typedef_events (line 356) | def eval_typedef_events(typedef_events, context, resolve_values): function resolve_values_from_stream (line 366) | def resolve_values_from_stream(stream): function resolve_value_from_stream (line 380) | def resolve_value_from_stream(item, stream): function resolve_type_events (line 412) | def resolve_type_events(type, context, resolve_values): function read_type_events (line 425) | def read_type_events(type, context, stream): function read_type_item (line 442) | def read_type_item(type, context, stream, binevents=None): function read_type (line 453) | def read_type(type, context, stream, binevents=None): function dump_events (line 458) | def dump_events(events): function main (line 497) | def main(): FILE: src/hwp5/charsets.py function get_unichr_lang (line 24) | def get_unichr_lang(uch): function tokenize_unicode_by_lang (line 92) | def tokenize_unicode_by_lang(text): FILE: src/hwp5/cli.py function init_logger (line 33) | def init_logger(args): function init_with_environ (line 77) | def init_with_environ(): function open_hwpfile (line 87) | def open_hwpfile(args): function parse_recordstream_name (line 98) | def parse_recordstream_name(hwpfile, streamname): FILE: src/hwp5/compressed.py class ZLibIncrementalDecoder (line 29) | class ZLibIncrementalDecoder(codecs.IncrementalDecoder): method __init__ (line 30) | def __init__(self, errors='strict', wbits=15): method decode (line 36) | def decode(self, input, final=False): method reset (line 42) | def reset(self): function decompress_gen (line 46) | def decompress_gen(source, bufsize=4096): function decompress_experimental (line 56) | def decompress_experimental(source, bufsize=4096): function decompress (line 65) | def decompress(stream): FILE: src/hwp5/dataio.py class Eof (line 45) | class Eof(Exception): method __init__ (line 46) | def __init__(self, *args): class OutOfData (line 50) | class OutOfData(Exception): function readn (line 54) | def readn(f, size): class PrimitiveType (line 66) | class PrimitiveType(type): method __new__ (line 67) | def __new__(mcs, name, bases, attrs): function Primitive (line 106) | def Primitive(name, basetype, binfmt, **attrs): class HexBytes (line 131) | class HexBytes(type): method __new__ (line 132) | def __new__(mcs, size): function decode_uint16le_array_default (line 138) | def decode_uint16le_array_default(bytes): function decode_uint16le_array_in_jython (line 145) | def decode_uint16le_array_in_jython(bytes): class BSTR (line 162) | class BSTR(with_metaclass(PrimitiveType, unicode)): method read (line 164) | def read(f): function decode_utf16le_with_hypua (line 173) | def decode_utf16le_with_hypua(bytes): class BitGroupDescriptor (line 183) | class BitGroupDescriptor(object): method __init__ (line 184) | def __init__(self, bitgroup): method __get__ (line 197) | def __get__(self, instance, owner): method get_int_value (line 201) | def get_int_value(self, instance): class FlagsType (line 207) | class FlagsType(type): method __new__ (line 208) | def __new__(mcs, name, bases, attrs): function _lex_flags_args (line 230) | def _lex_flags_args(args): function _parse_flags_args (line 240) | def _parse_flags_args(args): function Flags (line 287) | def Flags(basetype, *args): class EnumType (line 296) | class EnumType(type): method __new__ (line 297) | def __new__(mcs, enum_type_name, bases, attrs): method __init__ (line 373) | def __init__(cls, *args, **kwargs): function Enum (line 377) | def Enum(*items, **moreitems): class CompoundType (line 382) | class CompoundType(type): method __new__ (line 383) | def __new__(mcs, name, bases, attrs): class ArrayType (line 387) | class ArrayType(CompoundType): method __init__ (line 388) | def __init__(self, *args, **kwargs): class FixedArrayType (line 392) | class FixedArrayType(ArrayType): method __new__ (line 396) | def __new__(mcs, itemtype, size): class VariableLengthArrayType (line 413) | class VariableLengthArrayType(ArrayType): method __new__ (line 417) | def __new__(mcs, counttype, itemtype): function ref_member (line 434) | def ref_member(member_name): function ref_member_flag (line 441) | def ref_member_flag(member_name, bitfield_name): class X_ARRAY (line 448) | class X_ARRAY(object): method __init__ (line 450) | def __init__(self, itemtype, count_reference): method __call__ (line 457) | def __call__(self, context, values): class SelectiveType (line 462) | class SelectiveType(object): method __init__ (line 464) | def __init__(self, selector_reference, selections): method __call__ (line 469) | def __call__(self, context, values): class ParseError (line 474) | class ParseError(Exception): method __init__ (line 478) | def __init__(self, *args, **kwargs): method print_to_logger (line 486) | def print_to_logger(self, logger): function typed_struct_attributes (line 523) | def typed_struct_attributes(struct, attributes, context): class StructType (line 541) | class StructType(CompoundType): method __init__ (line 542) | def __init__(cls, name, bases, attrs): method parse_members (line 557) | def parse_members(cls, context, getvalue): method parse_members_with_inherited (line 581) | def parse_members_with_inherited(cls, context, getvalue, up_to_cls=None): class Struct (line 591) | class Struct(with_metaclass(StructType, object)): function dumpbytes (line 595) | def dumpbytes(data, crust=False): function hexdump (line 622) | def hexdump(data, crust=False): class IndentedOutput (line 626) | class IndentedOutput: method __init__ (line 627) | def __init__(self, base, level): method write (line 631) | def write(self, x): class Printer (line 639) | class Printer: method __init__ (line 640) | def __init__(self, baseout): method prints (line 643) | def prints(self, *args): FILE: src/hwp5/distdoc.py function decode (line 37) | def decode(stream): class Random (line 48) | class Random: method __init__ (line 52) | def __init__(self, seed): method rand (line 55) | def rand(self): function decode_head_to_sha1 (line 61) | def decode_head_to_sha1(record_payload): function decode_head_to_key (line 93) | def decode_head_to_key(record_payload): function decrypt_tail (line 98) | def decrypt_tail(key, encrypted_tail): FILE: src/hwp5/errors.py class InvalidOleStorageError (line 24) | class InvalidOleStorageError(Exception): class InvalidHwp5FileError (line 29) | class InvalidHwp5FileError(Exception): class ImplementationNotAvailable (line 34) | class ImplementationNotAvailable(Exception): class ValidationFailed (line 38) | class ValidationFailed(Exception): class RelaxNGValidationFailed (line 42) | class RelaxNGValidationFailed(ValidationFailed): FILE: src/hwp5/filestructure.py class BYTES (line 52) | class BYTES(type): method __new__ (line 53) | def __new__(mcs, size): class VERSION (line 59) | class VERSION(object): method decode (line 63) | def decode(cls, bytes): method decode (line 66) | def decode(cls, bytes): class FileHeader (line 72) | class FileHeader(Struct): method attributes (line 87) | def attributes(cls): function is_hwp5file (line 95) | def is_hwp5file(filename): function storage_is_hwp5file (line 104) | def storage_is_hwp5file(stg): class CompressedStream (line 118) | class CompressedStream(ItemWrapper): method open (line 120) | def open(self): class CompressedStorage (line 124) | class CompressedStorage(StorageWrapper): method __getitem__ (line 126) | def __getitem__(self, name): class PasswordProtectedStream (line 134) | class PasswordProtectedStream(ItemWrapper): method open (line 136) | def open(self): class PasswordProtectedStorage (line 143) | class PasswordProtectedStorage(StorageWrapper): method __getitem__ (line 144) | def __getitem__(self, name): class Hwp5PasswordProtectedDoc (line 152) | class Hwp5PasswordProtectedDoc(ItemConversionStorage): method resolve_conversion_for (line 154) | def resolve_conversion_for(self, name): class VersionSensitiveItem (line 161) | class VersionSensitiveItem(ItemWrapper): method __init__ (line 163) | def __init__(self, item, version): method open (line 167) | def open(self): method other_formats (line 170) | def other_formats(self): class Hwp5FileBase (line 174) | class Hwp5FileBase(ItemConversionStorage): method __init__ (line 185) | def __init__(self, stg): method resolve_conversion_for (line 198) | def resolve_conversion_for(self, name): method get_fileheader (line 202) | def get_fileheader(self): class Hwp5DistDocStream (line 210) | class Hwp5DistDocStream(VersionSensitiveItem): method open (line 212) | def open(self): method head_record (line 217) | def head_record(self): method head_record_stream (line 222) | def head_record_stream(self): method head (line 228) | def head(self): method head_stream (line 232) | def head_stream(self): method head_sha1 (line 235) | def head_sha1(self): method head_key (line 240) | def head_key(self): method tail (line 245) | def tail(self): method tail_decrypted (line 252) | def tail_decrypted(self): method tail_stream (line 258) | def tail_stream(self): class Hwp5DistDocStorage (line 262) | class Hwp5DistDocStorage(ItemConversionStorage): method resolve_conversion_for (line 264) | def resolve_conversion_for(self, name): class Hwp5DistDoc (line 270) | class Hwp5DistDoc(ItemConversionStorage): method resolve_conversion_for (line 272) | def resolve_conversion_for(self, name): class Hwp5Compression (line 277) | class Hwp5Compression(ItemConversionStorage): method resolve_conversion_for (line 280) | def resolve_conversion_for(self, name): class PreviewText (line 289) | class PreviewText(object): method __init__ (line 291) | def __init__(self, item): method other_formats (line 294) | def other_formats(self): method open_utf8 (line 297) | def open_utf8(self): method get_utf8 (line 301) | def get_utf8(self): method get_text (line 310) | def get_text(self): method __str__ (line 320) | def __str__(self): method __unicode__ (line 325) | def __unicode__(self): class Sections (line 329) | class Sections(ItemConversionStorage): method __init__ (line 333) | def __init__(self, stg, version): method resolve_conversion_for (line 337) | def resolve_conversion_for(self, name): method other_formats (line 342) | def other_formats(self): method section (line 345) | def section(self, idx): method section_indexes (line 348) | def section_indexes(self): method sections (line 364) | def sections(self): class HwpFileHeader (line 369) | class HwpFileHeader(object): method __init__ (line 371) | def __init__(self, item): method to_dict (line 374) | def to_dict(self): method get_version (line 383) | def get_version(self): method get_signature (line 388) | def get_signature(self): method get_flags (line 393) | def get_flags(self): method open_text (line 398) | def open_text(self): method other_formats (line 412) | def other_formats(self): class HwpSummaryInfo (line 416) | class HwpSummaryInfo(VersionSensitiveItem): method other_formats (line 418) | def other_formats(self): method getPropertySetStream (line 421) | def getPropertySetStream(self): method getHwpSummaryInfoPropertySet (line 440) | def getHwpSummaryInfoPropertySet(self): method title (line 448) | def title(self): method subject (line 453) | def subject(self): method author (line 458) | def author(self): method keywords (line 463) | def keywords(self): method comments (line 468) | def comments(self): method lastSavedBy (line 473) | def lastSavedBy(self): method revisionNumber (line 478) | def revisionNumber(self): method lastPrintedTime (line 483) | def lastPrintedTime(self): method createdTime (line 488) | def createdTime(self): method lastSavedTime (line 493) | def lastSavedTime(self): method numberOfPages (line 498) | def numberOfPages(self): method dateString (line 503) | def dateString(self): method numberOfParagraphs (line 508) | def numberOfParagraphs(self): method plaintext_lines (line 513) | def plaintext_lines(self): method open_text (line 519) | def open_text(self): class Hwp5File (line 528) | class Hwp5File(ItemConversionStorage): method __init__ (line 536) | def __init__(self, stg): method resolve_conversion_for (line 556) | def resolve_conversion_for(self, name): method with_version (line 568) | def with_version(self, f): method summaryinfo (line 578) | def summaryinfo(self): method docinfo (line 582) | def docinfo(self): method preview_text (line 586) | def preview_text(self): method bodytext (line 590) | def bodytext(self): method viewtext (line 594) | def viewtext(self): method text (line 598) | def text(self): FILE: src/hwp5/hwp5html.py class HTMLTransform (line 54) | class HTMLTransform(BaseTransform): method transform_hwp5_to_css (line 57) | def transform_hwp5_to_css(self): method transform_hwp5_to_xhtml (line 65) | def transform_hwp5_to_xhtml(self): method transform_hwp5_to_dir (line 72) | def transform_hwp5_to_dir(self, hwp5file, outdir): method transform_xhwp5_to_css (line 83) | def transform_xhwp5_to_css(self): method transform_xhwp5_to_xhtml (line 91) | def transform_xhwp5_to_xhtml(self): method transform_xhwp5_to_dir (line 98) | def transform_xhwp5_to_dir(self, xhwp5path, outdir): method extract_bindata_dir (line 110) | def extract_bindata_dir(self, hwp5file, bindata_dir): function main (line 121) | def main(): function main_argparser (line 160) | def main_argparser(): function open_dir (line 202) | def open_dir(path): function wrap_for_css (line 209) | def wrap_for_css(open_dest): function wrap_for_xml (line 219) | def wrap_for_xml(open_dest): FILE: src/hwp5/hwp5odt.py class ODFValidate (line 64) | class ODFValidate: method __init__ (line 66) | def __init__(self, relaxng_compile=None): method get_default_relaxng_compile (line 78) | def get_default_relaxng_compile(cls): method odf_validator (line 85) | def odf_validator(self): method make_odf_validator (line 92) | def make_odf_validator(self): class ODTTransform (line 98) | class ODTTransform(BaseTransform, ODFValidate): method __init__ (line 100) | def __init__(self, xslt_compile=None, relaxng_compile=None, method transform_hwp5_to_styles (line 111) | def transform_hwp5_to_styles(self): method transform_hwp5_to_content (line 120) | def transform_hwp5_to_content(self): method transform_hwp5_to_single_document (line 129) | def transform_hwp5_to_single_document(self): method transform_hwp5_to_package (line 137) | def transform_hwp5_to_package(self, hwp5file, odtpkg): method transform_xhwp5_to_styles (line 154) | def transform_xhwp5_to_styles(self): method transform_xhwp5_to_content (line 163) | def transform_xhwp5_to_content(self): method transform_xhwp5_to_single_document (line 172) | def transform_xhwp5_to_single_document(self): method transform_xhwp5_into_package (line 181) | def transform_xhwp5_into_package(self): method transformed_styles_at_temp (line 199) | def transformed_styles_at_temp(self, xhwp5path): method transformed_content_at_temp (line 207) | def transformed_content_at_temp(self, xhwp5path): method transformed_single_document_at_temp (line 215) | def transformed_single_document_at_temp(self, xhwp5path): method make_odf_transform (line 223) | def make_odf_transform(self, resource_path): function transformed_at_temp_path (line 236) | def transformed_at_temp_path(inp_path, transform): class ODTPackage (line 243) | class ODTPackage(object): method __init__ (line 244) | def __init__(self, path_or_zipfile): method insert_path (line 254) | def insert_path(self, src_path, path, media_type): method insert_stream (line 258) | def insert_stream(self, f, path, media_type): method close (line 264) | def close(self): function manifest_xml (line 275) | def manifest_xml(f, files): function manifest_rdf (line 311) | def manifest_rdf(f): function main (line 326) | def main(): function main_argparser (line 373) | def main_argparser(): function replace_ext (line 430) | def replace_ext(path, ext): function open_odtpkg (line 437) | def open_odtpkg(path): function wrap_for_xml (line 443) | def wrap_for_xml(open_dest): FILE: src/hwp5/hwp5proc.py function main (line 70) | def main(): function main_argparser (line 91) | def main_argparser(): FILE: src/hwp5/hwp5txt.py class TextTransform (line 53) | class TextTransform(BaseTransform): method transform_hwp5_to_text (line 56) | def transform_hwp5_to_text(self): method transform_xhwp5_to_text (line 61) | def transform_xhwp5_to_text(self): function main (line 69) | def main(): function main_argparser (line 92) | def main_argparser(): FILE: src/hwp5/hwp5view.py function main (line 66) | def main(): function main_argparser (line 78) | def main_argparser(): function runner_factory (line 106) | def runner_factory(): function runner_factory_gi (line 122) | def runner_factory_gi(): function runner_factory_pyside (line 183) | def runner_factory_pyside(): function make_temporary_directory (line 218) | def make_temporary_directory(*args, **kwargs): function hwp5html (line 228) | def hwp5html(filename, out_dir): function fspath2url (line 234) | def fspath2url(path): FILE: src/hwp5/importhelper.py function pkg_resources_filename (line 25) | def pkg_resources_filename(pkg_name, path): function pkg_resources_filename_fallback (line 35) | def pkg_resources_filename_fallback(pkg_name, path): FILE: src/hwp5/msoleprops.py function PropertyType (line 47) | def PropertyType(code): class VT_I4 (line 58) | class VT_I4(object): method read_value (line 61) | def read_value(cls, context, f): class VT_LPWSTR (line 66) | class VT_LPWSTR(object): method read_value (line 69) | def read_value(cls, context, f): class VT_FILETIME (line 76) | class VT_FILETIME(object): method read_value (line 79) | def read_value(cls, context, f): class FILETIME (line 87) | class FILETIME(object): method __init__ (line 90) | def __init__(self, value): method __str__ (line 93) | def __str__(self): method datetime (line 97) | def datetime(self): class Property (line 230) | class Property(object): method __init__ (line 232) | def __init__(self, desc, idLabel, type, value): method id (line 239) | def id(self): class PropertyDesc (line 243) | class PropertyDesc(Struct): method __init__ (line 245) | def __init__(self, id, offset): method fromDict (line 250) | def fromDict(cls, d): method attributes (line 253) | def attributes(): class PropertyReader (line 259) | class PropertyReader(object): method __init__ (line 261) | def __init__(self, propsetDesc, propDesc, idLabel, codepage, method read (line 269) | def read(self, f): class TypedPropertyValue (line 286) | class TypedPropertyValue(Struct): method __init__ (line 291) | def __init__(self, code): method fromDict (line 295) | def fromDict(cls, d): method attributes (line 301) | def attributes(cls): method vt_type (line 306) | def vt_type(self): class DictionaryEntry (line 313) | class DictionaryEntry(Struct): method __init__ (line 318) | def __init__(self, id, name): method fromDict (line 323) | def fromDict(cls, d): method attributes (line 329) | def attributes(): class Dictionary (line 337) | class Dictionary(Struct): method __init__ (line 342) | def __init__(self, entries): method fromDict (line 346) | def fromDict(cls, d): method attributes (line 353) | def attributes(): method get (line 358) | def get(self, id, defvalue=None): class DictionaryReader (line 365) | class DictionaryReader(object): method __init__ (line 367) | def __init__(self, propsetDesc, propDesc, idLabel, codepage): method read (line 373) | def read(self, f): class PropertySet (line 391) | class PropertySet(object): method __init__ (line 396) | def __init__(self, desc, header, properties): method fmtid (line 402) | def fmtid(self): method __getitem__ (line 405) | def __getitem__(self, propertyIdentifier): class PropertySetHeader (line 412) | class PropertySetHeader(Struct): method __init__ (line 414) | def __init__(self, bytesize, propDescList): method fromDict (line 419) | def fromDict(cls, d): method attributes (line 430) | def attributes(): class PropertySetDesc (line 437) | class PropertySetDesc(Struct): method __init__ (line 439) | def __init__(self, fmtid, offset): method attributes (line 443) | def attributes(): method fromDict (line 449) | def fromDict(cls, d): class PropertySetStreamHeader (line 456) | class PropertySetStreamHeader(Struct): method __init__ (line 458) | def __init__(self, byteOrder, version, systemIdentifier, clsid, method fromDict (line 467) | def fromDict(cls, d): method attributes (line 481) | def attributes(): class PropertySetStream (line 490) | class PropertySetStream(object): method __init__ (line 495) | def __init__(self, header, propertysets): method byteOrder (line 500) | def byteOrder(self): method version (line 504) | def version(self): method systemIdentifier (line 508) | def systemIdentifier(self): method clsid (line 512) | def clsid(self): class PropertySetFormat (line 516) | class PropertySetFormat(object): method __init__ (line 518) | def __init__(self, fmtid, propertyIdentifiers): method idLabels (line 523) | def idLabels(self): class PropertySetStreamReader (line 530) | class PropertySetStreamReader(object): method __init__ (line 532) | def __init__(self, propertySetFormats): method read (line 538) | def read(self, f): class PropertySetStreamTextFormatter (line 621) | class PropertySetStreamTextFormatter(object): method formatTextLines (line 623) | def formatTextLines(self, stream): function uuid_from_bytes_tuple (line 669) | def uuid_from_bytes_tuple(t): function nullterminated_string (line 676) | def nullterminated_string(bs): FILE: src/hwp5/plat/__init__.py function get_xslt (line 44) | def get_xslt(): function get_xslt_compile (line 55) | def get_xslt_compile(): function get_relaxng (line 73) | def get_relaxng(): function get_relaxng_compile (line 80) | def get_relaxng_compile(): function get_olestorage_class (line 96) | def get_olestorage_class(): function get_aes128ecb_decrypt (line 107) | def get_aes128ecb_decrypt(): function get_aes128ecb_decrypt_cryptography (line 126) | def get_aes128ecb_decrypt_cryptography(): function get_aes128ecb_decrypt_javax (line 141) | def get_aes128ecb_decrypt_javax(): function get_aes128ecb_decrypt_openssl (line 155) | def get_aes128ecb_decrypt_openssl(): function openssl_reachable (line 191) | def openssl_reachable(): FILE: src/hwp5/plat/_lxml.py function is_enabled (line 39) | def is_enabled(): function xslt (line 48) | def xslt(xsl_path, inp_path, out_path): function xslt_compile (line 60) | def xslt_compile(xsl_path, **params): class XSLT (line 65) | class XSLT: method __init__ (line 67) | def __init__(self, xsl_path, **params): method transform (line 82) | def transform(self, input, output): method transform_into_stream (line 90) | def transform_into_stream(self, input, output): method _transform (line 97) | def _transform(self, input, output): function relaxng (line 113) | def relaxng(rng_path, inp_path): function relaxng_compile (line 118) | def relaxng_compile(rng_path): class RelaxNG (line 127) | class RelaxNG: method __init__ (line 129) | def __init__(self, rng_path): method validating_output (line 139) | def validating_output(self, output): method validate (line 155) | def validate(self, input): method validate_stream (line 161) | def validate_stream(self, input): method _validate (line 166) | def _validate(self, doc): function errlog_to_dict (line 185) | def errlog_to_dict(error): FILE: src/hwp5/plat/_uno/__init__.py function is_enabled (line 40) | def is_enabled(): function enable (line 54) | def enable(): function disable (line 65) | def disable(): function XSLTTransformer (line 71) | def XSLTTransformer(context, stylesheet_url, source_url, source_url_base): class OneshotEvent (line 88) | class OneshotEvent(object): method __init__ (line 90) | def __init__(self): method wait (line 95) | def wait(self): method signal (line 99) | def signal(self): class XSLT (line 103) | class XSLT(object): method __init__ (line 105) | def __init__(self, context): method __call__ (line 108) | def __call__(self, xsl_path, inp_path, out_path): function xslt (line 167) | def xslt(xsl_path, inp_path, out_path): function oless_from_filename (line 174) | def oless_from_filename(filename): function inputstream_from_filename (line 179) | def inputstream_from_filename(filename): function oless_from_inputstream (line 185) | def oless_from_inputstream(inputstream): class OleStorage (line 194) | class OleStorage(object): method __init__ (line 196) | def __init__(self, stg): method __iter__ (line 212) | def __iter__(self): method __getitem__ (line 215) | def __getitem__(self, name): method close (line 228) | def close(self): class OleStorageStream (line 238) | class OleStorageStream(object): method __init__ (line 240) | def __init__(self, oless, name): method open (line 244) | def open(self): FILE: src/hwp5/plat/_uno/adapters.py class InputStreamFromFileLike (line 24) | class InputStreamFromFileLike(unohelper.Base, XInputStream, XSeekable): method __init__ (line 31) | def __init__(self, f, dontclose=False): method readBytes (line 35) | def readBytes(self, aData, nBytesToRead): method skipBytes (line 41) | def skipBytes(self, nBytesToSkip): method available (line 44) | def available(self): method closeInput (line 47) | def closeInput(self): method seek (line 51) | def seek(self, location): method getPosition (line 54) | def getPosition(self): method getLength (line 58) | def getLength(self): class OutputStreamToFileLike (line 68) | class OutputStreamToFileLike(unohelper.Base, XOutputStream): method __init__ (line 75) | def __init__(self, f, dontclose=False): method writeBytes (line 79) | def writeBytes(self, bytesequence): method flush (line 82) | def flush(self): method closeOutput (line 85) | def closeOutput(self): class FileFromStream (line 90) | class FileFromStream(object): method __init__ (line 97) | def __init__(self, stream): method close (line 137) | def close(self): FILE: src/hwp5/plat/_uno/services.py function create_service (line 21) | def create_service(context, name, *args): class Namespace (line 29) | class Namespace(object): method __init__ (line 30) | def __init__(self, dotted_name): method __getattr__ (line 33) | def __getattr__(self, name): method __call__ (line 36) | def __call__(self, context, *args): method bind (line 39) | def bind(self, context): class ContextBoundNamespace (line 43) | class ContextBoundNamespace(object): method __init__ (line 45) | def __init__(self, namespace, context): method __getattr__ (line 49) | def __getattr__(self, name): method __call__ (line 55) | def __call__(self, *args): method __iter__ (line 58) | def __iter__(self): FILE: src/hwp5/plat/_uno/ucb.py function open_url (line 21) | def open_url(context, url): FILE: src/hwp5/plat/gir_gsf.py function is_enabled (line 36) | def is_enabled(): function open (line 46) | def open(path): function listdir (line 54) | def listdir(gsfole): class OleStorage (line 59) | class OleStorage: method __init__ (line 61) | def __init__(self, gsfole): method __iter__ (line 78) | def __iter__(self): method __getitem__ (line 81) | def __getitem__(self, name): method close (line 91) | def close(self): class OleStreamItem (line 95) | class OleStreamItem: method __init__ (line 97) | def __init__(self, parent, name): method open (line 101) | def open(self): class OleStream (line 109) | class OleStream: method __init__ (line 111) | def __init__(self, gsfole): method close (line 114) | def close(self): method read (line 117) | def read(self, size=None): method seek (line 130) | def seek(self, offset, whence=0): method tell (line 143) | def tell(self): FILE: src/hwp5/plat/javax_transform.py function is_enabled (line 32) | def is_enabled(): function xslt (line 47) | def xslt(xsl_path, inp_path, out_path): class XSLT (line 53) | class XSLT: method __init__ (line 55) | def __init__(self, xsl_path, **params): method transform (line 88) | def transform(self, input, output): method transform_into_stream (line 100) | def transform_into_stream(self, input, output): method _transform (line 110) | def _transform(self, input, output): function xslt_compile (line 119) | def xslt_compile(xsl_path, **params): function wrap_filelike_inputstream (line 124) | def wrap_filelike_inputstream(f): function wrap_filelike_outputstream (line 129) | def wrap_filelike_outputstream(f): FILE: src/hwp5/plat/jython_poifs.py function is_enabled (line 33) | def is_enabled(): class OleStorage (line 42) | class OleStorage(object): method __init__ (line 49) | def __init__(self, olefile): method __iter__ (line 70) | def __iter__(self): method __getitem__ (line 73) | def __getitem__(self, name): method close (line 87) | def close(self): class OleStream (line 91) | class OleStream(object): method __init__ (line 93) | def __init__(self, entry): method open (line 96) | def open(self): class FileFromDocumentInputStream (line 102) | class FileFromDocumentInputStream(object): method __init__ (line 104) | def __init__(self, dis): method read (line 109) | def read(self, size=None): method seek (line 124) | def seek(self, offset, whence=0): method tell (line 137) | def tell(self): method close (line 140) | def close(self): FILE: src/hwp5/plat/olefileio.py function is_enabled (line 27) | def is_enabled(): function import_isOleFile (line 45) | def import_isOleFile(): function import_OleFileIO (line 61) | def import_OleFileIO(): class OleStorageItem (line 77) | class OleStorageItem(object): method __init__ (line 79) | def __init__(self, olefile, path, parent=None): method get_name (line 83) | def get_name(self): class OleStream (line 92) | class OleStream(OleStorageItem): method open (line 94) | def open(self): class OleStorage (line 98) | class OleStorage(OleStorageItem): method __init__ (line 107) | def __init__(self, olefile, path='', parent=None): method __iter__ (line 118) | def __iter__(self): method __getitem__ (line 121) | def __getitem__(self, name): method close (line 136) | def close(self): function olefile_listdir (line 144) | def olefile_listdir(olefile, path): FILE: src/hwp5/plat/xmllint.py function xmllint_reachable (line 34) | def xmllint_reachable(): function is_enabled (line 49) | def is_enabled(): function enable (line 56) | def enable(): function disable (line 61) | def disable(): function relaxng (line 66) | def relaxng(rng_path, inp_path): function relaxng_compile (line 74) | def relaxng_compile(rng_path): class RelaxNG (line 78) | class RelaxNG: method __init__ (line 80) | def __init__(self, rng_path): method validating_output (line 84) | def validating_output(self, output): FILE: src/hwp5/plat/xsltproc.py function xslt_reachable (line 34) | def xslt_reachable(): function is_enabled (line 49) | def is_enabled(): function enable (line 56) | def enable(): function disable (line 61) | def disable(): function xslt (line 66) | def xslt(xsl_path, inp_path, out_path): class XSLT (line 71) | class XSLT: method __init__ (line 73) | def __init__(self, xsl_path, **params): method transform (line 79) | def transform(self, input, output): method transform_into_stream (line 92) | def transform_into_stream(self, input, output): function xslt_compile (line 106) | def xslt_compile(xsl_path, **params): FILE: src/hwp5/proc/cat.py function main (line 31) | def main(args): function cat_argparser (line 52) | def cat_argparser(subparsers, _): FILE: src/hwp5/proc/diststream.py function main (line 64) | def main(args): function diststream_argparser (line 90) | def diststream_argparser(subparsers, _): FILE: src/hwp5/proc/find.py function main (line 86) | def main(args): function find_argparser (line 107) | def find_argparser(subparsers, _): function filenames_from_args (line 164) | def filenames_from_args(args): function filenames_from_stdin (line 170) | def filenames_from_stdin(args): function conditions_from_args (line 174) | def conditions_from_args(args): function hwp5file_models (line 200) | def hwp5file_models(filename): function flat_models (line 207) | def flat_models(hwp5file, **kwargs): function printer_from_args (line 218) | def printer_from_args(args): FILE: src/hwp5/proc/header.py function main (line 29) | def main(args): function header_argparser (line 44) | def header_argparser(subparsers, _): FILE: src/hwp5/proc/ls.py function main (line 93) | def main(args): function ls_argparser (line 98) | def ls_argparser(subparsers, _): FILE: src/hwp5/proc/models.py function main (line 40) | def main(args): function models_argparser (line 77) | def models_argparser(subparsers, _): function stream_from_args (line 158) | def stream_from_args(args): function models_from_args (line 178) | def models_from_args(args): function print_models_from_args (line 192) | def print_models_from_args(args): function print_models_json (line 206) | def print_models_json(models): function print_models_with_print_model (line 213) | def print_models_with_print_model(print_model): function print_model_simple (line 220) | def print_model_simple(model): function print_model_with_format (line 226) | def print_model_with_format(fmt): function transform_model_formattable (line 233) | def transform_model_formattable(model): FILE: src/hwp5/proc/rawunz.py function main (line 31) | def main(args): function rawunz_argparser (line 43) | def rawunz_argparser(subparsers, _): FILE: src/hwp5/proc/records.py function main (line 35) | def main(args): function records_argparser (line 85) | def records_argparser(subparsers, _): FILE: src/hwp5/proc/summaryinfo.py function main (line 31) | def main(args): function summaryinfo_argparser (line 48) | def summaryinfo_argparser(subparsers, _): FILE: src/hwp5/proc/unpack.py function main (line 28) | def main(args): function unpack_argparser (line 40) | def unpack_argparser(subparsers, _): FILE: src/hwp5/proc/version.py function main (line 26) | def main(args): function version_argparser (line 32) | def version_argparser(subparsers, _): FILE: src/hwp5/proc/xml.py function xmldump_nested (line 38) | def xmldump_nested(hwp5file, output, embedbin=False, xml_declaration=True): function main (line 44) | def main(args): function xml_argparser (line 78) | def xml_argparser(subparsers, _): FILE: src/hwp5/recordstream.py function tagname (line 36) | def tagname(tagid): function Record (line 40) | def Record(tagid, level, payload, size=None, seqno=None): function decode_record_header (line 50) | def decode_record_header(f): function encode_record_header (line 64) | def encode_record_header(rec): function read_record (line 76) | def read_record(f, seqno): function dump_record (line 85) | def dump_record(f, record): function read_records (line 91) | def read_records(f): function link_records (line 102) | def link_records(records): function record_to_json (line 115) | def record_to_json(record, *args, **kwargs): function nth (line 121) | def nth(iterable, n, default=None): function group_records_by_toplevel (line 128) | def group_records_by_toplevel(records, group_as_list=True): class RecordStream (line 154) | class RecordStream(filestructure.VersionSensitiveItem): method records (line 156) | def records(self, **kwargs): method record (line 166) | def record(self, idx): method records_json (line 170) | def records_json(self, **kwargs): method records_treegrouped (line 174) | def records_treegrouped(self, group_as_list=True): method records_treegroup (line 180) | def records_treegroup(self, n): method other_formats (line 185) | def other_formats(self): class Sections (line 189) | class Sections(filestructure.Sections): class Hwp5File (line 194) | class Hwp5File(filestructure.Hwp5File): FILE: src/hwp5/storage/__init__.py function is_storage (line 32) | def is_storage(item): function is_stream (line 36) | def is_stream(item): class ItemWrapper (line 40) | class ItemWrapper(object): method __init__ (line 41) | def __init__(self, wrapped): method __getattr__ (line 44) | def __getattr__(self, name): class StorageWrapper (line 48) | class StorageWrapper(ItemWrapper): method __iter__ (line 49) | def __iter__(self): method __getitem__ (line 52) | def __getitem__(self, name): class ItemConversionStorage (line 56) | class ItemConversionStorage(StorageWrapper): method __getitem__ (line 58) | def __getitem__(self, name): method resolve_conversion_for (line 66) | def resolve_conversion_for(self, name): class ExtraItemStorage (line 71) | class ExtraItemStorage(StorageWrapper): method __iter__ (line 73) | def __iter__(self): method __getitem__ (line 84) | def __getitem__(self, name): class Open2Stream (line 103) | class Open2Stream(object): method __init__ (line 105) | def __init__(self, open): function iter_storage_leafs (line 109) | def iter_storage_leafs(stg, basepath=''): function unpack (line 124) | def unpack(stg, outbase): function open_storage_item (line 147) | def open_storage_item(stg, path): function printstorage (line 159) | def printstorage(stg, basepath=''): FILE: src/hwp5/storage/fs.py class FileSystemStorage (line 26) | class FileSystemStorage(object): method __init__ (line 29) | def __init__(self, path): method __iter__ (line 32) | def __iter__(self): method __getitem__ (line 35) | def __getitem__(self, name): class FileSystemStream (line 45) | class FileSystemStream(object): method __init__ (line 48) | def __init__(self, path): method open (line 51) | def open(self): FILE: src/hwp5/storage/ole.py class OleStorage (line 30) | class OleStorage(object): method __init__ (line 32) | def __init__(self, *args, **kwargs): method __iter__ (line 37) | def __iter__(self): method __getitem__ (line 40) | def __getitem__(self, name): method __getattr__ (line 43) | def __getattr__(self, name): FILE: src/hwp5/summaryinfo.py class HwpSummaryInfoTextFormatter (line 51) | class HwpSummaryInfoTextFormatter(object): method formatTextLines (line 53) | def formatTextLines(self, hwpsummaryinfo): FILE: src/hwp5/transforms/__init__.py class BaseTransform (line 34) | class BaseTransform: method __init__ (line 36) | def __init__(self, xslt_compile=None, embedbin=False): method get_default_xslt_compile (line 41) | def get_default_xslt_compile(cls): method make_transform_hwp5 (line 47) | def make_transform_hwp5(self, transform_xhwp5): method make_xsl_transform (line 53) | def make_xsl_transform(self, resource_path, **params): method transformed_xhwp5_at_temp (line 58) | def transformed_xhwp5_at_temp(self, hwp5file): FILE: src/hwp5/treeop.py class STARTEVENT (line 24) | class STARTEVENT: class ENDEVENT (line 28) | class ENDEVENT: function prefix_event (line 32) | def prefix_event(level_prefixed_items, root_item=None): function prefix_ancestors (line 58) | def prefix_ancestors(event_prefixed_items, root_item=None): function prefix_ancestors_from_level (line 70) | def prefix_ancestors_from_level(level_prefixed_items, root_item=None): function build_subtree (line 96) | def build_subtree(event_prefixed_items): function iter_subevents (line 127) | def iter_subevents(event_prefixed_items): function tree_events (line 140) | def tree_events(rootitem, childs): function tree_events_multi (line 149) | def tree_events_multi(trees): FILE: src/hwp5/utils.py class NIL (line 40) | class NIL: class cached_property (line 44) | class cached_property(object): method __init__ (line 46) | def __init__(self, func): method __get__ (line 51) | def __get__(self, obj, type=None): method __set__ (line 60) | def __set__(self, obj, value): function generate_json_array (line 64) | def generate_json_array(tokens): class JsonObjects (line 77) | class JsonObjects(object): method __init__ (line 79) | def __init__(self, objects, object_to_json): method generate (line 83) | def generate(self, **kwargs): method open (line 91) | def open(self, **kwargs): method dump (line 96) | def dump(self, outfile, **kwargs): function unicode_escape (line 101) | def unicode_escape(s): function unicode_unescape (line 117) | def unicode_unescape(s): function transcode (line 133) | def transcode(backend_stream, backend_encoding, frontend_encoding, function transcoder (line 142) | def transcoder(backend_encoding, frontend_encoding, errors='strict'): class GeneratorReader (line 149) | class GeneratorReader(object): method __init__ (line 161) | def __init__(self, gen): method read (line 165) | def read(self, size=None): method close (line 181) | def close(self): class GeneratorTextReader (line 185) | class GeneratorTextReader(object): method __init__ (line 197) | def __init__(self, gen): method read (line 201) | def read(self, size=None): method close (line 219) | def close(self): function hwp5_resources_path (line 224) | def hwp5_resources_path(res_path): function make_open_dest_file (line 243) | def make_open_dest_file(path): function wrap_open_dest_for_tty (line 263) | def wrap_open_dest_for_tty(open_dest, wrappers): function wrap_open_dest (line 276) | def wrap_open_dest(open_dest, wrappers): function cascade_contextmanager_filters (line 286) | def cascade_contextmanager_filters(arg, filters): function null_contextmanager_filter (line 297) | def null_contextmanager_filter(output): function output_thru_subprocess (line 301) | def output_thru_subprocess(cmd): function xmllint (line 325) | def xmllint(c14n=False, encode=None, format=False, nonet=True): function syntaxhighlight (line 339) | def syntaxhighlight(mimetype): function syntaxhighlight_pygments (line 347) | def syntaxhighlight_pygments(mimetype): function make_temp_file (line 366) | def make_temp_file(): function unlink_path (line 374) | def unlink_path(path): function pager (line 382) | def pager(): function mkstemp_open (line 394) | def mkstemp_open(*args, **kwargs): function unlink_or_warning (line 416) | def unlink_or_warning(path): FILE: src/hwp5/xmldump_flat.py function xmldump_flat (line 40) | def xmldump_flat(hwp5file, output, xml_declaration=True): function xmlevents_from_hwp5file (line 49) | def xmlevents_from_hwp5file(hwp5file): function expand_item_value (line 86) | def expand_item_value(ev, data): function expand_item_values (line 108) | def expand_item_values(model_events): function xmlevents_from_modelevents (line 114) | def xmlevents_from_modelevents(model_events): # noqa FILE: src/hwp5/xmlformat.py function xmlattrval (line 56) | def xmlattrval(value): function expanded_xmlattribute (line 70) | def expanded_xmlattribute(ntv): function xmlattr_dashednames (line 129) | def xmlattr_dashednames(attrs): function xmlattr_uniqnames (line 134) | def xmlattr_uniqnames(attrs): function xmlattributes_for_plainvalues (line 142) | def xmlattributes_for_plainvalues(context, plainvalues): function is_complex_type (line 148) | def is_complex_type(type, value): function separate_plainvalues (line 159) | def separate_plainvalues(typed_attributes): function startelement (line 180) | def startelement(context, ma): function element (line 234) | def element(context, ma): function xmlevents_to_bytechunks (line 241) | def xmlevents_to_bytechunks(xmlevents, encoding='utf-8'): function xmlevents_to_textchunks (line 246) | def xmlevents_to_textchunks(xmlevents): FILE: src/hwp5/xmlmodel.py function give_elements_unique_id (line 71) | def give_elements_unique_id(event_prefixed_mac): function make_ranged_shapes (line 94) | def make_ranged_shapes(shapes): function split_and_shape (line 103) | def split_and_shape(chunks, ranged_shapes): function line_segmented (line 149) | def line_segmented(chunks, ranged_linesegs): function make_texts_linesegmented_and_charshaped (line 165) | def make_texts_linesegmented_and_charshaped(event_prefixed_mac): function merge_paragraph_text_charshape_lineseg (line 199) | def merge_paragraph_text_charshape_lineseg(paratext, paracharshape, function range_shaped_textchunk_events (line 232) | def range_shaped_textchunk_events(paratext_context, range_shaped_textchu... function wrap_section (line 256) | def wrap_section(event_prefixed_mac, sect_id=None): class ColumnSet (line 281) | class ColumnSet: function wrap_columns (line 285) | def wrap_columns(event_prefixed_mac): function make_extended_controls_inline (line 318) | def make_extended_controls_inline(event_prefixed_mac, stack=None): function meci_paragraph (line 339) | def meci_paragraph(event, stack, item): function meci_controlchar (line 348) | def meci_controlchar(event, stack, item, attributes): function make_paragraphs_children_of_listheader (line 366) | def make_paragraphs_children_of_listheader(event_prefixed_mac, function match_field_start_end (line 397) | def match_field_start_end(event_prefixed_mac): function mfse_field (line 414) | def mfse_field(event, stack, item): function mfse_lineseg (line 422) | def mfse_lineseg(event, stack, item): function mfse_field_end (line 435) | def mfse_field_end(event, stack, item): class TableRow (line 443) | class TableRow: function restructure_tablebody (line 451) | def restructure_tablebody(event_prefixed_mac): function rstbody_tablebody (line 467) | def rstbody_tablebody(event, stack, item, attributes, context): function rstbody_tablecell (line 485) | def rstbody_tablecell(event, stack, item): function tokenize_text_by_lang (line 499) | def tokenize_text_by_lang(event_prefixed_mac): function embed_bindata (line 518) | def embed_bindata(event_prefixed_mac, bindata): function prefix_binmodels_with_event (line 548) | def prefix_binmodels_with_event(context, models): function wrap_modelevents (line 555) | def wrap_modelevents(wrapper_model, modelevents): function modelevents_to_xmlevents (line 562) | def modelevents_to_xmlevents(modelevents): class XmlEvents (line 580) | class XmlEvents(object): method __init__ (line 582) | def __init__(self, events): method __iter__ (line 585) | def __iter__(self): method bytechunks (line 588) | def bytechunks(self, xml_declaration=True, **kwargs): method dump (line 600) | def dump(self, outfile, **kwargs): method open (line 607) | def open(self, **kwargs): class XmlEventsMixin (line 619) | class XmlEventsMixin(object): method xmlevents (line 621) | def xmlevents(self, **kwargs): class ModelEventStream (line 625) | class ModelEventStream(binmodel.ModelStream, XmlEventsMixin): method modelevents (line 627) | def modelevents(self, **kwargs): method other_formats (line 634) | def other_formats(self): class HwpSummaryInfo (line 640) | class HwpSummaryInfo(filestructure.HwpSummaryInfo, XmlEventsMixin): method events (line 642) | def events(self, **context): class PropertySetStreamModelEventsGenerator (line 649) | class PropertySetStreamModelEventsGenerator(object): method __init__ (line 651) | def __init__(self, context): method generateModelEvents (line 654) | def generateModelEvents(self, stream): method getPropertySetStreamEvents (line 657) | def getPropertySetStreamEvents(self, stream): method getPropertySetEvents (line 678) | def getPropertySetEvents(self, propertyset): method getPropertyEvents (line 696) | def getPropertyEvents(self, property): method getDictionaryEvents (line 716) | def getDictionaryEvents(self, dictionary): method getDictionaryEntryEvents (line 721) | def getDictionaryEntryEvents(self, entry): class DocInfo (line 731) | class DocInfo(ModelEventStream): method events (line 733) | def events(self, **kwargs): class Section (line 742) | class Section(ModelEventStream): method events (line 744) | def events(self, **kwargs): class Sections (line 763) | class Sections(binmodel.Sections, XmlEventsMixin): method events (line 767) | def events(self, **kwargs): method other_formats (line 781) | def other_formats(self): class HwpDoc (line 787) | class HwpDoc(Struct): method attributes (line 789) | def attributes(): class Hwp5File (line 794) | class Hwp5File(binmodel.Hwp5File, XmlEventsMixin): method events (line 800) | def events(self, **kwargs): FILE: src/hwp5/zlib_raw_codec.py function zlib_raw_encode (line 28) | def zlib_raw_encode(input, errors='strict'): function zlib_raw_decode (line 34) | def zlib_raw_decode(input, errors='strict'): class Codec (line 40) | class Codec(codecs.Codec): method encode (line 42) | def encode(self, input, errors='strict'): method decode (line 45) | def decode(self, input, errors='strict'): class IncrementalEncoder (line 49) | class IncrementalEncoder(codecs.IncrementalEncoder): method __init__ (line 50) | def __init__(self, errors='strict'): method encode (line 56) | def encode(self, input, final=False): method reset (line 65) | def reset(self): class IncrementalDecoder (line 69) | class IncrementalDecoder(codecs.IncrementalDecoder): method __init__ (line 70) | def __init__(self, errors='strict'): method decode (line 75) | def decode(self, input, final=False): method reset (line 85) | def reset(self): class StreamWriter (line 89) | class StreamWriter(object): method __init__ (line 90) | def __init__(self, stream, errors='strict'): method write (line 95) | def write(self, data): class StreamReader (line 99) | class StreamReader(object): method __init__ (line 100) | def __init__(self, stream, errors='strict'): method read (line 107) | def read(self, size=-1): method tell (line 133) | def tell(self): FILE: tests/hwp5_tests/__init__.py function test_suite (line 4) | def test_suite(): FILE: tests/hwp5_tests/fixtures/__init__.py function get_fixture_path (line 8) | def get_fixture_path(filename): function open_fixture (line 13) | def open_fixture(filename, *args, **kwargs): FILE: tests/hwp5_tests/mixin_olestg.py class OleStorageTestMixin (line 21) | class OleStorageTestMixin(object): method get_fixture_file (line 26) | def get_fixture_file(self, filename): method hwp5file_path (line 30) | def hwp5file_path(self): method olestg (line 34) | def olestg(self): method test_OleStorage (line 37) | def test_OleStorage(self): method test_getitem0 (line 50) | def test_getitem0(self): method test_init_should_receive_string_olefile (line 83) | def test_init_should_receive_string_olefile(self): method test_iter (line 92) | def test_iter(self): method test_getitem (line 105) | def test_getitem(self): method test_stream_open (line 132) | def test_stream_open(self): method test_iter_storage_leafs (line 153) | def test_iter_storage_leafs(self): method test_unpack (line 165) | def test_unpack(self): FILE: tests/hwp5_tests/mixin_relaxng.py class RelaxNGTestMixin (line 16) | class RelaxNGTestMixin(object): method test_relaxng_compile (line 39) | def test_relaxng_compile(self): method test_relaxng (line 78) | def test_relaxng(self): FILE: tests/hwp5_tests/mixin_xslt.py class XsltTestMixin (line 13) | class XsltTestMixin(object): method test_xslt_compile (line 25) | def test_xslt_compile(self): method test_xslt (line 51) | def test_xslt(self): FILE: tests/hwp5_tests/test_binmodel.py function TestContext (line 61) | def TestContext(**ctx): class TestRecordParsing (line 71) | class TestRecordParsing(TestCase): method test_init_record_parsing_context (line 72) | def test_init_record_parsing_context(self): class BinEmbeddedTest (line 80) | class BinEmbeddedTest(TestCase): method testParse (line 85) | def testParse(self): class LanguageStructTest (line 98) | class LanguageStructTest(TestCase): method test_cls_dict_has_attributes (line 99) | def test_cls_dict_has_attributes(self): class TestBase (line 104) | class TestBase(test_recordstream.TestBase): method hwp5file_bin (line 107) | def hwp5file_bin(self): class FaceNameTest (line 113) | class FaceNameTest(TestBase): method test_font_file_type (line 116) | def test_font_file_type(self): class DocInfoTest (line 139) | class DocInfoTest(TestBase): method test_charshape_lang_facename (line 142) | def test_charshape_lang_facename(self): class BorderFillTest (line 167) | class BorderFillTest(TestBase): method test_parse_borderfill (line 170) | def test_parse_borderfill(self): class StyleTest (line 240) | class StyleTest(TestBase): method test_charstyle (line 243) | def test_charstyle(self): class ParaCharShapeTest (line 272) | class ParaCharShapeTest(TestBase): method paracharshape_record (line 275) | def paracharshape_record(self): method test_read_paracharshape (line 278) | def test_read_paracharshape(self): class TableTest (line 292) | class TableTest(TestBase): method stream (line 295) | def stream(self): method tablecontrol_record (line 302) | def tablecontrol_record(self): method tablecaption_record (line 306) | def tablecaption_record(self): method tablebody_record (line 310) | def tablebody_record(self): method tablecell_record (line 314) | def tablecell_record(self): method testParsePass1 (line 317) | def testParsePass1(self): method test_parse_child_table_body (line 336) | def test_parse_child_table_body(self): method test_parse_child_table_cell (line 354) | def test_parse_child_table_cell(self): method test_parse_child_table_caption (line 384) | def test_parse_child_table_caption(self): class ShapeComponentTest (line 408) | class ShapeComponentTest(TestBase): method control_gso_record (line 413) | def control_gso_record(self): method shapecomponent_record (line 417) | def shapecomponent_record(self): method textbox_paragraph_list_record (line 421) | def textbox_paragraph_list_record(self): method test_parse_shapecomponent_textbox_paragraph_list (line 424) | def test_parse_shapecomponent_textbox_paragraph_list(self): method test_parse (line 445) | def test_parse(self): method test_rect_fill (line 464) | def test_rect_fill(self): method test_colorpattern_gradation (line 535) | def test_colorpattern_gradation(self): method test_colorpattern_gradation_5017 (line 593) | def test_colorpattern_gradation_5017(self): class HeaderFooterTest (line 620) | class HeaderFooterTest(TestBase): method header_record (line 625) | def header_record(self): method header_paragraph_list_record (line 629) | def header_paragraph_list_record(self): method test_parse_child (line 632) | def test_parse_child(self): class ListHeaderTest (line 656) | class ListHeaderTest(TestCase): method testParse (line 663) | def testParse(self): class TableBodyTest (line 676) | class TableBodyTest(TestCase): method test_parse_model (line 682) | def test_parse_model(self): class Pass2Test (line 703) | class Pass2Test(TestCase): method test_pass2_events (line 706) | def test_pass2_events(self): class LineSegTest (line 731) | class LineSegTest(TestCase): method testDecode (line 732) | def testDecode(self): class TableCaptionCellTest (line 744) | class TableCaptionCellTest(TestCase): method testParsePass1 (line 757) | def testParsePass1(self): class TestRecordModel (line 804) | class TestRecordModel(TestCase): method test_assign_enum_flags_name (line 805) | def test_assign_enum_flags_name(self): class TestControlType (line 814) | class TestControlType(TestCase): method test_ControlType (line 815) | def test_ControlType(self): class TestControlChar (line 828) | class TestControlChar(TestBase): method test_decode (line 830) | def test_decode(self): method test_find (line 838) | def test_find(self): method test_tab (line 842) | def test_tab(self): class TestFootnoteShape (line 901) | class TestFootnoteShape(TestBase): method test_footnote_shape (line 903) | def test_footnote_shape(self): class TestControlData (line 914) | class TestControlData(TestBase): method test_parse (line 915) | def test_parse(self): class TestModelJson (line 931) | class TestModelJson(TestBase): method test_model_to_json (line 932) | def test_model_to_json(self): method test_model_to_json_should_not_modify_input (line 939) | def test_model_to_json_should_not_modify_input(self): method test_model_to_json_with_controlchar (line 944) | def test_model_to_json_with_controlchar(self): method test_model_to_json_with_unparsed (line 954) | def test_model_to_json_with_unparsed(self): method test_generate_models_json_array (line 963) | def test_generate_models_json_array(self): class TestModelStream (line 971) | class TestModelStream(TestBase): method docinfo (line 973) | def docinfo(self): method test_models (line 977) | def test_models(self): method test_models_treegrouped (line 980) | def test_models_treegrouped(self): method test_model (line 991) | def test_model(self): method test_models_json_open (line 998) | def test_models_json_open(self): FILE: tests/hwp5_tests/test_bintype.py class lazy_property (line 27) | class lazy_property(object): method __init__ (line 29) | def __init__(self, f): method __get__ (line 32) | def __get__(self, object, owner=None): class TestBinIO (line 39) | class TestBinIO(TestCase): method BasicStruct (line 42) | def BasicStruct(self): method NestedStruct (line 54) | def NestedStruct(self): method test_map_events (line 66) | def test_map_events(self): method test_map_events_nested (line 85) | def test_map_events_nested(self): method test_map_struct_with_xarray (line 120) | def test_map_struct_with_xarray(self): method test_filter_with_version (line 164) | def test_filter_with_version(self): method test_resolve_xarray (line 191) | def test_resolve_xarray(self): method test_resolve_xarray_struct (line 276) | def test_resolve_xarray_struct(self): method test_resolve_conditional_simple (line 367) | def test_resolve_conditional_simple(self): method test_resolve_conditional_struct (line 418) | def test_resolve_conditional_struct(self): method test_resolve_selective_type (line 478) | def test_resolve_selective_type(self): method test_resolve_values_from_stream (line 539) | def test_resolve_values_from_stream(self): method test_collect_values (line 597) | def test_collect_values(self): class TestReadEvents (line 627) | class TestReadEvents(TestCase): method test_struct_with_condition (line 628) | def test_struct_with_condition(self): FILE: tests/hwp5_tests/test_compressed.py class TestUncompress (line 16) | class TestUncompress(TestCase): method original_data (line 19) | def original_data(self): method compressed_data (line 23) | def compressed_data(self): method test_incremental_decode (line 26) | def test_incremental_decode(self): method test_decompress (line 37) | def test_decompress(self): FILE: tests/hwp5_tests/test_dataio.py class TestArray (line 38) | class TestArray(TestCase): method test_new (line 39) | def test_new(self): method test_BSTR (line 46) | def test_BSTR(self): method test_hello (line 49) | def test_hello(self): method test_slots (line 52) | def test_slots(self): class TestTypedAttributes (line 57) | class TestTypedAttributes(TestCase): method test_typed_struct_attributes (line 59) | def test_typed_struct_attributes(self): method test_typed_struct_attributes_inherited (line 78) | def test_typed_struct_attributes_inherited(self): class TestStructType (line 99) | class TestStructType(TestCase): method test_assign_enum_flags_name (line 100) | def test_assign_enum_flags_name(self): method test_parse_members (line 110) | def test_parse_members(self): method test_parse_members_condition (line 132) | def test_parse_members_condition(self): method test_parse_members_empty (line 161) | def test_parse_members_empty(self): method test_parse_members_inherited (line 176) | def test_parse_members_inherited(self): class TestEnumType (line 211) | class TestEnumType(TestCase): method test_enum (line 212) | def test_enum(self): class TestFlags (line 273) | class TestFlags(TestCase): method test_parse_args (line 274) | def test_parse_args(self): method test_basetype (line 296) | def test_basetype(self): method test_bitfields (line 300) | def test_bitfields(self): method ByteFlags (line 316) | def ByteFlags(self): method test_dictvalue (line 321) | def test_dictvalue(self): class TestReadStruct (line 327) | class TestReadStruct(TestCase): method test_read_parse_error (line 329) | def test_read_parse_error(self): class TestBSTR (line 350) | class TestBSTR(TestCase): method test_read (line 352) | def test_read(self): class TestDecodeUTF16LEPUA (line 371) | class TestDecodeUTF16LEPUA(TestCase): method test_decode (line 373) | def test_decode(self): FILE: tests/hwp5_tests/test_distdoc.py class TestHwp5DistDocFunctions (line 21) | class TestHwp5DistDocFunctions(TestBase): method hwp5distdoc (line 27) | def hwp5distdoc(self): method section (line 31) | def section(self): method test_distdoc_decode_head_to_sha1 (line 34) | def test_distdoc_decode_head_to_sha1(self): method test_distdoc_decode_head_to_key (line 43) | def test_distdoc_decode_head_to_key(self): method test_distdoc_decrypt_tail (line 49) | def test_distdoc_decrypt_tail(self): method test_distdoc_decode (line 63) | def test_distdoc_decode(self): FILE: tests/hwp5_tests/test_filestructure.py class TestBase (line 35) | class TestBase(test_ole.TestBase): method hwp5file_base (line 38) | def hwp5file_base(self): method hwp5file_fs (line 42) | def hwp5file_fs(self): method docinfo (line 48) | def docinfo(self): method bodytext (line 52) | def bodytext(self): method viewtext (line 56) | def viewtext(self): class TestModuleFunctions (line 60) | class TestModuleFunctions(TestBase): method test_is_hwp5file (line 62) | def test_is_hwp5file(self): class TestHwp5FileBase (line 68) | class TestHwp5FileBase(TestBase): method hwp5file_base (line 71) | def hwp5file_base(self): method test_create_with_filename (line 74) | def test_create_with_filename(self): method test_create_with_nonole (line 78) | def test_create_with_nonole(self): method test_create_with_nonhwp5_storage (line 82) | def test_create_with_nonhwp5_storage(self): method test_item_is_hwpfileheader (line 86) | def test_item_is_hwpfileheader(self): method test_header (line 90) | def test_header(self): class TestHwp5DistDocStream (line 95) | class TestHwp5DistDocStream(TestBase): method jscriptversion (line 100) | def jscriptversion(self): method test_head_record (line 106) | def test_head_record(self): method test_head_record_stream (line 110) | def test_head_record_stream(self): method test_head (line 118) | def test_head(self): method test_head_stream (line 122) | def test_head_stream(self): method test_tail (line 126) | def test_tail(self): method test_tail_stream (line 130) | def test_tail_stream(self): class TestHwp5DistDicStorage (line 135) | class TestHwp5DistDicStorage(TestBase): method scripts (line 140) | def scripts(self): method test_scripts_other_formats (line 143) | def test_scripts_other_formats(self): class TestHwp5DistDoc (line 148) | class TestHwp5DistDoc(TestBase): method hwp5distdoc (line 153) | def hwp5distdoc(self): method test_conversion_for (line 156) | def test_conversion_for(self): method test_getitem (line 160) | def test_getitem(self): class TestCompressedStorage (line 167) | class TestCompressedStorage(TestBase): method test_getitem (line 168) | def test_getitem(self): class TestHwp5Compression (line 184) | class TestHwp5Compression(TestBase): method hwp5file_compressed (line 187) | def hwp5file_compressed(self): method docinfo (line 191) | def docinfo(self): method bodytext (line 195) | def bodytext(self): method scripts (line 199) | def scripts(self): method test_docinfo_decompressed (line 202) | def test_docinfo_decompressed(self): method test_bodytext_decompressed (line 206) | def test_bodytext_decompressed(self): method test_scripts_version (line 210) | def test_scripts_version(self): class TestHwp5File (line 218) | class TestHwp5File(TestBase): method test_init_should_accept_string_path (line 220) | def test_init_should_accept_string_path(self): method test_init_should_accept_olestorage (line 224) | def test_init_should_accept_olestorage(self): method test_init_should_accept_fs (line 228) | def test_init_should_accept_fs(self): method test_fileheader (line 240) | def test_fileheader(self): method test_getitem_storage_classes (line 245) | def test_getitem_storage_classes(self): method test_prv_text (line 251) | def test_prv_text(self): method test_distdoc_layer_inserted (line 257) | def test_distdoc_layer_inserted(self): method test_unpack (line 262) | def test_unpack(self): method test_if_hwp5file_contains_other_formats (line 283) | def test_if_hwp5file_contains_other_formats(self): method test_resolve_conversion_for_bodytext (line 287) | def test_resolve_conversion_for_bodytext(self): method test_docinfo (line 290) | def test_docinfo(self): method test_bodytext (line 302) | def test_bodytext(self): class TestSections (line 308) | class TestSections(TestBase): method sections (line 311) | def sections(self): class TestGeneratorReader (line 318) | class TestGeneratorReader(TestCase): method test_generator_reader (line 319) | def test_generator_reader(self): FILE: tests/hwp5_tests/test_hwp5html.py class TestBase (line 17) | class TestBase(test_xmlmodel.TestBase): method make_base_dir (line 19) | def make_base_dir(self): class HtmlConvTest (line 27) | class HtmlConvTest(TestBase): method xslt (line 30) | def xslt(self): method xhwp5_path (line 34) | def xhwp5_path(self): method transform (line 38) | def transform(self): method create_xhwp5 (line 41) | def create_xhwp5(self): method test_generate_css_file (line 47) | def test_generate_css_file(self): method test_generate_html_file (line 55) | def test_generate_html_file(self): method test_extract_bindata_dir (line 63) | def test_extract_bindata_dir(self): method test_extract_bindata_dir_without_bindata (line 76) | def test_extract_bindata_dir_without_bindata(self): FILE: tests/hwp5_tests/test_hwp5odt.py class ResourcesTest (line 12) | class ResourcesTest(TestCase): method test_pkg_resources_filename_fallback (line 14) | def test_pkg_resources_filename_fallback(self): method test_hwp5_resources_filename (line 18) | def test_hwp5_resources_filename(self): FILE: tests/hwp5_tests/test_odtxsl.py function example_path (line 17) | def example_path(filename): function open_example (line 21) | def open_example(filename): class TestPrecondition (line 26) | class TestPrecondition(TestCase): method test_example (line 27) | def test_example(self): class TestODTTransform (line 32) | class TestODTTransform(TestCase): method odt_path (line 35) | def odt_path(self): method transform (line 39) | def transform(self): method test_convert_bindata (line 46) | def test_convert_bindata(self): FILE: tests/hwp5_tests/test_ole.py class TestBase (line 14) | class TestBase(TestCase): method get_fixture_file (line 18) | def get_fixture_file(self, filename): method open_fixture (line 21) | def open_fixture(self, filename, *args, **kwargs): method hwp5file_path (line 25) | def hwp5file_path(self): method olestg (line 29) | def olestg(self): class TestOleStorage (line 33) | class TestOleStorage(TestCase, OleStorageTestMixin): method setUp (line 35) | def setUp(self): FILE: tests/hwp5_tests/test_plat_gir_gsf.py function skip_if_disabled (line 13) | def skip_if_disabled(f): class TestGirGsf (line 23) | class TestGirGsf(TestCase): method test_open (line 28) | def test_open(self): method test_listdir (line 32) | def test_listdir(self): class TestOleStorageGirGsf (line 43) | class TestOleStorageGirGsf(TestCase, OleStorageTestMixin): method setUp (line 45) | def setUp(self): FILE: tests/hwp5_tests/test_plat_javax_transform.py class TestPlatJavaxTransform (line 13) | class TestPlatJavaxTransform(unittest.TestCase, XsltTestMixin): method test_is_enabled (line 15) | def test_is_enabled(self): method setUp (line 22) | def setUp(self): FILE: tests/hwp5_tests/test_plat_jython_poifs.py class TestOleStorageJythonPoiFS (line 12) | class TestOleStorageJythonPoiFS(TestCase, OleStorageTestMixin): method setUp (line 14) | def setUp(self): FILE: tests/hwp5_tests/test_plat_lxml.py class TestPlatLxml (line 13) | class TestPlatLxml(unittest.TestCase, XsltTestMixin, RelaxNGTestMixin): method test_is_enabled (line 15) | def test_is_enabled(self): method setUp (line 25) | def setUp(self): FILE: tests/hwp5_tests/test_plat_olefileio.py class TestOleStorageOleFileIO (line 12) | class TestOleStorageOleFileIO(TestCase, OleStorageTestMixin): method setUp (line 14) | def setUp(self): FILE: tests/hwp5_tests/test_plat_uno.py class TestPlatUNO (line 13) | class TestPlatUNO(unittest.TestCase, XsltTestMixin, OleStorageTestMixin): method setUp (line 15) | def setUp(self): FILE: tests/hwp5_tests/test_plat_xmllint.py class TestPlatXmlLint (line 12) | class TestPlatXmlLint(unittest.TestCase, RelaxNGTestMixin): method setUp (line 17) | def setUp(self): FILE: tests/hwp5_tests/test_plat_xsltproc.py class TestPlatXsltProc (line 12) | class TestPlatXsltProc(unittest.TestCase, XsltTestMixin): method setUp (line 17) | def setUp(self): FILE: tests/hwp5_tests/test_recordstream.py class TestBase (line 22) | class TestBase(test_filestructure.TestBase): method hwp5file_rec (line 25) | def hwp5file_rec(self): class TestRecord (line 31) | class TestRecord(TestBase): method test_read_record (line 33) | def test_read_record(self): method test_dump_record (line 39) | def test_dump_record(self): class TestRecordStream (line 49) | class TestRecordStream(TestBase): method docinfo (line 52) | def docinfo(self): method test_records (line 56) | def test_records(self): method test_records_kwargs_treegroup (line 59) | def test_records_kwargs_treegroup(self): method test_record (line 72) | def test_record(self): method test_records_treegrouped (line 79) | def test_records_treegrouped(self): method test_records_treegrouped_as_iterable (line 91) | def test_records_treegrouped_as_iterable(self): method test_records_treegroped_as_list (line 96) | def test_records_treegroped_as_list(self): method test_records_treegroup (line 101) | def test_records_treegroup(self): class TestHwp5File (line 115) | class TestHwp5File(TestBase): method test_if_hwp5file_contains_other_formats (line 117) | def test_if_hwp5file_contains_other_formats(self): method test_docinfo (line 121) | def test_docinfo(self): method test_bodytext (line 127) | def test_bodytext(self): class TestJson (line 134) | class TestJson(TestBase): method test_record_to_json (line 135) | def test_record_to_json(self): method test_generate_json (line 148) | def test_generate_json(self): FILE: tests/hwp5_tests/test_storage.py class TestStorageWrapper (line 11) | class TestStorageWrapper(TestCase): method storage (line 14) | def storage(self): method test_iter (line 18) | def test_iter(self): method test_getitem (line 23) | def test_getitem(self): FILE: tests/hwp5_tests/test_treeop.py class Test_ancestors_from_level (line 14) | class Test_ancestors_from_level(TestCase): method test_ancestors_from_level (line 16) | def test_ancestors_from_level(self): method test_ancestors_from_level_from_nonzero_baselevel (line 40) | def test_ancestors_from_level_from_nonzero_baselevel(self): method test_ancestors_from_level_fails_at_level_below_baselevel (line 55) | def test_ancestors_from_level_fails_at_level_below_baselevel(self): method test_ancestors_from_level_assert_fails_at_invalid_level_jump (line 82) | def test_ancestors_from_level_assert_fails_at_invalid_level_jump(self): class TestTreeEvents (line 96) | class TestTreeEvents(TestCase): method test_tree_events (line 97) | def test_tree_events(self): class TestSubevents (line 133) | class TestSubevents(TestCase): method test_iter_subevents (line 135) | def test_iter_subevents(self): FILE: tests/hwp5_tests/test_utils.py class UnicodeEscapeTest (line 28) | class UnicodeEscapeTest(TestCase): method test_escape (line 30) | def test_escape(self): method test_unescape (line 37) | def test_unescape(self): FILE: tests/hwp5_tests/test_xmlformat.py class TestHello (line 16) | class TestHello(TestCase): method test_hello (line 17) | def test_hello(self): method test_xmlattr_uniqnames (line 61) | def test_xmlattr_uniqnames(self): FILE: tests/hwp5_tests/test_xmlmodel.py class TestBase (line 39) | class TestBase(test_binmodel.TestBase): method hwp5file_xml (line 42) | def hwp5file_xml(self): class TestXmlEvents (line 48) | class TestXmlEvents(TestBase): method test_dump_quoteattr_cr (line 50) | def test_dump_quoteattr_cr(self): method test_bytechunks_quoteattr_cr (line 63) | def test_bytechunks_quoteattr_cr(self): class TestModelEventStream (line 76) | class TestModelEventStream(TestBase): method docinfo (line 79) | def docinfo(self): method test_modelevents (line 83) | def test_modelevents(self): class TestDocInfo (line 89) | class TestDocInfo(TestBase): method docinfo (line 92) | def docinfo(self): method test_events (line 96) | def test_events(self): method test_events_with_embedbin (line 104) | def test_events_with_embedbin(self): class TestSection (line 113) | class TestSection(TestBase): method test_events (line 115) | def test_events(self): class TestHwp5File (line 133) | class TestHwp5File(TestBase): method test_docinfo_class (line 135) | def test_docinfo_class(self): method test_events (line 138) | def test_events(self): method test_events_embedbin_without_bindata (line 141) | def test_events_embedbin_without_bindata(self): method test_xmlevents (line 148) | def test_xmlevents(self): method test_xmlevents_dump (line 155) | def test_xmlevents_dump(self): class TestShapedText (line 165) | class TestShapedText(TestCase): method test_make_shape_range (line 166) | def test_make_shape_range(self): method test_split (line 172) | def test_split(self): class TestLineSeg (line 207) | class TestLineSeg(TestCase): method test_line_segmented (line 208) | def test_line_segmented(self): class TestDistributionBodyText (line 222) | class TestDistributionBodyText(TestBase): method test_issue33_missing_paralineseg (line 226) | def test_issue33_missing_paralineseg(self): class TestMatchFieldStartEnd (line 249) | class TestMatchFieldStartEnd(TestCase): method test_match_field_start_end (line 251) | def test_match_field_start_end(self): method test_issue144_fields_crossing_lineseg_boundary (line 292) | def test_issue144_fields_crossing_lineseg_boundary(self): class TestEmbedBinData (line 321) | class TestEmbedBinData(TestBase): method test_embed_bindata (line 323) | def test_embed_bindata(self): FILE: tools/constants/pyhwp_dev_constants.py class Recipe (line 6) | class Recipe(object): method __init__ (line 8) | def __init__(self, buildout, name, options): method install (line 16) | def install(self): method update (line 19) | def update(self): FILE: tools/discover.lo/discover_lo.py function wellknown_locations (line 15) | def wellknown_locations(): function discover_lo (line 26) | def discover_lo(in_wellknown=True, in_path=True): function discover_in_wellknown_locations (line 36) | def discover_in_wellknown_locations(): function discover_in_path (line 49) | def discover_in_path(): function contains_libreoffice (line 75) | def contains_libreoffice(dir): function contains_program (line 79) | def contains_program(location): function find_ure (line 107) | def find_ure(location): function python_import_uno (line 120) | def python_import_uno(python): function resolve_uno_components (line 128) | def resolve_uno_components(uno_python): function get_uno_locations (line 145) | def get_uno_locations(python, modules): function subprocess_check_output (line 157) | def subprocess_check_output(cmd): function log_discovered (line 180) | def log_discovered(installations): function original_pythonpath (line 191) | def original_pythonpath(): class Discover (line 204) | class Discover(object): method __init__ (line 208) | def __init__(self, buildout, name, options): method install (line 265) | def install(self): FILE: tools/discover.lxml/discover_lxml.py function discover_lxml (line 48) | def discover_lxml(executable): class DiscoverRecipe (line 83) | class DiscoverRecipe(object): method __init__ (line 87) | def __init__(self, buildout, name, options): method install (line 117) | def install(self): FILE: tools/discover.lxml/setup.py function main (line 7) | def main(): FILE: tools/discover.python/discover_python.py function wellknown_locations (line 16) | def wellknown_locations(): function discover_python (line 33) | def discover_python(in_wellknown=True, in_path=True): function search_in_wellknown_locations (line 44) | def search_in_wellknown_locations(): function search_in_path (line 56) | def search_in_path(): function contains_python_in_bin (line 70) | def contains_python_in_bin(dir): function contains_python (line 75) | def contains_python(dir): function executable_in_dir (line 92) | def executable_in_dir(name, dir): function executable_is_python (line 102) | def executable_is_python(executable): function log_discovered (line 133) | def log_discovered(qualify, found, names, log=logger.info): function expose_options (line 143) | def expose_options(options, names, found, not_found, logger=logger): class Discover (line 162) | class Discover(object): method __init__ (line 166) | def __init__(self, buildout, name, options): method install (line 219) | def install(self): FILE: tools/discover.python/setup.py function main (line 6) | def main(): FILE: tools/download/pyhwp_download.py function main (line 16) | def main(): function copy_stream (line 55) | def copy_stream(src, dst): function md5_file (line 63) | def md5_file(path): FILE: tools/egg.path/egg_path.py class EggPath (line 5) | class EggPath(object): method __init__ (line 6) | def __init__(self, buildout, name, options): method install (line 27) | def install(self): FILE: tools/gpl/gpl/Pysec.py function Record (line 5) | def Record(*props): class RecordBase (line 14) | class RecordBase(tuple): method __new__ (line 17) | def __new__(cls, *values): method fromValues (line 23) | def fromValues(cls, values): method __repr__ (line 26) | def __repr__(self): method prepare (line 31) | def prepare(cls, *args): method setProps (line 36) | def setProps(cls, props): method setProp (line 42) | def setProp(cls, index, prop): method makeGetter (line 50) | def makeGetter(cls, index, prop): method makeSetter (line 54) | def makeSetter(cls, index, prop): class ByteStream (line 64) | class ByteStream(Record("bytes", "index")): method prepare (line 66) | def prepare(cls, bytes, index = 0): method get (line 69) | def get(self, count): function make_decorator (line 76) | def make_decorator(func, *dec_args): class Monad (line 91) | class Monad: method bind (line 93) | def bind(self, func): method unit (line 97) | def unit(cls, val): method lift (line 101) | def lift(cls, func): method __rshift__ (line 105) | def __rshift__(self, bindee): method __and__ (line 108) | def __and__(self, monad): method shove (line 112) | def shove(self, monad): class StateChanger (line 116) | class StateChanger(Record("changer", "bindees"), Monad): method prepare (line 118) | def prepare(cls, changer, bindees = ()): method bind (line 122) | def bind(self, bindee): method __call__ (line 125) | def __call__(self, state): method run (line 128) | def run(self, state0): method unit (line 137) | def unit(cls, value): class ParserState (line 144) | class ParserState(Record("stream", "position")): method prepare (line 146) | def prepare(cls, stream, position = 0): method read (line 149) | def read(self, count): class Parser (line 154) | class Parser(StateChanger): method parseString (line 155) | def parseString(self, bytes): method parseStream (line 158) | def parseStream(self, stream): class ParseFailed (line 164) | class ParseFailed(Exception): method __init__ (line 165) | def __init__(self, message, state): function parser (line 172) | def parser(func, func_args, func_kargs): function tokens (line 183) | def tokens(state0, count, process): function read (line 193) | def read(count): function skip (line 198) | def skip(state0, parser): function option (line 204) | def option(state, default_value, parser): function choice (line 215) | def choice(state, parsers): function match (line 226) | def match(state0, expected): function between (line 234) | def between(before, inner, after): function quoted (line 238) | def quoted(before, inner, after): function quoted_collection (line 242) | def quoted_collection(start, space, inner, joiner, end): function many (line 247) | def many(state, parser, min_count = 0): function group (line 262) | def group(state, parsers): function pair (line 272) | def pair(parser1, parser2): function skip_many (line 278) | def skip_many(state, parser): function skip_before (line 286) | def skip_before(before, parser): function skip_after (line 291) | def skip_after(state0, parser, after): function option_many (line 298) | def option_many(state0, first, repeated, min_count = 0): function end_by (line 313) | def end_by(parser, sep_parser, min_count = 0): function sep_by (line 318) | def sep_by(parser, sep_parser, min_count = 0): function sep_end_by (line 323) | def sep_end_by(parser, sep_parser, min_count = 0): function satisfy (line 330) | def satisfy(name, passes): function one_of (line 334) | def one_of(chars): function none_of (line 339) | def none_of(chars): function maybe_match_parser (line 344) | def maybe_match_parser(parser): function maybe_match_parsers (line 348) | def maybe_match_parsers(parsers): function many_chars (line 352) | def many_chars(parser, min_count = 0): function option_chars (line 356) | def option_chars(parsers): function group_chars (line 360) | def group_chars(parsers): function join_chars (line 365) | def join_chars(parser): function while_one_of (line 369) | def while_one_of(chars, min_count = 0): function until_one_of (line 373) | def until_one_of(chars, min_count = 0): function char_range (line 377) | def char_range(begin, end): function quoted_chars (line 381) | def quoted_chars(start, end): function line (line 421) | def line(cell): function csv (line 424) | def csv(cell): FILE: tools/gpl/gpl/__init__.py function main (line 20) | def main(): function process_file (line 62) | def process_file(path, license_modifiers): function stringify_years (line 83) | def stringify_years(years): FILE: tools/gpl/gpl/parsers.py function quoted_chars_inline (line 36) | def quoted_chars_inline(start, end): function until_one_of_inline (line 40) | def until_one_of_inline(chars): function skip_tailspace_of_line (line 44) | def skip_tailspace_of_line(parser): function until_not_but (line 50) | def until_not_but(state0, should_not, but): function py_comment (line 62) | def py_comment(parser): class Project (line 66) | class Project(Record('name', 'description')): method prepare (line 69) | def prepare(cls, name, description=None): method __str__ (line 75) | def __str__(self): class Span (line 96) | class Span(Record('start', 'end')): method prepare (line 99) | def prepare(cls, start, end=None): method as_set (line 105) | def as_set(self): method from_set (line 109) | def from_set(cls, valueset): method __str__ (line 125) | def __str__(self): class Author (line 138) | class Author(Record('name', 'email')): method prepare (line 141) | def prepare(self, name, email=None): method __str__ (line 147) | def __str__(self): class Copyright (line 165) | class Copyright(Record('years', 'authors')): method __str__ (line 166) | def __str__(self): class License (line 181) | class License(Record('prolog', 'project', 'copyright', 'epilog')): method __str__ (line 183) | def __str__(self): function parse_file (line 199) | def parse_file(path): FILE: tools/gpl/gpl/tests/test_gpl.py class SpanTest (line 5) | class SpanTest(TestCase): method test_from_set (line 7) | def test_from_set(self): method test_str (line 18) | def test_str(self): class ProjectTest (line 31) | class ProjectTest(TestCase): method test_project_name (line 33) | def test_project_name(self): method test_project_desc (line 37) | def test_project_desc(self): method test_project_line_with_lf (line 42) | def test_project_line_with_lf(self): method test_project_line_without_lf (line 52) | def test_project_line_without_lf(self): method test_project_line_parser_doesnt_consume_after_lf (line 62) | def test_project_line_parser_doesnt_consume_after_lf(self): class CopyrightTest (line 71) | class CopyrightTest(TestCase): method test_stringify_years (line 73) | def test_stringify_years(self): method test_copyright (line 84) | def test_copyright(self): method test_generic_line (line 149) | def test_generic_line(self): class LicenseTest (line 155) | class LicenseTest(TestCase): method test_license (line 156) | def test_license(self): FILE: tools/jingodf/jingodf/__init__.py class Jing (line 3) | class Jing(object): method __init__ (line 5) | def __init__(self, executable='jing'): method __call__ (line 12) | def __call__(self, *args, **kwargs): method validate (line 32) | def validate(self, rngfile, xmlfile): class XmlLint (line 36) | class XmlLint(object): method __init__ (line 37) | def __init__(self, executable='xmllint'): method __call__ (line 44) | def __call__(self, *args, **kwargs): method validate (line 79) | def validate(self, rngfile, xmlfile): class ODFValidator (line 83) | class ODFValidator(object): method __init__ (line 84) | def __init__(self, engine): method validate_manifest_xml (line 87) | def validate_manifest_xml(self, version, xmlfile): method validate_opendocument_xml (line 100) | def validate_opendocument_xml(self, version, xmlfile): method validate_odf (line 112) | def validate_odf(self, version, odffile): function validate (line 157) | def validate(odf_file, function main (line 175) | def main(): FILE: tools/jxml/jxml.coverage/jxml_coverage.py function colorama_init (line 16) | def colorama_init(f): function annotate_main (line 27) | def annotate_main(): function load_tests (line 75) | def load_tests(filenames): function cov_test_main (line 89) | def cov_test_main(): FILE: tools/jxml/jxml/etree/__init__.py class XSLTCoverage (line 49) | class XSLTCoverage(object): method __init__ (line 51) | def __init__(self): method trace (line 54) | def trace(self, systemId, startline, endline): method writeto (line 60) | def writeto(self, f): method read_from (line 94) | def read_from(self, filename): function xsltcoverage (line 125) | def xsltcoverage(output=None): function instrument_xalan_transformer_factory (line 138) | def instrument_xalan_transformer_factory(transformfac): function split_prefix_and_localName (line 207) | def split_prefix_and_localName(tag): function split_jcnotation (line 214) | def split_jcnotation(tag): function get_prefix_for_uri (line 227) | def get_prefix_for_uri(namespaceURI, nsmap): function dom_element_from_tag (line 238) | def dom_element_from_tag(tag, nsmap=None): function dom_document_from_file (line 250) | def dom_document_from_file(f): function dom_document_from_inputstream (line 274) | def dom_document_from_inputstream(inputstream): function dom_tag (line 278) | def dom_tag(dom_element): function dom_jcnotation (line 282) | def dom_jcnotation(dom_node): function dom_nsmap_specified_here (line 295) | def dom_nsmap_specified_here(dom_element): function dom_ancestors (line 315) | def dom_ancestors(dom_node): function dom_ancestor_elements (line 324) | def dom_ancestor_elements(dom_node): function dom_siblings_next (line 329) | def dom_siblings_next(dom_node): function dom_siblings_previous (line 338) | def dom_siblings_previous(dom_node): function dom_nsmap (line 347) | def dom_nsmap(dom_element): function dom_set_attr (line 357) | def dom_set_attr(dom_element, key, value, nsmap): function Element (line 367) | def Element(tag, attrib=None, nsmap=None, **extra): function SubElement (line 384) | def SubElement(parent, tag, attrib=None, nsmap=None, **extra): function ElementTree (line 390) | def ElementTree(element=None, file=None, parser=None): class _Element (line 406) | class _Element(object): method __init__ (line 408) | def __init__(self, dom_element): method getroottree (line 414) | def getroottree(self): method attrib (line 419) | def attrib(self): method tag (line 430) | def tag(self): method nsmap (line 434) | def nsmap(self): method prefix (line 438) | def prefix(self): method text (line 443) | def text(self): method tail (line 449) | def tail(self): method base (line 455) | def base(self): method __deepcopy__ (line 459) | def __deepcopy__(self, memo): method __iter__ (line 464) | def __iter__(self): method __getitem__ (line 471) | def __getitem__(self, index): method __len__ (line 483) | def __len__(self): method __reversed__ (line 489) | def __reversed__(self): method __setitem__ (line 498) | def __setitem__(self, index, new_elem): method append (line 506) | def append(self, element): method get (line 512) | def get(self, key): method getchildren (line 515) | def getchildren(self): method getnext (line 519) | def getnext(self): method getparent (line 525) | def getparent(self): method getprevious (line 530) | def getprevious(self): method iterancestors (line 536) | def iterancestors(self, *tags): method keys (line 543) | def keys(self): method set (line 546) | def set(self, key, value): method values (line 551) | def values(self): method xpath (line 554) | def xpath(self, _path, namespaces=None, extensions=None, class _ElementTree (line 560) | class _ElementTree(object): method __init__ (line 562) | def __init__(self, dom_doc): method __copy__ (line 565) | def __copy__(self, dom_doc): method __deepcopy__ (line 568) | def __deepcopy__(self, memo): method docinfo (line 574) | def docinfo(self): method _setroot (line 578) | def _setroot(self, root): method _set_dom_doc (line 581) | def _set_dom_doc(self, dom_doc): method getroot (line 587) | def getroot(self): method find (line 592) | def find(self, path, namespaces=None): method findall (line 596) | def findall(self, path, namespaces=None): method findtext (line 600) | def findtext(self, path, default=None, namespaces=None): method iter (line 604) | def iter(self, **tags): method iterfind (line 608) | def iterfind(self, path, namespaces=None): method relaxng (line 612) | def relaxng(self, relaxng): method write (line 615) | def write(self, file, encoding=None, method='xml', pretty_print=False, method write_c14n (line 635) | def write_c14n(self, file, exlusive=False, with_comments=True, method xinclude (line 639) | def xinclude(self): method xmlschema (line 642) | def xmlschema(self, xmlschema): method xpath (line 645) | def xpath(self, _path, namespaces=None, extensions=None, method xslt (line 650) | def xslt(self, _xslt, extensions=None, access_control=None, **_kw): class DocInfo (line 656) | class DocInfo(object): method __init__ (line 658) | def __init__(self, dom_doc): method getURL (line 661) | def getURL(self): method setURL (line 664) | def setURL(self, uri): method doctype (line 670) | def doctype(self): method public_id (line 677) | def public_id(self): method system_url (line 683) | def system_url(self): method encoding (line 689) | def encoding(self): method root_name (line 693) | def root_name(self): method standalone (line 699) | def standalone(self): method xml_version (line 703) | def xml_version(self): method externalDTD (line 707) | def externalDTD(self): method internalDTD (line 712) | def internalDTD(self): class QName (line 717) | class QName(object): method __init__ (line 719) | def __init__(self, text_or_uri_or_element, tag=None): method text (line 740) | def text(self): class XPath (line 746) | class XPath(object): method __init__ (line 748) | def __init__(self, path, namespaces=None, extensions=None, regexp=True, method __call__ (line 758) | def __call__(self, _etree_or_element, **_variables): method _eval_nodeset (line 796) | def _eval_nodeset(self, node): method _eval_node (line 800) | def _eval_node(self, node): method _eval_string (line 804) | def _eval_string(self, node): method _eval_number (line 808) | def _eval_number(self, node): method _eval_boolean (line 812) | def _eval_boolean(self, node): function dom_xpath_result (line 818) | def dom_xpath_result(result): function dom_xpath_result_nodelist (line 823) | def dom_xpath_result_nodelist(nodelist): function dom_xpath_result_element (line 832) | def dom_xpath_result_element(element): function dom_xpath_result_attr (line 837) | def dom_xpath_result_attr(attr): class NamespaceContextImpl (line 841) | class NamespaceContextImpl(NamespaceContext): method __init__ (line 843) | def __init__(self, nsmap): method getNamespaceURI (line 846) | def getNamespaceURI(self, prefix): method getPrefixes (line 854) | def getPrefixes(self, namespaceURI): method getPrefix (line 859) | def getPrefix(self, namespaceURI): method iterPrefixes (line 864) | def iterPrefixes(self, namespaceURI): class IteratorImpl (line 872) | class IteratorImpl(Iterator): method __init__ (line 874) | def __init__(self, it): method hasNext (line 878) | def hasNext(self): method next (line 881) | def next(self): method _goNext (line 890) | def _goNext(self): class XSLT (line 899) | class XSLT(object): method __init__ (line 901) | def __init__(self, xsl_input, extensions=None, regexp=True, method __call__ (line 925) | def __call__(self, _input, profile_run=False, **kw): class _XSLTResultTree (line 986) | class _XSLTResultTree(_ElementTree): method __unicode__ (line 988) | def __unicode__(self): method __str__ (line 991) | def __str__(self): class __URIResolverImpl (line 995) | class __URIResolverImpl(URIResolver): method __init__ (line 997) | def __init__(self, tree): method resolve (line 1001) | def resolve(self, href, base): function parse (line 1020) | def parse(source, parser=None, base_url=None): function fromstring (line 1032) | def fromstring(text, parser=None, base_url=None): function tostring (line 1040) | def tostring(element_or_tree, encoding=None, method='xml', function XML (line 1069) | def XML(s): FILE: tools/jxml/tests/test_jaxp.py function unsigned_byte (line 25) | def unsigned_byte(x): function Transformer (line 31) | def Transformer(xsl_source): function transform (line 41) | def transform(xsl_source, src_source): class TestXSLT (line 46) | class TestXSLT(unittest.TestCase): method test_xsl_dom (line 50) | def test_xsl_dom(self): method test_xsl_stream (line 60) | def test_xsl_stream(self): FILE: tools/jxml/tests/test_lxml.py class ElementTreeTest (line 16) | class ElementTreeTest(TestCase): method test_etree_parse (line 18) | def test_etree_parse(self): method test_etree_fromstring (line 23) | def test_etree_fromstring(self): method test_etree_from_file (line 28) | def test_etree_from_file(self): method test_etree_tostring (line 43) | def test_etree_tostring(self): method test_from_element (line 49) | def test_from_element(self): method test_docinfo (line 62) | def test_docinfo(self): method test_parser (line 80) | def test_parser(self): method test__copy__ (line 83) | def test__copy__(self): method test__deepcopy__ (line 86) | def test__deepcopy__(self): method test_setroot (line 89) | def test_setroot(self): method test_find (line 96) | def test_find(self): method test_findall (line 99) | def test_findall(self): method test_findtext (line 102) | def test_findtext(self): method test_getiterator (line 105) | def test_getiterator(self): method test_getpath (line 108) | def test_getpath(self): method test_getroot (line 111) | def test_getroot(self): method test_iter (line 118) | def test_iter(self): method test_iterfind (line 121) | def test_iterfind(self): method test_parse (line 124) | def test_parse(self): method test_relaxng (line 127) | def test_relaxng(self): method test_write (line 130) | def test_write(self): method test_write_c14n (line 146) | def test_write_c14n(self): method test_xinclude (line 149) | def test_xinclude(self): method test_xmlschema (line 152) | def test_xmlschema(self): method test_xpath (line 155) | def test_xpath(self): method test_xslt (line 187) | def test_xslt(self): class ElementTest (line 195) | class ElementTest(TestCase): method setUp (line 197) | def setUp(self): method tearDown (line 202) | def tearDown(self): method test_Element (line 205) | def test_Element(self): method test_SubElement (line 227) | def test_SubElement(self): method test_base (line 234) | def test_base(self): method test_tag (line 241) | def test_tag(self): method test_nsmap (line 254) | def test_nsmap(self): method test_prefix (line 261) | def test_prefix(self): method test_text (line 265) | def test_text(self): method test_tail (line 269) | def test_tail(self): method test_attrib (line 273) | def test_attrib(self): method test__contains__ (line 281) | def test__contains__(self): method test__copy__ (line 284) | def test__copy__(self): method test__deepcopy__ (line 287) | def test__deepcopy__(self): method test__delitem__ (line 290) | def test__delitem__(self): method test__getitem__ (line 293) | def test__getitem__(self): method test__iter__ (line 309) | def test__iter__(self): method test__len__ (line 328) | def test__len__(self): method test__nonzero__ (line 332) | def test__nonzero__(self): method test__repr__ (line 335) | def test__repr__(self): method test__reversed__ (line 338) | def test__reversed__(self): method test__setitem__ (line 357) | def test__setitem__(self): method test_addnext (line 365) | def test_addnext(self): method test_addprevious (line 368) | def test_addprevious(self): method test_append (line 371) | def test_append(self): method test_clear (line 378) | def test_clear(self): method test_extend (line 381) | def test_extend(self): method test_find (line 384) | def test_find(self): method test_findall (line 387) | def test_findall(self): method test_findtext (line 390) | def test_findtext(self): method test_get (line 393) | def test_get(self): method test_getchildren (line 400) | def test_getchildren(self): method test_getiterator (line 417) | def test_getiterator(self): method test_getnext (line 420) | def test_getnext(self): method test_getparent (line 431) | def test_getparent(self): method test_getprevious (line 440) | def test_getprevious(self): method test_getroottree (line 453) | def test_getroottree(self): method test_index (line 457) | def test_index(self): method test_insert (line 460) | def test_insert(self): method test_items (line 463) | def test_items(self): method test_iter (line 466) | def test_iter(self): method test_iterancestors (line 469) | def test_iterancestors(self): method test_iterchildren (line 493) | def test_iterchildren(self): method test_descendants (line 496) | def test_descendants(self): method test_iterfind (line 499) | def test_iterfind(self): method test_siblings (line 502) | def test_siblings(self): method test_itertext (line 505) | def test_itertext(self): method test_keys (line 508) | def test_keys(self): method test_makeelement (line 515) | def test_makeelement(self): method test_remove (line 518) | def test_remove(self): method test_replace (line 521) | def test_replace(self): method test_set (line 524) | def test_set(self): method test_values (line 532) | def test_values(self): method test_xpath (line 535) | def test_xpath(self): class QNameTest (line 564) | class QNameTest(TestCase): method test_from_text (line 570) | def test_from_text(self): method test_from_nsuri_and_tag (line 581) | def test_from_nsuri_and_tag(self): method test_from_element (line 587) | def test_from_element(self): class XPathTest (line 595) | class XPathTest(TestCase): method test_xpath (line 597) | def test_xpath(self): class XSLTTest (line 639) | class XSLTTest(TestCase): method test_from_element (line 641) | def test_from_element(self): method test_xslt_with_default_parser (line 646) | def test_xslt_with_default_parser(self): method test_text_output (line 653) | def test_text_output(self): FILE: tools/oxt.tool/oxt_tool/__init__.py function console (line 5) | def console(soffice='soffice'): function dict_to_namedvalue (line 23) | def dict_to_namedvalue(d): function test_remotely (line 36) | def test_remotely(soffice, discover_dirs, extra_path, logconf_path): function load_component (line 104) | def load_component(component_path, component_name): function console_in_proc (line 118) | def console_in_proc(soffice='soffice'): class LoEnviron (line 165) | class LoEnviron(object): method __init__ (line 167) | def __init__(self, program_dir): method rc_ext (line 171) | def rc_ext(self): method fundamentalrc (line 180) | def fundamentalrc(self): method ure_bootstrap (line 187) | def ure_bootstrap(self): function run_in_lo (line 191) | def run_in_lo(soffice='soffice'): function install (line 266) | def install(unopkg='unopkg'): class Console (line 277) | class Console(object): method __init__ (line 278) | def __init__(self, buildout, name, options): method install (line 299) | def install(self): class TestRunner (line 326) | class TestRunner(object): method __init__ (line 327) | def __init__(self, buildout, name, options): method install (line 345) | def install(self): class Installer (line 372) | class Installer(object): method __init__ (line 373) | def __init__(self, buildout, name, options): method install (line 389) | def install(self): FILE: tools/oxt.tool/oxt_tool/backend.py function implementation (line 18) | def implementation(component_name, *services): class TestRunnerJob (line 28) | class TestRunnerJob(unohelper.Base, XJob): method __init__ (line 30) | def __init__(self, context): method execute (line 33) | def execute(self, arguments): method run (line 58) | def run(self, args): function sandbox (line 100) | def sandbox(working_dir, **kwargs): class RemoteRunJob (line 132) | class RemoteRunJob(unohelper.Base, XJob): method __init__ (line 134) | def __init__(self, context): method execute (line 137) | def execute(self, arguments): method run (line 155) | def run(self, args): class ConsoleJob (line 183) | class ConsoleJob(unohelper.Base, XJob): method __init__ (line 185) | def __init__(self, context): method execute (line 188) | def execute(self, arguments): class Console (line 216) | class Console(InteractiveConsole): method __init__ (line 218) | def __init__(self, inp, outfile): method write (line 223) | def write(self, data): method raw_input (line 227) | def raw_input(self, prompt=''): class FileFromStream (line 239) | class FileFromStream(object): method __init__ (line 246) | def __init__(self, stream, encoding='utf-8'): method close (line 290) | def close(self): FILE: tools/oxt.tool/oxt_tool/description.py function as_dict (line 18) | def as_dict(f): function get_display_name (line 26) | def get_display_name(doc): function set_display_name (line 32) | def set_display_name(doc, display_name): function get_extension_description (line 43) | def get_extension_description(doc): function set_extension_description (line 49) | def set_extension_description(doc, description): function get_publisher (line 60) | def get_publisher(doc): function set_publisher (line 67) | def set_publisher(doc, publisher): function get_license_accept_by (line 78) | def get_license_accept_by(doc): function get_license (line 86) | def get_license(doc): function get_oo_min_version (line 94) | def get_oo_min_version(doc): class Description (line 101) | class Description(object): method parse (line 104) | def parse(cls, f): method __init__ (line 127) | def __init__(self, method write (line 219) | def write(self, f): method required_files (line 258) | def required_files(self): function print_human_readable (line 265) | def print_human_readable(desc, root_stg=None): function init_main (line 307) | def init_main(): function show_main (line 328) | def show_main(): function version_main (line 343) | def version_main(): function ls_main (line 366) | def ls_main(): FILE: tools/oxt.tool/oxt_tool/manifest.py class Manifest (line 14) | class Manifest(object): method __init__ (line 18) | def __init__(self, namespace_uri=NS_URI): method NS (line 23) | def NS(self): method __setitem__ (line 26) | def __setitem__(self, full_path, value): method __getitem__ (line 31) | def __getitem__(self, full_path): method __delitem__ (line 34) | def __delitem__(self, full_path): method __iter__ (line 37) | def __iter__(self): method add_file (line 41) | def add_file(self, full_path, media_type): method load (line 44) | def load(self, f): method dump (line 57) | def dump(self, f): method save (line 73) | def save(self, path): function init_main (line 78) | def init_main(): function ls_main (line 92) | def ls_main(): function add_main (line 110) | def add_main(): function rm_main (line 135) | def rm_main(): FILE: tools/oxt.tool/oxt_tool/package.py function is_package (line 20) | def is_package(folder): function add_file (line 32) | def add_file(stg, manifest, path, full_path, media_type): function add_component_file (line 47) | def add_component_file(stg, manifest, path, full_path, type, platform=No... function add_type_library (line 74) | def add_type_library(stg, manifest, path, full_path, type): function add_basic_library (line 96) | def add_basic_library(stg, manifest, path, full_path): function add_dialog_library (line 106) | def add_dialog_library(stg, manifest, path, full_path): function add_configuration_data_file (line 116) | def add_configuration_data_file(stg, manifest, path, full_path): function add_configuration_schema_file (line 126) | def add_configuration_schema_file(stg, manifest, path, full_path): function build (line 136) | def build(package_path, manifest, description, files=dict(), function build_from (line 171) | def build_from(package_path, function make_output_path (line 224) | def make_output_path(path, desc=None): function package_name_from_desc (line 240) | def package_name_from_desc(desc): function expand_folders (line 249) | def expand_folders(resolved_nodes): function exclude_files (line 258) | def exclude_files(patterns, resolved_nodes): function init_main (line 270) | def init_main(): function show_main (line 292) | def show_main(): function build_main (line 324) | def build_main(): function check_main (line 358) | def check_main(): FILE: tools/oxt.tool/oxt_tool/remote.py function soffice_subprocess (line 28) | def soffice_subprocess(**kwargs): function connect_remote_context (line 77) | def connect_remote_context(uno_link, max_tries=10): function new_remote_context (line 101) | def new_remote_context(pipe='oxt.tool', retry=3, make_current=True, **kw... class RemoteContextLayer (line 139) | class RemoteContextLayer: method setUp (line 142) | def setUp(cls): method tearDown (line 147) | def tearDown(cls): FILE: tools/oxt.tool/oxt_tool/storage/__init__.py function open_storage (line 10) | def open_storage(path, mode='r', default_storage_factory=None): function resolve_path (line 27) | def resolve_path(folder, path): function makedirs (line 54) | def makedirs(folder, path): function makedirs_to_file (line 65) | def makedirs_to_file(folder, path): function put_file (line 75) | def put_file(node, path, **kwargs): function get_file (line 86) | def get_file(node, path): function openable_path_on_filesystem (line 98) | def openable_path_on_filesystem(node, writeback=False): function copy_file (line 122) | def copy_file(src_node, dst_node): function stream_copy (line 131) | def stream_copy(src, dst): function iterate_nodes_recursively (line 139) | def iterate_nodes_recursively(folder, folder_path=''): function iterate_files_recursively (line 150) | def iterate_files_recursively(folder, folder_path=''): function ls_main (line 156) | def ls_main(): function put_main (line 171) | def put_main(): function get_main (line 194) | def get_main(): FILE: tools/oxt.tool/oxt_tool/storage/_zipfile.py function zipfile_nodes (line 13) | def zipfile_nodes(zipfile): class ZipFileNode (line 28) | class ZipFileNode(object): method __init__ (line 30) | def __init__(self, zipfile, path): class ZipFileFile (line 35) | class ZipFileFile(ZipFileNode): method open (line 37) | def open(self, mode='r', compress_type=ZIP_DEFLATED): method put (line 44) | def put(self, filesystem_path, compress_type=ZIP_DEFLATED): class ZipFileFolder (line 48) | class ZipFileFolder(ZipFileNode): method childs (line 50) | def childs(self): method __iter__ (line 59) | def __iter__(self): method __getitem__ (line 63) | def __getitem__(self, name): method file (line 69) | def file(self, name): method folder (line 73) | def folder(self, name): class ZipFileStorage (line 78) | class ZipFileStorage(ZipFileFolder): method __init__ (line 80) | def __init__(self, *args, **kwargs): method childs (line 85) | def childs(self): method close (line 91) | def close(self): method __enter__ (line 94) | def __enter__(self): method __exit__ (line 97) | def __exit__(self, *args, **kwargs): class ZipFileStream (line 101) | class ZipFileStream(object): method __init__ (line 103) | def __init__(self, stream): method __getattr__ (line 106) | def __getattr__(self, name): method __enter__ (line 109) | def __enter__(self): method __exit__ (line 112) | def __exit__(self, *args, **kwargs): class ZipFileWritable (line 116) | class ZipFileWritable(object): method __init__ (line 118) | def __init__(self, zipfile, path, compress_type=ZIP_DEFLATED): method __getattr__ (line 128) | def __getattr__(self, name): method close (line 131) | def close(self): FILE: tools/oxt.tool/oxt_tool/storage/fs.py class FileSystemNode (line 11) | class FileSystemNode(object): method __init__ (line 13) | def __init__(self, path): class FileSystemFile (line 17) | class FileSystemFile(FileSystemNode): method open (line 19) | def open(self, *args, **kwargs): method path_on_filesystem (line 23) | def path_on_filesystem(self): method delete (line 26) | def delete(self): class FileSystemFolder (line 30) | class FileSystemFolder(FileSystemNode): method __iter__ (line 32) | def __iter__(self): method __getitem__ (line 35) | def __getitem__(self, name): method file (line 44) | def file(self, name): method folder (line 48) | def folder(self, name): class FileSystemStorage (line 54) | class FileSystemStorage(FileSystemFolder): method __init__ (line 56) | def __init__(self, path, mode='r'): method close (line 66) | def close(self): method __enter__ (line 69) | def __enter__(self): method __exit__ (line 72) | def __exit__(self, *args, **kwargs): FILE: tools/oxt.tool/oxt_tool/storage/path.py function split (line 10) | def split(path): function get_ancestors (line 17) | def get_ancestors(path): FILE: tools/oxt.tool/oxt_tool/tests/mixin_storage.py class StorageTestMixin (line 12) | class StorageTestMixin(object): method test_storage (line 14) | def test_storage(self): method test_folder_in (line 23) | def test_folder_in(self): method test_folder_iterate (line 30) | def test_folder_iterate(self): method test_folder_getitem (line 35) | def test_folder_getitem(self): method test_file_open_for_reading (line 46) | def test_file_open_for_reading(self): method test_file_open_for_writing (line 56) | def test_file_open_for_writing(self): method test_folder_new_file (line 74) | def test_folder_new_file(self): method test_folder_new_folder (line 94) | def test_folder_new_folder(self): method test_resolve_path (line 112) | def test_resolve_path(self): method test_makedirs (line 120) | def test_makedirs(self): method test_makedirs_to_file (line 168) | def test_makedirs_to_file(self): method test_file_put (line 179) | def test_file_put(self): method test_file_get (line 193) | def test_file_get(self): method test_openable_path_on_filesystem (line 201) | def test_openable_path_on_filesystem(self): method test_file_copy (line 216) | def test_file_copy(self): FILE: tools/oxt.tool/oxt_tool/tests/test_fs.py class TestFileSystem (line 8) | class TestFileSystem(unittest.TestCase, StorageTestMixin): method fixture_path (line 11) | def fixture_path(self): method create_fixture_storage (line 14) | def create_fixture_storage(self): method create_fixture_folder (line 19) | def create_fixture_folder(self): method get_fixture_folder (line 35) | def get_fixture_folder(self): FILE: tools/oxt.tool/oxt_tool/tests/test_package.py class PackageTest (line 12) | class PackageTest(unittest.TestCase): method test_package_name_from_desc (line 14) | def test_package_name_from_desc(self): method test_make_output_path (line 21) | def test_make_output_path(self): class BuildPackageTest (line 43) | class BuildPackageTest(unittest.TestCase): method test_build_minimal (line 45) | def test_build_minimal(self): method test_build_missing (line 55) | def test_build_missing(self): method test_build_typical (line 69) | def test_build_typical(self): FILE: tools/oxt.tool/oxt_tool/tests/test_storage_path.py class TestStoragePath (line 7) | class TestStoragePath(unittest.TestCase): method test_path_split (line 9) | def test_path_split(self): method test_path_ancestors (line 18) | def test_path_ancestors(self): FILE: tools/oxt.tool/oxt_tool/tests/test_zipfile.py class TestZipFile (line 9) | class TestZipFile(unittest.TestCase, StorageTestMixin): method zipfile_path (line 12) | def zipfile_path(self): method zipfile_create (line 15) | def zipfile_create(self): method zipfile_get (line 19) | def zipfile_get(self): method test_zipfile_folder (line 23) | def test_zipfile_folder(self): method test_zipfile_file (line 32) | def test_zipfile_file(self): method test_zipfile_file_put (line 42) | def test_zipfile_file_put(self): method create_fixture_storage (line 52) | def create_fixture_storage(self): method create_fixture_zipfile (line 56) | def create_fixture_zipfile(self): method create_fixture_folder (line 68) | def create_fixture_folder(self): method get_fixture_folder (line 73) | def get_fixture_folder(self): method test_zipfile_nodes (line 80) | def test_zipfile_nodes(self): FILE: tools/pyhwp.zestreleaser.cmds/pyhwp_zestreleaser_cmds.py function call_hooks (line 29) | def call_hooks(hooks_root, hook_type): function prerelease_before (line 40) | def prerelease_before(data): function prerelease_middle (line 45) | def prerelease_middle(data): function prerelease_after (line 50) | def prerelease_after(data): function release_before (line 55) | def release_before(data): function release_middle (line 60) | def release_middle(data): function release_after (line 65) | def release_after(data): function postrelease_before (line 70) | def postrelease_before(data): function postrelease_middle (line 75) | def postrelease_middle(data): function postrelease_after (line 80) | def postrelease_after(data): FILE: tools/pyhwp.zestreleaser.cmds/setup.py function read (line 11) | def read(filename): FILE: tools/unpack/pyhwp_unpack.py function main (line 14) | def main(): FILE: tools/xsltest/xsltest/__init__.py function changed_working_dir (line 36) | def changed_working_dir(working_dir): function pretty_print (line 45) | def pretty_print(elem): function expand_files (line 66) | def expand_files(files): function main (line 76) | def main(): function main_gen (line 91) | def main_gen(): function main_run (line 118) | def main_run(): function load_tests_from_files (line 144) | def load_tests_from_files(py_files): function generate_test_py_files_from_args (line 151) | def generate_test_py_files_from_args(args): function generate_testsuite_py (line 168) | def generate_testsuite_py(filename, context_tests): function generate_testsuite_source (line 175) | def generate_testsuite_source(context_tests): class ExpectHandler (line 192) | class ExpectHandler(object): method __init__ (line 194) | def __init__(self, elem): method generate_source (line 199) | def generate_source(self): function expect (line 207) | def expect(localname): class expect_elem (line 215) | class expect_elem(ExpectHandler): method params_from_elem (line 218) | def params_from_elem(cls, elem): class expect_attr (line 224) | class expect_attr(ExpectHandler): method params_from_elem (line 227) | def params_from_elem(cls, elem): class expect_empty (line 234) | class expect_empty(ExpectHandler): method params_from_elem (line 237) | def params_from_elem(cls, elem): class expect_true (line 243) | class expect_true(ExpectHandler): method params_from_elem (line 246) | def params_from_elem(cls, elem): class expect_equals (line 252) | class expect_equals(ExpectHandler): method params_from_elem (line 255) | def params_from_elem(cls, elem): class expect_text (line 269) | class expect_text(ExpectHandler): method params_from_elem (line 272) | def params_from_elem(cls, elem): class expect_shell (line 278) | class expect_shell(ExpectHandler): method params_from_elem (line 281) | def params_from_elem(cls, elem): class TestCase (line 285) | class TestCase(unittest.TestCase): method expect_elem (line 287) | def expect_elem(self, expected): method expect_attr (line 297) | def expect_attr(self, name, expected): method expect_empty (line 310) | def expect_empty(self, xpath_expr): method expect_true (line 317) | def expect_true(self, boolexpr): method expect_equals (line 328) | def expect_equals(self, tested, expected): method expect_text (line 341) | def expect_text(self, text): method expect_shell (line 349) | def expect_shell(self): class STARTEVENT (line 353) | class STARTEVENT: pass class ENDEVENT (line 354) | class ENDEVENT: pass function generate_events (line 357) | def generate_events(elem): class Processor (line 369) | class Processor(object): method __init__ (line 371) | def __init__(self, basepath, styles_dir=None, import_dir=None): method context (line 377) | def context(self): method stylesheet (line 381) | def stylesheet(self): method generate_testsuite_from_path (line 384) | def generate_testsuite_from_path(self, path, out_dir): method handle_events (line 401) | def handle_events(self, events): method resolve_href_to_path (line 426) | def resolve_href_to_path(self, href): method resolve_stylesheet_path (line 430) | def resolve_stylesheet_path(self, href): method resolve_import_path (line 437) | def resolve_import_path(self, href): class ContextTest (line 445) | class ContextTest(object): method __init__ (line 447) | def __init__(self, transform, context_elem): method generate_testcase_py (line 457) | def generate_testcase_py(self, parent): function xpath_inspect (line 480) | def xpath_inspect(context, result, xpath): function stylesheet_handler (line 508) | def stylesheet_handler(ns, localname): function xunit_stylesheet (line 516) | def xunit_stylesheet(self, elem): function context_handler (line 523) | def context_handler(ns, localname): class ContextTransform (line 530) | class ContextTransform(object): method __init__ (line 532) | def __init__(self, params): method from_elem (line 536) | def from_elem(cls, proc, elem): method gen_instantiate (line 541) | def gen_instantiate(self): class context_hwp5xml (line 546) | class context_hwp5xml(ContextTransform): method params_from_elem (line 549) | def params_from_elem(cls, proc, elem): method __call__ (line 555) | def __call__(self, parent_context): class context_import (line 567) | class context_import(ContextTransform): method params_from_elem (line 570) | def params_from_elem(cls, proc, elem): method __call__ (line 576) | def __call__(self, parent_context): class context_subtree (line 583) | class context_subtree(ContextTransform): method params_from_elem (line 586) | def params_from_elem(cls, proc, elem): method __call__ (line 592) | def __call__(self, parent_context): class context_wrap_subnodes (line 605) | class context_wrap_subnodes(ContextTransform): method params_from_elem (line 608) | def params_from_elem(cls, proc, elem): method __call__ (line 614) | def __call__(self, parent_context): class context_xslt (line 642) | class context_xslt(ContextTransform): method params_from_elem (line 645) | def params_from_elem(cls, proc, elem): method __call__ (line 661) | def __call__(self, parent_context): function evaluate (line 730) | def evaluate(elem): function get_select (line 734) | def get_select(elem): function interpret_as_qname (line 746) | def interpret_as_qname(value, nsmap): FILE: tools/xsltest/xsltest/xmltool/__init__.py function main (line 32) | def main(): FILE: tools/xsltest/xsltest/xmltool/subtree.py function main (line 27) | def main(): FILE: tools/xsltest/xsltest/xmltool/wrap.py function main (line 27) | def main(): FILE: tools/xsltest/xsltest/xmltool/xslt.py function main (line 29) | def main(): FILE: unokit/unokit/__init__.py class Base (line 22) | class Base(unohelper.Base): method __init__ (line 24) | def __init__(self, context): function component_context (line 28) | def component_context(f): FILE: unokit/unokit/adapters.py class InputStreamFromFileLike (line 24) | class InputStreamFromFileLike(unohelper.Base, XInputStream, XSeekable): method __init__ (line 31) | def __init__(self, f, dontclose=False): method readBytes (line 35) | def readBytes(self, aData, nBytesToRead): method skipBytes (line 41) | def skipBytes(self, nBytesToSkip): method available (line 44) | def available(self): method closeInput (line 47) | def closeInput(self): method seek (line 51) | def seek(self, location): method getPosition (line 54) | def getPosition(self): method getLength (line 58) | def getLength(self): class OutputStreamToFileLike (line 68) | class OutputStreamToFileLike(unohelper.Base, XOutputStream): method __init__ (line 75) | def __init__(self, f, dontclose=False): method writeBytes (line 79) | def writeBytes(self, bytesequence): method flush (line 82) | def flush(self): method closeOutput (line 85) | def closeOutput(self): class FileFromStream (line 90) | class FileFromStream(object): method __init__ (line 97) | def __init__(self, stream): method close (line 137) | def close(self): FILE: unokit/unokit/configuration.py function open_config (line 20) | def open_config(nodepath): function get_soffice_product_info (line 29) | def get_soffice_product_info(): FILE: unokit/unokit/contexts.py function get_stack (line 27) | def get_stack(): function push (line 35) | def push(context): function pop (line 39) | def pop(): function get_current (line 43) | def get_current(): FILE: unokit/unokit/services.py function create_service (line 20) | def create_service(name, *args): class NamespaceNode (line 30) | class NamespaceNode(object): method __init__ (line 31) | def __init__(self, dotted_name): method __getattr__ (line 34) | def __getattr__(self, name): method __call__ (line 37) | def __call__(self, *args): method __iter__ (line 40) | def __iter__(self): FILE: unokit/unokit/singletons.py function get_singleton (line 20) | def get_singleton(name): function iter_singleton_names (line 26) | def iter_singleton_names(): class NamespaceNode (line 36) | class NamespaceNode(object): method __init__ (line 37) | def __init__(self, dotted_name): method __getattr__ (line 40) | def __getattr__(self, name): method __iter__ (line 49) | def __iter__(self): FILE: unokit/unokit/tests/test_configuration.py class TestBase (line 22) | class TestBase(TestCase): class GetSofficeProductInfoTest (line 26) | class GetSofficeProductInfoTest(TestBase): method test_basic (line 27) | def test_basic(self): FILE: unokit/unokit/tests/test_singletons.py class TestBase (line 22) | class TestBase(TestCase): class TestSingletons (line 26) | class TestSingletons(TestBase): method test_extman (line 27) | def test_extman(self): method test_pkginfo_prov (line 32) | def test_pkginfo_prov(self): FILE: unokit/unokit/tests/test_ucb.py class TestBase (line 22) | class TestBase(TestCase): class OpenURLTest (line 26) | class OpenURLTest(TestBase): method test_basic (line 27) | def test_basic(self): FILE: unokit/unokit/ucb.py function open_url (line 21) | def open_url(url): FILE: unokit/unokit/util.py function unofy_value (line 22) | def unofy_value(value): function xenumeration_list (line 30) | def xenumeration_list(xenum): function dict_to_propseq (line 34) | def dict_to_propseq(d): function propseq_to_dict (line 41) | def propseq_to_dict(propvalues): function enumerate (line 45) | def enumerate(xenumaccess): function iterate (line 54) | def iterate(xenum): function dump (line 61) | def dump(obj): function dumpdir (line 84) | def dumpdir(obj):