Skip to content

Commit f5d7756

Browse files
committed
chore(ole): remove modify and append for OLE objects
1 parent 5e8d059 commit f5d7756

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

src/shapes/ole.ts

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -34,30 +34,10 @@ export class OLEObject extends Shape {
3434
: '.bin';
3535
}
3636

37-
// NOTE: modify is not currently implemented
38-
// async modify(
39-
// targetTemplate: RootPresTemplate,
40-
// targetSlideNumber: number,
41-
// ): Promise<OLEObject> {
42-
// await this.prepare(targetTemplate, targetSlideNumber);
43-
// await this.replaceIntoSlideTree();
44-
// await this.editTargetOleObjectRel();
45-
46-
// return this;
47-
// }
48-
49-
// NOTE: append is not currently implemented
50-
// async append(
51-
// targetTemplate: RootPresTemplate,
52-
// targetSlideNumber: number,
53-
// ): Promise<OLEObject> {
54-
// await this.prepare(targetTemplate, targetSlideNumber);
55-
// await this.appendToSlideTree();
56-
57-
// return this;
58-
// }
59-
60-
// TODO: remove is not currently properly implemented, suggest we delete the file from the archive as well as removing the relationship.
37+
// NOTE: modify() and append() won't be implemented.
38+
39+
// TODO: remove is not currently properly implemented,
40+
// suggest we delete the file from the archive as well as removing the relationship.
6141
async remove(
6242
targetTemplate: RootPresTemplate,
6343
targetSlideNumber: number,

0 commit comments

Comments
 (0)