Giter Site home page Giter Site logo

Multi-level lists about com.elovirta.ooxml HOT 6 CLOSED

jelovirt avatar jelovirt commented on May 22, 2024
Multi-level lists

from com.elovirta.ooxml.

Comments (6)

jelovirt avatar jelovirt commented on May 22, 2024 3

Sounds reasonable. I will implement this to be the default.

from com.elovirta.ooxml.

jelovirt avatar jelovirt commented on May 22, 2024

Mapping different styles to different list item depths is something that you currently have to override. Again, since there is no single one answer for this, it's left to the customization to handle it.

from com.elovirta.ooxml.

mhGLEIF avatar mhGLEIF commented on May 22, 2024

I would suggest to standardize it to the built-in Word styles that appear in a fresh copy of normal.dotm:

image

Is this something the user community is expected to do?

I'm intending to learn XSLT in depth but I as far as I can understand these tweaks would not be a lot of work for someone who already knows - maybe oxygen can get it done somehow?

from com.elovirta.ooxml.

mhGLEIF avatar mhGLEIF commented on May 22, 2024

This is extremely helpful!

Sorry for the long exchange - sometimes even a technical writer is not able to explain their requirements as clearly as they'd like ;-)

from com.elovirta.ooxml.

dagoss avatar dagoss commented on May 22, 2024

Would this be expected to affect <task> elements too, or are we just talking about basic list elements like <ol> and <ul>?

For example:

<steps>
    <step>
        <cmd>This is "List Number"</cmd>
        <info>This is "List Continue"</info>
    </step>
    <step>
        <cmd>This is "List Number"</cmd>
        <substeps>
            <substep>
                <cmd>This is "List Number 2"</cmd>
                <info>This is "List Continue 2"</cmd>
             </substep>
        </substep>
    </step>
    <step>
        <cmd>This is "List Number"</cmd>
        <choices>
            <choice>This is "List Bullet 2"</choice>
        </choice>
    </step>
</steps>

from com.elovirta.ooxml.

mhGLEIF avatar mhGLEIF commented on May 22, 2024

@dagoss I was assuming just ol and ul because they are semantic-free and could therefore reasonably be expected to behave like Word styles (which are almost all semantic free).

There's no Word style that uniquely / directly corresponds to most of the DITA semantic elements. That doesn't mean your suggestion is not a good idea, but I don't know how much effort that would take to implement, plus at a certain point maybe you have to make choices about what the semantics will be (?).

codeph might work as e.g. HTML Code (which I'd suggest) but I will admit I don't know what all the other Word HTML _____ styles mean.

from com.elovirta.ooxml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.