pub struct TableLook {
pub val: String,
pub first_row: bool,
pub last_row: bool,
pub first_column: bool,
pub last_column: bool,
pub no_h_band: bool,
pub no_v_band: bool,
}Expand description
表格布尔属性(<a:tblLook> 的属性集)。
对应 python-pptx _Table.tbl_look 的行为,控制表格样式应用范围。
Fields§
§val: String样式索引值(默认 "04A0")。
first_row: bool首行特殊格式(firstRow="1")。
last_row: bool末行特殊格式(lastRow="1")。
first_column: bool首列特殊格式(firstColumn="1")。
last_column: bool末列特殊格式(lastColumn="1")。
no_h_band: bool水平条纹(noHBand="0" 表示启用)。
no_v_band: bool垂直条纹(noVBand="1" 表示禁用)。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableLook
impl RefUnwindSafe for TableLook
impl Send for TableLook
impl Sync for TableLook
impl Unpin for TableLook
impl UnsafeUnpin for TableLook
impl UnwindSafe for TableLook
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