프레젠테이션의 메모 페이지
이러한 페이지에는 슬라이드의 발표자 노트를 포함한 도형을 비롯하여, 프레젠테이션 참고 자료 콘텐츠가 있습니다. 슬라이드마다 해당하는 슬라이드 노트가 한 개씩 있습니다. 발표자 노트 도형에 있는 텍스트만 수정할 수 있습니다.
메서드
자세한 문서
get Groups()
get Images()
get Lines()
get Object Id()
페이지의 고유 ID를 가져옵니다. 페이지 및 페이지 요소에서 사용하는 객체 ID는 동일한 네임스페이스를 공유합니다.
리턴
String
승인
이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
get Page Element By Id(id)
지정된 ID가 있는 페이지의 Page를 반환하거나, 페이지에 ID가 없는 경우 null을 반환합니다.
매개변수
| 이름 | 유형 | 설명 |
|---|---|---|
id | String | 검색 중인 페이지 요소의 ID입니다. |
리턴
Page: 지정된 ID가 있는 페이지 요소입니다.
승인
이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
get Page Elements()
페이지에 렌더링된 Page 객체 목록을 반환합니다.
리턴
승인
이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
get Placeholder(placeholderType)
일치하는 자리표시자가 없는 경우 지정된 Placeholder 또는 null의 자리표시자 Page 객체를 반환합니다.
동일한 유형의 자리표시자가 여러 개인 경우 최소 자리표시자 색인이 있는 자리표시자를 반환합니다. 색인이 동일한 일치하는 자리표시자가 여러 개인 경우 페이지의 페이지 요소 컬렉션에서 첫 번째 자리표시자를 반환합니다.
const slide = SlidesApp.getActivePresentation().getSlides()[0]; const placeholder = slide.getPlaceholder( SlidesApp.PlaceholderType.CENTERED_TITLE, );
매개변수
| 이름 | 유형 | 설명 |
|---|---|---|
placeholder | Placeholder |
리턴
승인
이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
get Placeholder(placeholderType, placeholderIndex)
지정된 Placeholder의 자리표시자 Page 객체와 자리표시자 색인을 반환하거나 자리표시자가 없는 경우 null을 반환합니다.
유형과 색인이 동일한 자리표시자가 여러 개 있는 경우 페이지의 페이지 요소 컬렉션에서 첫 번째 자리표시자를 반환합니다.
const slide = SlidesApp.getActivePresentation().getSlides()[0]; const placeholder = slide.getPlaceholder( SlidesApp.PlaceholderType.CENTERED_TITLE, 0, );
매개변수
| 이름 | 유형 | 설명 |
|---|---|---|
placeholder | Placeholder | |
placeholder | Integer |
리턴
승인
이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
get Placeholders()
페이지의 자리표시자 Page 객체 목록을 반환합니다.
const master = SlidesApp.getActivePresentation().getMasters()[0]; Logger.log( `Number of placeholders in the master: ${master.getPlaceholders().length}`, );
리턴
승인
이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
get Shapes()
get Sheets Charts()
페이지의 Sheets 객체 목록을 반환합니다.
리턴
승인
이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
get Speaker Notes Shape()
get Tables()
get Videos()
get Word Arts()
replace All Text(findText, replaceText)
찾을 텍스트와 일치하는 텍스트의 모든 인스턴스를 대체 텍스트로 바꿉니다. 검색 시 대소문자를 구분하지 않습니다.
매개변수
| 이름 | 유형 | 설명 |
|---|---|---|
find | String | 찾을 텍스트입니다. |
replace | String | 일치하는 텍스트를 대체할 텍스트입니다. |
리턴
Integer: 변경된 반복 횟수
승인
이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
replace All Text(findText, replaceText, matchCase)
찾을 텍스트와 일치하는 텍스트의 모든 인스턴스를 대체 텍스트로 바꿉니다.
매개변수
| 이름 | 유형 | 설명 |
|---|---|---|
find | String | 찾을 텍스트입니다. |
replace | String | 일치하는 텍스트를 대체할 텍스트입니다. |
match | Boolean | true인 경우 검색 시 대소문자를 구분하고 false인 경우 검색 시 대소문자를 구분하지 않습니다. |
리턴
Integer: 변경된 반복 횟수
승인
이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations