jelovirt / com.elovirta.ooxml

DITA to Word plug-in
Apache License 2.0
22 stars 14 forks source link

Better handling for image maps #30

Open raducoravu opened 7 years ago

raducoravu commented 7 years ago

If in the DITA content I have an image map:

<imagemap id="personal_xsd_Element_p_person">
                                    <image href="img/personal_xsd_Element_p_person.jpeg"/>
                                        <area>
                                            <shape>rect</shape>
                                            <coords>147,46,251,97</coords>
                                            <xref href="personal_xsd_Element_p_person.dita#person_id"/>
                                        </area>
                                </imagemap>

right now the Word output outputs all the text content from the area including the coordinates. It could do one of two things:

1) Quick fix, avoid outputting anything for the element. 2) Behave as the PDF output does, create callout links after the image, somehow for each xref create a paragraph containing a link to the target and an index.

raducoravu commented 3 years ago

👍 from another one of our users trying to go from XSD to DITA to Word to Confluence and the converted DITA content has image maps:

 I want to upload xsd documenation to confluence.  As per my understanding, I am using DITA feature to generate DITA and then convert to word.  However,  all diagrams have extra lines of text like below