zspitz / ts-activex-gen

Library + UI for generating Typescript definitions / DefinitelyTyped packages from COM type libraries / LibreOffice Doxygen XML
MIT License
12 stars 4 forks source link

Parse IDL namespace files #63

Closed zspitz closed 7 years ago

zspitz commented 7 years ago

parse namespaces sectiondef for all enums sectiondef for all typdefs parse enums sectiondef each memberdef -> enum definition name each enumvalue -> enum value; using name where are the explicitly set values of the enum??

namespace com.sun.star.util {
    enum SearchAlgorithms {
        ABSOLUTE,
        REGEXP,
        APPROXIMATE
    }
}

parse typedefs sectiondef - as aliases + jsdoc

questions: how are UNO enum values returned to the automation context? can the name of the UNO enum be passed into the automation bridge from the automation context?