Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Document object

The Document object is an abstract representation of a document.

It is a subclass of the Section class and so has all the same
methods for adding content (such as Sections, Tables, Lists, tables
of contents and Para(graph)s).

An 'addSection' method is also provided as an alias for the
'addSubsection' method inherited from the Section base class.(more...)

src/e/d/edna-HEAD/libraries/EDNA2html-0.0.10a/EDNA2html.py   edna(Download)
        'edna_runs' is the list of populated EDNARun objects."""
        # Generate a document reporting the errors
        self.__doc = Canary.Document("EDNA2html: failure report")
        self.__doc.addStyle(os.path.join(edna2htmldir, "EDNA2html.css"),
                            Canary.INLINE)
    #####################################################
 
    doc = Canary.Document("Strategy for image template " +
                          Canary.makeToolTip(completed_edna_run.image_template,
                                             help.image_template))