Google Docs Api does not work correctly for Table Cell data with multiple lines
まだ誰も着手していません。
評価
調査の方向性
まず、複数行を含む表のセルを使用して Google Docs API v1-rev20191010-1.30.3 で問題を再現し、返された段落要素をドキュメントの生の JSON と比較します。各行のテキストとインデックスを API 経由で取得でき、要素の反復処理中にスタイルを適用できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
In Google Docs API version v1-rev20191010-1.30.3, there is an issue with accessing data from tables. The issue happens when the cells have new lines in them. For example
A
B
The API currently only returns a single paragraph element in the cell with text A and ignores the second line in the cell. However, the data is still available in the raw json for the document.
The above causes problem because I need to style each line in the cell, but because of this issue it's only applying styles to the first line when I iterate the elements.
As a workaround, I am using the raw JSON to get the indexes for the texts and then applying the styles, but this should be made available through the API too.
- 主要言語
- Java
- スター
- 725
- フォーク
- 394
- 平均マージ
- 45分
- マージ済み PR(30日)
- 240
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googleapis/google-api-java-client-services のほかの issue
-
priority: p3 type: docs
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
priority: p3 type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 50/100
googleapis/google-api-java-client-services#29581 · コメント 2 件 ·
-
priority: p3 type: feature request
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
googleapis/google-api-java-client-services#29317 · コメント 1 件 ·
-
priority: p3 type: bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
googleapis/google-api-java-client-services#26505 · コメント 7 件 · リアクション 1 件 ·
googleapis/google-api-java-client-services の issue をすべて見る
似ている issue
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
apache/flink-agents#1156 ·
-
[source-shopify] FAILED bulk operation without partialDataUrl is silently treated as successful オープンarea/connectors autoteam community connectors/source/shopify needs-triage team/use type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100