pub fn export_text( db_context: &DbContext, event_hub: &Arc<EventHub>, ) -> Result<String>
Export the current document as plain text.