2017-10-30 11 views
0

슬라이드의 어떤 요소를 프로그래밍 방식으로 변경할 수 있는지 알고 싶습니다. 무슨 일이 벌어지고 있는지 이해하는 한 가지 방법은 슬라이드 뒤의 JSON을 보는 것입니다. 슬라이드 ID가 있지만 표준 wysiwyg 편집기를 제외하고 어떤 식 으로든 그것을 보는 방법을 찾지 못했습니다.Google 슬라이드에서 JSON을 어떻게 볼 수 있습니까?

답변

0

전체 프레젠테이션을 보려면 this documentation을 확인하십시오.

{ 
    "presentationId": string, 
    "pageSize": { 
    object(Size) 
    }, 
    "slides": [ 
    { 
     object(Page) 
    } 
    ], 
    "title": string, 
    "masters": [ 
    { 
     object(Page) 
    } 
    ], 
    "layouts": [ 
    { 
     object(Page) 
    } 
    ], 
    "locale": string, 
    "revisionId": string, 
    "notesMaster": { 
    object(Page) 
    }, 
} 

그리고 각 페이지에 대해, 당신은 REST Resource: presentations.pages을 참조 할 수 있습니다 JSON 표현.

JSON 표현

{ 
    "objectId": string, 
    "pageType": enum(PageType), 
    "pageElements": [ 
    { 
     object(PageElement) 
    } 
    ], 
    "revisionId": string, 
    "pageProperties": { 
    object(PageProperties) 
    }, 

    // Union field properties can be only one of the following: 
    "slideProperties": { 
    object(SlideProperties) 
    }, 
    "layoutProperties": { 
    object(LayoutProperties) 
    }, 
    "notesProperties": { 
    object(NotesProperties) 
    }, 
    "masterProperties": { 
    object(MasterProperties) 
    }, 
    // End of list of possible types for union field properties. 
}