GoodocOverrides

GoogleApi.ContentWarehouse.V1.Model.GoodocOverrides


Table of Contents ▼

Jump to a specific part of the page:

Description

This message specifies structure "overrides" to apply: it can be used to force certain kinds of GoodocToHTML renderings of elements.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. blockImagination (type: String.t, default: nil)
    - For text blocks only: do not allow this block to be turned into an image when rendering, even if your algorithms want to do so:
  2. doNotExpandGraphicBox (type: boolean(), default: nil)
    - For graphic blocks, we often expand the block a bit for rendering, to compensate for bad image segmentation. do_not_expand_graphic_box forces this behavior to be turned off.
  3. fullPageAsImage (type: String.t, default: nil)
    - For Pages only: explicitly specify whether or not this page should be rendered fully as an image
  4. fullPageLineated (type: String.t, default: nil)
    - For Pages only: explicitly specify whether or not all text on this page should be treated as "LINEATED"
  5. fullPageSkipped (type: String.t, default: nil)
    - For Pages only: explicitly specify whether or not this page should be skipped.
  6. needNotSuppressPhoto (type: boolean(), default: nil)
    - This GRAPHIC block's image can be shown even when GoodocToHTMLOptions.suppress_photos_with_this is specified.
  7. pageBreakBefore (type: String.t, default: nil)
    - For blocks: explicitly specify whether or not this block should get a page-break before it.
  8. style (type: list(GoogleApi.ContentWarehouse.V1.Model.GoodocOverridesStyle), default: nil)
    -
  9. wordHtml (type: String.t, default: nil)
    - For Words only: replace the rendered HTML by this:

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocOverrides{
blockImagination: String.t() | nil,
doNotExpandGraphicBox: boolean() | nil,
fullPageAsImage: String.t() | nil,
fullPageLineated: String.t() | nil,
fullPageSkipped: String.t() | nil,
needNotSuppressPhoto: boolean() | nil,
pageBreakBefore: String.t() | nil,
style: [GoogleApi.ContentWarehouse.V1.Model.GoodocOverridesStyle.t()] | nil,
wordHtml: String.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoodocOverrides