GoogleCloudDocumentaiV1DocumentStyle

AI Overview😉

  • The potential purpose of this module is to analyze and understand the visual styling and formatting of text within a document or webpage, such as font family, size, color, and background color. This helps Google to better comprehend the structure and presentation of the content.
  • This module could impact search results by influencing how Google weights and ranks content based on its visual appeal, readability, and overall user experience. For instance, a webpage with clear headings, concise paragraphs, and proper font sizes might be considered more user-friendly and therefore more relevant to searchers.
  • To be more favorable to this function, a website could focus on improving its text styling and formatting by using clear and consistent font families, sizes, and colors. Additionally, using proper headings, subheadings, and paragraph structures can enhance the overall readability and visual appeal of the content. Furthermore, ensuring that the website is responsive and adaptable to different devices and screen sizes can also contribute to a better user experience.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentStyle (google_api_content_warehouse v0.4.0)

Annotation for common text style attributes. This adheres to CSS conventions as much as possible.

Attributes

  • backgroundColor (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t, default: nil) - Text background color.
  • color (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t, default: nil) - Text color.
  • fontFamily (type: String.t, default: nil) - Font family such as Arial, Times New Roman. https://www.w3schools.com/cssref/pr_font_font-family.asp
  • fontSize (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentStyleFontSize.t, default: nil) - Font size.
  • fontWeight (type: String.t, default: nil) - Font weight. Possible values are normal, bold, bolder, and lighter.
  • textAnchor (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t, default: nil) - Text anchor indexing into the Document.text.
  • textDecoration (type: String.t, default: nil) - Text decoration. Follows CSS standard.
  • textStyle (type: String.t, default: nil) - Text style. Possible values are normal, italic, and oblique.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentStyle{
    backgroundColor:
      GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t() | nil,
    color: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t() | nil,
    fontFamily: String.t() | nil,
    fontSize:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentStyleFontSize.t()
      | nil,
    fontWeight: String.t() | nil,
    textAnchor:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t()
      | nil,
    textDecoration: String.t() | nil,
    textStyle: String.t() | nil
  }

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.