Save and load xml:id as well as text:id and draw:id where necessary
ODF 1.2 migrates from draw:id and text:id to xml:id in most cases. This patch introduces a new class, KoElementReference, that makes handling id's mostly transparent. It also changes KoShapeSavingContext to manage references and id's in a transparent manner when saving. Most filters, even those that are currently useless, have also been updated. BUG:288644 REVIEW: 104074
Showing
- filters/stage/kpr2odf/Filterkpr2odf.cpp 7 additions, 2 deletionsfilters/stage/kpr2odf/Filterkpr2odf.cpp
- filters/stage/pptx/PptxXmlSlideReader.cpp 16 additions, 0 deletionsfilters/stage/pptx/PptxXmlSlideReader.cpp
- filters/words/docx/DocxXmlDocumentReader.cpp 16 additions, 14 deletionsfilters/words/docx/DocxXmlDocumentReader.cpp
- filters/words/oowriter/ExportFilter.h 1 addition, 1 deletionfilters/words/oowriter/ExportFilter.h
- karbon/common/KarbonDocument.cpp 1 addition, 0 deletionskarbon/common/KarbonDocument.cpp
- krita/ui/flake/kis_shape_layer.cc 5 additions, 2 deletionskrita/ui/flake/kis_shape_layer.cc
- krita/ui/flake/kis_shape_selection.cpp 5 additions, 1 deletionkrita/ui/flake/kis_shape_selection.cpp
- libs/flake/KoConnectionShape.cpp 2 additions, 2 deletionslibs/flake/KoConnectionShape.cpp
- libs/flake/KoImageCollection.cpp 0 additions, 2 deletionslibs/flake/KoImageCollection.cpp
- libs/flake/KoShape.cpp 10 additions, 8 deletionslibs/flake/KoShape.cpp
- libs/flake/KoShapeLoadingContext.cpp 14 additions, 1 deletionlibs/flake/KoShapeLoadingContext.cpp
- libs/flake/KoShapeLoadingContext.h 12 additions, 0 deletionslibs/flake/KoShapeLoadingContext.h
- libs/flake/KoShapeSavingContext.cpp 58 additions, 26 deletionslibs/flake/KoShapeSavingContext.cpp
- libs/flake/KoShapeSavingContext.h 19 additions, 24 deletionslibs/flake/KoShapeSavingContext.h
- libs/kopageapp/KoPADocument.cpp 1 addition, 2 deletionslibs/kopageapp/KoPADocument.cpp
- libs/kopageapp/KoPAPage.cpp 0 additions, 1 deletionlibs/kopageapp/KoPAPage.cpp
- libs/kopageapp/KoPAPastePage.cpp 20 additions, 19 deletionslibs/kopageapp/KoPAPastePage.cpp
- libs/kopageapp/tests/TestPACopyPastePage.cpp 2 additions, 3 deletionslibs/kopageapp/tests/TestPACopyPastePage.cpp
- libs/kopageapp/tests/TestPACopyPastePage.h 3 additions, 2 deletionslibs/kopageapp/tests/TestPACopyPastePage.h
- libs/kotext/KoDocumentRdfBase.cpp 5 additions, 0 deletionslibs/kotext/KoDocumentRdfBase.cpp
Loading
Please register or sign in to comment