📄 subform.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace AnotherPDFLib.XFA
{
/// <summary>
/// A container element that describes a single subform capable of enclosing other containers.
/// </summary>
public class subform : container
{
public subform() : base("subform") { }
public bool allowMacro
{
set
{
this.SetAttribute("allowMacro", value);
}
}
public string columnWidths
{
set
{
this.SetAttribute("columnWidths", value);
}
}
public string locale
{
set
{
this.SetAttribute("locale", value);
}
}
protected pageSet _pageSet;
public pageSet pageSet
{
get
{
if (_pageSet == null)
{
_pageSet = new pageSet();
this.AddChild(_pageSet);
}
return _pageSet;
}
set
{
this.RemoveChild(_pageSet);
_pageSet = value;
this.AddChild(_pageSet);
}
}
protected bind _bind;
public bind bind
{
get
{
if (_bind == null)
{
_bind = new bind();
this.AddChild(_bind);
}
return _bind;
}
set
{
this.RemoveChild(_bind);
_bind = value;
this.AddChild(_bind);
}
}
public void Add(area area)
{
this.AddChild(area);
}
public void Add(@event @event)
{
this.AddChild(@event);
}
public void Add(proto proto)
{
this.AddChild(proto);
}
public void Add(subformSet subformSet)
{
this.AddChild(subformSet);
}
public void Add(connect connect)
{
this.AddChild(connect);
}
public void Add(exObject exObject)
{
this.AddChild(exObject);
}
protected @break _break;
public @break @break
{
get
{
if (_break == null)
{
_break = new @break();
this.AddChild(_break);
}
return _break;
}
set
{
this.RemoveChild(_break);
_break = value;
this.AddChild(_break);
}
}
protected calculate _calculate;
public calculate calculate
{
get
{
if (_calculate == null)
{
_calculate = new calculate();
this.AddChild(_calculate);
}
return _calculate;
}
set
{
this.RemoveChild(_calculate);
_calculate = value;
this.AddChild(_calculate);
}
}
protected keep _keep;
public keep keep
{
get
{
if (_keep == null)
{
_keep = new keep();
this.AddChild(_keep);
}
return _keep;
}
set
{
this.RemoveChild(_keep);
_keep = value;
this.AddChild(_keep);
}
}
protected occur _occur;
public occur occur
{
get
{
if (_occur == null)
{
_occur = new occur();
this.AddChild(_occur);
}
return _occur;
}
set
{
this.RemoveChild(_occur);
_occur = value;
this.AddChild(_occur);
}
}
protected validate _validate;
public validate validate
{
get
{
if (_validate == null)
{
_validate = new validate();
this.AddChild(_validate);
}
return _validate;
}
set
{
this.RemoveChild(_validate);
_validate = value;
this.AddChild(_validate);
}
}
protected variables _variables;
public variables variables
{
get
{
if (_variables == null)
{
_variables = new variables();
this.AddChild(_variables);
}
return _variables;
}
set
{
this.RemoveChild(_variables);
_variables = value;
this.AddChild(_variables);
}
}
public layout layout
{
set
{
this.SetAttribute("layout", value);
}
}
public void Add(container container)
{
this.AddChild(container);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -