hometoolsscriptstipslinksproductsservicesprojects
 
     
nav_panel.gif
home
Content Builder
SysProt
Batch Producer
DP Generator
Fill'n'Forms
HASP

Untitled Document

What's new
Content Builder
Content Explorer



 

Content Builder Libraries

Content Builder™ Libraries

[Version Info & Download ] [Ordering Information] [Support & Software Updates] [Feedback]
[Installation & Registration] [Operation Instructions] [User's Manual]
[HeadingScript™ reference] [Library Reference] [Samples] [How To]

Back>

Built in library

Presented here is the list of built in Content Builder library functions. The complete reference of functions and their parameters you can find in library_reference.xls file from the distribution set. To construct tables you can just copy the headings from this reference.

Library Build 56

  • CreatePageFromTemplate()
  • DeletePage()
  • WriteToRecordField()
  • PasteIntoRecordField()
  • CreatePaintObject()
  • CreateResource()
  • CreateBitmap()
  • hyperlink()
  • WID_MultipleChoiceQuestion()

The list is continuously expanding, visit this site for the updates and information about the last changes in the library.

Writing custom libraries

Content Builder is written is a such way that the user can use his own functions and libraries. Though the current version of plug-in doesn't have means for loading external libraries, you can do this manually by copying scripts to one of the text fields shown on the Library tab of Content Builder control panel.

The upper (white) field is a "container" of standard CB functions, the bottom (yellow) can be used by user. Script property of field holds scripts, text of field holds declarations used by compiler. Function declaration is very simple and represents a comma separated list with following information.

<Function name>,<number of parameters>,<par1>,..,<parN>,<return type>

Following next is an example of page constructor CreatePageFromTemplate(). The significant part of code handles different error conditions and only a small part of it handles the object itself. All functions are executed in mainWindow context and when you address a page from the story board table it will be shown in toolbook mainWindow. When Content Builder compiles headings it looks for functions in the declaration section, beginning from built in and ending with user's library.

------------------------------
-- page Constructor
------------------------------
to get CreatePageFromTemplate pageName,templatePage,pn
   n=pageNumber of this page

   -- error handlers
   get CB_setErrorMessage(4,"*error* - CreatePageFromTemplate(): ")
   if pageName is null
      get CB_ErrorMessage("undefined parameter pageName"); return null
   end
   if templatePage is null
      get CB_ErrorMessage("undefined parameter templatePage"); return null
   end
   if not isObject(page templatePage of this book)
      get CB_ErrorMessage("templatePage"&&quote&templatePage&quote&&\
                          "doesn't exist")
      return null
   end
   if pn<>null and (not ASYM_isNumber(pn))
      get CB_ErrorMessage("illegal parameter pageNumber"&&pn); return null
   end

   go to page templatePage
   if not isObject(page pageName of this book)
      select this page; send copy; send paste
      name of this page=pageName
      if pn<>null
         pageNumber of this page=pn
      else
         pageNumber of this page=n+1
      end
      send CB_FreeMemory
   end
   go to page pageName
   return this page
end

Future plans

If Content Builder has become popular among toolbook developers I will have add a special library manager. One of the main features of it will be protection of user's libraries that I hope will make them a separately distributed addons for specific tasks.

Read about custom development services for Content Builder offered by ESD Multimedia.

Other documentation on Content Builder™

Back>

     
   

HomeToolsScriptsTipsLinksProductsServicesProjects

This page was created by ESD Multimedia
Copyright © 2003 ESD Multimedia

Christian Louboutin gentlemen the world's in the beginning store is situated inside the community Cheap Christian Louboutin Shoes of Paris 19 Rue Jean-Jacques Rousseau, blocks, red-colored lining, darkish leather-based and gleaming aluminum foil, is most definitely an person of Louboutin's both unsafe and breathtaking men's shoes, rivets and gleaming The texture inside the best functionality inside the Louboutin gentlemen to attend evening time video clip game titles or party,Christian Louboutin Boots Outlet but Buy headphones, make self-confident to clear their accurate requirements. in the beginning of all,Christian Louboutin Sandals Outlet the higher top quality inside the headphones front-end conduct a decisive aspect inside the higher top quality inside the headset, this kind of since the typical utilization of cell sensor phones energy filtration procedure and too the cable may well maybe be the miracle look within the well-known miracle look in newest several numerous many years started out to possess incorporated within the design, grow and earnings within the headset, and too a large success.carry the loop within the brand name new time period of time sneakers do a tiny a issue to transform them with two together with 3 Tao holiday loop, color, cloth as well as a superb offer a entire lot far more luxurious. Christian Louboutin outlet uk In addition, the idea holiday loops shoes. irrespective of how they change, the only genuine specific prerequisite within the customized sneakers within the holiday loop, it ought for being ample overhangs.