pub struct RtfBackend<W: Write + Debug> { /* private fields */ }Expand description
RTF backend for document formatting
Implements the FotBuilder trait with full support for DSSSL flow objects.
Implementations§
Trait Implementations§
Source§impl<W: Write + Debug> FotBuilder for RtfBackend<W>
impl<W: Write + Debug> FotBuilder for RtfBackend<W>
Source§fn entity(&mut self, system_id: &str, _content: &str) -> Result<()>
fn entity(&mut self, system_id: &str, _content: &str) -> Result<()>
Create an external entity (output file) Read more
Source§fn formatting_instruction(&mut self, data: &str) -> Result<()>
fn formatting_instruction(&mut self, data: &str) -> Result<()>
Insert backend-specific formatting instruction Read more
Source§fn current_output(&self) -> &str
fn current_output(&self) -> &str
Get the current output buffer contents Read more
Source§fn clear_buffer(&mut self)
fn clear_buffer(&mut self)
Clear the current output buffer Read more
Source§fn end_paragraph(&mut self) -> Result<()>
fn end_paragraph(&mut self) -> Result<()>
End a paragraph
Source§fn start_sequence(&mut self) -> Result<()>
fn start_sequence(&mut self) -> Result<()>
Start a sequence (container for flow objects) Read more
Source§fn end_sequence(&mut self) -> Result<()>
fn end_sequence(&mut self) -> Result<()>
End a sequence
Source§fn end_display_group(&mut self) -> Result<()>
fn end_display_group(&mut self) -> Result<()>
End a display group
Source§fn start_simple_page_sequence(&mut self) -> Result<()>
fn start_simple_page_sequence(&mut self) -> Result<()>
Start a simple page sequence (main page layout container) Read more
Source§fn end_simple_page_sequence(&mut self) -> Result<()>
fn end_simple_page_sequence(&mut self) -> Result<()>
End a simple page sequence
Source§fn start_line_field(&mut self) -> Result<()>
fn start_line_field(&mut self) -> Result<()>
Start a line-field (inline text container) Read more
Source§fn end_line_field(&mut self) -> Result<()>
fn end_line_field(&mut self) -> Result<()>
End a line-field
Auto Trait Implementations§
impl<W> Freeze for RtfBackend<W>where
W: Freeze,
impl<W> RefUnwindSafe for RtfBackend<W>where
W: RefUnwindSafe,
impl<W> Send for RtfBackend<W>where
W: Send,
impl<W> Sync for RtfBackend<W>where
W: Sync,
impl<W> Unpin for RtfBackend<W>where
W: Unpin,
impl<W> UnsafeUnpin for RtfBackend<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for RtfBackend<W>where
W: UnwindSafe,
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