#[derive(Copy, Clone, Debug, Default, PartialEq, Eq, Hash, ooxmlsdk_derive::SdkEnum)]
pub enum ClipboardFormatValues {
#[sdk(rename = "PictOld")]
#[default]
PictureOld,
#[sdk(rename = "Pict")]
Picture,
#[sdk(rename = "Bitmap")]
Bitmap,
#[sdk(rename = "PictPrint")]
PicturePrint,
#[sdk(rename = "PictScreen")]
PictureScreen,
}
#[derive(Copy, Clone, Debug, Default, PartialEq, Eq, Hash, ooxmlsdk_derive::SdkEnum)]
pub enum ObjectValues {
#[sdk(rename = "Button")]
#[default]
Button,
#[sdk(rename = "Checkbox")]
Checkbox,
#[sdk(rename = "Dialog")]
Dialog,
#[sdk(rename = "Drop")]
Drop,
#[sdk(rename = "Edit")]
Edit,
#[sdk(rename = "GBox")]
GroupBox,
#[sdk(rename = "Label")]
Label,
#[sdk(rename = "LineA")]
AuditingLine,
#[sdk(rename = "List")]
List,
#[sdk(rename = "Movie")]
Movie,
#[sdk(rename = "Note")]
Note,
#[sdk(rename = "Pict")]
Picture,
#[sdk(rename = "Radio")]
Radio,
#[sdk(rename = "RectA")]
AuditingRectangle,
#[sdk(rename = "Scroll")]
Scroll,
#[sdk(rename = "Spin")]
Spin,
#[sdk(rename = "Shape")]
Shape,
#[sdk(rename = "Group")]
Group,
#[sdk(rename = "Rect")]
Rectangle,
}
#[derive(Copy, Clone, Debug, Default, PartialEq, Eq, Hash, ooxmlsdk_derive::SdkEnum)]
pub enum BooleanEntryWithBlankValues {
#[sdk(rename = "True")]
#[default]
True,
#[sdk(rename = "t")]
T,
#[sdk(rename = "False")]
False,
#[sdk(rename = "f")]
F,
Empty,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xvml:ClientData")]
pub struct ClientData {
#[sdk(attr(qname = ":ObjectType"))]
pub object_type: ObjectValues,
#[sdk(
choice(
text_child(variant = MoveWithCells, qname = "xvml:MoveWithCells"),
text_child(variant = ResizeWithCells, qname = "xvml:SizeWithCells"),
text_child(variant = Anchor, qname = "xvml:Anchor"),
text_child(variant = Locked, qname = "xvml:Locked"),
text_child(variant = DefaultSize, qname = "xvml:DefaultSize"),
text_child(variant = PrintObject, qname = "xvml:PrintObject"),
text_child(variant = Disabled, qname = "xvml:Disabled"),
text_child(variant = AutoFill, qname = "xvml:AutoFill"),
text_child(variant = AutoLine, qname = "xvml:AutoLine"),
text_child(variant = AutoSizePicture, qname = "xvml:AutoPict"),
text_child(variant = FormulaMacro, qname = "xvml:FmlaMacro"),
text_child(variant = HorizontalTextAlignment, qname = "xvml:TextHAlign"),
text_child(variant = VerticalTextAlignment, qname = "xvml:TextVAlign"),
text_child(variant = LockText, qname = "xvml:LockText"),
text_child(variant = JustifyLastLine, qname = "xvml:JustLastX"),
text_child(variant = SecretEdit, qname = "xvml:SecretEdit"),
text_child(variant = DefaultButton, qname = "xvml:Default"),
text_child(variant = HelpButton, qname = "xvml:Help"),
text_child(variant = CancelButton, qname = "xvml:Cancel"),
text_child(variant = DismissButton, qname = "xvml:Dismiss"),
text_child(variant = AcceleratorPrimary, qname = "xvml:Accel"),
text_child(variant = AcceleratorSecondary, qname = "xvml:Accel2"),
text_child(variant = CommentRowTarget, qname = "xvml:Row"),
text_child(variant = CommentColumnTarget, qname = "xvml:Column"),
text_child(variant = Visible, qname = "xvml:Visible"),
text_child(variant = RowHidden, qname = "xvml:RowHidden"),
text_child(variant = ColumnHidden, qname = "xvml:ColHidden"),
text_child(variant = InputValidationType, qname = "xvml:VTEdit"),
text_child(variant = MultiLine, qname = "xvml:MultiLine"),
text_child(variant = VerticalScrollBar, qname = "xvml:VScroll"),
text_child(variant = ValidIds, qname = "xvml:ValidIds"),
text_child(variant = FormulaRange, qname = "xvml:FmlaRange"),
text_child(variant = MinDropDownWidth, qname = "xvml:WidthMin"),
text_child(variant = SelectionEntry, qname = "xvml:Sel"),
text_child(
variant = Disable3DForListBoxAndDropDown,
qname = "xvml:NoThreeD2"
),
text_child(variant = SelectionType, qname = "xvml:SelType"),
text_child(variant = MultiSelections, qname = "xvml:MultiSel"),
text_child(variant = ListBoxCallbackType, qname = "xvml:LCT"),
text_child(variant = ListItem, qname = "xvml:ListItem"),
text_child(variant = DropStyle, qname = "xvml:DropStyle"),
text_child(variant = Colored, qname = "xvml:Colored"),
text_child(variant = DropLines, qname = "xvml:DropLines"),
text_child(variant = Checked, qname = "xvml:Checked"),
text_child(variant = FormulaLink, qname = "xvml:FmlaLink"),
text_child(variant = FormulaPicture, qname = "xvml:FmlaPict"),
text_child(variant = Disable3D, qname = "xvml:NoThreeD"),
text_child(variant = FirstButton, qname = "xvml:FirstButton"),
text_child(variant = FormulaGroup, qname = "xvml:FmlaGroup"),
text_child(variant = ScrollBarPosition, qname = "xvml:Val"),
text_child(variant = ScrollBarMin, qname = "xvml:Min"),
text_child(variant = ScrollBarMax, qname = "xvml:Max"),
text_child(variant = ScrollBarIncrement, qname = "xvml:Inc"),
text_child(variant = ScrollBarPageIncrement, qname = "xvml:Page"),
text_child(variant = HorizontalScrollBar, qname = "xvml:Horiz"),
text_child(variant = ScrollBarWidth, qname = "xvml:Dx"),
text_child(variant = MapOcxControl, qname = "xvml:MapOCX"),
text_child(variant = ClipboardFormat, qname = "xvml:CF"),
text_child(variant = CameraObject, qname = "xvml:Camera"),
text_child(variant = RecalculateAlways, qname = "xvml:RecalcAlways"),
text_child(variant = AutoScaleFont, qname = "xvml:AutoScale"),
text_child(variant = DdeObject, qname = "xvml:DDE"),
text_child(variant = UiObject, qname = "xvml:UIObj"),
text_child(variant = ScriptText, qname = "xvml:ScriptText"),
text_child(variant = ScriptExtended, qname = "xvml:ScriptExtended"),
text_child(variant = ScriptLanguage, qname = "xvml:ScriptLanguage"),
text_child(variant = ScriptLocation, qname = "xvml:ScriptLocation"),
text_child(variant = FormulaTextBox, qname = "xvml:FmlaTxbx")
)
)]
pub client_data_choice: Vec<ClientDataChoice>,
}
pub type MoveWithCells = BooleanEntryWithBlankValues;
pub type ResizeWithCells = BooleanEntryWithBlankValues;
pub type Locked = BooleanEntryWithBlankValues;
pub type DefaultSize = BooleanEntryWithBlankValues;
pub type PrintObject = BooleanEntryWithBlankValues;
pub type Disabled = BooleanEntryWithBlankValues;
pub type AutoFill = BooleanEntryWithBlankValues;
pub type AutoLine = BooleanEntryWithBlankValues;
pub type AutoSizePicture = BooleanEntryWithBlankValues;
pub type LockText = BooleanEntryWithBlankValues;
pub type JustifyLastLine = BooleanEntryWithBlankValues;
pub type SecretEdit = BooleanEntryWithBlankValues;
pub type DefaultButton = BooleanEntryWithBlankValues;
pub type HelpButton = BooleanEntryWithBlankValues;
pub type CancelButton = BooleanEntryWithBlankValues;
pub type DismissButton = BooleanEntryWithBlankValues;
pub type Visible = BooleanEntryWithBlankValues;
pub type RowHidden = BooleanEntryWithBlankValues;
pub type ColumnHidden = BooleanEntryWithBlankValues;
pub type MultiLine = BooleanEntryWithBlankValues;
pub type VerticalScrollBar = BooleanEntryWithBlankValues;
pub type ValidIds = BooleanEntryWithBlankValues;
pub type Disable3DForListBoxAndDropDown = BooleanEntryWithBlankValues;
pub type Colored = BooleanEntryWithBlankValues;
pub type Disable3D = BooleanEntryWithBlankValues;
pub type FirstButton = BooleanEntryWithBlankValues;
pub type HorizontalScrollBar = BooleanEntryWithBlankValues;
pub type MapOcxControl = BooleanEntryWithBlankValues;
pub type CameraObject = BooleanEntryWithBlankValues;
pub type RecalculateAlways = BooleanEntryWithBlankValues;
pub type AutoScaleFont = BooleanEntryWithBlankValues;
pub type DdeObject = BooleanEntryWithBlankValues;
pub type UiObject = BooleanEntryWithBlankValues;
pub type Anchor = crate::simple_type::StringValue;
pub type HorizontalTextAlignment = crate::simple_type::StringValue;
pub type VerticalTextAlignment = crate::simple_type::StringValue;
pub type FormulaRange = crate::simple_type::StringValue;
pub type SelectionType = crate::simple_type::StringValue;
pub type MultiSelections = crate::simple_type::StringValue;
pub type ListBoxCallbackType = crate::simple_type::StringValue;
pub type ListItem = crate::simple_type::StringValue;
pub type DropStyle = crate::simple_type::StringValue;
pub type FormulaLink = crate::simple_type::StringValue;
pub type FormulaPicture = crate::simple_type::StringValue;
pub type FormulaGroup = crate::simple_type::StringValue;
pub type ScriptText = crate::simple_type::StringValue;
pub type ScriptExtended = crate::simple_type::StringValue;
pub type FormulaTextBox = crate::simple_type::StringValue;
pub type FormulaMacro = crate::simple_type::StringValue;
pub type AcceleratorPrimary = crate::simple_type::ByteValue;
pub type AcceleratorSecondary = crate::simple_type::ByteValue;
pub type CommentRowTarget = crate::simple_type::IntegerValue;
pub type CommentColumnTarget = crate::simple_type::IntegerValue;
pub type InputValidationType = crate::simple_type::IntegerValue;
pub type MinDropDownWidth = crate::simple_type::IntegerValue;
pub type SelectionEntry = crate::simple_type::IntegerValue;
pub type DropLines = crate::simple_type::IntegerValue;
pub type Checked = crate::simple_type::IntegerValue;
pub type ScrollBarPosition = crate::simple_type::IntegerValue;
pub type ScrollBarMin = crate::simple_type::IntegerValue;
pub type ScrollBarMax = crate::simple_type::IntegerValue;
pub type ScrollBarIncrement = crate::simple_type::IntegerValue;
pub type ScrollBarPageIncrement = crate::simple_type::IntegerValue;
pub type ScrollBarWidth = crate::simple_type::IntegerValue;
pub type ClipboardFormat = ClipboardFormatValues;
pub type ScriptLanguage = crate::simple_type::IntegerValue;
pub type ScriptLocation = crate::simple_type::IntegerValue;
#[derive(Clone, Debug, PartialEq)]
pub enum ClientDataChoice {
MoveWithCells(MoveWithCells),
ResizeWithCells(ResizeWithCells),
Anchor(Anchor),
Locked(Locked),
DefaultSize(DefaultSize),
PrintObject(PrintObject),
Disabled(Disabled),
AutoFill(AutoFill),
AutoLine(AutoLine),
AutoSizePicture(AutoSizePicture),
FormulaMacro(FormulaMacro),
HorizontalTextAlignment(HorizontalTextAlignment),
VerticalTextAlignment(VerticalTextAlignment),
LockText(LockText),
JustifyLastLine(JustifyLastLine),
SecretEdit(SecretEdit),
DefaultButton(DefaultButton),
HelpButton(HelpButton),
CancelButton(CancelButton),
DismissButton(DismissButton),
AcceleratorPrimary(AcceleratorPrimary),
AcceleratorSecondary(AcceleratorSecondary),
CommentRowTarget(CommentRowTarget),
CommentColumnTarget(CommentColumnTarget),
Visible(Visible),
RowHidden(RowHidden),
ColumnHidden(ColumnHidden),
InputValidationType(InputValidationType),
MultiLine(MultiLine),
VerticalScrollBar(VerticalScrollBar),
ValidIds(ValidIds),
FormulaRange(FormulaRange),
MinDropDownWidth(MinDropDownWidth),
SelectionEntry(SelectionEntry),
Disable3DForListBoxAndDropDown(Disable3DForListBoxAndDropDown),
SelectionType(SelectionType),
MultiSelections(MultiSelections),
ListBoxCallbackType(ListBoxCallbackType),
ListItem(ListItem),
DropStyle(DropStyle),
Colored(Colored),
DropLines(DropLines),
Checked(Checked),
FormulaLink(FormulaLink),
FormulaPicture(FormulaPicture),
Disable3D(Disable3D),
FirstButton(FirstButton),
FormulaGroup(FormulaGroup),
ScrollBarPosition(ScrollBarPosition),
ScrollBarMin(ScrollBarMin),
ScrollBarMax(ScrollBarMax),
ScrollBarIncrement(ScrollBarIncrement),
ScrollBarPageIncrement(ScrollBarPageIncrement),
HorizontalScrollBar(HorizontalScrollBar),
ScrollBarWidth(ScrollBarWidth),
MapOcxControl(MapOcxControl),
ClipboardFormat(ClipboardFormat),
CameraObject(CameraObject),
RecalculateAlways(RecalculateAlways),
AutoScaleFont(AutoScaleFont),
DdeObject(DdeObject),
UiObject(UiObject),
ScriptText(ScriptText),
ScriptExtended(ScriptExtended),
ScriptLanguage(ScriptLanguage),
ScriptLocation(ScriptLocation),
FormulaTextBox(FormulaTextBox),
}