/proto · css_extended.proto
css_extended.proto
Messages
6
Enums
0
Fields
35
Source
1.8 KB
Imports
3
CssDeclaration message · 2 fields
| # | label | type | name | notes |
|---|---|---|---|---|
| 1 | single | string | property | |
| 2 | single | string | value |
CssGeneric message · 1 field
| # | label | type | name | notes |
|---|---|---|---|---|
| 1 | repeated | CssDeclaration | decls |
TextShadow message · 4 fields
| # | label | type | name | notes |
|---|---|---|---|---|
| 1 | single | int32 | offset_x | |
| 2 | single | int32 | offset_y | |
| 3 | single | int32 | blur_radius | |
| 4 | single | ColorValue | color |
FontFeatureSettings message · 1 field
| # | label | type | name | notes |
|---|---|---|---|---|
| 1 | repeated | string | features |
TextRunCssExtra message · 24 fields
| # | label | type | name | notes |
|---|---|---|---|---|
| 1 | optional | FontFeatureSettings | font_feature_settings | |
| 2 | optional | string | font_variant | |
| 3 | optional | TextShadow | text_shadow | |
| 4 | optional | string | text_shadow_raw | |
| 10 | optional | string | background | |
| 11 | optional | string | background_image | |
| 12 | optional | string | backdrop_filter | |
| 13 | optional | string | filter | |
| 14 | repeated | BackgroundLayer | background_layers | |
| 15 | repeated | FilterFunction | filters | |
| 16 | repeated | FilterFunction | backdrop_filters | |
| 20 | optional | uint32 | text_fill_color_ref_id | |
| 21 | optional | ColorValue | text_fill_color | |
| 22 | optional | Length | text_stroke_width | |
| 23 | optional | uint32 | text_stroke_color_ref_id | |
| 24 | optional | ColorValue | text_stroke_color | |
| 25 | repeated | TextShadowTyped | text_shadows | |
| 26 | repeated | TransformFunction | transforms | |
| 27 | repeated | Animation | animations | |
| 28 | repeated | Transition | transitions | |
| 30 | optional | string | clip_path | |
| 31 | optional | string | mask | |
| 50 | repeated | CssDeclarationTyped | typed_declarations | |
| 100 | optional | CssGeneric | css |
ParagraphCssExtra message · 3 fields
| # | label | type | name | notes |
|---|---|---|---|---|
| 1 | optional | string | custom_properties | |
| 50 | repeated | CssDeclarationTyped | typed_declarations | |
| 100 | optional | CssGeneric | css |
§Raw schema
syntax = "proto3";
package eddocu.page.v3;
import "reftable.proto";
import "css_typed.proto";
import "css_value.proto";
message CssDeclaration {
string property = 1;
string value = 2;
}
message CssGeneric {
repeated CssDeclaration decls = 1;
}
message TextShadow {
int32 offset_x = 1;
int32 offset_y = 2;
int32 blur_radius = 3;
eddocu.reftable.v3.ColorValue color = 4;
}
message FontFeatureSettings {
repeated string features = 1;
}
message TextRunCssExtra {
optional FontFeatureSettings font_feature_settings = 1;
optional string font_variant = 2;
optional TextShadow text_shadow = 3;
optional string text_shadow_raw = 4;
optional string background = 10;
optional string background_image = 11;
optional string backdrop_filter = 12;
optional string filter = 13;
repeated eddocu.css.v3.BackgroundLayer background_layers = 14;
repeated eddocu.css.v3.FilterFunction filters = 15;
repeated eddocu.css.v3.FilterFunction backdrop_filters = 16;
optional uint32 text_fill_color_ref_id = 20;
optional eddocu.reftable.v3.ColorValue text_fill_color = 21;
optional eddocu.css.v3.Length text_stroke_width = 22;
optional uint32 text_stroke_color_ref_id = 23;
optional eddocu.reftable.v3.ColorValue text_stroke_color = 24;
repeated eddocu.css.v3.TextShadowTyped text_shadows = 25;
repeated eddocu.css.v3.TransformFunction transforms = 26;
repeated eddocu.css.v3.Animation animations = 27;
repeated eddocu.css.v3.Transition transitions = 28;
optional string clip_path = 30;
optional string mask = 31;
repeated eddocu.css.v3.CssDeclarationTyped typed_declarations = 50;
optional CssGeneric css = 100;
}
message ParagraphCssExtra {
optional string custom_properties = 1;
repeated eddocu.css.v3.CssDeclarationTyped typed_declarations = 50;
optional CssGeneric css = 100;
}