Uložení stylů

  • styly se ukládají do samostatné části

  • v balíčku musí mít soubor se styly správný typ a musí být definován vztah mezi dokumentem a jeho styly

  • [Content_Types].xml:

    <Override PartName="/word/styles.xml"
        ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/>
  • document.xml.rels:

    …
      <Relationship Id="rId2"
        Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"
        Target="styles.xml"/>
    …