<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <global name="File" module="OFS.Image"/>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>_Cacheable__manager_id</string> </key>
            <value> <string>http_cache</string> </value>
        </item>
        <item>
            <key> <string>_EtagSupport__etag</string> </key>
            <value> <string>ts83858910.03</string> </value>
        </item>
        <item>
            <key> <string>__name__</string> </key>
            <value> <string>fck_tablecell.html</string> </value>
        </item>
        <item>
            <key> <string>content_type</string> </key>
            <value> <string>text/html</string> </value>
        </item>
        <item>
            <key> <string>data</string> </key>
            <value> <string encoding="cdata"><![CDATA[

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >\r\n
<!--\r\n
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r\n
 * Copyright (C) 2003-2010 Frederico Caldeira Knabben\r\n
 *\r\n
 * == BEGIN LICENSE ==\r\n
 *\r\n
 * Licensed under the terms of any of the following licenses at your\r\n
 * choice:\r\n
 *\r\n
 *  - GNU General Public License Version 2 or later (the "GPL")\r\n
 *    http://www.gnu.org/licenses/gpl.html\r\n
 *\r\n
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r\n
 *    http://www.gnu.org/licenses/lgpl.html\r\n
 *\r\n
 *  - Mozilla Public License Version 1.1 or later (the "MPL")\r\n
 *    http://www.mozilla.org/MPL/MPL-1.1.html\r\n
 *\r\n
 * == END LICENSE ==\r\n
 *\r\n
 * Cell properties dialog window.\r\n
-->\r\n
<html xmlns="http://www.w3.org/1999/xhtml">\r\n
<head>\r\n
\t<title>Table Cell Properties</title>\r\n
\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\r\n
\t<meta name="robots" content="noindex, nofollow" />\r\n
\t<script src="common/fck_dialog_common.js" type="text/javascript"></script>\r\n
\t<script type="text/javascript">\r\n
\r\n
var dialog\t= window.parent ;\r\n
var oEditor = dialog.InnerDialogLoaded() ;\r\n
\r\n
var FCKDomTools = oEditor.FCKDomTools ;\r\n
\r\n
// Array of selected Cells\r\n
var aCells = oEditor.FCKTableHandler.GetSelectedCells() ;\r\n
\r\n
window.onload = function()\r\n
{\r\n
\t// First of all, translate the dialog box texts\r\n
\toEditor.FCKLanguageManager.TranslatePage( document ) ;\r\n
\r\n
\tSetStartupValue() ;\r\n
\r\n
\tdialog.SetOkButton( true ) ;\r\n
\tdialog.SetAutoSize( true ) ;\r\n
\tSelectField( \'txtWidth\' ) ;\r\n
}\r\n
\r\n
function SetStartupValue()\r\n
{\r\n
\tif ( aCells.length > 0 )\r\n
\t{\r\n
\t\tvar oCell = aCells[0] ;\r\n
\t\tvar iWidth = GetAttribute( oCell, \'width\' ) ;\r\n
\r\n
\t\tif ( iWidth.indexOf && iWidth.indexOf( \'%\' ) >= 0 )\r\n
\t\t{\r\n
\t\t\tiWidth = iWidth.substr( 0, iWidth.length - 1 ) ;\r\n
\t\t\tGetE(\'selWidthType\').value = \'percent\' ;\r\n
\t\t}\r\n
\r\n
\t\tif ( oCell.attributes[\'noWrap\'] != null && oCell.attributes[\'noWrap\'].specified )\r\n
\t\t\tGetE(\'selWordWrap\').value = !oCell.noWrap ;\r\n
\r\n
\t\tGetE(\'txtWidth\').value\t\t\t= iWidth ;\r\n
\t\tGetE(\'txtHeight\').value\t\t\t= GetAttribute( oCell, \'height\' ) ;\r\n
\t\tGetE(\'selHAlign\').value\t\t\t= GetAttribute( oCell, \'align\' ) ;\r\n
\t\tGetE(\'selVAlign\').value\t\t\t= GetAttribute( oCell, \'vAlign\' ) ;\r\n
\t\tGetE(\'txtRowSpan\').value\t\t= GetAttribute( oCell, \'rowSpan\' ) ;\r\n
\t\tGetE(\'txtCollSpan\').value\t\t= GetAttribute( oCell, \'colSpan\' ) ;\r\n
\t\tGetE(\'txtBackColor\').value\t\t= GetAttribute( oCell, \'bgColor\' ) ;\r\n
\t\tGetE(\'txtBorderColor\').value\t= GetAttribute( oCell, \'borderColor\' ) ;\r\n
\t\tGetE(\'selCellType\').value     = oCell.nodeName.toLowerCase() ;\r\n
\t}\r\n
}\r\n
\r\n
// Fired when the user press the OK button\r\n
function Ok()\r\n
{\r\n
\toEditor.FCKUndo.SaveUndoStep() ;\r\n
\r\n
\tfor( i = 0 ; i < aCells.length ; i++ )\r\n
\t{\r\n
\t\tif ( GetE(\'txtWidth\').value.length > 0 )\r\n
\t\t\taCells[i].width\t= GetE(\'txtWidth\').value + ( GetE(\'selWidthType\').value == \'percent\' ? \'%\' : \'\') ;\r\n
\t\telse\r\n
\t\t\taCells[i].removeAttribute( \'width\', 0 ) ;\r\n
\r\n
\t\tif ( GetE(\'selWordWrap\').value == \'false\' )\r\n
\t\t\tSetAttribute( aCells[i], \'noWrap\', \'nowrap\' ) ;\r\n
\t\telse\r\n
\t\t\taCells[i].removeAttribute( \'noWrap\' ) ;\r\n
\r\n
\t\tSetAttribute( aCells[i], \'height\'\t\t, GetE(\'txtHeight\').value ) ;\r\n
\t\tSetAttribute( aCells[i], \'align\'\t\t, GetE(\'selHAlign\').value ) ;\r\n
\t\tSetAttribute( aCells[i], \'vAlign\'\t\t, GetE(\'selVAlign\').value ) ;\r\n
\t\tSetAttribute( aCells[i], \'rowSpan\'\t\t, GetE(\'txtRowSpan\').value ) ;\r\n
\t\tSetAttribute( aCells[i], \'colSpan\'\t\t, GetE(\'txtCollSpan\').value ) ;\r\n
\t\tSetAttribute( aCells[i], \'bgColor\'\t\t, GetE(\'txtBackColor\').value ) ;\r\n
\t\tSetAttribute( aCells[i], \'borderColor\'\t, GetE(\'txtBorderColor\').value ) ;\r\n
\r\n
\t\tvar cellType = GetE(\'selCellType\').value ;\r\n
\t\tif ( aCells[i].nodeName.toLowerCase() != cellType )\r\n
\t\t\taCells[i] = RenameNode( aCells[i], cellType ) ;\r\n
\t}\r\n
\r\n
\t// The cells need to be reselected, otherwise the caret will appear inside the table borders (Gecko)\r\n
\t// or sent back to the beginning of the document (Opera and Safari).\r\n
\t// Strangely, IE works ok so no change is needed for IE.\r\n
\tif ( !oEditor.FCKBrowserInfo.IsIE )\r\n
\t{\r\n
\t\tvar selection = oEditor.FCK.EditorWindow.getSelection() ;\r\n
\t\tselection.removeAllRanges() ;\r\n
\t\tfor ( var i = 0 ; i < aCells.length ; i++ )\r\n
\t\t{\r\n
\t\t\tvar range = oEditor.FCK.EditorDocument.createRange() ;\r\n
\t\t\trange.selectNode( aCells[i] ) ;\r\n
\t\t\tselection.addRange( range ) ;\r\n
\t\t}\r\n
\t}\r\n
\r\n
\treturn true ;\r\n
}\r\n
\r\n
function SelectBackColor( color )\r\n
{\r\n
\tif ( color && color.length > 0 )\r\n
\t\tGetE(\'txtBackColor\').value = color ;\r\n
}\r\n
\r\n
function SelectBorderColor( color )\r\n
{\r\n
\tif ( color && color.length > 0 )\r\n
\t\tGetE(\'txtBorderColor\').value = color ;\r\n
}\r\n
\r\n
function SelectColor( wich )\r\n
{\r\n
\toEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', oEditor.FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, wich == \'Back\' ? SelectBackColor : SelectBorderColor ) ;\r\n
}\r\n
\r\n
\t</script>\r\n
</head>\r\n
<body scroll="no" style="overflow: hidden">\r\n
\t<table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%">\r\n
\t\t<tr>\r\n
\t\t\t<td>\r\n
\t\t\t\t<table cellspacing="1" cellpadding="1" width="100%" border="0">\r\n
\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t<table cellspacing="0" cellpadding="0" border="0">\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td nowrap="nowrap">\r\n
\t\t\t\t\t\t\t\t\t\t<span fcklang="DlgCellWidth">Width</span>:</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;<input onkeypress="return IsDigit(event);" id="txtWidth" type="text" maxlength="4"\r\n
\t\t\t\t\t\t\t\t\t\t\tsize="3" />&nbsp;<select id="selWidthType">\r\n
\t\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellWidthPx" value="pixels" selected="selected">pixels</option>\r\n
\t\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellWidthPc" value="percent">percent</option>\r\n
\t\t\t\t\t\t\t\t\t\t\t</select></td>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td nowrap="nowrap">\r\n
\t\t\t\t\t\t\t\t\t\t<span fcklang="DlgCellHeight">Height</span>:</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;<input id="txtHeight" type="text" maxlength="4" size="3" onkeypress="return IsDigit(event);" />&nbsp;<span\r\n
\t\t\t\t\t\t\t\t\t\t\tfcklang="DlgCellWidthPx">pixels</span></td>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;</td>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td nowrap="nowrap">\r\n
\t\t\t\t\t\t\t\t\t\t<span fcklang="DlgCellWordWrap">Word Wrap</span>:</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;<select id="selWordWrap">\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellWordWrapYes" value="true" selected="selected">Yes</option>\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellWordWrapNo" value="false">No</option>\r\n
\t\t\t\t\t\t\t\t\t\t</select></td>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;</td>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td nowrap="nowrap">\r\n
\t\t\t\t\t\t\t\t\t\t<span fcklang="DlgCellHorAlign">Horizontal Alignment</span>:</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;<select id="selHAlign">\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellHorAlignNotSet" value="" selected>&lt;Not set&gt;</option>\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellHorAlignLeft" value="left">Left</option>\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellHorAlignCenter" value="center">Center</option>\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellHorAlignRight" value="right">Right</option>\r\n
\t\t\t\t\t\t\t\t\t\t</select></td>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td nowrap="nowrap">\r\n
\t\t\t\t\t\t\t\t\t\t<span fcklang="DlgCellVerAlign">Vertical Alignment</span>:</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;<select id="selVAlign">\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellVerAlignNotSet" value="" selected>&lt;Not set&gt;</option>\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellVerAlignTop" value="top">Top</option>\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellVerAlignMiddle" value="middle">Middle</option>\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellVerAlignBottom" value="bottom">Bottom</option>\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellVerAlignBaseline" value="baseline">Baseline</option>\r\n
\t\t\t\t\t\t\t\t\t\t</select></td>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t</table>\r\n
\t\t\t\t\t\t</td>\r\n
\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t&nbsp;&nbsp;&nbsp;</td>\r\n
\t\t\t\t\t\t<td align="right">\r\n
\t\t\t\t\t\t\t<table cellspacing="0" cellpadding="0" border="0">\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td nowrap="nowrap">\r\n
\t\t\t\t\t\t\t\t\t <span fcklang="DlgCellType">Cell Type</span>:</td>\r\n
\t\t\t\t\t\t\t\t\t<td colspan="2">\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp; <select id="selCellType">\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellTypeData" value="td">Data</option>\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellTypeHeader" value="th">Header</option>\r\n
\t\t\t\t\t\t\t\t\t\t</select>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;</td>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td nowrap="nowrap">\r\n
\t\t\t\t\t\t\t\t\t\t<span fcklang="DlgCellRowSpan">Rows Span</span>:</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;\r\n
\t\t\t\t\t\t\t\t\t\t<input onkeypress="return IsDigit(event);" id="txtRowSpan" type="text" maxlength="3" size="2"\r\n
\t\t\t\t\t\t\t\t\t\t\t></td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t</td>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td nowrap="nowrap">\r\n
\t\t\t\t\t\t\t\t\t\t<span fcklang="DlgCellCollSpan">Columns Span</span>:</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;\r\n
\t\t\t\t\t\t\t\t\t\t<input onkeypress="return IsDigit(event);" id="txtCollSpan" type="text" maxlength="2"\r\n
\t\t\t\t\t\t\t\t\t\t\tsize="2"></td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t</td>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;</td>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td nowrap="nowrap">\r\n
\t\t\t\t\t\t\t\t\t\t<span fcklang="DlgCellBackColor">Background Color</span>:</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;<input id="txtBackColor" type="text" size="8" /></td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;\r\n
\t\t\t\t\t\t\t\t\t\t<input type="button" fcklang="DlgCellBtnSelect" value="Select..." onclick="SelectColor( \'Back\' )"></td>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
\t\t\t\t\t\t\t\t\t<td nowrap="nowrap">\r\n
\t\t\t\t\t\t\t\t\t\t<span fcklang="DlgCellBorderColor">Border Color</span>:</td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;<input id="txtBorderColor" type="text" size="8" /></td>\r\n
\t\t\t\t\t\t\t\t\t<td>\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp;\r\n
\t\t\t\t\t\t\t\t\t\t<input type="button" fcklang="DlgCellBtnSelect" value="Select..." onclick="SelectColor( \'Border\' )" /></td>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t</table>\r\n
\t\t\t\t\t\t</td>\r\n
\t\t\t\t\t</tr>\r\n
\t\t\t\t</table>\r\n
\t\t\t</td>\r\n
\t\t</tr>\r\n
\t</table>\r\n
</body>\r\n
</html>\r\n


]]></string> </value>
        </item>
        <item>
            <key> <string>precondition</string> </key>
            <value> <string></string> </value>
        </item>
        <item>
            <key> <string>size</string> </key>
            <value> <int>9936</int> </value>
        </item>
        <item>
            <key> <string>title</string> </key>
            <value> <string></string> </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
