[rkward-cvs] SF.net SVN: rkward: [1460] trunk/rkward/rkward/plugins/x11device

kapatp at users.sourceforge.net kapatp at users.sourceforge.net
Fri Feb 23 17:33:54 UTC 2007


Revision: 1460
          http://svn.sourceforge.net/rkward/?rev=1460&view=rev
Author:   kapatp
Date:     2007-02-23 09:33:54 -0800 (Fri, 23 Feb 2007)

Log Message:
-----------
Export (new) update

Modified Paths:
--------------
    trunk/rkward/rkward/plugins/x11device/export_new.php
    trunk/rkward/rkward/plugins/x11device/export_new.rkh
    trunk/rkward/rkward/plugins/x11device/export_new.xml

Modified: trunk/rkward/rkward/plugins/x11device/export_new.php
===================================================================
--- trunk/rkward/rkward/plugins/x11device/export_new.php	2007-02-23 12:39:29 UTC (rev 1459)
+++ trunk/rkward/rkward/plugins/x11device/export_new.php	2007-02-23 17:33:54 UTC (rev 1460)
@@ -5,8 +5,10 @@
 function calculate () {
 	$type = getRK_val ("format");
 	$jpegpng = (($type == "jpeg") | ($type == "png"));
+	$file = getRK_val ("file");
 
-	$file = getRK_val ("file");
+	// Does the filename end with .ps/.eps or .pdf or .png or .jpeg/.jpg?
+	// If not, add the appropriate extension.
 	if (getRK_val ("autoextension")) {
 		if ($type == "jpeg") {
 			if (!( ereg("\.jpeg$",$file)|ereg("\.jpg$",$file) )) $file .= ".jpg";
@@ -16,26 +18,33 @@
 			$ext = "." . $type;
 			if (!ereg($ext."$",$file)) $file .= $ext;
 		}
-/*		$possible_ext = substr($file, -4);
-		if (strcasecmp($ext, $possible_ext) != 0) $file .= $ext;*/
-// 		if (!ereg($ext."$",$file)) $file .= $ext;
 	}
+
 	$options = "";
+
+	// set $resolution appropriately:
 	if ($jpegpng) {
-		$width = getRK_val ("width_px");
-		$height = getRK_val ("height_px");
-	} else {
-		$width = getRK_val ("width_in");
-		$height = getRK_val ("height_in");
+		$autores = getRK_val ("autores");
+		if ($autores) $resolution = 96;
+		else $resolution = getRK_val ("resolution");
+	} else $resolution = 1;
+
+	$autoW = getRK_val ("autowidth");	$autoH = getRK_val ("autoheight");
+
+	// jpeg()/png() need at least one of width/height. For jpeg()/png() the width/height parameter (in pixels)
+	// is calculated using width/height (in inches) times the resolution. For postscript()/pdf() $resolution is set to 1.
+	if ($jpegpng && $autoW && $autoH) $options .= ", width=par(\"din\")[1]*" . $resolution;
+	else {
+		if(!$autoW) $options .= ", width=" . getRK_val ("width")*$resolution;
+		if(!$autoH) $options .= ", height=" . getRK_val ("height")*$resolution;
 	}
 
-	if (!getRK_val ("autowidth")) $options .= ", width=" . $width;
-	if (!getRK_val ("autoheight")) $options .= ", height=" . $height;
+	// pointsize, resolution and quality parameters:
 	if (!getRK_val ("autopointsize")) $options .= ", pointsize=" . getRK_val ("pointsize");
-	if (($type == "jpeg") & (!getRK_val ("autoquality"))) $options .= ", quality=" . getRK_val ("quality");
-/*	if (!getRK_val ("color_transparent")) $options .= getRK_val ("bg.code.printout");
-	else $options .= ", bg=\"transparent\"";*/
-	if ($jpegpng & !getRK_val ("autores")) $options .= ", res=" . getRK_val ("resolution");
+	if ($jpegpng && !$autores)	$options .= ", res=" . $resolution;
+	if (($type == "jpeg") && (!getRK_val ("autoquality"))) $options .= ", quality=" . getRK_val ("quality");
+
+	// For ps/pdf: page, pagecentre, horizontal, family, encoding and title parameters:
 	if (!$jpegpng) {
 		$paper = getRK_val ("paper");
 		if (!empty ($paper)) $options .= ", paper=" . "\"" . $paper . "\"";

Modified: trunk/rkward/rkward/plugins/x11device/export_new.rkh
===================================================================
--- trunk/rkward/rkward/plugins/x11device/export_new.rkh	2007-02-23 12:39:29 UTC (rev 1459)
+++ trunk/rkward/rkward/plugins/x11device/export_new.rkh	2007-02-23 17:33:54 UTC (rev 1460)
@@ -4,32 +4,37 @@
 		Export the current contents of a graphics device to a postscript/pdf/png/jpeg file.
 	</summary>
 	<usage>
-		Chose a filename and filetype to save to. Additional options for size and resolution etc. are also available. Exporting is done using dev.print. Most of the exporting parameters are directly sent to the exporting function (postscript or pdf of png or jpeg) by <b>dev.print</b>. Note that there are no 'color' options (like background or foreground color) in this plugin. This is because dev.print simply prints the current graphics (mostly on X11) to the spedified file in the chosen format. To set background (or foreground) colors, these will need to be provided when calling the plotting function, mostly using <b>par</b>().
+		Chose an exporting function and a filename to save to. Additional options for size and resolution etc. are also available (see below). Exporting is done using <b>dev.print</b>. Most of the exporting parameters are directly sent to the exporting function (<b>postscript</b> or <b>pdf</b> or <b>png</b> or <b>jpeg</b>) by dev.print. Note that there are no 'color' options (like background or foreground color) in this plugin. This is because dev.print simply prints the current graphics (mostly on X11) to the spedified file in the chosen format. To set background (or foreground) colors, these will need to be provided when calling the plotting function, mostly using <b>par</b>().
 
 		This plugin is only available in the context of a graphics device.
 	</usage>
 	<settings>
 		<caption id="tab_file_and_type"/>
-		<setting id="file">The filename to save to. After checking for a proper file extension, this is the <i>file</i> parameter to dev.print.</setting>
-    <setting id="autoextension">Check this box to let RKWard detect the file extension automatically. If the filename specified in the filename box already has a relevant extension, then nothing is done, that is, the specified filename is used. Otherwise a relevant extension is appended to the filename above to construct the full filename.</setting>
+		<setting id="file">The filename to save to. By default the file will be saved in the directory from where RKWard was started, which is the user's home directory when started from K-menu. After checking for a proper file extension, this is the <i>file</i> parameter to dev.print.</setting>
+    <setting id="autoextension">Check this box to let RKWard detect the file extension automatically. If the filename specified in the 'File name' box already has a relevant extension, then nothing is done, that is, the specified filename is used. Otherwise a relevant extension is appended to the filename above to construct the full filename.</setting>
 		<setting id="format">Choose whether to use postscript or pdf or png or jpeg for exporting the file. This is the <i>device</i> parameter to dev.print.</setting>
-		<setting id="autowidth">Check this box to let the export function determine the width from the graphcis device. Uncheck this box to provide a width parameter to the exporting function. For JPEG/PNG formatting, the width is to be provided in pixels and at least one of width or height parameters has to be provided. For Postscript/PDF formatting, the width is provided in inches.
+		<setting id="autowidth">Check this box to let the export function determine the width automatically.</setting>
+<!--		<setting id="autowidth">Check this box to let the export function determine the width from the graphcis device. Uncheck this box to provide a width parameter to the exporting function. For JPEG/PNG formatting, the width is to be provided in pixels and at least one of width or height parameters has to be provided. For Postscript/PDF formatting, the width is provided in inches.
 
-			This determines the <i>width</i> parameter to the exporting function.</setting>
-		<setting id="autoheight">This is similar to 'autowidth' but for height.  This determines the <i>height</i> parameter to the exporting function.</setting>
+			This determines the <i>width</i> parameter to the exporting function.</setting>-->
+		<setting id="autoheight">This is similar to 'Automatic Width', but for height.</setting>
+		<setting id="width">This is the <i>width</i> parameter to the exporting function. This is specified in inches. For JPEG/PNG exports (which require width in pixels), the actual width is evaluated by multiplying the width value provided in inches with the resolution (in dpi, 'dots per inch'). So, width_pixels = width_inches * resolution_dpi. If resolution is set to 'Default Resolution' (see below under JPEG/PNG), then a value of 96 is used as the default resolution for exporting to jpeg or png. Otherwise the provided resolution value is used. None of these matter for exporting to Postscript/PDF where the width parameter is provided in inches.
+
+		<b>jpeg</b> or <b>png</b> functions need at least one of width/height to be provided. We override this restriction by reading in the width (in inches) from <b>par("din")[1]</b> and then setting 'par("din")[1] * resolution' as the width (in pixels) parameter value. Again, none of these are required for exporting to Postscript/PDF.</setting>
+		<setting id="height">This is the <i>height</i> parameter to the exporting function. Similar to 'Width'.</setting>
 		<setting id="pointsize">This is the <i>pointsize</i> parameter to dev.print.</setting>
 
 		<caption id="tab_pspdf_options"/>
-		<setting id="paper">Use this to set the papersize for export. Choose 'None' to not specify any paper option. Other options are explained in R reference for <b>postscript</b>. This is available only for Postscript/PDF exports. This is the <i>paper</i> option to the exporting function.</setting>
+		<setting id="paper">Use this to set the papersize for export. Choose 'Default' to not specify any paper option. Other options are explained in R reference for <b>postscript</b>. This is available only for Postscript/PDF exports. This is the <i>paper</i> option to the exporting function.</setting>
 		<setting id="pagecentre">Uncheck this for NOT centering the image on the page. This is the <i>pagecentre</i> parameter.</setting>
 		<setting id="ps_horiz">Available only for Postscript exporting, this is the <i>horizontal</i> parameter.</setting>
-		<setting id="family">This is the <i>family</i> parameter to <b>postscript</b>. Be sure to chooe a family that is available on the machine. When in doubt leave this as 'None', the default family (Helvectica) will be used. See the R reference on postscript for more details.</setting>
-		<setting id="encoding">This is the <i>encoding</i> parameter to <b>postscript</b>. Be sure to chooe an encoding compatible with the chosen font family. When in doubt leave this 'as None', the default encoding (ISOLAtin1) will be used. See the R reference on postscript for more details.</setting>
+		<setting id="family">This is the <i>family</i> parameter to <b>postscript</b>. Be sure to chooe a family that is available on the machine. The 'URW' class of font families require ghostscript. When in doubt leave this as 'Default', the default family (Helvectica) will be used. See the R reference on postscript for more details.</setting>
+		<setting id="encoding">This is the <i>encoding</i> parameter to <b>postscript</b>. Be sure to chooe an encoding compatible with the chosen font family. When in doubt leave this as 'Default', the default encoding (ISOLatin1) will be used. See the R reference on postscript for more details.</setting>
 		<setting id="autotitle">Uncheck this box, to specify a custom title to the graphics file. Note that this is not displayed on the plot, but rather it is embeded inside the grpahics file. This is the <i>title</i> parameter to <b>postscript</b>.</setting>
 
 		<caption id="tab_pngjpeg_options"/>
-		<setting id="resolution">Available only for PNG/JPEG, this is the <i>res</i> parameter to dev.print.</setting>
-		<setting id="quality">Available only for JPEG. Set the quality for exporting to JPEG. This options is disabled for exporting to PNG. This is the <i>quality</i> parameter to dev.print.</setting>
+		<setting id="resolution">Available only for PNG/JPEG, this is the <i>res</i> parameter to dev.print. This value is used in converting from width/height in pixels to inches as described above (under 'Width'). The default resolution (when 'Default Resolution' is checked) is 96.</setting>
+		<setting id="quality">Available only for JPEG, this is the <i>quality</i> parameter to <b>jpeg</b>. Sets the quality for JPEG exporting. The default quality is 75.</setting>
 	</settings>
 	<related>
 		<ul>
@@ -38,6 +43,7 @@
 			<li><link href="rkward://rhelp/pdf"/></li>
 			<li><link href="rkward://rhelp/png"/></li>
 			<li><link href="rkward://rhelp/jpeg"/></li>
+			<li><link href="rkward://rhelp/par"/></li>
 		</ul>
 	</related>
 </document>

Modified: trunk/rkward/rkward/plugins/x11device/export_new.xml
===================================================================
--- trunk/rkward/rkward/plugins/x11device/export_new.xml	2007-02-23 12:39:29 UTC (rev 1459)
+++ trunk/rkward/rkward/plugins/x11device/export_new.xml	2007-02-23 17:33:54 UTC (rev 1460)
@@ -15,22 +15,24 @@
 		<connect client="tab_pngjpeg_options.enabled" governor="isJPEGPNG" />
 		<connect client="tab_pspdf_options.enabled" governor="isPSPDF" />
 
-		<connect client="quality.enabled" governor="isJPEG" />
 		<connect client="autoquality.enabled" governor="isJPEG" />
+		<connect client="ps_horiz.enabled" governor="isPS"/>
 
 		<convert id="userwidth0" mode="equals" sources="autowidth.state" standard="0" />
+		<connect client="width.enabled" governor="userwidth0"/>
 
-		<convert id="userwidth_isJPEGPNG" mode="and" sources="userwidth0;isJPEGPNG" />
+		<!--		<convert id="userwidth_isJPEGPNG" mode="and" sources="userwidth0;isJPEGPNG" />
 		<connect client="width_px.enabled" governor="userwidth_isJPEGPNG"/>
 		<connect client="width_px.visible" governor="isJPEGPNG"/>
 
 		<convert id="userwidth_isPSPDF" mode="and" sources="userwidth0;isPSPDF" />
 		<connect client="width_in.enabled" governor="userwidth_isPSPDF"/>
-		<connect client="width_in.visible" governor="isPSPDF"/>
+		<connect client="width_in.visible" governor="isPSPDF"/>-->
 
 		<convert id="userheight0" mode="equals" sources="autoheight.state" standard="0" />
+		<connect client="height.enabled" governor="userheight0"/>
 
-		<convert id="userheight_isJPEGPNG" mode="and" sources="userheight0;isJPEGPNG" />
+		<!--		<convert id="userheight_isJPEGPNG" mode="and" sources="userheight0;isJPEGPNG" />
 		<connect client="height_px.enabled" governor="userheight_isJPEGPNG"/>
 		<connect client="height_px.visible" governor="isJPEGPNG"/>
 
@@ -42,10 +44,10 @@
 		<convert id="userwidth0ORheight0_isJPEGPNG" mode="and" sources="userwidth0ORheight0;isJPEGPNG"/>
 		<convert id="truestate" mode="or" sources="userwidth0ORheight0_isJPEGPNG;isPS;isPDF" require_true="true"/>
 		<convert id="wh_both1" mode="and" sources="autoheight.state;autowidth.state;isJPEGPNG" />
-		<convert id="wh_both_not1" sources="wh_both1" mode="notequals" standard="true"/>
-<!--		<connect client="wh_txt_2.visible" governor="userwidth0ORheight0"/>-->
-		<connect client="wh_txt_1.visible" governor="wh_both1"/>
-		<connect client="wh_txt_2.visible" governor="wh_both_not1"/>
+		<convert id="wh_both_not1" sources="wh_both1" mode="notequals" standard="true"/>-->
+		<!--		<connect client="wh_txt_2.visible" governor="userwidth0ORheight0"/>-->
+		<!--		<connect client="wh_txt_1.visible" governor="wh_both1"/>
+		<connect client="wh_txt_2.visible" governor="wh_both_not1"/>-->
 
 		<convert id="userpointsize0" mode="equals" sources="autopointsize.state" standard="0" />
 		<connect client="pointsize.enabled" governor="userpointsize0"/>
@@ -54,14 +56,14 @@
 		<convert id="userres" mode="and" sources="userres0;isJPEGPNG" />
 		<connect client="resolution.enabled" governor="userres"/>
 
-<!-- 		<convert id="userbg0" mode="equals" sources="autobg.state" standard="0" /> -->
-<!-- 		<convert id="usertransparent0" mode="equals" sources="color_transparent.state" standard="0" /> -->
-<!--		<convert id="userbg" mode="and" sources="userbg0;isJPEGPNG" />
+		<!-- 		<convert id="userbg0" mode="equals" sources="autobg.state" standard="0" /> -->
+		<!-- 		<convert id="usertransparent0" mode="equals" sources="color_transparent.state" standard="0" /> -->
+		<!--		<convert id="userbg" mode="and" sources="userbg0;isJPEGPNG" />
 		<connect client="color_transparent.enabled" governor="userbg"/>
 		<convert id="userbgtransparent" mode="and" sources="userbg;usertransparent0" />-->
-<!-- 		<connect client="bg.color_enabled" governor="usertransparent0"/> -->
-<!-- 		<set id="bg.argument" to=", bg="/> -->
-<!-- 		<set id="bg.default_color" to="white"/> -->
+		<!-- 		<connect client="bg.color_enabled" governor="usertransparent0"/> -->
+		<!-- 		<set id="bg.argument" to=", bg="/> -->
+		<!-- 		<set id="bg.default_color" to="white"/> -->
 
 		<convert id="userquality0" mode="equals" sources="autoquality.state" standard="0" />
 		<convert id="userquality" mode="and" sources="userquality0;autoquality.enabled" />
@@ -69,18 +71,15 @@
 
 		<convert id="usertitle0" mode="equals" sources="autotitle.state" standard="0" />
 		<connect client="title.enabled" governor="usertitle0"/>
-
-		<connect client="ps_horiz.enabled" governor="isPS"/>
 	</logic>
+
 	<dialog label="Export contents of graphics device to png/jpeg format">
 		<tabbook>
 			<tab id="tab_file_and_type" label="Filename/Type">
 				<row>
 					<column>
-<!--             <frame> -->
-							<browser size="medium" id="file" label="File name" initial="Rplot" />
-							<checkbox id="autoextension" value="1" value_unchecked="0" checked="true" label="Automatic File extension"/>
-<!--             </frame> -->
+						<browser size="medium" id="file" label="File name" initial="~/Rplot" filter="*.ps *.eps *.pdf *.png *.jpg *.jpeg"/>
+						<checkbox id="autoextension" value="1" value_unchecked="0" checked="true" label="Automatic File extension"/>
 					</column>
 					<column>
 						<radio id="format" label="Output format" >
@@ -93,22 +92,24 @@
 				</row>
 				<row>
 					<frame id="generic_options" label="Generic Export Options">
-						<text id="wh_txt_1">Either Width or Height has to be provided for PNG/JPEG export!!</text>
-						<text id="wh_txt_2">                                                               </text>
+						<!--						<text id="wh_txt_1">Either Width or Height has to be provided for PNG/JPEG export!!</text>
+						<text id="wh_txt_2">                                                               </text>-->
 						<row>
 							<column>
-								<checkbox id="autowidth" value="1" value_unchecked="0" checked="false" label="Automatic Width"/>
-								<spinbox id="width_px" label="Width in pixels" min="20" initial="480" default_precision="1"/>
-								<spinbox id="width_in" label="Width in inches" min="0" initial="6" default_precision="1"/>
+								<checkbox id="autowidth" value="1" value_unchecked="0" checked="true" label="Automatic Width"/>
+								<!--								<spinbox id="width_px" label="Width in pixels" min="20" initial="480" default_precision="1"/>
+								<spinbox id="width_in" label="Width in inches" min="0" initial="6" default_precision="1"/>-->
+								<spinbox id="width" label="Width in inches" min="0" initial="6" default_precision="1"/>
 							</column>
 							<column>
-								<checkbox id="autoheight" value="1" value_unchecked="0" checked="false" label="Automatic Height"/>
-								<spinbox id="height_px" label="Height in pixels" min="20" initial="480" default_precision="1" />
-								<spinbox id="height_in" label="Height in inches" min="0" initial="6" default_precision="1" />
+								<checkbox id="autoheight" value="1" value_unchecked="0" checked="true" label="Automatic Height"/>
+								<!--								<spinbox id="height_px" label="Height in pixels" min="20" initial="480" default_precision="1" />
+								<spinbox id="height_in" label="Height in inches" min="0" initial="6" default_precision="1" />-->
+								<spinbox id="height" label="Height in inches" min="0" initial="6" default_precision="1" />
 							</column>
 							<column>
 								<checkbox id="autopointsize" value="1" value_unchecked="0" checked="true" label="Default pointsize"/>
-								<spinbox id="pointsize" label="Point size" min="0" initial="12"  default_precision="1"/>
+								<spinbox id="pointsize" label="Point size" min="0" initial="12"  default_precision="1" />
 							</column>
 						</row>
 					</frame>
@@ -117,97 +118,85 @@
 			</tab>
 
 			<tab id="tab_pspdf_options" label="Postscript/PDF">
-<!-- 				<frame id="page_properties" label="Page properties"> -->
+				<row>
+					<column>
+						<dropdown id="paper" label="Paper Size">
+							<option value="" label="Default" checked="true"/>
+							<option value="a4" label="A4"/>
+							<option value="letter" label="Letter"/>
+							<option value="legal" label="Legal"/>
+							<option value="executive" label="Executive"/>
+							<option value="special" label="Special"/>
+						</dropdown>
+					</column>
+					<column>
+						<frame>
+							<checkbox id="pagecentre" value="1" value_unchecked="0" checked="true" label="Pagecentre"/>
+							<checkbox id="ps_horiz" value="1" value_unchecked="0" checked="true" label="Horizontal (postscript only)"/>
+						</frame>
+					</column>
+				</row>
+				<frame id="font_properties" label="Font properties">
 					<row>
+						<dropdown id="family" label="Font family">
+							<option value="" label="Default" checked="true"/>
+							<option value="AvantGarde" label="AvantGarde"/>
+							<option value="Bookman" label="Bookman"/>
+							<option value="Courier" label="Courier"/>
+							<option value="Helvectica" label="Helvectica"/>
+							<option value="Helvectica-Narrow" label="Helvectica Narrow"/>
+							<option value="mono" label="Mono"/>
+							<option value="NewCenturySchoolbook" label="New Century Schoolbook"/>
+							<option value="Palatino" label="Palatino"/>
+							<option value="sans" label="Sans"/>
+							<option value="serif" label="Serif"/>
+							<option value="symbol" label="Symbol"/>
+							<option value="Times" label="Times"/>
+							<option value="CenturySch" label="CenturySch (URW)"/>
+							<option value="NimbusMon" label="NimbusMon (URW)"/>
+							<option value="NimbusSanCond" label="NimbusSanCond (URW)"/>
+							<option value="URWBookman" label="URWBookman"/>
+							<option value="URWHelvectica" label="URWHelvectica"/>
+							<option value="URWGothic" label="URWGothic"/>
+							<option value="URWPalladio" label="URWPalladio"/>
+							<option value="URWTimes" label="URWTimes"/>
+						</dropdown>
+						<dropdown id="encoding" label="Font Encoding">
+							<option value="" label="Default" checked="true"/>
+							<option value="ISOLatin1.enc" label="ISOLatin1"/>
+							<option value="ISOLatin2.enc" label="ISOLatin2"/>
+							<option value="CP1250.enc" label="CP1250"/>
+							<option value="ISOLatin7.enc" label="ISOLatin7"/>
+							<option value="CP1257.enc" label="CP1257"/>
+							<option value="ISOLatin9.enc" label="ISOLatin9"/>
+							<option value="PDFDoc.enc" label="PDFDoc"/>
+						</dropdown>
+					</row>
+				</frame>
+				<frame id="title_properties" label="Title embeded in file">
+					<row>
 						<column>
-				<dropdown id="paper" label="Paper Size">
-					<option value="" label="None" checked="true"/>
-					<option value="a4" label="A4"/>
-					<option value="letter" label="Letter"/>
-					<option value="legal" label="Legal"/>
-					<option value="executive" label="Executive"/>
-					<option value="special" label="Special"/>
-					<option value="default" label="Use 'papersize' definition"/>
-				</dropdown>
+							<checkbox id="autotitle" value="1" value_unchecked="0" checked="true" label="Default Title"/>
 						</column>
 						<column>
-							<frame>
-					<checkbox id="pagecentre" value="1" value_unchecked="0" checked="true" label="Pagecentre"/>
-					<checkbox id="ps_horiz" value="1" value_unchecked="0" checked="true" label="Horizontal (postscript only)"/>
-							</frame>
+							<input id="title" size="small" initial="R Graphics Output"/>
 						</column>
 					</row>
-<!-- 				</frame> -->
-					<frame id="font_properties" label="Font properties">
-						<row>
-				<dropdown id="family" label="Font family">
-					<option value="" label="None" checked="true"/>
-					<option value="AvantGarde" label="AvantGarde"/>
-					<option value="Bookman" label="Bookman"/>
-					<option value="Courier" label="Courier"/>
-					<option value="Helvectica" label="Helvectica"/>
-					<option value="Helvectica-Narrow" label="Helvectica Narrow"/>
-					<option value="mono" label="Mono"/>
-					<option value="NewCenturySchoolbook" label="New Century Schoolbook"/>
-					<option value="Palatino" label="Palatino"/>
-					<option value="sans" label="Sans"/>
-					<option value="serif" label="Serif"/>
-					<option value="symbol" label="Symbol"/>
-					<option value="Times" label="Times"/>
-					<option value="CenturySch" label="CenturySch (URW)"/>
-					<option value="NimbusMon" label="NimbusMon (URW)"/>
-					<option value="NimbusSanCond" label="NimbusSanCond (URW)"/>
-					<option value="URWBookman" label="URWBookman"/>
-					<option value="URWHelvectica" label="URWHelvectica"/>
-					<option value="URWGothic" label="URWGothic"/>
-					<option value="URWPalladio" label="URWPalladio"/>
-					<option value="URWTimes" label="URWTimes"/>
-				</dropdown>
-				<dropdown id="encoding" label="Font Encoding">
-					<option value="" label="None" checked="true"/>
-					<option value="ISOLatin1.enc" label="ISOLatin1"/>
-					<option value="ISOLatin2.enc" label="ISOLatin2"/>
-					<option value="CP1250.enc" label="CP1250"/>
-					<option value="ISOLatin7.enc" label="ISOLatin7"/>
-					<option value="CP1257.enc" label="CP1257"/>
-					<option value="ISOLatin9.enc" label="ISOLatin9"/>
-					<option value="PDFDoc.enc" label="PDFDoc"/>
-				</dropdown>
-			</row>
-			</frame>
-			<frame id="title_properties" label="Title embeded in file">
+				</frame>
+			</tab>
+
+			<tab id="tab_pngjpeg_options" label="PNG/JPEG">
 				<row>
 					<column>
-					<checkbox id="autotitle" value="1" value_unchecked="0" checked="true" label="Default Title"/>
-				</column>
+						<checkbox id="autores" value="1" value_unchecked="0" checked="true" label="Default Resolution"/>
+						<spinbox id="resolution" label="Resolution (dpi)" type="integer" min="0" initial="96" default_precision="1"/>
+					</column>
 					<column>
-					<input id="title" size="small" initial="R Graphics Output"/>
-				</column>
+						<checkbox id="autoquality" value="1" value_unchecked="0" checked="true" label="Default Quality"/>
+						<spinbox label="JPEG Quality" id="quality" min="0" max="100" initial="75" default_precision="1"/>
+					</column>
 				</row>
-			</frame>
 			</tab>
-
-			<tab id="tab_pngjpeg_options" label="PNG/JPEG">
-<!-- 					<column> -->
-<!-- 						<frame> -->
-<!-- 							<checkbox id="autobg" value="1" value_unchecked="0" checked="true" label="Default Background"/> -->
-<!-- 							<checkbox id="color_transparent" value="1" value_unchecked="0" checked="false" label="Transparent Background"/> -->
-<!-- 							<embed id="bg" component="rkward::color_chooser" label="Background"/> -->
-<!-- 						</frame> -->
-<!-- 					</column> -->
-					<frame>
-						<row>
-							<column>
-								<checkbox id="autores" value="1" value_unchecked="0" checked="true" label="Default Resolution"/>
-								<spinbox id="resolution" label="Resolution (dpi)" min="0" initial="72" default_precision="1"/>
-							</column>
-							<column>
-								<checkbox id="autoquality" value="1" value_unchecked="0" checked="true" label="Default Quality"/>
-								<spinbox label="JPEG Quality" id="quality" min="0" max="100" initial="75" default_precision="1"/>
-							</column>
-						</row>
-					</frame>
-			</tab>
 		</tabbook>
 	</dialog>
 </document>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list