Skip to main content

write_line_named

Function write_line_named 

Source
pub fn write_line_named<W>(
    writer: &mut Writer<W>,
    element_name: &str,
    line: &Line,
) -> Result<(), Error>
where W: Write,
Expand description

Writes a CT_LineProperties-typed element under a caller-chosen name — same content model as write_line (which is just this called with "a:ln"), for the handful of other elements in the wider OOXML vocabulary that reuse CT_LineProperties under a different name, e.g. PresentationML table cell borders (<a:lnL>/<a:lnR>/<a:lnT>/ <a:lnB>, powerpoint-ooxml’s own crate-external TableCellProperties, point 8).