📄 ucformatsetting.ascx
字号:
<asp:TextBox ID="tbTopMargin" runat="server" Width="70px">2.54</asp:TextBox>cm</td>
<td style="width: 84px; height: 27px">
下</td>
<td style="width: 140px; height: 27px;">
<asp:TextBox ID="tbButtomMargin" runat="server" Width="70px">2.54</asp:TextBox>cm
</td>
</tr>
<tr>
<td style="width: 69px; height: 26px; text-align: left;" valign="middle">
左</td>
<td style="width: 129px; height: 26px;">
<asp:TextBox ID="tbLeftMargin" runat="server" Width="70px">3.17</asp:TextBox>cm</td>
<td style="width: 84px; height: 26px">
右</td>
<td style="width: 140px; height: 26px;">
<asp:TextBox ID="tbRightMargin" runat="server" Width="70px">3.17</asp:TextBox>cm</td>
</tr>
<tr>
<td style="width: 75px; text-align: center; border-right: gainsboro 1px solid;" valign="middle" rowspan="4">
纸张</td>
<td style="width: 69px" valign="middle">
装订线</td>
<td style="width: 129px;">
<asp:TextBox ID="tbGutter" runat="server" Width="70px">0</asp:TextBox>cm</td>
<td style="width: 84px">
装订线位置</td>
<td style="width: 140px;">
<asp:DropDownList
ID="ddlGutterPos" runat="server" Width="70px">
<asp:ListItem Value="wdGutterPosLeft">左</asp:ListItem>
<asp:ListItem Value="wdGutterPosTop">上</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 69px" valign="middle">
纸张大小</td>
<td style="width: 129px">
<asp:DropDownList ID="ddlPageSize" runat="server" Width="122px">
<asp:ListItem Value="A4">A4(21*29.7厘米)</asp:ListItem>
<asp:ListItem Value="信纸">信纸(8.5*11英寸)</asp:ListItem>
<asp:ListItem Value="正规">正规(8.5*14英寸)</asp:ListItem>
<asp:ListItem Value="A3">A3(29.7*42厘米)</asp:ListItem>
<asp:ListItem Value="B4">B4(25*35.4厘米)</asp:ListItem>
<asp:ListItem Value="B5">B5(18.2*25.7厘米)</asp:ListItem>
<asp:ListItem Value="16开">16开(18.4*26厘米)</asp:ListItem>
<asp:ListItem Value="32开">32开(13*18.4厘米)</asp:ListItem>
<asp:ListItem Value="大32开">大32开(14*20.3厘米)</asp:ListItem>
<asp:ListItem Value="自定义">自定义大小</asp:ListItem>
</asp:DropDownList></td>
<td style="width: 84px; height: 22px; text-align: left;">
</td>
<td style="width: 140px; height: 22px;">
</td>
</tr>
<tr>
<td style="width: 69px" valign="middle">
纸张宽度</td>
<td style="width: 129px">
<asp:TextBox ID="tbPageWidth" runat="server" Width="70px">21</asp:TextBox>
cm</td>
<td style="width: 84px">
纸张高度</td>
<td style="width: 140px;">
<asp:TextBox ID="tbPageHeiht" runat="server" Width="70px">29.7</asp:TextBox>
cm</td>
</tr>
<tr>
<td style="width: 69px" valign="middle">
页眉</td>
<td style="width: 129px">
<asp:TextBox ID="tbPageHeader" runat="server" Width="70px">1.5</asp:TextBox>cm</td>
<td style="width: 84px">
页脚</td>
<td style="width: 140px;" colspan="1">
<asp:TextBox ID="tbPageFooter" runat="server" Width="70px">1.75</asp:TextBox>cm</td>
</tr>
<tr>
<td rowspan="1" style="border-right: gainsboro 1px solid; width: 75px; text-align: center"
valign="middle">
</td>
<td style="width: 69px" valign="middle">
垂直对齐方式</td>
<td style="width: 129px">
<asp:DropDownList
ID="ddlVerticalAlignment" runat="server" Width="121px">
<asp:ListItem Value="wdAlignVerticalTop">顶端对齐</asp:ListItem>
<asp:ListItem Value="wdAlignVerticalCenter">居中</asp:ListItem>
<asp:ListItem Value="wdAlignVerticalJustify">两端对齐</asp:ListItem>
<asp:ListItem Value="wdAlignVerticalBottom">底端对齐</asp:ListItem>
</asp:DropDownList>
</td>
<td style="width: 84px">
</td>
<td colspan="1" style="width: 140px">
</td>
</tr>
<tr>
<td rowspan="1" style="border-right: gainsboro 1px solid; width: 75px; text-align: center; height: 47px;"
valign="middle">
文档网格</td>
<td style="width: 69px; height: 47px" valign="middle">
文字排列</td>
<td style="width: 129px; height: 47px; text-align: left">
<asp:RadioButtonList ID="rblVerticalAlignment" runat="server" RepeatDirection="Horizontal"
Width="126px">
<asp:ListItem>垂直</asp:ListItem>
<asp:ListItem>水平</asp:ListItem>
</asp:RadioButtonList></td>
<td style="width: 84px; height: 47px">
栏数</td>
<td style="width: 140px; height: 47px">
<asp:TextBox ID="tbColnum" runat="server" Width="70px"></asp:TextBox></td>
</tr>
<tr>
<td rowspan="1" style="border-right: gainsboro 1px solid; text-align: center"
valign="middle" colspan="5">
<asp:Label ID="lbMsg2" runat="server" ForeColor="Red"></asp:Label></td>
</tr>
<tr>
<td rowspan="1" style="border-right: gainsboro 1px solid; width: 75px; text-align: center"
valign="middle">
</td>
<td style="width: 69px; height: 29px" valign="middle">
</td>
<td style="width: 129px; height: 29px; text-align: right">
<asp:Button ID="btnPageSubmit" runat="server" Text="确定" OnClick="btnPageSubmit_Click" /></td>
<td style="width: 84px; height: 29px">
<asp:Button ID="btnPageCancel" runat="server" Text="取消" /></td>
<td style="width: 140px; height: 29px">
</td>
</tr>
</table>
<br />
<cc1:NumericUpDownExtender ID="nue1" runat="server" Enabled="True" Maximum="100"
Minimum="-100" RefValues="" ServiceDownMethod="" ServiceDownPath="" ServiceUpMethod=""
Step="0.1" Tag="" TargetButtonDownID="" TargetButtonUpID="" TargetControlID="tbTopMargin"
Width="70">
</cc1:NumericUpDownExtender>
<cc1:NumericUpDownExtender ID="nue2" runat="server" Enabled="True" Maximum="100"
Minimum="-100" RefValues="" ServiceDownMethod="" ServiceDownPath="" ServiceUpMethod=""
Step="0.1" Tag="" TargetButtonDownID="" TargetButtonUpID="" TargetControlID="tbButtomMargin"
Width="70">
</cc1:NumericUpDownExtender>
<cc1:NumericUpDownExtender ID="NumericUpDownExtender2" runat="server" Enabled="True"
Maximum="100" Minimum="0" RefValues="" ServiceDownMethod="" ServiceDownPath=""
ServiceUpMethod="" Step="0.1" Tag="" TargetButtonDownID="" TargetButtonUpID=""
TargetControlID="tbLeftMargin" Width="70">
</cc1:NumericUpDownExtender>
<cc1:NumericUpDownExtender ID="NumericUpDownExtender1" runat="server" Enabled="True"
Maximum="100" Minimum="0" RefValues="" ServiceDownMethod="" ServiceDownPath=""
ServiceUpMethod="" Step="0.1" Tag="" TargetButtonDownID="" TargetButtonUpID=""
TargetControlID="tbRightMargin" Width="70">
</cc1:NumericUpDownExtender>
<cc1:NumericUpDownExtender ID="NumericUpDownExtender3" runat="server" Enabled="True"
Maximum="100" Minimum="0" RefValues="" ServiceDownMethod="" ServiceDownPath=""
ServiceUpMethod="" Step="0.1" Tag="" TargetButtonDownID="" TargetButtonUpID=""
TargetControlID="tbGutter" Width="70">
</cc1:NumericUpDownExtender>
<cc1:NumericUpDownExtender ID="NumericUpDownExtender5" runat="server" Enabled="True"
Maximum="100" Minimum="0" RefValues="" ServiceDownMethod="" ServiceDownPath=""
ServiceUpMethod="" Step="0.1" Tag="" TargetButtonDownID="" TargetButtonUpID=""
TargetControlID="tbPageWidth" Width="70">
</cc1:NumericUpDownExtender>
<cc1:NumericUpDownExtender ID="NumericUpDownExtender4" runat="server" Enabled="True"
Maximum="100" Minimum="0" RefValues="" ServiceDownMethod="" ServiceDownPath=""
ServiceUpMethod="" Step="0.1" Tag="" TargetButtonDownID="" TargetButtonUpID=""
TargetControlID="tbPageHeiht" Width="70">
</cc1:NumericUpDownExtender>
<cc1:NumericUpDownExtender ID="NumericUpDownExtender6" runat="server" Enabled="True"
Maximum="100" Minimum="0" RefValues="" ServiceDownMethod="" ServiceDownPath=""
ServiceUpMethod="" Step="0.1" Tag="" TargetButtonDownID="" TargetButtonUpID=""
TargetControlID="tbPageHeader" Width="70">
</cc1:NumericUpDownExtender>
<cc1:NumericUpDownExtender ID="NumericUpDownExtender7" runat="server" Enabled="True"
Maximum="100" Minimum="0" RefValues="" ServiceDownMethod="" ServiceDownPath=""
ServiceUpMethod="" Step="0.1" Tag="" TargetButtonDownID="" TargetButtonUpID=""
TargetControlID="tbPageFooter" Width="70">
</cc1:NumericUpDownExtender><cc1:NumericUpDownExtender ID="NumericUpDownExtender14" runat="server" Enabled="True"
Maximum="5" Minimum="1" RefValues="" ServiceDownMethod="" ServiceDownPath=""
ServiceUpMethod="" Tag="" TargetButtonDownID="" TargetButtonUpID=""
TargetControlID="tbColnum" Width="70">
</cc1:NumericUpDownExtender>
</ContentTemplate>
</asp:UpdatePanel>
</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel ID="TabPanel3" runat="server" HeaderText="TabPanel3">
<HeaderTemplate>
说明
</HeaderTemplate>
</cc1:TabPanel>
</cc1:TabContainer>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -