public final class SectionStyle
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Docs API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SectionStyle() |
Modifier and Type | Method and Description |
---|---|
SectionStyle |
clone() |
List<SectionColumnProperties> |
getColumnProperties()
The section's columns properties.
|
String |
getColumnSeparatorStyle()
The style of column separators.
|
String |
getContentDirection()
The content direction of this section.
|
String |
getDefaultFooterId()
The ID of the default footer.
|
String |
getDefaultHeaderId()
The ID of the default header.
|
String |
getEvenPageFooterId()
The ID of the footer used only for even pages.
|
String |
getEvenPageHeaderId()
The ID of the header used only for even pages.
|
String |
getFirstPageFooterId()
The ID of the footer used only for the first page of the section.
|
String |
getFirstPageHeaderId()
The ID of the header used only for the first page of the section.
|
Boolean |
getFlipPageOrientation()
Optional.
|
Dimension |
getMarginBottom()
The bottom page margin of the section.
|
Dimension |
getMarginFooter()
The footer margin of the section.
|
Dimension |
getMarginHeader()
The header margin of the section.
|
Dimension |
getMarginLeft()
The left page margin of the section.
|
Dimension |
getMarginRight()
The right page margin of the section.
|
Dimension |
getMarginTop()
The top page margin of the section.
|
Integer |
getPageNumberStart()
The page number from which to start counting the number of pages for this section.
|
String |
getSectionType()
Output only.
|
Boolean |
getUseFirstPageHeaderFooter()
Indicates whether to use the first page header / footer IDs for the first page of the section.
|
SectionStyle |
set(String fieldName,
Object value) |
SectionStyle |
setColumnProperties(List<SectionColumnProperties> columnProperties)
The section's columns properties.
|
SectionStyle |
setColumnSeparatorStyle(String columnSeparatorStyle)
The style of column separators.
|
SectionStyle |
setContentDirection(String contentDirection)
The content direction of this section.
|
SectionStyle |
setDefaultFooterId(String defaultFooterId)
The ID of the default footer.
|
SectionStyle |
setDefaultHeaderId(String defaultHeaderId)
The ID of the default header.
|
SectionStyle |
setEvenPageFooterId(String evenPageFooterId)
The ID of the footer used only for even pages.
|
SectionStyle |
setEvenPageHeaderId(String evenPageHeaderId)
The ID of the header used only for even pages.
|
SectionStyle |
setFirstPageFooterId(String firstPageFooterId)
The ID of the footer used only for the first page of the section.
|
SectionStyle |
setFirstPageHeaderId(String firstPageHeaderId)
The ID of the header used only for the first page of the section.
|
SectionStyle |
setFlipPageOrientation(Boolean flipPageOrientation)
Optional.
|
SectionStyle |
setMarginBottom(Dimension marginBottom)
The bottom page margin of the section.
|
SectionStyle |
setMarginFooter(Dimension marginFooter)
The footer margin of the section.
|
SectionStyle |
setMarginHeader(Dimension marginHeader)
The header margin of the section.
|
SectionStyle |
setMarginLeft(Dimension marginLeft)
The left page margin of the section.
|
SectionStyle |
setMarginRight(Dimension marginRight)
The right page margin of the section.
|
SectionStyle |
setMarginTop(Dimension marginTop)
The top page margin of the section.
|
SectionStyle |
setPageNumberStart(Integer pageNumberStart)
The page number from which to start counting the number of pages for this section.
|
SectionStyle |
setSectionType(String sectionType)
Output only.
|
SectionStyle |
setUseFirstPageHeaderFooter(Boolean useFirstPageHeaderFooter)
Indicates whether to use the first page header / footer IDs for the first page of the section.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<SectionColumnProperties> getColumnProperties()
null
for nonepublic SectionStyle setColumnProperties(List<SectionColumnProperties> columnProperties)
columnProperties
- columnProperties or null
for nonepublic String getColumnSeparatorStyle()
null
for nonepublic SectionStyle setColumnSeparatorStyle(String columnSeparatorStyle)
columnSeparatorStyle
- columnSeparatorStyle or null
for nonepublic String getContentDirection()
null
for nonepublic SectionStyle setContentDirection(String contentDirection)
contentDirection
- contentDirection or null
for nonepublic String getDefaultFooterId()
null
for nonepublic SectionStyle setDefaultFooterId(String defaultFooterId)
defaultFooterId
- defaultFooterId or null
for nonepublic String getDefaultHeaderId()
null
for nonepublic SectionStyle setDefaultHeaderId(String defaultHeaderId)
defaultHeaderId
- defaultHeaderId or null
for nonepublic String getEvenPageFooterId()
null
for nonepublic SectionStyle setEvenPageFooterId(String evenPageFooterId)
evenPageFooterId
- evenPageFooterId or null
for nonepublic String getEvenPageHeaderId()
null
for nonepublic SectionStyle setEvenPageHeaderId(String evenPageHeaderId)
evenPageHeaderId
- evenPageHeaderId or null
for nonepublic String getFirstPageFooterId()
null
for nonepublic SectionStyle setFirstPageFooterId(String firstPageFooterId)
firstPageFooterId
- firstPageFooterId or null
for nonepublic String getFirstPageHeaderId()
null
for nonepublic SectionStyle setFirstPageHeaderId(String firstPageHeaderId)
firstPageHeaderId
- firstPageHeaderId or null
for nonepublic Boolean getFlipPageOrientation()
null
for nonepublic SectionStyle setFlipPageOrientation(Boolean flipPageOrientation)
flipPageOrientation
- flipPageOrientation or null
for nonepublic Dimension getMarginBottom()
null
for nonepublic SectionStyle setMarginBottom(Dimension marginBottom)
marginBottom
- marginBottom or null
for nonepublic Dimension getMarginFooter()
null
for nonepublic SectionStyle setMarginFooter(Dimension marginFooter)
marginFooter
- marginFooter or null
for nonepublic Dimension getMarginHeader()
null
for nonepublic SectionStyle setMarginHeader(Dimension marginHeader)
marginHeader
- marginHeader or null
for nonepublic Dimension getMarginLeft()
null
for nonepublic SectionStyle setMarginLeft(Dimension marginLeft)
marginLeft
- marginLeft or null
for nonepublic Dimension getMarginRight()
null
for nonepublic SectionStyle setMarginRight(Dimension marginRight)
marginRight
- marginRight or null
for nonepublic Dimension getMarginTop()
null
for nonepublic SectionStyle setMarginTop(Dimension marginTop)
marginTop
- marginTop or null
for nonepublic Integer getPageNumberStart()
null
for nonepublic SectionStyle setPageNumberStart(Integer pageNumberStart)
pageNumberStart
- pageNumberStart or null
for nonepublic String getSectionType()
null
for nonepublic SectionStyle setSectionType(String sectionType)
sectionType
- sectionType or null
for nonepublic Boolean getUseFirstPageHeaderFooter()
null
for nonepublic SectionStyle setUseFirstPageHeaderFooter(Boolean useFirstPageHeaderFooter)
useFirstPageHeaderFooter
- useFirstPageHeaderFooter or null
for nonepublic SectionStyle set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public SectionStyle clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.