pub struct PageBorderFillEntry {
pub apply_type: String,
pub border_fill_id: u32,
pub text_border: String,
pub header_inside: bool,
pub footer_inside: bool,
pub fill_area: String,
pub offset: [HwpUnit; 4],
}Expand description
A single page border/fill entry for the section.
Maps to <hp:pageBorderFill> inside <hp:secPr>.
Standard 한글 documents have 3 entries: BOTH, EVEN, ODD.
Fields§
§apply_type: StringWhich pages this border fill applies to: "BOTH", "EVEN", "ODD".
border_fill_id: u32Reference to a borderFill definition (1-based index).
text_border: StringWhether the border is relative to text or paper.
header_inside: boolWhether header is inside the border.
Whether footer is inside the border.
fill_area: StringFill area: "PAPER" or "PAGE".
offset: [HwpUnit; 4]Offset from page edge (left, right, top, bottom) in HwpUnit.
Trait Implementations§
Source§impl Clone for PageBorderFillEntry
impl Clone for PageBorderFillEntry
Source§fn clone(&self) -> PageBorderFillEntry
fn clone(&self) -> PageBorderFillEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PageBorderFillEntry
impl Debug for PageBorderFillEntry
Source§impl Default for PageBorderFillEntry
impl Default for PageBorderFillEntry
Source§impl<'de> Deserialize<'de> for PageBorderFillEntry
impl<'de> Deserialize<'de> for PageBorderFillEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for PageBorderFillEntry
impl JsonSchema for PageBorderFillEntry
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PageBorderFillEntry
impl PartialEq for PageBorderFillEntry
Source§impl Serialize for PageBorderFillEntry
impl Serialize for PageBorderFillEntry
impl Eq for PageBorderFillEntry
impl StructuralPartialEq for PageBorderFillEntry
Auto Trait Implementations§
impl Freeze for PageBorderFillEntry
impl RefUnwindSafe for PageBorderFillEntry
impl Send for PageBorderFillEntry
impl Sync for PageBorderFillEntry
impl Unpin for PageBorderFillEntry
impl UnwindSafe for PageBorderFillEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.