Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-alpha-9
    • Fix Version/s: 1.1
    • Component/s: Sink API
    • Labels:
      None

      Activity

      Hide
      ltheussl Lukas Theussl added a comment -

      With DOXIA-204 we could also add a SinkEventAttributes parameter to the text() event and get underscores using a style attribute 'style="text-decoration: underline"'.Would this be sufficient or do you need explicit sink events?

      Show
      ltheussl Lukas Theussl added a comment - With DOXIA-204 we could also add a SinkEventAttributes parameter to the text() event and get underscores using a style attribute 'style="text-decoration: underline"'.Would this be sufficient or do you need explicit sink events?
      Hide
      vmassol Vincent Massol added a comment -

      This means that all text decorations would not have sink events anymore but would be text() event parameters. I think I like it.

      Actually wikimodel does something similar with WikiFormat in http://wikimodel.googlecode.com/svn/trunk/org.wikimodel.wem/src/main/java/org/wikimodel/wem/IWemListener.java

      The only thing I'd like to have is some helper methods so that as a user of the API I don't have to do any parsing at all to know the style of a text block and also maybe to set it.

      Show
      vmassol Vincent Massol added a comment - This means that all text decorations would not have sink events anymore but would be text() event parameters. I think I like it. Actually wikimodel does something similar with WikiFormat in http://wikimodel.googlecode.com/svn/trunk/org.wikimodel.wem/src/main/java/org/wikimodel/wem/IWemListener.java The only thing I'd like to have is some helper methods so that as a user of the API I don't have to do any parsing at all to know the style of a text block and also maybe to set it.
      Hide
      ltheussl Lukas Theussl added a comment -

      Done in r635929, using DOXIA-204.

      Show
      ltheussl Lukas Theussl added a comment - Done in r635929, using DOXIA-204 .

        People

        • Assignee:
          ltheussl Lukas Theussl
          Reporter:
          vmassol Vincent Massol
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development