| 161 | } |
| 162 | |
| 163 | void DocumentPrivate::init() |
| 164 | { |
| 165 | if (!contentTypes) |
| 166 | contentTypes = std::make_shared<ContentTypes>(ContentTypes::F_NewFromScratch); |
| 167 | |
| 168 | if (workbook.isNull()) |
| 169 | workbook = QSharedPointer<Workbook>(new Workbook(Workbook::F_NewFromScratch)); |
| 170 | } |
| 171 | |
| 172 | bool DocumentPrivate::loadPackage(QIODevice *device) |
| 173 | { |