Commit 3b67e4e 1 parent 670dae5 commit 3b67e4e Copy full SHA for 3b67e4e
File tree 1 file changed +6
-1
lines changed
MsBinaryFile/PptFile/PPTXWriter
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -619,6 +619,7 @@ namespace PPT
619
619
620
620
WriteSlides ();
621
621
WriteNotes ();
622
+ m_pShapeWriter->SetRelsGenerator (NULL );
622
623
}
623
624
624
625
// todo reforming and refactoring!
@@ -1544,6 +1545,8 @@ namespace PPT
1544
1545
1545
1546
oRels.StartSlide (nLayout, pSlide->m_lNotesID );
1546
1547
}
1548
+
1549
+ m_pShapeWriter->SetRelsGenerator (&oRels);
1547
1550
1548
1551
oWriter.WriteString (std::wstring (L" <?xml version=\" 1.0\" encoding=\" UTF-8\" standalone=\" yes\" ?>" ));
1549
1552
oWriter.WriteString (std::wstring (L" <p:sld \
@@ -1637,10 +1640,12 @@ xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\""));
1637
1640
{
1638
1641
CStringWriter oWriter;
1639
1642
CRelsGenerator oRels (&m_oManager);
1640
-
1643
+
1641
1644
CSlide* pNotes = m_pDocument->m_arNotes [nIndexNotes];
1642
1645
1643
1646
oRels.StartNotes (pNotes->m_lSlideID , m_pDocument->m_pNotesMaster != NULL );
1647
+
1648
+ m_pShapeWriter->SetRelsGenerator (&oRels);
1644
1649
1645
1650
oWriter.WriteString (std::wstring (L" <?xml version=\" 1.0\" encoding=\" UTF-8\" standalone=\" yes\" ?>" ));
1646
1651
oWriter.WriteString (std::wstring (L" <p:notes xmlns:a=\" http://schemas.openxmlformats.org/drawingml/2006/main\" xmlns:r=\" http://schemas.openxmlformats.org/officeDocument/2006/relationships\" xmlns:p=\" http://schemas.openxmlformats.org/presentationml/2006/main\" " ));
You can’t perform that action at this time.
0 commit comments