/proto · metadata.proto

metadata.proto

Extended document properties (OOXML docProps/app.xml). Optional —

Messages
2
Enums
0
Fields
29
Source
1.3 KB
Imports
0
TOCEntry message · 5 fields
# label type name notes
1 single int32 level
2 single string title
3 single int32 page
4 single string type
5 repeated TOCEntry children
Metadata message · 24 fields
# label type name notes
1 single string proto_version
2 single string title
3 optional string author
4 optional string subject
5 optional string creator
6 optional string producer
7 single int64 creation_date
8 single int64 modification_date
9 single uint32 total_pages
10 optional string page_specification
11 optional string source_file
12 single string version
13 repeated TOCEntry table_of_contents
14 single uint32 max_content_id
15 optional string company Extended document properties (OOXML docProps/app.xml). Optional — only present when the authoring tool populated the fields.
16 optional string manager
17 optional string application
18 optional string app_version e.g. "Microsoft PowerPoint"
19 optional uint32 total_edit_time_min e.g. "16.0000"
20 optional uint32 word_count <TotalTime> minutes
21 optional uint32 paragraph_count <Words>
22 optional uint32 notes_count <Paragraphs>
23 optional uint32 hidden_slide_count <Notes>
24 optional string presentation_format <HiddenSlides>

§Raw schema

syntax = "proto3";

package eddocu.metadata.v3;

message TOCEntry {
  int32 level = 1;
  string title = 2;
  int32 page = 3;
  string type = 4;
  repeated TOCEntry children = 5;
}

message Metadata {
  string proto_version = 1;
  string title = 2;
  optional string author = 3;
  optional string subject = 4;
  optional string creator = 5;
  optional string producer = 6;
  int64 creation_date = 7;
  int64 modification_date = 8;
  uint32 total_pages = 9;
  optional string page_specification = 10;
  optional string source_file = 11;
  string version = 12;
  repeated TOCEntry table_of_contents = 13;
  uint32 max_content_id = 14;

  // Extended document properties (OOXML docProps/app.xml). Optional —
  // only present when the authoring tool populated the fields.
  optional string company = 15;
  optional string manager = 16;
  optional string application = 17;      // e.g. "Microsoft PowerPoint"
  optional string app_version = 18;      // e.g. "16.0000"
  optional uint32 total_edit_time_min = 19;  // <TotalTime> minutes
  optional uint32 word_count = 20;       // <Words>
  optional uint32 paragraph_count = 21;  // <Paragraphs>
  optional uint32 notes_count = 22;      // <Notes>
  optional uint32 hidden_slide_count = 23; // <HiddenSlides>
  optional string presentation_format = 24; // e.g. "On-screen Show (4:3)"
}