OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis.slides.v1; | 3 library googleapis.slides.v1; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
(...skipping 3505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3516 * * A paragraph not in a list will inherit its paragraph style from the | 3516 * * A paragraph not in a list will inherit its paragraph style from the |
3517 * paragraph at the 0 nesting level of the list inside the parent placeholder. | 3517 * paragraph at the 0 nesting level of the list inside the parent placeholder. |
3518 * * A paragraph in a list will inherit its paragraph style from the paragraph | 3518 * * A paragraph in a list will inherit its paragraph style from the paragraph |
3519 * at its corresponding nesting level of the list inside the parent | 3519 * at its corresponding nesting level of the list inside the parent |
3520 * placeholder. | 3520 * placeholder. |
3521 * | 3521 * |
3522 * Inherited paragraph styles are represented as unset fields in this message. | 3522 * Inherited paragraph styles are represented as unset fields in this message. |
3523 */ | 3523 */ |
3524 class ParagraphStyle { | 3524 class ParagraphStyle { |
3525 /** | 3525 /** |
3526 * The text alignment for this paragraph. This property is read-only. | 3526 * The text alignment for this paragraph. |
3527 * Possible string values are: | 3527 * Possible string values are: |
3528 * - "ALIGNMENT_UNSPECIFIED" : The paragraph alignment is inherited from the | 3528 * - "ALIGNMENT_UNSPECIFIED" : The paragraph alignment is inherited from the |
3529 * parent. | 3529 * parent. |
3530 * - "START" : The paragraph is aligned to the start of the line. Left-aligned | 3530 * - "START" : The paragraph is aligned to the start of the line. Left-aligned |
3531 * for | 3531 * for |
3532 * LTR text, right-aligned otherwise. | 3532 * LTR text, right-aligned otherwise. |
3533 * - "CENTER" : The paragraph is centered. | 3533 * - "CENTER" : The paragraph is centered. |
3534 * - "END" : The paragraph is aligned to the end of the line. Right-aligned | 3534 * - "END" : The paragraph is aligned to the end of the line. Right-aligned |
3535 * for | 3535 * for |
3536 * LTR text, left-aligned otherwise. | 3536 * LTR text, left-aligned otherwise. |
3537 * - "JUSTIFIED" : The paragraph is justified. | 3537 * - "JUSTIFIED" : The paragraph is justified. |
3538 */ | 3538 */ |
3539 core.String alignment; | 3539 core.String alignment; |
3540 /** | 3540 /** |
3541 * The text direction of this paragraph. If unset, the value defaults to | 3541 * The text direction of this paragraph. If unset, the value defaults to |
3542 * LEFT_TO_RIGHT | 3542 * LEFT_TO_RIGHT |
3543 * since text direction is not inherited. This property is read-only. | 3543 * since text direction is not inherited. |
3544 * Possible string values are: | 3544 * Possible string values are: |
3545 * - "TEXT_DIRECTION_UNSPECIFIED" : The text direction is inherited from the | 3545 * - "TEXT_DIRECTION_UNSPECIFIED" : The text direction is inherited from the |
3546 * parent. | 3546 * parent. |
3547 * - "LEFT_TO_RIGHT" : The text goes from left to right. | 3547 * - "LEFT_TO_RIGHT" : The text goes from left to right. |
3548 * - "RIGHT_TO_LEFT" : The text goes from right to left. | 3548 * - "RIGHT_TO_LEFT" : The text goes from right to left. |
3549 */ | 3549 */ |
3550 core.String direction; | 3550 core.String direction; |
3551 /** | 3551 /** |
3552 * The amount indentation for the paragraph on the side that corresponds to | 3552 * The amount indentation for the paragraph on the side that corresponds to |
3553 * the end of the text, based on the current text direction. If unset, the | 3553 * the end of the text, based on the current text direction. If unset, the |
3554 * value is inherited from the parent. This property is read-only. | 3554 * value is inherited from the parent. |
3555 */ | 3555 */ |
3556 Dimension indentEnd; | 3556 Dimension indentEnd; |
3557 /** | 3557 /** |
3558 * The amount of indentation for the start of the first line of the paragraph. | 3558 * The amount of indentation for the start of the first line of the paragraph. |
3559 * If unset, the value is inherited from the parent. This property is | 3559 * If unset, the value is inherited from the parent. |
3560 * read-only. | |
3561 */ | 3560 */ |
3562 Dimension indentFirstLine; | 3561 Dimension indentFirstLine; |
3563 /** | 3562 /** |
3564 * The amount indentation for the paragraph on the side that corresponds to | 3563 * The amount indentation for the paragraph on the side that corresponds to |
3565 * the start of the text, based on the current text direction. If unset, the | 3564 * the start of the text, based on the current text direction. If unset, the |
3566 * value is inherited from the parent. This property is read-only. | 3565 * value is inherited from the parent. |
3567 */ | 3566 */ |
3568 Dimension indentStart; | 3567 Dimension indentStart; |
3569 /** | 3568 /** |
3570 * The amount of space between lines, as a percentage of normal, where normal | 3569 * The amount of space between lines, as a percentage of normal, where normal |
3571 * is represented as 100.0. If unset, the value is inherited from the parent. | 3570 * is represented as 100.0. If unset, the value is inherited from the parent. |
3572 * This property is read-only. | |
3573 */ | 3571 */ |
3574 core.double lineSpacing; | 3572 core.double lineSpacing; |
3575 /** | 3573 /** |
3576 * The amount of extra space above the paragraph. If unset, the value is | 3574 * The amount of extra space above the paragraph. If unset, the value is |
3577 * inherited from the parent. This property is read-only. | 3575 * inherited from the parent. |
3578 */ | 3576 */ |
3579 Dimension spaceAbove; | 3577 Dimension spaceAbove; |
3580 /** | 3578 /** |
3581 * The amount of extra space above the paragraph. If unset, the value is | 3579 * The amount of extra space above the paragraph. If unset, the value is |
3582 * inherited from the parent. This property is read-only. | 3580 * inherited from the parent. |
3583 */ | 3581 */ |
3584 Dimension spaceBelow; | 3582 Dimension spaceBelow; |
3585 /** | 3583 /** |
3586 * The spacing mode for the paragraph. This property is read-only. | 3584 * The spacing mode for the paragraph. |
3587 * Possible string values are: | 3585 * Possible string values are: |
3588 * - "SPACING_MODE_UNSPECIFIED" : The spacing mode is inherited from the | 3586 * - "SPACING_MODE_UNSPECIFIED" : The spacing mode is inherited from the |
3589 * parent. | 3587 * parent. |
3590 * - "NEVER_COLLAPSE" : Paragraph spacing is always rendered. | 3588 * - "NEVER_COLLAPSE" : Paragraph spacing is always rendered. |
3591 * - "COLLAPSE_LISTS" : Paragraph spacing is skipped between list elements. | 3589 * - "COLLAPSE_LISTS" : Paragraph spacing is skipped between list elements. |
3592 */ | 3590 */ |
3593 core.String spacingMode; | 3591 core.String spacingMode; |
3594 | 3592 |
3595 ParagraphStyle(); | 3593 ParagraphStyle(); |
3596 | 3594 |
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4302 /** Replaces all instances of specified text. */ | 4300 /** Replaces all instances of specified text. */ |
4303 ReplaceAllTextRequest replaceAllText; | 4301 ReplaceAllTextRequest replaceAllText; |
4304 /** Updates the properties of an Image. */ | 4302 /** Updates the properties of an Image. */ |
4305 UpdateImagePropertiesRequest updateImageProperties; | 4303 UpdateImagePropertiesRequest updateImageProperties; |
4306 /** Updates the properties of a Line. */ | 4304 /** Updates the properties of a Line. */ |
4307 UpdateLinePropertiesRequest updateLineProperties; | 4305 UpdateLinePropertiesRequest updateLineProperties; |
4308 /** Updates the transform of a page element. */ | 4306 /** Updates the transform of a page element. */ |
4309 UpdatePageElementTransformRequest updatePageElementTransform; | 4307 UpdatePageElementTransformRequest updatePageElementTransform; |
4310 /** Updates the properties of a Page. */ | 4308 /** Updates the properties of a Page. */ |
4311 UpdatePagePropertiesRequest updatePageProperties; | 4309 UpdatePagePropertiesRequest updatePageProperties; |
| 4310 /** Updates the styling of paragraphs within a Shape or Table. */ |
| 4311 UpdateParagraphStyleRequest updateParagraphStyle; |
4312 /** Updates the properties of a Shape. */ | 4312 /** Updates the properties of a Shape. */ |
4313 UpdateShapePropertiesRequest updateShapeProperties; | 4313 UpdateShapePropertiesRequest updateShapeProperties; |
4314 /** Updates the position of a set of slides in the presentation. */ | 4314 /** Updates the position of a set of slides in the presentation. */ |
4315 UpdateSlidesPositionRequest updateSlidesPosition; | 4315 UpdateSlidesPositionRequest updateSlidesPosition; |
4316 /** Updates the properties of a TableCell. */ | 4316 /** Updates the properties of a TableCell. */ |
4317 UpdateTableCellPropertiesRequest updateTableCellProperties; | 4317 UpdateTableCellPropertiesRequest updateTableCellProperties; |
4318 /** Updates the styling of text within a Shape or Table. */ | 4318 /** Updates the styling of text within a Shape or Table. */ |
4319 UpdateTextStyleRequest updateTextStyle; | 4319 UpdateTextStyleRequest updateTextStyle; |
4320 /** Updates the properties of a Video. */ | 4320 /** Updates the properties of a Video. */ |
4321 UpdateVideoPropertiesRequest updateVideoProperties; | 4321 UpdateVideoPropertiesRequest updateVideoProperties; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4391 } | 4391 } |
4392 if (_json.containsKey("updateLineProperties")) { | 4392 if (_json.containsKey("updateLineProperties")) { |
4393 updateLineProperties = new UpdateLinePropertiesRequest.fromJson(_json["upd
ateLineProperties"]); | 4393 updateLineProperties = new UpdateLinePropertiesRequest.fromJson(_json["upd
ateLineProperties"]); |
4394 } | 4394 } |
4395 if (_json.containsKey("updatePageElementTransform")) { | 4395 if (_json.containsKey("updatePageElementTransform")) { |
4396 updatePageElementTransform = new UpdatePageElementTransformRequest.fromJso
n(_json["updatePageElementTransform"]); | 4396 updatePageElementTransform = new UpdatePageElementTransformRequest.fromJso
n(_json["updatePageElementTransform"]); |
4397 } | 4397 } |
4398 if (_json.containsKey("updatePageProperties")) { | 4398 if (_json.containsKey("updatePageProperties")) { |
4399 updatePageProperties = new UpdatePagePropertiesRequest.fromJson(_json["upd
atePageProperties"]); | 4399 updatePageProperties = new UpdatePagePropertiesRequest.fromJson(_json["upd
atePageProperties"]); |
4400 } | 4400 } |
| 4401 if (_json.containsKey("updateParagraphStyle")) { |
| 4402 updateParagraphStyle = new UpdateParagraphStyleRequest.fromJson(_json["upd
ateParagraphStyle"]); |
| 4403 } |
4401 if (_json.containsKey("updateShapeProperties")) { | 4404 if (_json.containsKey("updateShapeProperties")) { |
4402 updateShapeProperties = new UpdateShapePropertiesRequest.fromJson(_json["u
pdateShapeProperties"]); | 4405 updateShapeProperties = new UpdateShapePropertiesRequest.fromJson(_json["u
pdateShapeProperties"]); |
4403 } | 4406 } |
4404 if (_json.containsKey("updateSlidesPosition")) { | 4407 if (_json.containsKey("updateSlidesPosition")) { |
4405 updateSlidesPosition = new UpdateSlidesPositionRequest.fromJson(_json["upd
ateSlidesPosition"]); | 4408 updateSlidesPosition = new UpdateSlidesPositionRequest.fromJson(_json["upd
ateSlidesPosition"]); |
4406 } | 4409 } |
4407 if (_json.containsKey("updateTableCellProperties")) { | 4410 if (_json.containsKey("updateTableCellProperties")) { |
4408 updateTableCellProperties = new UpdateTableCellPropertiesRequest.fromJson(
_json["updateTableCellProperties"]); | 4411 updateTableCellProperties = new UpdateTableCellPropertiesRequest.fromJson(
_json["updateTableCellProperties"]); |
4409 } | 4412 } |
4410 if (_json.containsKey("updateTextStyle")) { | 4413 if (_json.containsKey("updateTextStyle")) { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4485 } | 4488 } |
4486 if (updateLineProperties != null) { | 4489 if (updateLineProperties != null) { |
4487 _json["updateLineProperties"] = (updateLineProperties).toJson(); | 4490 _json["updateLineProperties"] = (updateLineProperties).toJson(); |
4488 } | 4491 } |
4489 if (updatePageElementTransform != null) { | 4492 if (updatePageElementTransform != null) { |
4490 _json["updatePageElementTransform"] = (updatePageElementTransform).toJson(
); | 4493 _json["updatePageElementTransform"] = (updatePageElementTransform).toJson(
); |
4491 } | 4494 } |
4492 if (updatePageProperties != null) { | 4495 if (updatePageProperties != null) { |
4493 _json["updatePageProperties"] = (updatePageProperties).toJson(); | 4496 _json["updatePageProperties"] = (updatePageProperties).toJson(); |
4494 } | 4497 } |
| 4498 if (updateParagraphStyle != null) { |
| 4499 _json["updateParagraphStyle"] = (updateParagraphStyle).toJson(); |
| 4500 } |
4495 if (updateShapeProperties != null) { | 4501 if (updateShapeProperties != null) { |
4496 _json["updateShapeProperties"] = (updateShapeProperties).toJson(); | 4502 _json["updateShapeProperties"] = (updateShapeProperties).toJson(); |
4497 } | 4503 } |
4498 if (updateSlidesPosition != null) { | 4504 if (updateSlidesPosition != null) { |
4499 _json["updateSlidesPosition"] = (updateSlidesPosition).toJson(); | 4505 _json["updateSlidesPosition"] = (updateSlidesPosition).toJson(); |
4500 } | 4506 } |
4501 if (updateTableCellProperties != null) { | 4507 if (updateTableCellProperties != null) { |
4502 _json["updateTableCellProperties"] = (updateTableCellProperties).toJson(); | 4508 _json["updateTableCellProperties"] = (updateTableCellProperties).toJson(); |
4503 } | 4509 } |
4504 if (updateTextStyle != null) { | 4510 if (updateTextStyle != null) { |
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5409 */ | 5415 */ |
5410 class SlideProperties { | 5416 class SlideProperties { |
5411 /** The object ID of the layout that this slide is based on. */ | 5417 /** The object ID of the layout that this slide is based on. */ |
5412 core.String layoutObjectId; | 5418 core.String layoutObjectId; |
5413 /** The object ID of the master that this slide is based on. */ | 5419 /** The object ID of the master that this slide is based on. */ |
5414 core.String masterObjectId; | 5420 core.String masterObjectId; |
5415 /** | 5421 /** |
5416 * The notes page that this slide is associated with. It defines the visual | 5422 * The notes page that this slide is associated with. It defines the visual |
5417 * appearance of a notes page when printing or exporting slides with speaker | 5423 * appearance of a notes page when printing or exporting slides with speaker |
5418 * notes. A notes page inherits properties from the | 5424 * notes. A notes page inherits properties from the |
5419 * notes mater. | 5425 * notes master. |
5420 * The placeholder shape with type BODY on the notes page contains the speaker | 5426 * The placeholder shape with type BODY on the notes page contains the speaker |
5421 * notes for this slide. The ID of this shape is identified by the | 5427 * notes for this slide. The ID of this shape is identified by the |
5422 * speaker notes object id field. | 5428 * speakerNotesObjectId field. |
5423 * The notes page is read-only except for the text content and styles of the | 5429 * The notes page is read-only except for the text content and styles of the |
5424 * speaker notes shape. | 5430 * speaker notes shape. |
5425 */ | 5431 */ |
5426 Page notesPage; | 5432 Page notesPage; |
5427 | 5433 |
5428 SlideProperties(); | 5434 SlideProperties(); |
5429 | 5435 |
5430 SlideProperties.fromJson(core.Map _json) { | 5436 SlideProperties.fromJson(core.Map _json) { |
5431 if (_json.containsKey("layoutObjectId")) { | 5437 if (_json.containsKey("layoutObjectId")) { |
5432 layoutObjectId = _json["layoutObjectId"]; | 5438 layoutObjectId = _json["layoutObjectId"]; |
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6094 * rendered in a smaller font size, computed based on the `font_size` field. | 6100 * rendered in a smaller font size, computed based on the `font_size` field. |
6095 * The `font_size` itself is not affected by changes in this field. | 6101 * The `font_size` itself is not affected by changes in this field. |
6096 * Possible string values are: | 6102 * Possible string values are: |
6097 * - "BASELINE_OFFSET_UNSPECIFIED" : The text's baseline offset is inherited | 6103 * - "BASELINE_OFFSET_UNSPECIFIED" : The text's baseline offset is inherited |
6098 * from the parent. | 6104 * from the parent. |
6099 * - "NONE" : The text is not vertically offset. | 6105 * - "NONE" : The text is not vertically offset. |
6100 * - "SUPERSCRIPT" : The text is vertically offset upwards (superscript). | 6106 * - "SUPERSCRIPT" : The text is vertically offset upwards (superscript). |
6101 * - "SUBSCRIPT" : The text is vertically offset downwards (subscript). | 6107 * - "SUBSCRIPT" : The text is vertically offset downwards (subscript). |
6102 */ | 6108 */ |
6103 core.String baselineOffset; | 6109 core.String baselineOffset; |
6104 /** Whether or not the text is bold. */ | 6110 /** Whether or not the text is rendered as bold. */ |
6105 core.bool bold; | 6111 core.bool bold; |
6106 /** | 6112 /** |
6107 * The font family of the text. | 6113 * The font family of the text. |
6108 * | 6114 * |
6109 * The font family can be any font from the Font menu in Slides or from | 6115 * The font family can be any font from the Font menu in Slides or from |
6110 * [Google Fonts] (https://fonts.google.com/). If the font name is | 6116 * [Google Fonts] (https://fonts.google.com/). If the font name is |
6111 * unrecognized, the text is rendered in `Arial`. | 6117 * unrecognized, the text is rendered in `Arial`. |
6112 * | 6118 * |
6113 * Some fonts can affect the weight of the text. If an update request | 6119 * Some fonts can affect the weight of the text. If an update request |
6114 * specifies values for both `font_family` and `bold`, the explicitly-set | 6120 * specifies values for both `font_family` and `bold`, the explicitly-set |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6476 if (objectId != null) { | 6482 if (objectId != null) { |
6477 _json["objectId"] = objectId; | 6483 _json["objectId"] = objectId; |
6478 } | 6484 } |
6479 if (pageProperties != null) { | 6485 if (pageProperties != null) { |
6480 _json["pageProperties"] = (pageProperties).toJson(); | 6486 _json["pageProperties"] = (pageProperties).toJson(); |
6481 } | 6487 } |
6482 return _json; | 6488 return _json; |
6483 } | 6489 } |
6484 } | 6490 } |
6485 | 6491 |
| 6492 /** |
| 6493 * Updates the styling for all of the paragraphs within a Shape or Table that |
| 6494 * overlap with the given text index range. |
| 6495 */ |
| 6496 class UpdateParagraphStyleRequest { |
| 6497 /** |
| 6498 * The location of the cell in the table containing the paragraph(s) to |
| 6499 * style. If object_id refers to a table, cell_location must have a value. |
| 6500 * Otherwise, it must not. |
| 6501 */ |
| 6502 TableCellLocation cellLocation; |
| 6503 /** |
| 6504 * The fields that should be updated. |
| 6505 * |
| 6506 * At least one field must be specified. The root `style` is implied and |
| 6507 * should not be specified. A single `"*"` can be used as short-hand for |
| 6508 * listing every field. |
| 6509 * |
| 6510 * For example, to update the paragraph alignment, set `fields` to |
| 6511 * `"alignment"`. |
| 6512 * |
| 6513 * To reset a property to its default value, include its field name in the |
| 6514 * field mask but leave the field itself unset. |
| 6515 */ |
| 6516 core.String fields; |
| 6517 /** The object ID of the shape or table with the text to be styled. */ |
| 6518 core.String objectId; |
| 6519 /** The paragraph's style. */ |
| 6520 ParagraphStyle style; |
| 6521 /** The range of text containing the paragraph(s) to style. */ |
| 6522 Range textRange; |
| 6523 |
| 6524 UpdateParagraphStyleRequest(); |
| 6525 |
| 6526 UpdateParagraphStyleRequest.fromJson(core.Map _json) { |
| 6527 if (_json.containsKey("cellLocation")) { |
| 6528 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); |
| 6529 } |
| 6530 if (_json.containsKey("fields")) { |
| 6531 fields = _json["fields"]; |
| 6532 } |
| 6533 if (_json.containsKey("objectId")) { |
| 6534 objectId = _json["objectId"]; |
| 6535 } |
| 6536 if (_json.containsKey("style")) { |
| 6537 style = new ParagraphStyle.fromJson(_json["style"]); |
| 6538 } |
| 6539 if (_json.containsKey("textRange")) { |
| 6540 textRange = new Range.fromJson(_json["textRange"]); |
| 6541 } |
| 6542 } |
| 6543 |
| 6544 core.Map toJson() { |
| 6545 var _json = new core.Map(); |
| 6546 if (cellLocation != null) { |
| 6547 _json["cellLocation"] = (cellLocation).toJson(); |
| 6548 } |
| 6549 if (fields != null) { |
| 6550 _json["fields"] = fields; |
| 6551 } |
| 6552 if (objectId != null) { |
| 6553 _json["objectId"] = objectId; |
| 6554 } |
| 6555 if (style != null) { |
| 6556 _json["style"] = (style).toJson(); |
| 6557 } |
| 6558 if (textRange != null) { |
| 6559 _json["textRange"] = (textRange).toJson(); |
| 6560 } |
| 6561 return _json; |
| 6562 } |
| 6563 } |
| 6564 |
6486 /** Update the properties of a Shape. */ | 6565 /** Update the properties of a Shape. */ |
6487 class UpdateShapePropertiesRequest { | 6566 class UpdateShapePropertiesRequest { |
6488 /** | 6567 /** |
6489 * The fields that should be updated. | 6568 * The fields that should be updated. |
6490 * | 6569 * |
6491 * At least one field must be specified. The root `shapeProperties` is | 6570 * At least one field must be specified. The root `shapeProperties` is |
6492 * implied and should not be specified. A single `"*"` can be used as | 6571 * implied and should not be specified. A single `"*"` can be used as |
6493 * short-hand for listing every field. | 6572 * short-hand for listing every field. |
6494 * | 6573 * |
6495 * For example to update the shape background solid fill color, set `fields` | 6574 * For example to update the shape background solid fill color, set `fields` |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6632 return _json; | 6711 return _json; |
6633 } | 6712 } |
6634 } | 6713 } |
6635 | 6714 |
6636 /** | 6715 /** |
6637 * Update the styling of text in a Shape or | 6716 * Update the styling of text in a Shape or |
6638 * Table. | 6717 * Table. |
6639 */ | 6718 */ |
6640 class UpdateTextStyleRequest { | 6719 class UpdateTextStyleRequest { |
6641 /** | 6720 /** |
6642 * The optional table cell location if the text to be styled is in a table | 6721 * The location of the cell in the table containing the text to style. If |
6643 * cell. If present, the object_id must refer to a table. | 6722 * object_id refers to a table, cell_location must have a value. Otherwise, it |
| 6723 * must not. |
6644 */ | 6724 */ |
6645 TableCellLocation cellLocation; | 6725 TableCellLocation cellLocation; |
6646 /** | 6726 /** |
6647 * The fields that should be updated. | 6727 * The fields that should be updated. |
6648 * | 6728 * |
6649 * At least one field must be specified. The root `style` is implied and | 6729 * At least one field must be specified. The root `style` is implied and |
6650 * should not be specified. A single `"*"` can be used as short-hand for | 6730 * should not be specified. A single `"*"` can be used as short-hand for |
6651 * listing every field. | 6731 * listing every field. |
6652 * | 6732 * |
6653 * For example, to update the text style to bold, set `fields` to `"bold"`. | 6733 * For example, to update the text style to bold, set `fields` to `"bold"`. |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6869 } | 6949 } |
6870 | 6950 |
6871 core.Map toJson() { | 6951 core.Map toJson() { |
6872 var _json = new core.Map(); | 6952 var _json = new core.Map(); |
6873 if (renderedText != null) { | 6953 if (renderedText != null) { |
6874 _json["renderedText"] = renderedText; | 6954 _json["renderedText"] = renderedText; |
6875 } | 6955 } |
6876 return _json; | 6956 return _json; |
6877 } | 6957 } |
6878 } | 6958 } |
OLD | NEW |