use super::element::{Element, ElementBase};
#[derive(Debug, Clone)]
#[allow(dead_code)]
pub struct Meta {
element: Element,
}
#[allow(dead_code)]
impl Meta {
pub fn new() -> Self {
Self {
element: Element::new("office:meta"),
}
}
pub fn title(&self) -> Option<&str> {
self.element.get_attribute("dc:title")
}
pub fn creator(&self) -> Option<&str> {
self.element.get_attribute("dc:creator")
}
}