View Source GoogleApi.Docs.V1.Model.InsertPageBreakRequest (google_api_docs v0.17.0)

Inserts a page break followed by a newline at the specified location.

Attributes

  • endOfSegmentLocation (type: GoogleApi.Docs.V1.Model.EndOfSegmentLocation.t, default: nil) - Inserts the page break at the end of the document body. Page breaks cannot be inserted inside a footnote, header or footer. Since page breaks can only be inserted inside the body, the segment ID field must be empty.
  • location (type: GoogleApi.Docs.V1.Model.Location.t, default: nil) - Inserts the page break at a specific index in the document. The page break must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Page breaks cannot be inserted inside a table, equation, footnote, header or footer. Since page breaks can only be inserted inside the body, the segment ID field must be empty.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Docs.V1.Model.InsertPageBreakRequest{
  endOfSegmentLocation: GoogleApi.Docs.V1.Model.EndOfSegmentLocation.t() | nil,
  location: GoogleApi.Docs.V1.Model.Location.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.