sandriiy / salesforce-google-docs-library

Will be added shortly...
MIT License
1 stars 0 forks source link

Basic processing of Google Docs | Architecture #1

Open sandriiy opened 2 weeks ago

sandriiy commented 2 weeks ago

The architecture should include the following elements:

  1. Search by content
  2. Creating and deleting a paragraph (see https://developers.google.com/docs/api/reference/rest/v1/documents/request#InsertTextRequest and https://developers.google.com/docs/api/reference/rest/v1/documents/request#DeleteContentRangeRequest)
  3. Creating and deleting a table (see https://developers.google.com/docs/api/reference/rest/v1/documents/request#InsertTableRequest and https://developers.google.com/docs/api/reference/rest/v1/documents/request#DeleteContentRangeRequest)
  4. Creating and deleting a header (see https://developers.google.com/docs/api/reference/rest/v1/documents/request#CreateHeaderRequest and https://developers.google.com/docs/api/reference/rest/v1/documents/request#DeleteHeaderRequest)
  5. Creating and deleting a footer (see https://developers.google.com/docs/api/reference/rest/v1/documents/request#CreateFooterRequest and https://developers.google.com/docs/api/reference/rest/v1/documents/request#DeleteFooterRequest)
  6. Replace all text that matches the criteria

Take into account the application of styles when creating a paragraph and table, the styling itself will be performed outside the basic processing architecture.

This issue is pinned and NOT closed throughout the basic implementation, including tracking all key changes.

sandriiy commented 2 weeks ago

Model 0.1 – includes processing of received document body, content search for such elements as: table, paragraph, text, as well as entire content.

After receiving the body of the document, content is deserialized into custom wrappers, content is searched using custom search.

Next steps:

salesforce_gdoc_0 1