Appearance
@shbernal/ts-pptx / index / ObjectLockProps
Interface: ObjectLockProps
Defined in: src/types/object.ts:65
Object lock flags. Maps to DrawingML locking elements:
- shapes / text boxes / placeholders →
a:spLocks - images / media →
a:picLocks - tables →
a:graphicFrameLocks
Each property mirrors the OOXML attribute name. A flag is only serialized for object types whose locking element defines it (noted per-flag); setting an unsupported flag logs a warning and is ignored.
Properties
noAdjustHandles?
optionalnoAdjustHandles?:boolean
Defined in: src/types/object.ts:81
Disallow moving the shape's adjustment handles. (shapes, images)
noChangeArrowheads?
optionalnoChangeArrowheads?:boolean
Defined in: src/types/object.ts:83
Disallow changing arrowheads. (shapes, images)
noChangeAspect?
optionalnoChangeAspect?:boolean
Defined in: src/types/object.ts:75
Disallow changing the aspect ratio. (shapes, images, tables)
noChangeShapeType?
optionalnoChangeShapeType?:boolean
Defined in: src/types/object.ts:85
Disallow changing the shape type (preset geometry). (shapes, images)
noCrop?
optionalnoCrop?:boolean
Defined in: src/types/object.ts:89
Disallow cropping the picture. (images)
noDrilldown?
optionalnoDrilldown?:boolean
Defined in: src/types/object.ts:91
Disallow drilling down into the graphical object (e.g. chart data). (tables)
noEditPoints?
optionalnoEditPoints?:boolean
Defined in: src/types/object.ts:79
Disallow editing the freeform/custom-geometry points. (shapes, images)
noGrp?
optionalnoGrp?:boolean
Defined in: src/types/object.ts:67
Disallow grouping/ungrouping with other objects. (shapes, images, tables)
noMove?
optionalnoMove?:boolean
Defined in: src/types/object.ts:71
Disallow moving the object. (shapes, images, tables)
noResize?
optionalnoResize?:boolean
Defined in: src/types/object.ts:73
Disallow resizing the object. (shapes, images, tables)
noRot?
optionalnoRot?:boolean
Defined in: src/types/object.ts:77
Disallow rotating the object. (shapes, images)
noSelect?
optionalnoSelect?:boolean
Defined in: src/types/object.ts:69
Disallow selecting the object. (shapes, images, tables)
noTextEdit?
optionalnoTextEdit?:boolean
Defined in: src/types/object.ts:87
Disallow editing the text body. (shapes / text boxes)