Adobe Dreamweaver API Reference CS5 Manual do Utilizador Página 329

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 533
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 328
324
DREAMWEAVER API REFERENCE
Page content
Last updated 8/27/2013
Returns
A string that contains the contents of the Clipboard, if the Clipboard contains text (which can be HTML); otherwise,
it returns nothing.
Example
If dreamweaver.getClipboardText() returns "text <b>bold</b> text",
dreamweaver.getClipboardText(true) returns "text bold text".
Library and template functions
Library and template functions handle operations that are related to library items and templates, such as creating,
updating, and breaking links between a document and a template or library item. Methods of the
dreamweaver.libraryPalette object either control or act on the selection in the Assets panel library items, not in
the current document. Likewise, methods of the
dreamweaver.templatePalette object control or act on the
selection in the Assets panel template objects.
dom.applyTemplate()
Availability
Dreamweaver 3.
Description
Applies a template to the current document. If no argument is supplied, the Select Template dialog box appears. This
function is valid only for the document that has focus.
Arguments
{templateURL}, bMaintainLink
The templateURL argument is the path to a template in the current site, which is expressed as a file:// URL.
The bMaintainLink argument is a Boolean value that indicates whether to maintain the link to the original template
(
true) or not (false).
Returns
Nothing.
Enabler
See “dom.canApplyTemplate()” on page 492.
dom.detachFromLibrary()
Availability
Dreamweaver 3.
Vista de página 328
1 2 ... 324 325 326 327 328 329 330 331 332 333 334 ... 532 533

Comentários a estes Manuais

Sem comentários