Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 16 additions & 18 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ set(ODR_SOURCE_FILES
"src/odr/internal/cfb/cfb_util.cpp"

"src/odr/internal/common/document.cpp"
"src/odr/internal/common/document_element.cpp"
"src/odr/internal/common/file.cpp"
"src/odr/internal/common/filesystem.cpp"
"src/odr/internal/common/image_file.cpp"
Expand Down Expand Up @@ -133,31 +132,30 @@ set(ODR_SOURCE_FILES

"src/odr/internal/odf/odf_crypto.cpp"
"src/odr/internal/odf/odf_document.cpp"
"src/odr/internal/odf/odf_element.cpp"
"src/odr/internal/odf/odf_element_registry.cpp"
"src/odr/internal/odf/odf_file.cpp"
"src/odr/internal/odf/odf_manifest.cpp"
"src/odr/internal/odf/odf_meta.cpp"
"src/odr/internal/odf/odf_parser.cpp"
"src/odr/internal/odf/odf_spreadsheet.cpp"
"src/odr/internal/odf/odf_style.cpp"

"src/odr/internal/oldms/oldms_file.cpp"

"src/odr/internal/ooxml/presentation/ooxml_presentation_document.cpp"
"src/odr/internal/ooxml/presentation/ooxml_presentation_element.cpp"
"src/odr/internal/ooxml/presentation/ooxml_presentation_parser.cpp"
"src/odr/internal/ooxml/spreadsheet/ooxml_spreadsheet_document.cpp"
"src/odr/internal/ooxml/spreadsheet/ooxml_spreadsheet_element.cpp"
"src/odr/internal/ooxml/spreadsheet/ooxml_spreadsheet_parser.cpp"
"src/odr/internal/ooxml/spreadsheet/ooxml_spreadsheet_style.cpp"
"src/odr/internal/ooxml/text/ooxml_text_document.cpp"
"src/odr/internal/ooxml/text/ooxml_text_element.cpp"
"src/odr/internal/ooxml/text/ooxml_text_parser.cpp"
"src/odr/internal/ooxml/text/ooxml_text_style.cpp"
"src/odr/internal/ooxml/ooxml_crypto.cpp"
"src/odr/internal/ooxml/ooxml_file.cpp"
"src/odr/internal/ooxml/ooxml_meta.cpp"
"src/odr/internal/ooxml/ooxml_util.cpp"
#"src/odr/internal/ooxml/presentation/ooxml_presentation_document.cpp"
#"src/odr/internal/ooxml/presentation/ooxml_presentation_element.cpp"
#"src/odr/internal/ooxml/presentation/ooxml_presentation_parser.cpp"
#"src/odr/internal/ooxml/spreadsheet/ooxml_spreadsheet_document.cpp"
#"src/odr/internal/ooxml/spreadsheet/ooxml_spreadsheet_element.cpp"
#"src/odr/internal/ooxml/spreadsheet/ooxml_spreadsheet_parser.cpp"
#"src/odr/internal/ooxml/spreadsheet/ooxml_spreadsheet_style.cpp"
#"src/odr/internal/ooxml/text/ooxml_text_document.cpp"
#"src/odr/internal/ooxml/text/ooxml_text_element.cpp"
#"src/odr/internal/ooxml/text/ooxml_text_parser.cpp"
#"src/odr/internal/ooxml/text/ooxml_text_style.cpp"
#"src/odr/internal/ooxml/ooxml_crypto.cpp"
#"src/odr/internal/ooxml/ooxml_file.cpp"
#"src/odr/internal/ooxml/ooxml_meta.cpp"
#"src/odr/internal/ooxml/ooxml_util.cpp"

"src/odr/internal/pdf/pdf_cmap.cpp"
"src/odr/internal/pdf/pdf_cmap_parser.cpp"
Expand Down
2 changes: 1 addition & 1 deletion src/odr/document.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ DocumentType Document::document_type() const noexcept {
}

Element Document::root_element() const {
return {m_impl.get(), m_impl->root_element()};
return {m_impl->element_adapter(), m_impl->root_element()};
}

Filesystem Document::as_filesystem() const {
Expand Down
Loading
Loading