GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo

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. This includes attributes such as font size, color, weight, and style, as well as other text decorations like bold, italic, and underline.
  • This module could impact search results by influencing how relevant or useful a webpage or document is deemed to be. For example, a webpage with clear and readable formatting may be considered more user-friendly and therefore more relevant to a search query. Conversely, a webpage with poor formatting or hard-to-read text may be demoted in search results.
  • To be more favorable to this function, a website could ensure that its text content is well-formatted and easy to read, with clear headings, concise paragraphs, and proper use of font styles and sizes. Additionally, using semantic HTML elements and following accessibility guidelines (such as the Web Content Accessibility Guidelines) could also help to improve the website's formatting and readability, making it more appealing to this module.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Font and other text style attributes.

Attributes

  • backgroundColor (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t, default: nil) - Color of the background.
  • bold (type: boolean(), default: nil) - Whether the text is bold (equivalent to font_weight is at least 700).
  • fontSize (type: integer(), default: nil) - Font size in points (1 point is ¹⁄₇₂ inches).
  • fontType (type: String.t, default: nil) - Name or style of the font.
  • fontWeight (type: integer(), default: nil) - TrueType weight on a scale 100 (thin) to 1000 (ultra-heavy). Normal is 400, bold is 700.
  • handwritten (type: boolean(), default: nil) - Whether the text is handwritten.
  • italic (type: boolean(), default: nil) - Whether the text is italic.
  • letterSpacing (type: float(), default: nil) - Letter spacing in points.
  • pixelFontSize (type: float(), default: nil) - Font size in pixels, equal to unrounded font_size * resolution ÷ 72.0.
  • smallcaps (type: boolean(), default: nil) - Whether the text is in small caps.
  • strikeout (type: boolean(), default: nil) - Whether the text is strikethrough.
  • subscript (type: boolean(), default: nil) - Whether the text is a subscript.
  • superscript (type: boolean(), default: nil) - Whether the text is a superscript.
  • textColor (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t, default: nil) - Color of the text.
  • underlined (type: boolean(), default: nil) - Whether the text is underlined.

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.GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo{
    backgroundColor:
      GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t() | nil,
    bold: boolean() | nil,
    fontSize: integer() | nil,
    fontType: String.t() | nil,
    fontWeight: integer() | nil,
    handwritten: boolean() | nil,
    italic: boolean() | nil,
    letterSpacing: float() | nil,
    pixelFontSize: float() | nil,
    smallcaps: boolean() | nil,
    strikeout: boolean() | nil,
    subscript: boolean() | nil,
    superscript: boolean() | nil,
    textColor: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t() | nil,
    underlined: boolean() | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.