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):
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)
, default:nil
)
- -
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
}
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