pub struct Operations {Show 26 fields
pub compare: bool,
pub accept_revisions: bool,
pub reject_revisions: bool,
pub selective_revisions: bool,
pub revision_records: bool,
pub pdf: bool,
pub png: bool,
pub inspect_body: bool,
pub markdown: bool,
pub edit: bool,
pub comments: bool,
pub markdown_to_docx: bool,
pub markdown_diff: bool,
pub patch: bool,
pub diff_render: bool,
pub page_ranges: bool,
pub comment_threads: bool,
pub edit_keeps_revisions: bool,
pub append: bool,
pub content_controls: bool,
pub validate: bool,
pub repair: bool,
pub fields: bool,
pub scrub: bool,
pub audit: bool,
pub edit_skip_failed: bool,
}Expand description
Per-operation availability in this build. Every operation is compiled
unconditionally; features do not gate an operation, so each field is
true in the default build. A wrapper that compiles an operation out
(for example jubarte-wasm drops pdf and png) overrides the
matching field in its own manifest.
Fields§
§compare: boolTwo documents into a Word tracked-changes document
(crate::document_comparer::compare_documents).
accept_revisions: boolAccept every revision
(crate::document_comparer::accept_revisions).
reject_revisions: boolReject every revision
(crate::document_comparer::reject_revisions).
selective_revisions: boolList tracked changes by id and accept or reject a selection of them
(crate::changes); also the edit-plan resolve_revisions entry.
revision_records: boolList revision records.
pdf: boolDOCX to PDF (jubarte::convert::docx_to_pdf).
png: boolDOCX pages to PNG (jubarte::convert::docx_to_png).
inspect_body: boolBody paragraph inspection (crate::inspect::paragraphs,
crate::inspect::summary).
markdown: boolMarkdown projection with paragraph ids (crate::inspect::markdown).
edit: boolEdit plans (clean copy, redline, report; crate::edit::apply_plan).
comments: boolComments authored by an edit plan (comment, reply_comment,
resolve_comment, edit_comment, delete_comment).
markdown_to_docx: boolMarkdown → DOCX, CriticMarkup as tracked changes and comments
(crate::markdown::markdown_to_docx).
markdown_diff: boolTwo Markdown documents as CriticMarkup, or Word / Markdown as a
Word redline (crate::markdown::diff_markdown,
crate::markdown::redline).
patch: boolThe changes between two documents, Word or Markdown, as a patch
over the changed paragraphs at their ids
(crate::markdown::diff_markdown at the patch level; jubarte diff).
diff_render: boolWhich pages of two documents differ, pixel for pixel, with overlays
of the changed region (jubarte::convert::diff_render; jubarte visual-diff).
page_ranges: boolRasterize selected pages after one layout pass of the whole
document (convert --pages).
comment_threads: boolComment threads: jubarte comments lists them, and edit plans
reply, resolve, edit and delete comments.
edit_keeps_revisions: boolEdit plans accept existing_revisions: "keep": another party’s
tracked changes stay, and the plan’s edits become new revisions
beside them.
append: boolOne document after another, carrying images, links, styles, lists
and notes (jubarte::append::append_documents; jubarte append).
content_controls: boolread --json lists the body’s content controls and edit plans fill
them (fill_control).
validate: boolWord-validity findings and the tracked-edit audit
(crate::validate::validate; jubarte validate with
--original / --author).
repair: boolRepairable findings fixed (crate::validate::repair; jubarte validate --repair).
fields: boolRefresh PAGEREF, REF, NUMPAGES, SEQ and TOC results from
jubarte’s layout (crate::fields::update_fields; jubarte fields update, the edit-plan update_fields).
scrub: boolRemove authors, rsids, document properties and comments
(crate::scrub::scrub; jubarte scrub); edit plans take redact.
audit: boolAccessibility, style and structure findings by paragraph id
(crate::audit::audit_report; jubarte validate --rules a11y,style,structure).
edit_skip_failed: boolEdit plans run with --skip-failed
(crate::edit::PrepareOptions::skip_failed): the operations that
pass are applied, and the failed ones are written as a plan of
their own.
Implementations§
Source§impl Operations
impl Operations
Trait Implementations§
Source§impl Clone for Operations
impl Clone for Operations
Source§fn clone(&self) -> Operations
fn clone(&self) -> Operations
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Operations
impl Debug for Operations
Source§impl<'de> Deserialize<'de> for Operations
impl<'de> Deserialize<'de> for Operations
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Operations, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Operations, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for Operations
Source§impl PartialEq for Operations
impl PartialEq for Operations
Source§impl Serialize for Operations
impl Serialize for Operations
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for Operations
Auto Trait Implementations§
impl Forget for Operations
impl Freeze for Operations
impl Move for Operations
impl RefUnwindSafe for Operations
impl Send for Operations
impl Sync for Operations
impl Unpin for Operations
impl UnsafeUnpin for Operations
impl UnwindSafe for Operations
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.