15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

If the file does not exist, no action is taken.<br />

Object: ”Automatic Upload Object”<br />

Parameters<br />

Example<br />

var objAutoUpload =<br />

<strong>eWebEditPro</strong>.instances[g_sEditorName].editor.MediaFile().AutomaticUpload();<br />

objAutoUpload.SetFileStatus(sUploadFilePath, 0x01);<br />

Return<br />

None<br />

Method: setHeadHTML<br />

Value Description<br />

0x08 Already uploaded<br />

0x10 Local path but doesn't exist locally<br />

Parameter Type Description<br />

FileName String The full path and name of the file. It<br />

cannot be an abbreviated or relative<br />

path. It is not case sensitive.<br />

Description String The description to post with the file.<br />

Description: Sets the through portion of the document<br />

header.<br />

Object: ”<strong>eWebEditPro</strong> ActiveX Control Object”<br />

Syntax<br />

<strong>eWebEditPro</strong>.Editor1.setHeadHTML(strReplacementHead)<br />

Parameter<br />

strReplacementHead - The HTML ... replacement string.<br />

Remarks<br />

WARNING! Do not add styles using this method. They are not supported, and the header will<br />

reflect incorrect information.<br />

This feature replaces all header information. If the new header information<br />

includes styles, the style information will appear in the HEAD tag area, but will not<br />

remove, replace or add any style information.<br />

<strong>Ektron®</strong> <strong>eWebEditPro</strong> Developer’s <strong>Reference</strong> <strong>Guide</strong>, Release 5.1, Revision 1 98

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!