dariok / w2tei

MIT License
9 stars 3 forks source link

Word may use different types of Links #28

Open dariok opened 5 years ago

dariok commented 5 years ago

Example Word 2016:

            <w:r w:rsidR="00043B3B" w:rsidRPr="00043B3B">
                <w:rPr>
                    <w:rStyle w:val="AuszeichnungberMehrereWorte"/>
                </w:rPr>
                <w:t>[[</w:t>
            </w:r>
            <w:hyperlink r:id="rId16" w:history="1">
                <w:r w:rsidR="00FC485F" w:rsidRPr="00FC485F">
                    <w:rPr>
                        <w:rStyle w:val="auszeichnungbermehrereworte0"/>
                        <w:rFonts w:eastAsia="Times New Roman"/>
                        <w:color w:val="0000FF"/>
                    </w:rPr>
                    <w:t xml:space="preserve">Kriegsministerium </w:t>
                </w:r>
            </w:hyperlink>
            <w:hyperlink r:id="rId17" w:history="1">
                <w:r w:rsidR="00FC485F" w:rsidRPr="00FC485F">
                    <w:rPr>
                        <w:rStyle w:val="auszeichnungbermehrereworte0"/>
                        <w:rFonts w:eastAsia="Times New Roman"/>
                        <w:color w:val="0000FF"/>
                    </w:rPr>
                    <w:t xml:space="preserve">Finanzministerium </w:t>
                </w:r>
            </w:hyperlink>
            <w:bookmarkStart w:id="1" w:name="_GoBack"/>
            <w:r w:rsidR="00FC485F">
                <w:rPr>
                    <w:rFonts w:eastAsia="Times New Roman"/>
                </w:rPr>
                <w:fldChar w:fldCharType="begin"/>
            </w:r>
            <w:r w:rsidR="00FC485F">
                <w:rPr>
                    <w:rFonts w:eastAsia="Times New Roman"/>
                </w:rPr>
                <w:instrText xml:space="preserve"> HYPERLINK "http://d-nb.info/gnd/121098-1" </w:instrText>
            </w:r>
            <w:r w:rsidR="00FC485F">
                <w:rPr>
                    <w:rFonts w:eastAsia="Times New Roman"/>
                </w:rPr>
                <w:fldChar w:fldCharType="separate"/>
            </w:r>
            <w:r w:rsidR="00FC485F" w:rsidRPr="00FC485F">
                <w:rPr>
                    <w:rStyle w:val="auszeichnungbermehrereworte0"/>
                    <w:rFonts w:eastAsia="Times New Roman"/>
                    <w:color w:val="0000FF"/>
                </w:rPr>
                <w:t>Handelsministerium</w:t>
            </w:r>
            <w:r w:rsidR="00FC485F">
                <w:rPr>
                    <w:rFonts w:eastAsia="Times New Roman"/>
                </w:rPr>
                <w:fldChar w:fldCharType="end"/>
            </w:r>
            <w:bookmarkEnd w:id="1"/>
            <w:r w:rsidR="00043B3B" w:rsidRPr="00043B3B">
                <w:rPr>
                    <w:rStyle w:val="AuszeichnungberMehrereWorte"/>
                </w:rPr>
                <w:t>]]</w:t>
            </w:r>

Both version need to be converted.

skurzinz commented 5 years ago

Examples are available in mp-data repo

dariok commented 5 years ago

I'll try to continue on this next week