Revision-bound, DOM-shaped move prepared from a source drag target. More...
#include "donner/editor/SourceStructuralMove.h"
Public Attributes | |
| svg::SVGElement | element |
| Element to move within the document. | |
| svg::SVGElement | parent |
| Destination parent for the moved element. | |
| std::optional< svg::SVGElement > | referenceElement |
| Insert before this sibling; an empty value appends to the parent. | |
| SourceByteRange | elementRange |
| Authored byte range to move in the XML source. | |
| std::size_t | insertionOffset = 0 |
| Destination byte offset in the original source. | |
| std::uint64_t | expectedDocumentGeneration = 0 |
| Document generation captured when the move was planned. | |
| std::uint64_t | expectedFrameVersion = 0 |
| Document frame version captured when the move was planned. | |
| std::uint64_t | expectedSourceHash = 0 |
| Source hash used to reject a plan made against different text. | |
Revision-bound, DOM-shaped move prepared from a source drag target.
| svg::SVGElement donner::editor::SourceStructuralMovePlan::element |
Element to move within the document.
| SourceByteRange donner::editor::SourceStructuralMovePlan::elementRange |
Authored byte range to move in the XML source.
| std::uint64_t donner::editor::SourceStructuralMovePlan::expectedDocumentGeneration = 0 |
Document generation captured when the move was planned.
| std::uint64_t donner::editor::SourceStructuralMovePlan::expectedFrameVersion = 0 |
Document frame version captured when the move was planned.
| std::uint64_t donner::editor::SourceStructuralMovePlan::expectedSourceHash = 0 |
Source hash used to reject a plan made against different text.
| std::size_t donner::editor::SourceStructuralMovePlan::insertionOffset = 0 |
Destination byte offset in the original source.
| svg::SVGElement donner::editor::SourceStructuralMovePlan::parent |
Destination parent for the moved element.
| std::optional<svg::SVGElement> donner::editor::SourceStructuralMovePlan::referenceElement |
Insert before this sibling; an empty value appends to the parent.