⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ucformatsetting.ascx

📁 在线 图书网上购物系统
💻 ASCX
📖 第 1 页 / 共 2 页
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucFormatSetting.ascx.cs" Inherits="UserControls_ucFormatSetting" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
&nbsp;<cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" Width="100%" ScrollBars="Auto">
    <cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="TabPanel1">
        <HeaderTemplate>
            段落设置
        </HeaderTemplate>
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
        <table style="border-right: gainsboro 1px dotted; border-top: gainsboro 1px dotted; border-left: gainsboro 1px dotted; border-bottom: gainsboro 1px dotted" cellpadding="1" cellspacing="1" border="1" width="100%">
            <tr>
                <td style="width: 66px; text-align: center; height: 24px;">
                    常规</td>
                <td style="height: 24px">
                    对齐方式</td>
                <td style="width: 121px; text-align: left; height: 24px;">
                    <asp:DropDownList ID="ddlAlignment" runat="server" Width="88px">
                        <asp:ListItem Value="wdAlignParagraphJustify">两端对齐</asp:ListItem>
                        <asp:ListItem Value="wdAlignParagraphCenter">居中</asp:ListItem>
                        <asp:ListItem Value="wdAlignParagraphLeft">左对齐</asp:ListItem>
                        <asp:ListItem Value="wdAlignParagraphRight">右对齐</asp:ListItem>
                        <asp:ListItem Value="wdAlignParagraphDistribute">分散对齐</asp:ListItem>
                    </asp:DropDownList></td>
                <td style="height: 24px; width: 78px;">
                    大纲级别</td>
                <td style="width: 139px; text-align: left; height: 24px;">
                        <asp:DropDownList ID="ddlNameLocal" runat="server" OnSelectedIndexChanged="ddlNameLocal_SelectedIndexChanged" AutoPostBack="True" Width="76px">
                            <asp:ListItem>正文</asp:ListItem>
                            <asp:ListItem>标题 1</asp:ListItem>
                            <asp:ListItem>标题 2</asp:ListItem>
                            <asp:ListItem>标题 3</asp:ListItem>
                            <asp:ListItem>标题 4</asp:ListItem>
                            <asp:ListItem Value="表格">表格</asp:ListItem>
                            <asp:ListItem Value="表头">表头</asp:ListItem>
                        </asp:DropDownList></td>
            </tr>
            <tr>
                <td rowspan="2" style="width: 66px; text-align: center;">
                    缩进</td>
                <td>
                    左</td>
                <td style="width: 121px; text-align: left">
                    <asp:TextBox ID="tbLeftIndent" runat="server" Width="70px">0</asp:TextBox>字符</td>
                <td style="width: 78px">
                    特殊格式</td>
                <td style="width: 139px; text-align: left">
                    <asp:DropDownList ID="ddlSpecialFormat" runat="server">
                        <asp:ListItem>(无)</asp:ListItem>
                        <asp:ListItem>首行缩进</asp:ListItem>
                        <asp:ListItem>悬挂缩进</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td>
                    右</td>
                <td style="width: 121px; height: 21px">
                    <asp:TextBox ID="tbRightIndent" runat="server" Width="70px">0</asp:TextBox>字符</td>
                <td style="width: 78px">
                    度量值</td>
                <td style="width: 139px; height: 21px; text-align: left">
                    <asp:TextBox ID="tbCharacterUnitFirstLineIndent" runat="server" Width="70px" AutoCompleteType="Disabled">0</asp:TextBox>字符</td>
            </tr>
            <tr>
                <td rowspan="2" style="width: 66px; text-align: center;">
                    间距</td>
                <td style="height: 26px">
                    段前</td>
                <td style="width: 121px; text-align: left; height: 26px;">
                    <asp:TextBox ID="tbSpaceBefore" runat="server" Width="70px">0</asp:TextBox>行</td>
                <td style="height: 26px; width: 78px;">
                    段后</td>
                <td style="width: 139px; text-align: left; height: 26px;">
                    <asp:TextBox ID="tbSpaceAfter" runat="server" Width="70px">0</asp:TextBox>行</td>
            </tr>
            <tr>
                <td>
                    行距</td>
                <td style="width: 121px; height: 21px; text-align: left"><asp:DropDownList ID="ddlLineSpacingRule" runat="server" Width="88px">
                    <asp:ListItem Value="wdLineSpaceSingle">单倍行距</asp:ListItem>
                    <asp:ListItem Value="wdLineSpace1pt5">1.5倍行距</asp:ListItem>
                    <asp:ListItem Value="wdLineSpaceDouble">2倍行距</asp:ListItem>
                    <asp:ListItem Value="wdLineSpaceAtLeast">最小值</asp:ListItem>
                    <asp:ListItem Value="wdLineSpaceExactly">固定值</asp:ListItem>
                    <asp:ListItem Value="wdLineSpaceMultiple">多倍行距</asp:ListItem>
                </asp:DropDownList></td>
                <td style="width: 78px">
                    设置值</td>
                <td style="width: 139px; height: 21px; text-align: left">
                    <asp:TextBox ID="tbLineSpacing" runat="server" Width="70px"></asp:TextBox></td>
            </tr>
            <tr>
                <td rowspan="1" style="width: 66px; height: 21px; text-align: center;">
                    字体</td>
                <td style="width: 74px; height: 21px">
                    <asp:DropDownList ID="ddlFontFamily" runat="server" Width="143px">
                        </asp:DropDownList>
                    </td>
                <td style="width: 121px; height: 21px">
                    <asp:DropDownList ID="ddlFontSize" runat="server">
                            <asp:ListItem Value="42">初号</asp:ListItem>
                            <asp:ListItem Value="36">小初</asp:ListItem>
                            <asp:ListItem Value="26">一号</asp:ListItem>
                            <asp:ListItem Value="24">小一</asp:ListItem>
                            <asp:ListItem Value="22">二号</asp:ListItem>
                            <asp:ListItem Value="18">小二</asp:ListItem>
                            <asp:ListItem Value="16">三号</asp:ListItem>
                            <asp:ListItem Value="15">小三</asp:ListItem>
                            <asp:ListItem Value="14">四号</asp:ListItem>
                            <asp:ListItem Value="12">小四</asp:ListItem>
                            <asp:ListItem Value="10.5">五号</asp:ListItem>
                            <asp:ListItem Value="9">小五</asp:ListItem>
                            <asp:ListItem Value="7.5">六号</asp:ListItem>
                            <asp:ListItem Value="6.5">小六</asp:ListItem>
                            <asp:ListItem Value="5.5">七号</asp:ListItem>
                            <asp:ListItem Value="5">八号</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                            <asp:ListItem>5.5</asp:ListItem>
                            <asp:ListItem>6.5</asp:ListItem>
                            <asp:ListItem>7.5</asp:ListItem>
                            <asp:ListItem>8</asp:ListItem>
                            <asp:ListItem>9</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                            <asp:ListItem>10.5</asp:ListItem>
                            <asp:ListItem>11</asp:ListItem>
                            <asp:ListItem>12</asp:ListItem>
                            <asp:ListItem>14</asp:ListItem>
                            <asp:ListItem>16</asp:ListItem>
                            <asp:ListItem>18</asp:ListItem>
                            <asp:ListItem>20</asp:ListItem>
                            <asp:ListItem>22</asp:ListItem>
                            <asp:ListItem>24</asp:ListItem>
                            <asp:ListItem>26</asp:ListItem>
                            <asp:ListItem>28</asp:ListItem>
                            <asp:ListItem>36</asp:ListItem>
                            <asp:ListItem>48</asp:ListItem>
                            <asp:ListItem>72</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                <td style="height: 21px" colspan="2">
                        <asp:CheckBox ID="cbBold" runat="server" Text="粗体" />
                        <asp:CheckBox ID="cbItalic" runat="server" Text="斜体" />
                    &nbsp;
                    </td>
            </tr>
            <tr>
                <td colspan="5" rowspan="1" style="height: 26px; text-align: center">
                    <asp:Label ID="lbMsg" runat="server" ForeColor="Red" EnableViewState="False"></asp:Label></td>
            </tr>
            <tr>
                <td rowspan="1" style="width: 66px; height: 26px;">
                </td>
                <td style="width: 74px; height: 26px">
                </td>
                <td style="width: 121px; height: 26px">
                    <asp:Button ID="btnPapagraphSubmit" runat="server" Text="确定" OnClick="btnPapagraphSubmit_Click" />
                </td>
                <td style="width: 78px; height: 26px">
                    &nbsp;<asp:Button ID="btnPapagraphCancel" runat="server" Text="取消" />
                </td>
                <td style="width: 139px; height: 26px">
                </td>
            </tr>
        </table>
            <cc1:NumericUpDownExtender ID="NumericUpDownExtender8" runat="server" TargetControlID="tbLineSpacing" Enabled="True" Maximum="10" Minimum="0.25" RefValues="" ServiceDownMethod="" ServiceDownPath="" ServiceUpMethod="" Tag="" TargetButtonDownID="" TargetButtonUpID="" Width="70" Step="0.25">
            </cc1:NumericUpDownExtender>
            <cc1:NumericUpDownExtender ID="NumericUpDownExtender9" runat="server" Maximum="10"
                Minimum="-10" Step="0.5" TargetControlID="tbRightIndent" Width="70" Enabled="True" RefValues="" ServiceDownMethod="" ServiceDownPath="" ServiceUpMethod="" Tag="" TargetButtonDownID="" TargetButtonUpID="">
            </cc1:NumericUpDownExtender>
            <cc1:NumericUpDownExtender ID="NumericUpDownExtender10" runat="server" Maximum="10"
                Minimum="-10" Step="0.5" TargetControlID="tbCharacterUnitFirstLineIndent" Width="70" Enabled="True" RefValues="" ServiceDownMethod="" ServiceDownPath="" ServiceUpMethod="" Tag="" TargetButtonDownID="" TargetButtonUpID="">
            </cc1:NumericUpDownExtender>
            <cc1:NumericUpDownExtender ID="NumericUpDownExtender12" runat="server" Maximum="10"
                Minimum="-10" Step="0.5" TargetControlID="tbLeftIndent" Width="70" Enabled="True" RefValues="" ServiceDownMethod="" ServiceDownPath="" ServiceUpMethod="" Tag="" TargetButtonDownID="" TargetButtonUpID="">
            </cc1:NumericUpDownExtender>
                    &nbsp;&nbsp;
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </cc1:TabPanel>
    <cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">
        <HeaderTemplate>
            页面设置
        </HeaderTemplate>
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                <ContentTemplate>
        <table rules="none" style="border-right: lightgrey 1px dotted; border-top: lightgrey 1px dotted; border-left: lightgrey 1px dotted; border-bottom: lightgrey 1px dotted; border-collapse: separate;" cellpadding="1" cellspacing="1" width="100%" border="1">
            <tr>
                <td rowspan="2" style="width: 75px; text-align: center; border-right: gainsboro 1px solid;" valign="middle">
                    页边距</td>
                <td style="width: 69px; height: 27px; text-align: left;" valign="middle">
                    上</td>
                <td style="width: 129px; height: 27px;">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -