Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	__tests__/read-image-alt-text.test.ts
  • Loading branch information
singerla committed Aug 7, 2024
2 parents 8dec8b8 + fab9d43 commit 45c5e50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/helper/xml-slide-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ export class XmlSlideHelper {
id: XmlSlideHelper.getElementCreationId(slideElement),
type: XmlSlideHelper.getElementType(slideElement),
position: XmlSlideHelper.parseShapeCoordinates(slideElement),
altText: XmlSlideHelper.getImageAltText(slideElement),
hasTextBody: !!XmlSlideHelper.getTextBody(slideElement),
getText: () => XmlSlideHelper.parseTextFragments(slideElement),
getTableInfo: () => {
Expand Down
1 change: 1 addition & 0 deletions src/types/xml-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export type ElementInfo = {
cx: number;
cy: number;
};
altText: string;
hasTextBody: boolean;
getText: () => string[];
getAltText: () => string;
Expand Down

0 comments on commit 45c5e50

Please sign in to comment.