View Source GoogleApi.ContentWarehouse.V1.Model.GoodocOverrides (google_api_content_warehouse v0.4.0)

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

Attributes

  • 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:
  • 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.
  • fullPageAsImage (type: String.t, default: nil) - For Pages only: explicitly specify whether or not this page should be rendered fully as an image
  • fullPageLineated (type: String.t, default: nil) - For Pages only: explicitly specify whether or not all text on this page should be treated as "LINEATED"
  • fullPageSkipped (type: String.t, default: nil) - For Pages only: explicitly specify whether or not this page should be skipped.
  • needNotSuppressPhoto (type: boolean(), default: nil) - This GRAPHIC block's image can be shown even when GoodocToHTMLOptions.suppress_photos_with_this is specified.
  • pageBreakBefore (type: String.t, default: nil) - For blocks: explicitly specify whether or not this block should get a page-break before it.
  • style (type: list(GoogleApi.ContentWarehouse.V1.Model.GoodocOverridesStyle.t), default: nil) -
  • wordHtml (type: String.t, default: nil) - For Words only: replace the rendered HTML by this:

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@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
}

Functions

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

Unwrap a decoded JSON object into its complex fields.