# Schemas for Validating ODF Files Schemas that can be used for validating ODF files subdirs: - `mathml2`: W3C MathML 2.0 XML Schema (needed for Math embedded objects) - `odf1.0`, `odf1.1`, `odf1.2`: official OASIS RelaxNG schemas - `odf1.3`: current OASIS draft ODF 1.3 RelaxNG schema - `libreoffice`: draft ODF schema, with additional LO extensions The extension schema in `libreoffice/` is used by all unit tests if `--with-export-validation` is given, which is the default. Notably this means that if you add a new feature to the ODF filters and you add the required unit test for the new feature, then most likely the test will fail with a complaint from the validator; in this case the schema needs to be updated to contain the new elements and attributes. The extension schema uses the `RelaxNG` "`include`" feature to refer to the ODF schema; this means that it only contains those parts of the schema that actually need to be changed - this works well in many cases because the ODF schema is quite well structured with many named patterns, but unfortunately there are a few places where that isn't the case and large chunks needed to be copied to override them. In the easy case, to add an attribute you just want to search for the corresponding element, which will have a "`foo-attlist`" named pattern, and then add another attribute like this: Currently only the features that are actually exported in the unit tests have been added to the schema; there is still some work to do here to add everything; the crashtesting script also does ODF validation of all files and now also uses the custom schema. Unfortunately it turned out that there are a lot of extensions already for which no proposal exists [1], and in many cases not even an entry on the Wiki [2], so clearly something like this extension schema is needed. [1] `git grep TODO schema/libreoffice` [2] tion> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/include/oox/export/drawingml.hxx
AgeCommit message (Expand)Author
2014-07-21WaE: passing class rtl::OUString by value, rather pass by referenceTor Lillqvist
2014-07-21fdo#80897: Preservation of text warp properties.Rohit Deshmukh
2014-07-17fdo#80894 : Rotation value for textframe was missing after RT.sushil_shinde
2014-06-06DOCX drawingML export: if shape has textbox, export its contents as shape textMiklos Vajna
2014-05-23ooxml: Do not repeat wdp files in artistic effectsJacobo Aragunde Pérez
2014-05-23ooxml: Preserve the original picture in artistic effectsJacobo Aragunde Pérez
2014-05-23ooxml: preserve artistic effects on shapes.Jacobo Aragunde Pérez
2014-05-16ooxml: Preserve shape effects when there's more than oneJacobo Aragunde Pérez
2014-05-14Find places where uno::Sequence is passed by value.Noel Grandin
2014-05-13oox: Use references to prevent unnecessary object copiesJacobo Aragunde Pérez
2014-05-06oox: preserve scene3d/camera effects on shapes.Jacobo Aragunde Pérez
2014-04-23ooxml: Preserve outer shadow effect on shapes.Jacobo Aragunde Pérez
2014-04-03oox: sal_Bool->boolNoel Grandin
2014-03-17oox: prefer passing OUString by referenceNoel Grandin
2014-02-26fix OOXML validation error for text shapes, related fdo#31551Markus Mohrhard
2014-02-26use const reference for OUStringMarkus Mohrhard
2014-02-13drawingML export: hatching of shapesZolnai Tamás
2014-02-12drawingML export\import: cropping of shape's fill textureZolnai Tamás
2014-02-12fdo#74115 Fix for DOCX BitmapFill for Chart WallVinaya Mandke
2014-02-12fdo#74115 Fix for DOCX GradientFill for Chart WallVinaya Mandke
2014-02-11ooxml: Preserve color transformations for shape theme colorsJacobo Aragunde Pérez
2014-02-05ooxml: preserve gradient shape fillJacobo Aragunde Pérez
2014-01-30drawingML: complete the fix of nAlpha param in DrawingMLJacobo Aragunde Pérez
2014-01-30drawingML: fix transparency of shape solid fillJacobo Aragunde Pérez
2014-01-30drawingML export: transparency of solid filled shapeZolnai Tamás
2014-01-28ooxml: Preserve color transformations in shape style definitionsJacobo Aragunde Pérez
2014-01-23drawingML export: fix position of shape in case rotation is 180 degreesMiklos Vajna
2014-01-18ooxml: Preserve shape theme attribute for solid fillJacobo Aragunde Pérez
2014-01-18ooxml: Preserve shape style attribute fillRefJacobo Aragunde Pérez
2013-12-13drawingml export: handle child shapes when exporting groupshapesMiklos Vajna
2013-12-12oox: allow a callback to be registered for shape text DML exportMiklos Vajna
2013-12-12oox: fix ShapeExport::WriteTextBox() for DOCX when shape has textMiklos Vajna
2013-10-23fixincludeguards.sh: include/o*Thomas Arnhold