使用演講者備忘稿
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本指南說明如何使用 Google 簡報 API 讀取及編輯講者備忘稿。
備忘稿和備忘稿母片
備註頁面是一種頁面,用於為簡報中的投影片產生講義。每張投影片都有一個備註頁面。投影片備忘稿頁面的第一個 BODY
預留位置圖案,會包含投影片講者備忘稿的文字。只有這個附註圖案的文字內容可透過 Google 簡報 API 編輯。其他屬性和記事頁面其餘內容則為唯讀。
簡報的備忘稿母片是定義備忘稿頁面所用預設元素和文字樣式的頁面。簡報只有一個備忘稿母片。附註:
在 Slides API 中,母片為唯讀。
讀取及寫入演講者備忘稿
如要找出投影片的演講者備忘稿形狀,請在訊息中找出投影片的備忘稿物件 presentations.pages
SlideProperties
。含有講者備忘稿文字的圖案,會由備忘稿頁面 NotesProperties
訊息中的 speakerNotesObjectId
欄位識別。
如要讀取投影片的演講者備註,請在備註頁面中找出具有這個 ID 的物件,然後讀取其 text。在極少數情況下,這個物件可能不存在,也就是說投影片沒有演講者備忘稿。
你可以使用 batchUpdate
文字要求,修改演講者備忘稿形狀內的文字。如果講者備忘稿形狀不存在 (極少發生),當 Slides API 收到使用 speakerNotesObjectId
的有效文字作業時,就會自動建立該形狀。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間:2025-08-29 (世界標準時間)。"],[],[],null,["# Work with speaker notes\n\nThis guide explains how to read and edit speaker notes using the Google Slides API.\n\nNotes pages and notes masters\n-----------------------------\n\nA notes page is a kind of page used for generating handouts for slides in a\npresentation. Each slide has one notes page. The first `BODY` placeholder shape\non a slide's notes page contains the text of a slide's speaker notes. Only the\ntext content of this notes shape is editable in Slides API. Its other\nproperties and the rest of the notes page contents are read-only.\n\nThe presentation's notes master is a page that defines the default elements and\ntext styles used on notes pages. A presentation only has one notes master. Notes\nmasters are read-only in the Slides API.\n\nRead and write speaker notes\n----------------------------\n\nTo find a slide's speaker note shape, find the slide's notes\n[`presentations.pages`](/workspace/slides/api/reference/rest/v1/presentations.pages)\nobject in its\n[`SlideProperties`](/workspace/slides/api/reference/rest/v1/presentations.pages#slideproperties)\nmessage. The shape containing the speaker notes text is identified by the\n`speakerNotesObjectId` field in the notes page's\n[`NotesProperties`](/workspace/slides/api/reference/rest/v1/presentations.pages#notesproperties)\nmessage.\n\nTo read a slide's speaker notes, find an object with this ID on the notes page\nand read its [text](/workspace/slides/api/concepts/text). In rare cases, this\nobject might not exist which means the slides have no speaker notes.\n\nYou can use [`batchUpdate`](/workspace/slides/api/guides/styling) text requests\nto modify the text inside the speaker notes shape. In the rare case where the\nspeaker notes shape doesn't exist, the Slides API creates it\nautomatically when it receives a valid text operation using a\n`speakerNotesObjectId`."]]