pub struct Title {
pub text: Option<TitleText>,
pub overlay: Option<bool>,
pub shape_properties: Option<ShapeProperties>,
}Expand description
A chart or axis title (<c:title>, CT_Title) — reused identically by CT_Chart’s own title
and by each axis’s title (EG_AxShared::title).
Not modeled: <c:layout> (manual title positioning) and <c:txPr> (default text formatting for
the title, distinct from any actual rich text already carried by TitleText::Rich) — txPr
is deferred everywhere in this crate (title, legend, and axis alike): real documents almost
always use it purely for defRPr/endParaRPr formatting hints with no actual text run, and
drawing::TextBody only models actual paragraph runs (<a:r>/<a:br>), not defRPr/
endParaRPr — reusing it for txPr would compile but wouldn’t round-trip the common case, so
it’s left out entirely rather than half-supported.
Fields§
§text: Option<TitleText>§overlay: Option<bool>§shape_properties: Option<ShapeProperties>Implementations§
Trait Implementations§
impl StructuralPartialEq for Title
Auto Trait Implementations§
impl Freeze for Title
impl RefUnwindSafe for Title
impl Send for Title
impl Sync for Title
impl Unpin for Title
impl UnsafeUnpin for Title
impl UnwindSafe for Title
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