[−][src]Struct oox::shared::drawingml::text::paragraphs::TextField
Fields
id: Guid
Specifies the unique to this document, host specified token that is used to identify the field. This token is generated when the text field is created and persists in the file as the same token until the text field is removed. Any application should check the document for conflicting tokens before assigning a new token to a text field.
field_type: Option<String>
Specifies the type of text that should be used to update this text field. This is used to inform the rendering application what text it should use to update this text field. There are no specific syntax restrictions placed on this attribute. The generating application can use it to represent any text that should be updated before rendering the presentation.
Reserved values:
Value | Description |
---|---|
slidenum | presentation slide number |
datetime | default date time format for the rendering application |
datetime1 | MM/DD/YYYY date time format |
datetime2 | Day, Month DD, YYYY date time format |
datetime3 | DD Month YYYY date time format |
datetime4 | Month DD, YYYY date time format |
datetime5 | DD-Mon-YY date time format |
datetime6 | Month YY date time format |
datetime7 | Mon-YY date time format |
datetime8 | MM/DD/YYYY hh:mm AM/PM date time format |
datetime9 | MM/DD/YYYY hh:mm:ss AM/PM date time format |
datetime10 | hh:mm date time format |
datetime11 | hh:mm:ss date time format |
datetime12 | hh:mm AM/PM date time format |
datetime13 | hh:mm:ss: AM/PM date time format |
char_properties: Option<Box<TextCharacterProperties>>
This element contains all run level text properties for the text runs within a containing paragraph.
Xml example
<a:p>
…
<a:rPr u="sng"/>
…
<a:t>Some Text</a:t>
…
</a:p>
The run of text described above is formatting with a single underline of text matching color.
paragraph_properties: Option<Box<TextParagraph>>
Specifies the paragraph properties for this text field
text: Option<String>
The text of this text field.
Methods
impl TextField
[src]
pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>
[src]
Trait Implementations
impl Clone for TextField
[src]
impl Debug for TextField
[src]
impl PartialEq<TextField> for TextField
[src]
impl StructuralPartialEq for TextField
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextField
impl Send for TextField
impl Sync for TextField
impl Unpin for TextField
impl UnwindSafe for TextField
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,