Google Docs Api does not work correctly for Table Cell data with multiple lines
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Start by reproducing the issue with Google Docs API v1-rev20191010-1.30.3 using a table cell containing multiple lines, then compare the returned paragraph elements with the document's raw JSON. Done means each line's text and indexes are available through the API so styling can be applied during element iteration.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Java
- Stars
- 725
- Forks
- 394
- Avg merge
- 45m
- Merged PRs (30d)
- 240
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from googleapis/google-api-java-client-services
-
priority: p3 type: docs
Difficulty 1/5 Under an hour Newbie friendliness 88/100
googleapis/google-api-java-client-services#32558 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
googleapis/google-api-java-client-services#32796 ·
Maintainers usually reply within 1 day
-
priority: p3 type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
googleapis/google-api-java-client-services#29581 · 2 comments ·
Maintainers usually reply within 1 day
-
priority: p3 type: feature request
Difficulty 4/5 3-5 days Newbie friendliness 38/100
googleapis/google-api-java-client-services#29317 · 1 comment ·
Maintainers usually reply within 1 day
-
priority: p3 type: bug
Difficulty 5/5 Over a week Newbie friendliness 35/100
googleapis/google-api-java-client-services#26505 · 7 comments · 1 reaction ·
Maintainers usually reply within 1 day
All issues in googleapis/google-api-java-client-services
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oracle/javavscode#652 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenAPITools/openapi-generator#25014 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
AloisSeckar/demos-java#380 ·