Example #1
0
void NamespaceDef::addNamespaceAttributes(OutputList &ol)
{
    // UNO IDL constant groups may be published
    if (getLanguage()==SrcLangExt_IDL && isConstantGroup() && m_isPublished)
    {
        ol.pushGeneratorState();
        ol.disableAllBut(OutputGenerator::Html);
        ol.startLabels();
        ol.writeLabel("published",false);
        ol.endLabels();
        ol.popGeneratorState();
    }
}