google_api_docs v0.5.0 GoogleApi.Docs.V1.Model.DocumentStyle View Source

The style of the document.

Attributes

  • background (type: GoogleApi.Docs.V1.Model.Background.t, default: nil) - The background of the document. Documents cannot have a transparent background color.

  • defaultFooterId (type: String.t, default: nil) - The ID of the default footer. If not set, there is no default footer.

    This property is read-only.

  • defaultHeaderId (type: String.t, default: nil) - The ID of the default header. If not set, there is no default header.

    This property is read-only.

  • evenPageFooterId (type: String.t, default: nil) - The ID of the footer used only for even pages. The value of use_even_page_header_footer determines whether to use the default_footer_id or this value for the footer on even pages. If not set, there is no even page footer.

    This property is read-only.

  • evenPageHeaderId (type: String.t, default: nil) - The ID of the header used only for even pages. The value of use_even_page_header_footer determines whether to use the default_header_id or this value for the header on even pages. If not set, there is no even page header.

    This property is read-only.

  • firstPageFooterId (type: String.t, default: nil) - The ID of the footer used only for the first page. If not set then a unique footer for the first page does not exist. The value of use_first_page_header_footer determines whether to use the default_footer_id or this value for the footer on the first page. If not set, there is no first page footer.

    This property is read-only.

  • firstPageHeaderId (type: String.t, default: nil) - The ID of the header used only for the first page. If not set then a unique header for the first page does not exist. The value of use_first_page_header_footer determines whether to use the default_header_id or this value for the header on the first page. If not set, there is no first page header.

    This property is read-only.

  • marginBottom (type: GoogleApi.Docs.V1.Model.Dimension.t, default: nil) - The bottom page margin.

    Updating the bottom page margin on the document style clears the bottom page margin on all section styles.

  • marginFooter (type: GoogleApi.Docs.V1.Model.Dimension.t, default: nil) - The amount of space between the bottom of the page and the contents of the footer.

  • marginHeader (type: GoogleApi.Docs.V1.Model.Dimension.t, default: nil) - The amount of space between the top of the page and the contents of the header.

  • marginLeft (type: GoogleApi.Docs.V1.Model.Dimension.t, default: nil) - The left page margin.

    Updating the left page margin on the document style clears the left page margin on all section styles. It may also cause columns to resize in all sections.

  • marginRight (type: GoogleApi.Docs.V1.Model.Dimension.t, default: nil) - The right page margin.

    Updating the right page margin on the document style clears the right page margin on all section styles. It may also cause columns to resize in all sections.

  • marginTop (type: GoogleApi.Docs.V1.Model.Dimension.t, default: nil) - The top page margin.

    Updating the top page margin on the document style clears the top page margin on all section styles.

  • pageNumberStart (type: integer(), default: nil) - The page number from which to start counting the number of pages.

  • pageSize (type: GoogleApi.Docs.V1.Model.Size.t, default: nil) - The size of a page in the document.

  • useCustomHeaderFooterMargins (type: boolean(), default: nil) - Indicates whether DocumentStyle margin_header, SectionStyle margin_header and DocumentStyle margin_footer, SectionStyle margin_footer are respected. When false, the default values in the Docs editor for header and footer margin are used.

    This property is read-only.

  • useEvenPageHeaderFooter (type: boolean(), default: nil) - Indicates whether to use the even page header / footer IDs for the even pages.

  • useFirstPageHeaderFooter (type: boolean(), default: nil) - Indicates whether to use the first page header / footer IDs for the first page.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Docs.V1.Model.DocumentStyle{
  background: GoogleApi.Docs.V1.Model.Background.t(),
  defaultFooterId: String.t(),
  defaultHeaderId: String.t(),
  evenPageFooterId: String.t(),
  evenPageHeaderId: String.t(),
  firstPageFooterId: String.t(),
  firstPageHeaderId: String.t(),
  marginBottom: GoogleApi.Docs.V1.Model.Dimension.t(),
  marginFooter: GoogleApi.Docs.V1.Model.Dimension.t(),
  marginHeader: GoogleApi.Docs.V1.Model.Dimension.t(),
  marginLeft: GoogleApi.Docs.V1.Model.Dimension.t(),
  marginRight: GoogleApi.Docs.V1.Model.Dimension.t(),
  marginTop: GoogleApi.Docs.V1.Model.Dimension.t(),
  pageNumberStart: integer(),
  pageSize: GoogleApi.Docs.V1.Model.Size.t(),
  useCustomHeaderFooterMargins: boolean(),
  useEvenPageHeaderFooter: boolean(),
  useFirstPageHeaderFooter: boolean()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.