CONVERT_ABAPSPOOLJOB_2_PDF doesnt prompt to save the filename
Dear all
Here with this i m getting the spool but CONVERT_ABAPSPOOLJOB_2_PDF doesnt prompt to save the PDF file . Do i need to use GUI_DOWNLOAD along with this .
PlllllZZZZZZ...... suggest
SELECT SINGLE * FROM ZPLH WHERE VBELN = SSORD
AND POSNR = ITNO.
IF SY-SUBRC EQ 0.
DATA : v_jobcount LIKE tbtcjob-jobcount,
ZTEST LIKE TBTCJOB-JOBNAME.
*-- run in the background
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = 'ZTEST'
IMPORTING
jobcount = v_jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
EXIT.
ENDIF.
*-- submit the program in the background
SUBMIT ZPP_REP_ENCLOSURE_PACKLIST3
WITH JOBNO = SSORD
WITH LINENO = ITNO
USER sy-uname
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
DESTINATION 'LOHP'
IMMEDIATELY 'X'
KEEP IN SPOOL 'X'
VIA JOB 'ZTEST' NUMBER v_jobcount AND RETURN.
IF SY-SUBRC = 0.
* Job scheduled successfully
ENDIF.
IF SY-SUBRC = 4.
*Job scheduling terminated by user
ENDIF.
IF SY-SUBRC = 8.
*Error in job scheduling (JOB_SUBMIT)
ENDIF.
IF SY-SUBRC = 12.
*Error in internal number assignment .
ENDIF.
*-- close the job
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = v_jobcount
jobname = 'ZTEST'
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'W' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
clear tbtcp.
STEP = 1.
select single listident from tbtcp
into tbtcp-listident
where jobname = 'ZTEST'
and jobcount = v_jobcount
and stepcount = step.
IF SY-SUBRC EQ 0.
move tbtcp-listident to spool_id.
ENDIF.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = SPOOL_ID
NO_DIALOG = ''
DST_DEVICE = 'LOHP' "E_DEVTYPE
PDF_DESTINATION = 'LOHP'
IMPORTING
PDF_BYTECOUNT = BTC
PDF_SPOOLID =
LIST_PAGECOUNT =
BTC_JOBNAME =
BTC_JOBCOUNT =
TABLES
PDF = T_SPOOL_2_PDF
EXCEPTIONS
ERR_NO_ABAP_SPOOLJOB = 1
ERR_NO_SPOOLJOB = 2
ERR_NO_PERMISSION = 3
ERR_CONV_NOT_POSSIBLE = 4
ERR_BAD_DESTDEVICE = 5
USER_CANCELLED = 6
ERR_SPOOLERROR = 7
ERR_TEMSEERROR = 8
ERR_BTCJOB_OPEN_FAILED = 9
ERR_BTCJOB_SUBMIT_FAILED = 10
ERR_BTCJOB_CLOSE_FAILED = 11
OTHERS = 12
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ELSE.
TEXT02 = ITNO.
MESSAGE I014(ZQOTBANK) WITH TEXT02.
ENDIF.
Thnx
Moni
Hi MD,
I download the result of the function like this :
call function 'CONVERT_OTFSPOOLJOB_2_PDF'
exporting
src_spoolid = v_spoolid
NO_DIALOG = 'X'
IMPORTING
PDF_BYTECOUNT = v_numbytes
TABLES
PDF = it_pdf.
call function 'DOWNLOAD'
exporting
bin_filesize = v_numbytes
filetype = 'BIN'
importing
act_filename = v_filename
tables
data_tab = it_pdf.
Regards
Frédéric
Similar Messages
-
How do I tell Adobe reader to open a file instead of being prompted to save the file?
how do I tell Adobe reader to open a file instead of being prompted to save the file?
Go to Tools - Options - Applications and enter "pdf" into the filter field. Select the action that you want to associate with PDF files.
In your case select one of the "Use Adobe Acrobat" actions. -
LabVIEW prompts to save the vi when closing the reference
In our application, we - Open vi reference - finding its execution state - closing the vi reference. While closing, LV prompts to save the vi, how to avoid it. I can see option to enable LV prompt, but no option to skip it. We use 0x20 for now to avoid the loading dialog.
We appreciate your input
Thanks
Sas
Solved!
Go to Solution.I have seen this in the past with scripting VIs and I tried to resolve it but couldn't. So my solution was just to supress the dialog temporarily. Darren posted over on LAVA a VI that does this.
http://lavag.org/topic/17845-silently-close-a-scripted-vi-with-unsaved-changes/#entry107546
I believe this just calls the private method App.UnattendedMode
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously. -
Can I save the filename as a keyword on importing?
I'd like to automatically save each photo filename as a keyword for that photo, so if the file name is changed later through different versions it retains the original filename within its EXIF information to identify it, preferably while importing it.
I there some form of dynamic keyword that lets you have Aperture replace it with the current file name?
Thanks for your kind assistance.A good idea, but afaik, there is no automatic keyword assignment, that reads the EXIF data.
You can automatically assign a set of predefined keywords on import or using Metadata > Batch change, but that will not help in your case.
so if the file name is changed later through different versions it retains the original filename within its EXIF information to identify it,
The original imagefile will always retain the original image filename, unless you change it on purpose, when you rename versions by using "Metadata > Write IPTC Metadata to original". If you do not modify the originals this way, you will always be able to revert to the original filename.
One more thought - if you create a new keyword for each and every image filename, your list of keywords will quickly become bloated and useless, since you can have 1000000 different images in your library. Consider to write this information into a comment field or create a custom metadata field instead. You could then create an Apple Script to save the original filename to this custom field. -
Hi - I'm having issues with my code and I'm not an ActionScript coder by any means. I'm using Flash Builder 4. I've been able to figure out how to export to PNG and to XLS but PDF is really killing me.
Below is my code and it's not causing errors when I do the release build but the my button doesn't work to export to PDF. I'm trying to create a PNG using the PNGEncoder and then push that out to PDF (when the PDF button is selected). I used some sample code and I've commented out parts that I didn't want to use or didn't seem to apply to my application. Unfortunately, I have a deadline of May 3rd on this and there is no one else in the office here to help me... hope someone out there can.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" height="650" width="850">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import flash.events.Event;
import mx.events.DropdownEvent;
import mx.events.*;
import mx.graphics.codec.PNGEncoder;
import org.alivepdf.display.*;
import org.alivepdf.images.ColorSpace;
import org.alivepdf.fonts.*;
import org.alivepdf.layout.*;
import org.alivepdf.pdf.*;
import org.alivepdf.saving.*;
import mx.controls.Alert;
//PDF Export information
protected var pdf:PDF;
protected function savePDF(event:MouseEvent): void {
pdf = new PDF(Orientation.LANDSCAPE, Unit.MM, Size.LETTER);
pdf.setDisplayMode(Display.FULL_WIDTH);
pdf.addPage();
var bd:BitmapData = new BitmapData(cChart.width,cChart.height);
bd.draw(cChart);
var png:PNGEncoder = new PNGEncoder();
var ba:ByteArray = png.encode(bd);
//try {
pdf.addImageStream(ba, ColorSpace.DEVICE_RGB, new Resize ( Mode.FIT_TO_PAGE, Position.CENTERED ), 10, 10, 800, 800, 0, 1, "Normal", null);
//} catch (e:Error) {
// trace("Error occurred!");
// Alert.show(e,"");
//myPDF.addImageStream(new jpgBytes() as ByteArray, ColorSpace.DEVICE_RGB, null, 0, 0, 500, 500, 0, 1, "Normal", null);
//imageBytes:ByteArray, colorSpace:String, resizeMode:Resize=null, x:Number=0, y:Number=0, width:Number=0, height:Number=0, rotation:Number=0, alpha:Number=1, blendMode:String="Normal", link:ILink=null):
//pdf.setFont(FontFamily.ARIAL, Style.NORMAL, 12);
//pdf.addText("Grafico de Rata de Fallas", 100, 40); // title
//pdf.addImage(imprimirRata, 50, 50, 200, 150); // captured canvas with charts
// pdf.addImage(leyendaImprimir, 50, 120, 20,20); // captured leyend of charts
//pdf.addText("RTP Software. Modulo de Score Card.", 10, 200); // header of the document
//pdf.addText("Creado: " + new Date(), 180, 200); // Add the created date as a leyend or footer on document
var fr:FileReference = new FileReference();
fr.save(pdf.save(Method.LOCAL), "nep_piefy11.pdf");
/*var fs:FileStream = new FileStream();
var file: File = File.desktopDirectory.resolvePath("nep_piefy11.pdf"); // Name of the file
fs.open(file, FileMode.WRITE);
fs.writeBytes(pdf.save(Method.LOCAL));
fs.close();*/
//Alert.show("El reporte ha sido generado", "Informacion"); // Confirmation message as a pop-up
//Pie Chart Creation information
[Bindable]
public var ds:ArrayCollection = sel;
private function changeEvt(event:Event):void {
if(filterCombo.selectedItem == 'Select NEP') {ds = sel;}
if(filterCombo.selectedItem == 'Albemarle-Pamlico Estuary Program') {ds = nep1;}
if(filterCombo.selectedItem == 'Barataria-Terrebonne Estuary Program') {ds = nep2;}
if(filterCombo.selectedItem == 'Barnegat Bay Estuary Program') {ds = nep3;}
if(filterCombo.selectedItem == 'Buzzards Bay National Estuary Program') {ds = nep4;}
if(filterCombo.selectedItem == 'Casco Bay Estuary Partnership') {ds = nep5;}
if(filterCombo.selectedItem == 'Charlotte Harbor Estuary Program') {ds = nep6;}
if(filterCombo.selectedItem == 'Coastal Bend Bays and Estuaries Program') {ds = nep7;}
if(filterCombo.selectedItem == 'Delaware Estuary Program') {ds = nep8;}
if(filterCombo.selectedItem == 'Delaware Inland Bays Estuary Program') {ds = nep9;}
if(filterCombo.selectedItem == 'Galveston Bay Estuary Program') {ds = nep10;}
if(filterCombo.selectedItem == 'Indian River Lagoon NEP') {ds = nep11;}
if(filterCombo.selectedItem == 'Long Island Sound Study') {ds = nep12;}
if(filterCombo.selectedItem == 'Lower Columbia River Estuary') {ds = nep13;}
if(filterCombo.selectedItem == 'Maryland Coastal Bays Program') {ds = nep14;}
if(filterCombo.selectedItem == 'Massachusetts Bays NEP') {ds = nep15;}
if(filterCombo.selectedItem == 'Mobile Bay Estuary Program') {ds = nep16;}
if(filterCombo.selectedItem == 'Morro Bay Estuary Program') {ds = nep17;}
if(filterCombo.selectedItem == 'Narragansett Bay Estuary Program') {ds = nep18;}
if(filterCombo.selectedItem == 'New York-New Jersey Harbor Estuary Program') {ds = nep19;}
if(filterCombo.selectedItem == 'Peconic Estuary Program') {ds = nep20;}
if(filterCombo.selectedItem == 'Piscataqua Region Estuaries Partnership') {ds = nep21;}
if(filterCombo.selectedItem == 'Puget Sound Partnership') {ds = nep22;}
if(filterCombo.selectedItem == 'San Francisco Estuary Project') {ds = nep23;}
if(filterCombo.selectedItem == 'San Juan Bay NEP') {ds = nep24;}
if(filterCombo.selectedItem == 'Santa Monica Bay Restoration Project') {ds = nep25;}
if(filterCombo.selectedItem == 'Sarasota Bay Estuary Program') {ds = nep26;}
if(filterCombo.selectedItem == 'Tampa Bay Estuary Program') {ds = nep27;}
if(filterCombo.selectedItem == 'Tillamook Estuaries Partnership') {ds = nep28;}
[Bindable]
private var sel:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0.5},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 0} ]);
[Bindable]
private var nep1:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 778.44},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0.45},
{ habtype: "Estuarine Shoreline", Acres: 1276.30},
{ habtype: "Instream", Acres: 1.0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0.75},
{ habtype: "Upland", Acres: 779.74},
{ habtype: "Wetland", Acres: 3268.31} ]);
[Bindable]
private var nep2:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 7.25},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 1185} ]);
[Bindable]
private var nep3:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 35.21},
{ habtype: "Upland", Acres: 852.57},
{ habtype: "Wetland", Acres: 197.82} ]);
[Bindable]
private var nep4:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 751.82},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 321.82},
{ habtype: "Wetland", Acres: 157.35} ]);
[Bindable]
private var nep5:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 217},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 324.5},
{ habtype: "Wetland", Acres: 0} ]);
[Bindable]
private var nep6:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 1268},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 50},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 61},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 809},
{ habtype: "Wetland", Acres: 1690} ]);
[Bindable]
private var nep7:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 726} ]);
[Bindable]
private var nep8:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0.28},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 82},
{ habtype: "Estuarine Shoreline", Acres: 0.14},
{ habtype: "Instream", Acres: 2.3},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 643},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 501.9},
{ habtype: "Upland", Acres: 148.71},
{ habtype: "Wetland", Acres: 2586.02} ]);
[Bindable]
private var nep9:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 26.21},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 37},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 27},
{ habtype: "Wetland", Acres: 646} ]);
[Bindable]
private var nep10:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 2868},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 407.06} ]);
[Bindable]
private var nep11:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 5},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 3},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 43},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 12910.5},
{ habtype: "Wetland", Acres: 5026} ]);
[Bindable]
private var nep12:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 67},
{ habtype: "Beach/Dune", Acres: 21.95},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 120.72},
{ habtype: "Wetland", Acres: 151.08} ]);
[Bindable]
private var nep13:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 12},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 194},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 200} ]);
[Bindable]
private var nep14:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 58},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 153},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 494.3},
{ habtype: "Wetland", Acres: 0} ]);
[Bindable]
private var nep15:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 1313},
{ habtype: "Estuarine Shoreline", Acres: 8},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 543.8} ]);
[Bindable]
private var nep16:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 40},
{ habtype: "Estuarine Shoreline", Acres: 6.5},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 195},
{ habtype: "Wetland", Acres: 85} ]);
[Bindable]
private var nep17:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 1109.9},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 1.14},
{ habtype: "Estuarine Shoreline", Acres: 0.28},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0.71},
{ habtype: "Wetland", Acres: 0} ]);
[Bindable]
private var nep18:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 1099},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 0} ]);
[Bindable]
private var nep19:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 101.3} ]);
[Bindable]
private var nep20:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 98.72},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 17.99},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 106.13},
{ habtype: "Wetland", Acres: 12.97} ]);
[Bindable]
private var nep21:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 9},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 3},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 2},
{ habtype: "Upland", Acres: 1451},
{ habtype: "Wetland", Acres: 27} ]);
[Bindable]
private var nep22:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 26},
{ habtype: "Beach/Dune", Acres: 1.65},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 240.39},
{ habtype: "Estuarine Shoreline", Acres: 314.97},
{ habtype: "Instream", Acres: 505.87},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 1450.47},
{ habtype: "Upland", Acres: 1176.7},
{ habtype: "Wetland", Acres: 850.58} ]);
[Bindable]
private var nep23:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 43.05},
{ habtype: "Upland", Acres: 4519},
{ habtype: "Wetland", Acres: 3271} ]);
[Bindable]
private var nep24:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 1},
{ habtype: "Coral Reef", Acres: 0.13},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 1},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 10} ]);
[Bindable]
private var nep25:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 1.6},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 7},
{ habtype: "Riparian", Acres: 100},
{ habtype: "Upland", Acres: 6.2},
{ habtype: "Wetland", Acres: 0} ]);
[Bindable]
private var nep26:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 5.5},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 4.5},
{ habtype: "Estuarine Shoreline", Acres: 15},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 82},
{ habtype: "Wetland", Acres: 40} ]);
[Bindable]
private var nep27:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 5.1},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 23},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 4.8},
{ habtype: "Mangrove", Acres: 3.5},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 1221},
{ habtype: "Wetland", Acres: 17.4}]);
[Bindable]
private var nep28:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 67},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 2},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 31.33},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 74.24}]);
private function displayAcres(data:Object, field:String, index:Number, percentValue:Number):String {
var temp:String= (" " + percentValue).substr(0,6);
return data.habtype + ": " + '\n ' + data.Acres + " Acres" + '\n ' + temp + "%";
//Export to PNG information
private function saveImageAs(event:MouseEvent):void
var bd:BitmapData = new BitmapData(cChart.width,cChart.height);
bd.draw(cChart);
var png:PNGEncoder = new PNGEncoder();
var ba:ByteArray = png.encode(bd);
var fr:FileReference = new FileReference();
fr.save(ba, "nepfy11-piechart.png");
]]>
</mx:Script>
<!--mx:SeriesInterpolate id="chartChange" duration="2000" /-->
<mx:Panel id="cChart" title="2011 Habitat Efforts" width="825" height="600" chromeColor="#527EAC" layout="vertical" color="#FFFFFF" verticalGap="10" x="15" y="15">
<mx:HBox width="400" height="20">
<mx:ComboBox id="filterCombo" x="140" y="140" change="changeEvt(event)" color="#000000" >
<mx:String>Select NEP</mx:String>
<mx:String>Albemarle-Pamlico Estuary Program</mx:String>
<mx:String>Barataria-Terrebonne Estuary Program</mx:String>
<mx:String>Barnegat Bay Estuary Program</mx:String>
<mx:String>Buzzards Bay National Estuary Program</mx:String>
<mx:String>Casco Bay Estuary Partnership</mx:String>
<mx:String>Charlotte Harbor Estuary Program</mx:String>
<mx:String>Coastal Bend Bays and Estuaries Program</mx:String>
<mx:String>Delaware Estuary Program</mx:String>
<mx:String>Delaware Inland Bays Estuary Program</mx:String>
<mx:String>Galveston Bay Estuary Program</mx:String>
<mx:String>Indian River Lagoon NEP</mx:String>
<mx:String>Long Island Sound Study</mx:String>
<mx:String>Lower Columbia River Estuary</mx:String>
<mx:String>Maryland Coastal Bays Program</mx:String>
<mx:String>Massachusetts Bays NEP</mx:String>
<mx:String>Mobile Bay Estuary Program</mx:String>
<mx:String>Morro Bay Estuary Program</mx:String>
<mx:String>Narragansett Bay Estuary Program</mx:String>
<mx:String>New York-New Jersey Harbor Estuary Program</mx:String>
<mx:String>Peconic Estuary Program</mx:String>
<mx:String>Piscataqua Region Estuaries Partnership</mx:String>
<mx:String>Puget Sound Partnership</mx:String>
<mx:String>San Francisco Estuary Project</mx:String>
<mx:String>San Juan Bay NEP</mx:String>
<mx:String>Santa Monica Bay Restoration Project</mx:String>
<mx:String>Sarasota Bay Estuary Program</mx:String>
<mx:String>Tampa Bay Estuary Program</mx:String>
<mx:String>Tillamook Estuaries Partnership</mx:String>
</mx:ComboBox>
</mx:HBox>
<mx:HBox horizontalGap="20" width="822" height="535">
<mx:PieChart id="chart" showDataTips="true" dataProvider="{ds}" width="634" height="534" paddingTop="10" fontSize="9" fontFamily="Arial" color="#000000" textAlign="left">
<mx:series>
<mx:PieSeries id="seriesId" explodeRadius="0.06" nameField="habtype" labelPosition="callout" color="#000000" insideLabelSizeLimit="8" field="Acres" labelFunction="displayAcres">
</mx:PieSeries>
</mx:series>
</mx:PieChart>
<mx:Legend dataProvider="{chart}" dropShadowVisible="true" width="150" color="#000000" height="350" chromeColor="#527EAC" borderColor="#527EAC" direction="vertical"/>
</mx:HBox>
</mx:Panel>
<mx:Button x="734" y="623" label="Export Pie Chart" id="btnSnap" click="saveImageAs(event)"/>
<mx:Button x="444" y="623" label="PDF" click="savePDF(event)" />
</mx:Application>
Thank you in advance,
AlisonI figured it out!!!!! In case anyone else needs to know - here is the working code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" height="650" width="850">
<mx:Script>
<![CDATA[
import flash.events.Event;
import mx.collections.ArrayCollection;
import mx.controls.Alert;
import mx.events.*;
import mx.events.DropdownEvent;
import mx.graphics.codec.PNGEncoder;
import org.alivepdf.display.*;
import org.alivepdf.fonts.*;
import org.alivepdf.images.ColorSpace;
import org.alivepdf.images.PDFImage;
import org.alivepdf.layout.*;
import org.alivepdf.pdf.*;
import org.alivepdf.saving.*;
//PDF Export information
private var pdf:PDF;
private function savePDF(event:MouseEvent): void {
pdf = new PDF(Orientation.LANDSCAPE, Unit.MM, Size.LETTER);
pdf.setDisplayMode(Display.FULL_WIDTH);
pdf.addPage();
var bd:BitmapData = new BitmapData(cChart.width,cChart.height);
bd.draw(cChart);
var bm:Bitmap=new Bitmap(bd);
//bm.x=825;
//bm.y=600;
//bm.width=825;
pdf.setMargins(0, 2, 0, 0);
pdf.addImage(bm, new Resize (Mode.RESIZE_PAGE, Position.CENTERED));
//pdf.setXY(10,95);
var bytes:ByteArray=pdf.save(Method.LOCAL);
var fr:FileReference=new FileReference();
fr.save(bytes,"nep_piefy11.pdf");
//Pie Chart Creation information
[Bindable]
public var ds:ArrayCollection = sel;
private function changeEvt(event:Event):void {
if(filterCombo.selectedItem == 'Select NEP') {ds = sel;}
if(filterCombo.selectedItem == 'Albemarle-Pamlico Estuary Program') {ds = nep1;}
if(filterCombo.selectedItem == 'Barataria-Terrebonne Estuary Program') {ds = nep2;}
if(filterCombo.selectedItem == 'Barnegat Bay Estuary Program') {ds = nep3;}
if(filterCombo.selectedItem == 'Buzzards Bay National Estuary Program') {ds = nep4;}
if(filterCombo.selectedItem == 'Casco Bay Estuary Partnership') {ds = nep5;}
if(filterCombo.selectedItem == 'Charlotte Harbor Estuary Program') {ds = nep6;}
if(filterCombo.selectedItem == 'Coastal Bend Bays and Estuaries Program') {ds = nep7;}
if(filterCombo.selectedItem == 'Delaware Estuary Program') {ds = nep8;}
if(filterCombo.selectedItem == 'Delaware Inland Bays Estuary Program') {ds = nep9;}
if(filterCombo.selectedItem == 'Galveston Bay Estuary Program') {ds = nep10;}
if(filterCombo.selectedItem == 'Indian River Lagoon NEP') {ds = nep11;}
if(filterCombo.selectedItem == 'Long Island Sound Study') {ds = nep12;}
if(filterCombo.selectedItem == 'Lower Columbia River Estuary') {ds = nep13;}
if(filterCombo.selectedItem == 'Maryland Coastal Bays Program') {ds = nep14;}
if(filterCombo.selectedItem == 'Massachusetts Bays NEP') {ds = nep15;}
if(filterCombo.selectedItem == 'Mobile Bay Estuary Program') {ds = nep16;}
if(filterCombo.selectedItem == 'Morro Bay Estuary Program') {ds = nep17;}
if(filterCombo.selectedItem == 'Narragansett Bay Estuary Program') {ds = nep18;}
if(filterCombo.selectedItem == 'New York-New Jersey Harbor Estuary Program') {ds = nep19;}
if(filterCombo.selectedItem == 'Peconic Estuary Program') {ds = nep20;}
if(filterCombo.selectedItem == 'Piscataqua Region Estuaries Partnership') {ds = nep21;}
if(filterCombo.selectedItem == 'Puget Sound Partnership') {ds = nep22;}
if(filterCombo.selectedItem == 'San Francisco Estuary Project') {ds = nep23;}
if(filterCombo.selectedItem == 'San Juan Bay NEP') {ds = nep24;}
if(filterCombo.selectedItem == 'Santa Monica Bay Restoration Project') {ds = nep25;}
if(filterCombo.selectedItem == 'Sarasota Bay Estuary Program') {ds = nep26;}
if(filterCombo.selectedItem == 'Tampa Bay Estuary Program') {ds = nep27;}
if(filterCombo.selectedItem == 'Tillamook Estuaries Partnership') {ds = nep28;}
[Bindable]
private var sel:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0.5},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 0} ]);
[Bindable]
private var nep1:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 778.44},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0.45},
{ habtype: "Estuarine Shoreline", Acres: 1276.30},
{ habtype: "Instream", Acres: 1.0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0.75},
{ habtype: "Upland", Acres: 779.74},
{ habtype: "Wetland", Acres: 3268.31} ]);
[Bindable]
private var nep2:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 7.25},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 1185} ]);
[Bindable]
private var nep3:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 35.21},
{ habtype: "Upland", Acres: 852.57},
{ habtype: "Wetland", Acres: 197.82} ]);
[Bindable]
private var nep4:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 751.82},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 321.82},
{ habtype: "Wetland", Acres: 157.35} ]);
[Bindable]
private var nep5:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 217},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 324.5},
{ habtype: "Wetland", Acres: 0} ]);
[Bindable]
private var nep6:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 1268},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 50},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 61},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 809},
{ habtype: "Wetland", Acres: 1690} ]);
[Bindable]
private var nep7:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 726} ]);
[Bindable]
private var nep8:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0.28},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 82},
{ habtype: "Estuarine Shoreline", Acres: 0.14},
{ habtype: "Instream", Acres: 2.3},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 643},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 501.9},
{ habtype: "Upland", Acres: 148.71},
{ habtype: "Wetland", Acres: 2586.02} ]);
[Bindable]
private var nep9:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 26.21},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 37},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 27},
{ habtype: "Wetland", Acres: 646} ]);
[Bindable]
private var nep10:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 2868},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 407.06} ]);
[Bindable]
private var nep11:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 5},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 3},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 43},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 12910.5},
{ habtype: "Wetland", Acres: 5026} ]);
[Bindable]
private var nep12:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 67},
{ habtype: "Beach/Dune", Acres: 21.95},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 120.72},
{ habtype: "Wetland", Acres: 151.08} ]);
[Bindable]
private var nep13:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 12},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 194},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 200} ]);
[Bindable]
private var nep14:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 58},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 153},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 494.3},
{ habtype: "Wetland", Acres: 0} ]);
[Bindable]
private var nep15:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 1313},
{ habtype: "Estuarine Shoreline", Acres: 8},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 543.8} ]);
[Bindable]
private var nep16:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 40},
{ habtype: "Estuarine Shoreline", Acres: 6.5},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 195},
{ habtype: "Wetland", Acres: 85} ]);
[Bindable]
private var nep17:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 1109.9},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 1.14},
{ habtype: "Estuarine Shoreline", Acres: 0.28},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0.71},
{ habtype: "Wetland", Acres: 0} ]);
[Bindable]
private var nep18:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 1099},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 0} ]);
[Bindable]
private var nep19:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 101.3} ]);
[Bindable]
private var nep20:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 98.72},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 17.99},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 106.13},
{ habtype: "Wetland", Acres: 12.97} ]);
[Bindable]
private var nep21:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 9},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 3},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 2},
{ habtype: "Upland", Acres: 1451},
{ habtype: "Wetland", Acres: 27} ]);
[Bindable]
private var nep22:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 26},
{ habtype: "Beach/Dune", Acres: 1.65},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 240.39},
{ habtype: "Estuarine Shoreline", Acres: 314.97},
{ habtype: "Instream", Acres: 505.87},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 1450.47},
{ habtype: "Upland", Acres: 1176.7},
{ habtype: "Wetland", Acres: 850.58} ]);
[Bindable]
private var nep23:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 43.05},
{ habtype: "Upland", Acres: 4519},
{ habtype: "Wetland", Acres: 3271} ]);
[Bindable]
private var nep24:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 1},
{ habtype: "Coral Reef", Acres: 0.13},
{ habtype: "Estuarine", Acres: 0},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 1},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 10} ]);
[Bindable]
private var nep25:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 1.6},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 7},
{ habtype: "Riparian", Acres: 100},
{ habtype: "Upland", Acres: 6.2},
{ habtype: "Wetland", Acres: 0} ]);
[Bindable]
private var nep26:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 5.5},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 4.5},
{ habtype: "Estuarine Shoreline", Acres: 15},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 82},
{ habtype: "Wetland", Acres: 40} ]);
[Bindable]
private var nep27:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 0},
{ habtype: "Beach/Dune", Acres: 5.1},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 23},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 4.8},
{ habtype: "Mangrove", Acres: 3.5},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 0},
{ habtype: "Upland", Acres: 1221},
{ habtype: "Wetland", Acres: 17.4}]);
[Bindable]
private var nep28:ArrayCollection = new ArrayCollection( [
{ habtype: "Agriculture/Ranch Land", Acres: 67},
{ habtype: "Beach/Dune", Acres: 0},
{ habtype: "Coral Reef", Acres: 0},
{ habtype: "Estuarine", Acres: 2},
{ habtype: "Estuarine Shoreline", Acres: 0},
{ habtype: "Instream", Acres: 0},
{ habtype: "Island", Acres: 0},
{ habtype: "Lake/Pond", Acres: 0},
{ habtype: "Mangrove", Acres: 0},
{ habtype: "Other", Acres: 0},
{ habtype: "Riparian", Acres: 31.33},
{ habtype: "Upland", Acres: 0},
{ habtype: "Wetland", Acres: 74.24}]);
private function displayAcres(data:Object, field:String, index:Number, percentValue:Number):String {
var temp:String= (" " + percentValue).substr(0,6);
return data.habtype + ": " + '\n ' + data.Acres + " Acres" + '\n ' + temp + "%";
//Export to PNG information
private function saveImageAs(event:MouseEvent):void
var bd:BitmapData = new BitmapData(cChart.width,cChart.height);
bd.draw(cChart);
var png:PNGEncoder = new PNGEncoder();
var ba:ByteArray = png.encode(bd);
var fr:FileReference = new FileReference();
fr.save(ba, "nepfy11-piechart.png");
]]>
</mx:Script>
<!--mx:SeriesInterpolate id="chartChange" duration="2000" /-->
<mx:Panel id="cChart" title="2011 Habitat Efforts" width="825" height="600" chromeColor="#527EAC" layout="vertical" color="#FFFFFF" verticalGap="10" x="15" y="15">
<mx:HBox width="400" height="20">
<mx:ComboBox id="filterCombo" x="140" y="140" change="changeEvt(event)" color="#000000" >
<mx:String>Select NEP</mx:String>
<mx:String>Albemarle-Pamlico Estuary Program</mx:String>
<mx:String>Barataria-Terrebonne Estuary Program</mx:String>
<mx:String>Barnegat Bay Estuary Program</mx:String>
<mx:String>Buzzards Bay National Estuary Program</mx:String>
<mx:String>Casco Bay Estuary Partnership</mx:String>
<mx:String>Charlotte Harbor Estuary Program</mx:String>
<mx:String>Coastal Bend Bays and Estuaries Program</mx:String>
<mx:String>Delaware Estuary Program</mx:String>
<mx:String>Delaware Inland Bays Estuary Program</mx:String>
<mx:String>Galveston Bay Estuary Program</mx:String>
<mx:String>Indian River Lagoon NEP</mx:String>
<mx:String>Long Island Sound Study</mx:String>
<mx:String>Lower Columbia River Estuary</mx:String>
<mx:String>Maryland Coastal Bays Program</mx:String>
<mx:String>Massachusetts Bays NEP</mx:String>
<mx:String>Mobile Bay Estuary Program</mx:String>
<mx:String>Morro Bay Estuary Program</mx:String>
<mx:String>Narragansett Bay Estuary Program</mx:String>
<mx:String>New York-New Jersey Harbor Estuary Program</mx:String>
<mx:String>Peconic Estuary Program</mx:String>
<mx:String>Piscataqua Region Estuaries Partnership</mx:String>
<mx:String>Puget Sound Partnership</mx:String>
<mx:String>San Francisco Estuary Project</mx:String>
<mx:String>San Juan Bay NEP</mx:String>
<mx:String>Santa Monica Bay Restoration Project</mx:String>
<mx:String>Sarasota Bay Estuary Program</mx:String>
<mx:String>Tampa Bay Estuary Program</mx:String>
<mx:String>Tillamook Estuaries Partnership</mx:String>
</mx:ComboBox>
</mx:HBox>
<mx:HBox horizontalGap="20" width="822" height="535">
<mx:PieChart id="chart" showDataTips="true" dataProvider="{ds}" width="634" height="534" paddingTop="10" fontSize="9" fontFamily="Arial" color="#000000" textAlign="left">
<mx:series>
<mx:PieSeries id="seriesId" explodeRadius="0.06" nameField="habtype" labelPosition="callout" color="#000000" insideLabelSizeLimit="8" field="Acres" labelFunction="displayAcres">
</mx:PieSeries>
</mx:series>
</mx:PieChart>
<mx:Legend dataProvider="{chart}" dropShadowVisible="true" width="150" color="#000000" height="350" chromeColor="#527EAC" borderColor="#527EAC" direction="vertical"/>
</mx:HBox>
</mx:Panel>
<mx:Button x="746" y="623" label="Export to PNG" id="btnSnap" click="saveImageAs(event)"/>
<mx:Button x="651" y="623" label="Export to PDF" click="savePDF(event)" />
</mx:Application>
Thanks, Alison -
Hi all, as Ive said in the question, anyone help me with this, have tried most of the suggestions Ive found so far.
StephenNo, Nothing happened, nothing was downloaded. When I say nothing happened I mean NOTHING HAPPENED, What can I say to make it more clear. How could I run a file that wasn't downloaded.....Nothing happened, rien, nada, b***** all. Why would I post a message saying "When I press the Save button nothing happens" if something had been downloaded.
I've found out why. It is because I am using Firefox. Presumably a case of Apple treating us users of the superior Operating system (Windows) with distain. -
Prompt to save the chages when leaving the page
Hi all,
I have the following scenario:
I have a plsql region with 15 records pro page with text fields and checkboxes.
When the user does update any field and navigate to other page (or clicks to other pagination page) without click on the button "SAVE" or "CANCEL" I would like to show him the confirm dialog "The changes was not saved. Save it?" or anything like this.
Is it possible?
ThanksHi,
Have a look at this thread to see if it helps you:
Re: detecting changes to items prior to submitting page
Andy -
The settings are all correct. New machine. Only has the operating system and Firefox. No conflicting programs. It did 5 then stopped. Nothing has been added or changed since downloading FF.
Same issue here. I am '''NOT '''running in Private Browsing mode.
This may be an issue related to other add-ons, or not. I tried the remember-password bookmarklet with one site and it Worked! But when I looked in the saved passwords, the new userid and password were not there. I waited a few minutes and looked again, and mysteriously, it was there. Perhaps a caching issue. Exceptions box is empty.
I think this in an important issue that must be tracked and not assumed is always an operator-error. -
Saving a Signed PDF, without the '-signed' suffix being added to the filename
I am experiencing an issue with Adobe reader 11.
I have a number of users who will be authorizing and signing invoices with a digital Jpeg signature (not Echosign).
The intention is then to save the file in the same location on the Network, replacing the original file.
However, since using version 11, it appears that as soon as you add a signature to an invoice, you are prompted to save the file as: {filename}-signed
Having the '-signed' added to the file, then means we will be left with 2 copies of the invoice on the network drive. And as the other part of the process involves opening the invoices by using a hyperlink, we will have big problems with duplicated files etc...
I know that the user should be able to delete the '-signed' extension, but errors may occur, where they don't always delete accurately.
So, is there a way to switch this facility off?
In Version 10.1.6 this didn't appear to be a problem, but i have a user who experiences the problem i 10.1.7 also. OS include Win 7 And Xp, dependent on which user, but the problem isn't OS specific
thanks for your helpI did not make myself clear enough - my mistake. The user is prompted with the following code - which does not save the modified document on YES.
var cMsg = "Do you want to save changes to ‘PFSL-18, 06.96.pdf’ before closing?";
var nRtn = app.alert(cMsg,1,3,"PFSL-18");
//Yes
if(nRtn==4)
this.saveAs("../Mutual Fund Forms/PFSL-18, 06.96.pdf", this);
this.closeDoc("../Mutual Fund Forms/PFSL-18, 06.96.pdf", this);
else
//No
this.closeDoc("../Mutual Fund Forms/PFSL-18, 06.96.pdf", this); -
I am using saved passwords feature. The site in question is a common webmail site. I have more than one account for this site. Usernames and passwords for each account were stored in Firefox 'Remember Passwords' feature. I unintentionally deleted one entry from the dropdown list that is displayed when I go to the site's login page. Now, when I log in to this account, Firefox will not prompt to save the password. If I display my saved passwords list, there are entries for the other accounts on this site, but none for the user account in question. The Saved Passwords 'Exceptions' list is empty. How can I get Firefox to re-prompt to save the password for this user on this site? (Note: When I speak of 'user', I am not referring to user account on the PC or a specific Firefox user profile.)
I am using Avast free version. Today I removed the LAN cable out of the 24 port switching hub and plugged directly into the router port. Now the program runs fast when checking for emails. Looks like all the emails are showing up. I do have other computers plugged into the switching hub with no problems. The hub is brand new. My thinking is the cable connector might be to blame. I will try re-crimping the wires. As for now, things are running good. I will keep investigating. Thanks
-
Microsoft Word 2010 is saving filenames with the full path as the filename.
Good Afternoon,
When opening a file from a synology cloudstation, after I work on the file and select save, the file name changes to include the computer name. For example if the file was opened from "Favorites\Couldstation\My Documents" and was called "Consoto
version1", when I click save, the filename now shows as " Consoto Version 1_Mycomputer-PC_AUG-06-1203-2014_Conflict.docx" (Mycomputer is the generic name of the computer on the domain, Italics was
what was added)
Any way I can turn this off? I am thinking it is part of an Autosave feature.
Windows 7 Professional
Office 2010
Intel i3
4GB RAM.
Respectfully,
VincentHi,
Do you have the same issue when use Office 2010 on your local disk?
I think it's an issue/feature of Synology Cloud Station, not an Office issue. I have seen user reproted the same issue in Synology Cloud Station site, I'd suggest you to seek assistance from their official support site.
Regards,
Ethan Hua CHN
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Prompting to save report.
I support a program that generates a report in PDF format. One of my users is now being prompted to save the report every time they view it. In the past this was not the case, they could generate the report and print and close with no prompt to save. Where can I go in the preferences to stop it from prompting this save?
There are no preferences like this. Acrobat or Reader prompts to save if the file has changed, and for no other reason. The trick is, certain scripts and certain kinds of file damage can cause the file to change.
Your first step would be to compare the EXACT versions of software in use, and product; and what window the file is viewed in. (Many people now use non-Adobe viewers like Firefox). -
Disable prompt to save file after signing
I have created a PDF with digital signatures, then added submit button to submit form to next approver in the chain. I do not want the signer's to be prompted to save the file locally, just forward the document with signature. Can the prompt to save be disabled yet still send email with signature?
Thanks,
DavidHi,
You need to update the numeric value: RunState.InitialSelection.SelectedFile.ChangeCount. Add 1 if a change in your edit has occured.
Regards
Tom Andres Lomsdalen, CTD -
Someone asked if I could help with this problem they are having with Firefox with Windows XP.
There are a couple things going on that may or may not be related.
Firstly the Yahoo toolbar was installed in Firefox. I assume this was bundled with another program or update.
Also, if you try to print a webpage from within Firefox you are prompted to save the file first. I tried printing a page from Firefox on my computer (Firefox 30 Mozilla Firefox for Linux Mint - 1.0) and was not prompted to save the file first.
I'm assuming that this issue is related to the Yahoo toolbar.
Any ideas on how to fix this?Hi muttleytm,
The official download is not bundled with the toolbar. [https://www.mozilla.org/en-US/firefox/new/]
Reset the printing settings/preferences with this :[[Fix printing problems in Firefox]] ]
And you can try to disable the toolbar temporarily or try safe mode if there are other add ons installed: [[Troubleshoot Firefox issues using Safe Mode]] -
JNLP prompted to Save (only) in Windows Server 2003 SP1 over https
In Windows Server 2003 when using https to download the jnlp and jars, IE 6.0 prompts to Save the jnlp file. It does not give the option to open it straight from IE..
The IE settings are:
Do not save encrypted files to disk - off/unchecked
Empty Temp Internet Files when browser is closed - off/unchecked
Using Apache and Tomcat5 with the Mime type set correctly to application/x-java-jnlp-file.
When using http, the jnlp launches web start just fine.
When using https on WinXP and Win2000, the jnlp launches just fine.
It seems to be a Win2003Svr/IE security check that will not allow the jnlp to be launched directly.
There have been a few mentions of this on the web, but no solutions have been posted that I could find.
I am using jre 1.4.2_06. I tried 1.4.2_08 because that WebStart security bug was fixed, but the same issue was occurring. It seems like IE is doing it.
It doesn't get to WebStart until after saving the file and then double clicking it.
I have tried most of the IE settings to see if they helped, but to no avail...Hello.
I'm glad someone brought this problem up.
We have about 1000 external customers using webstart for approx. 3 years with runtimes
varying from 1.4.1_XX to 1.5.0_XX. We have the same problem with some customers being prompted by a dialog and what to do with the JNLP file. When these customers try a testing link to a webstart app over HTTP they are not prompted. Only when using our business app. over HTTPS and with Internet Explorer. This behavior does not occur only in Win server 2003 but in several
OS from Windows 2000 , XP Home/Pro SP1 SP2 , Citrix Metframe ..you name it. We have known this for years now and not being able to do something about it since we can't reproduce it. All I know for sure is that IE is behind it all and it's not surprising since it is a part of the OS. When using other browsers like Mozilla or FireFox, it works fine.
The customers are now forced to save the JNLP file and launch the app that way. Not acceptable
Is there some registry change that someone knows of to correct this problem.
Regards
Johan
Maybe you are looking for
-
so i have a 4th gen ipod touch and my power botton got stuck. is there anyway to fix it besides sending it in or buying a new one????
-
How to know the Function Module of a standard datasource?
Hi All, As per my understanding there will be an underlying Function Module for each SAP BI datasource. But I dont know how to know the name of that Function Module for a particular datasource.Could anybody pls help me as i am need of this urgently.
-
Hi, I just want to know, What version of SQL Server support ssl connection with TLS. 1.2 (SHA-256 HASH). if support already, how can i setting. plz. help me!!!
-
Oracle 10g TNS listener service
Hi Friends, I have installed Oracle 10g in my windows vista. When i try to start TNS listener through services window manually, it is giving the below error. "windows could not start the OracleOraDb10g_home1TNSListener service on Local Computer. Erro
-
Loosing 5 in 14000 granted connection --- Why??
Hi: I am currently working of a real high volume application that uses WLS 5.1, WLS RMI JDBC Driver, Oracle DB 8i. The deal is --- code looks right. Every connection that is opened is then closed after doing all the DB specific stuff. No issues on th