/proto · contentitem/images/rasterization.proto
contentitem/images/rasterization.proto
Cold edit/render data for hash-addressed visual blob content.
Messages
1
Enums
1
Fields
6
Source
1.6 KB
Imports
0
RasterizationType enum · 7 values
Cold edit/render data for hash-addressed visual blob content.
The visual blob itself stays in the normal page ContentItem src/hash path
(IMG, SVG, or media poster as appropriate). If ContentItem.rasterization_type
is non-zero, clients can derive the typed data URL from the visual hash:
blob-raster-sources/{hash}/t{rasterization_type}.pb
and decode that file with the protobuf selected by rasterization_type.
| # | name | notes |
|---|---|---|
| 0 | RASTERIZATION_TYPE_UNSPECIFIED | planned OLE/object-source route |
| 1 | RASTERIZATION_TYPE_TEXT | |
| 2 | RASTERIZATION_TYPE_CHART | RasterizedTextData |
| 3 | RASTERIZATION_TYPE_SMARTART | eddocu.chart.v3.ChartData |
| 4 | RASTERIZATION_TYPE_DRAWING | eddocu.smartart.v3.SmartArt |
| 5 | RASTERIZATION_TYPE_MEDIA | eddocu.drawing.v3.DrawingObject |
| 7 | RASTERIZATION_TYPE_INK | eddocu.media.v3.Media |
RasterizedTextData message · 6 fields
eddocu.page.v3.InkSourceData for raster ink IMG
| # | label | type | name | notes |
|---|---|---|---|---|
| 1 | single | uint32 | slide_index | Owning source context. The selected page item owns placement and visual identity; these fields only link this cold source payload back to that item. |
| 2 | single | uint32 | content_item_id | |
| 3 | repeated | int32 | b | Optional visual bounds copied from ContentItem.b for consumers that inspect this sidecar without loading page.pb first. [packed = true] |
| 10 | optional | string | editable_text | Editable proxy data for exact-raster text/WordArt/math visuals. |
| 11 | optional | string | text_warp | |
| 12 | repeated | string | omml_xml |
§Raw schema
syntax = "proto3";
package eddocu.rasterization.v3;
// Cold edit/render data for hash-addressed visual blob content.
//
// The visual blob itself stays in the normal page ContentItem src/hash path
// (IMG, SVG, or media poster as appropriate). If ContentItem.rasterization_type
// is non-zero, clients can derive the typed data URL from the visual hash:
//
// blob-raster-sources/{hash}/t{rasterization_type}.pb
//
// and decode that file with the protobuf selected by rasterization_type.
enum RasterizationType {
reserved 6; // planned OLE/object-source route
RASTERIZATION_TYPE_UNSPECIFIED = 0;
RASTERIZATION_TYPE_TEXT = 1; // RasterizedTextData
RASTERIZATION_TYPE_CHART = 2; // eddocu.chart.v3.ChartData
RASTERIZATION_TYPE_SMARTART = 3; // eddocu.smartart.v3.SmartArt
RASTERIZATION_TYPE_DRAWING = 4; // eddocu.drawing.v3.DrawingObject
RASTERIZATION_TYPE_MEDIA = 5; // eddocu.media.v3.Media
RASTERIZATION_TYPE_INK = 7; // eddocu.page.v3.InkSourceData for raster ink IMG
}
message RasterizedTextData {
// Owning source context. The selected page item owns placement and visual
// identity; these fields only link this cold source payload back to that item.
uint32 slide_index = 1;
uint32 content_item_id = 2;
// Optional visual bounds copied from ContentItem.b for consumers that inspect
// this sidecar without loading page.pb first.
repeated int32 b = 3 [packed = true];
// Editable proxy data for exact-raster text/WordArt/math visuals.
optional string editable_text = 10;
optional string text_warp = 11;
repeated string omml_xml = 12;
}