41 |
LinkMode:
42 | {(
43 | [
44 | { c:
, k: LinkMode.CURVE, desc: 'Curve' },
45 | {
46 | c:
,
47 | k: LinkMode.LINE,
48 | desc: 'Rounded folding line',
49 | },
50 | { c:
, k: LinkMode.HYBRID, desc: 'Hybrid lines' },
51 | ] as const
52 | ).map((d) => {
53 | return (
54 |
{
61 | setLinkMode(d.k);
62 | }}
63 | >
64 | {d.c}
65 |
66 | );
67 | })}
68 |
69 | );
70 | };
71 |
--------------------------------------------------------------------------------
/office-addin/src/taskpane/helpers/WordHelper.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
3 | * See LICENSE in the project root for license information.
4 | */
5 |
6 | import { MindMapUUID } from "./MindMapGenHelper";
7 |
8 | /* global Office, Word */
9 |
10 | export class WordHelper {
11 | static async getDocumentTitle(): Promise