Commit 0928e7d7 authored by ElenaSubbotina's avatar ElenaSubbotina

.

parent 2d3040ab
......@@ -60,7 +60,6 @@ SOURCES += \
core_debug {
SOURCES += \
../../../PPTXFormat/DocxFormat/IFileContainer.cpp \
../../../PPTXFormat/Logic/Colors/SchemeClr.cpp \
../../../PPTXFormat/Logic/Fills/Blip.cpp \
../../../PPTXFormat/Logic/Table/TableCell.cpp \
......@@ -114,22 +113,6 @@ SOURCES += \
HEADERS += pptxformatlib.h \
../../../ASCOfficeDrawingConverter.h \
../../../ASCOfficePPTXFile.h \
../../../PPTXFormat/DocxFormat/ContentTypes/Default.h \
../../../PPTXFormat/DocxFormat/ContentTypes/DefaultTable.h \
../../../PPTXFormat/DocxFormat/ContentTypes/ExtensionTable.h \
../../../PPTXFormat/DocxFormat/ContentTypes/File.h \
../../../PPTXFormat/DocxFormat/ContentTypes/Override.h \
../../../PPTXFormat/DocxFormat/ContentTypes/OverrideTable.h \
../../../PPTXFormat/DocxFormat/External/External.h \
../../../PPTXFormat/DocxFormat/External/ExternalAudio.h \
../../../PPTXFormat/DocxFormat/External/ExternalImage.h \
../../../PPTXFormat/DocxFormat/External/ExternalVideo.h \
../../../PPTXFormat/DocxFormat/External/HyperLink.h \
../../../PPTXFormat/DocxFormat/Media/Audio.h \
../../../PPTXFormat/DocxFormat/Media/Image.h \
../../../PPTXFormat/DocxFormat/Media/Media.h \
../../../PPTXFormat/DocxFormat/Media/OleObject.h \
../../../PPTXFormat/DocxFormat/Media/Video.h \
../../../PPTXFormat/DocxFormat/Rels/File.h \
../../../PPTXFormat/DocxFormat/Rels/RelationShip.h \
../../../PPTXFormat/DocxFormat/Rels/RelationTable.h \
......@@ -138,11 +121,8 @@ HEADERS += pptxformatlib.h \
../../../PPTXFormat/DocxFormat/FileType.h \
../../../PPTXFormat/DocxFormat/FileTypes.h \
../../../PPTXFormat/DocxFormat/IFileBuilder.h \
../../../PPTXFormat/DocxFormat/IFileContainer.h \
../../../PPTXFormat/DocxFormat/NamespaceOwn.h \
../../../PPTXFormat/DocxFormat/Namespaces.h \
../../../PPTXFormat/DocxFormat/RId.h \
../../../PPTXFormat/DocxFormat/UnknowTypeFile.h \
../../../PPTXFormat/DocxFormat/WritingElement.h \
../../../PPTXFormat/DocxFormat/WritingVector.h \
../../../PPTXFormat/Limit/AlbumLayout.h \
......
......@@ -29,7 +29,6 @@
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "../../../PPTXFormat/DocxFormat/IFileContainer.cpp"
#include "../../../PPTXFormat/Logic/Colors/SchemeClr.cpp"
#include "../../../PPTXFormat/Logic/Fills/Blip.cpp"
#include "../../../PPTXFormat/Logic/Table/TableCell.cpp"
......
......@@ -37,6 +37,7 @@ namespace OOX {
{
// Ищем "/_rels/.rels" и читаем все файлы по рельсам
OOX::CRels oRels( oFilePath / FILE_SEPARATOR_STR );
oRels.Read(oFilePath / FILE_SEPARATOR_STR);
IFileContainer::Read( oRels, oFilePath, oFilePath );
// Выполняем дополнительные действия для более удобной работы с файлом
......
......@@ -64,7 +64,7 @@ namespace OOX
}
friend CPath operator/(const CPath& path1, const std::wstring& path2)
{
CPath path(path1.m_strFilename + FILE_SEPARATOR_STR + (path2 == FILE_SEPARATOR_STR ? L"" : path2));
CPath path(path1.m_strFilename + FILE_SEPARATOR_STR + path2);
path.Normalize();
return path;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment