RewriteContent(ContentEditor) Method

Definition

Assembly Broadside.dll

Runs the form's content through editor and, when it made edits, replaces the form's data with the result, in which every byte the edits did not touch is as it was. Every use of the form shows the change.

public bool RewriteContent(ContentEditor editor)

Parameters

editor
ContentEditor

The editor; it numbers the operators and makes its edits during the run.

Returns

Boolean
true when the editor made edits and the content was replaced; otherwise the form is unchanged.

Remarks

ISO 32000-2 §8.10.1, §7.8.2. The content runs from the initial graphics state with the form matrix as the CTM, clipped to the bounding box, names resolving in the form's resources (Form, no page). The result is written unfiltered (§7.3.8.2: Filter, DecodeParms and DL are removed; a save compresses it).