write2odt.py
def add_rubi(paragraph_element, str_base, str_rubi):
    """Add rubi to paragraph element."""
    rubi_element = Ruby(stylename="Rubi1")
    rubi_element.addElement(RubyBase(text=str_base))
    rubi_element.addElement(RubyText(text=str_rubi))
    paragraph_element.addElement(rubi_element)
Add rubi to paragraph element.
Add rubi to paragraph element.
Add rubi to paragraph element .
def add_rubi(paragraph_element, str_base, str_rubi):
    rubi_element = Ruby(stylename="Rubi1")
    rubi_element.addElement(RubyBase(text=str_base))
    rubi_element.addElement(RubyText(text=str_rubi))
    paragraph_element.addElement(rubi_element)
def add_rubi ( paragraph_element , str_base , str_rubi ) : rubi_element = Ruby ( stylename = "Rubi1" ) rubi_element . addElement ( RubyBase ( text = str_base ) ) rubi_element . addElement ( RubyText ( text = str_rubi ) ) paragraph_element . addElement ( rubi_element )
Add rubi to paragraph element.
Add rubi to paragraph element .
"""Add rubi to paragraph element."""
paragraph_element
str_base
str_rubi