Uploaded image for project: 'ODF Toolkit'
  1. ODF Toolkit
  2. ODFTOOLKIT-24

Convenient methods directly on text document (avoiding xpath)

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • simple-odfdom-0.7
    • odfdom-0.8.7
    • java
    • None
    • Operating System: All
      Platform: PC
    • 31

    Description

      Created an attachment (id=55)
      Patch from Hans-Peter about convenience methods on the text document

      Hans-Peter wrote on my behalf a patch, but unfortunately I got problems applying it.

      I have reviewed the patch from text file and it looks fine.

      Could someone try to apply the patch and review it?

      Aside of the addition of convenient methods on the text document, I asked him to rename all further existing createSOMETHING methods to newSOMETHING to have a consistent API using solely:
      addSOMETHING() - for adding SOMETHING, which exits prior as an object.
      newSOMETHING() - for creating a new object of SOMETHING.

      • Svante

      Attachments

        Activity

          People

            hans-peter@odftoolkit.org hans-peter
            svanteschubert@odftoolkit.org Svante Schubert
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment