Skip to content

API reference / Common / Engine types / TextHyperlinkAction

Type Alias: TextHyperlinkAction ​

ts
type TextHyperlinkAction = 
  | {
  customShow: {
     id: number;
     return: boolean;
  };
}
  | "file"
  | {
  presentation: {
     slideIndex: number;
     slideTitle: string | null;
  };
}
  | {
  showJump: TextHyperlinkShowJump;
}
  | "slideJump"
  | {
  macro: {
     name: string;
  };
}
  | "program"
  | "noAction"
  | "media"
  | {
  ole: {
     verb: number;
  };
}
  | {
  other: string;
};

What following a [TextHyperlink] does — a:hlinkClick@action, one variant per value PowerPoint reserves (MS-OI29500 §2.1.1395), each holding the parameters its value spells.

ECMA-376 lets the attribute hold any string (§21.1.2.3.5), so one that is none of these is kept verbatim as Other.