Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Allow to add rId to picture manually #303

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions source/lib/drawing/picture.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class Picture extends Drawing {
this._descr = null;
this._title = null;
this._id;
this._rId;
// picLocks §20.1.2.2.31 picLocks (Picture Locks)
this.noGrp;
this.noSelect;
Expand Down Expand Up @@ -89,7 +90,10 @@ class Picture extends Drawing {
}

get rId() {
return 'rId' + this._id;
return this._rId;
}
set rId(rId) {
this._rId = 'rId' + rId;
}

get description() {
Expand Down Expand Up @@ -198,4 +202,4 @@ class Picture extends Drawing {
}
}

module.exports = Picture;
module.exports = Picture;