PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Importing an HTML page into a WEBDEV site
  • Imported elements
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
WEBDEV allows you "suck up" the existing HTML pages. The page is imported in the WEBDEV project and each element of the page is automatically converted into a WEBDEV element (Static control, HTML control, Link, etc.).
The principle of this feature is mainly based on retrieving the style of an HTML page.
For example: The following HTML page...
... becomes the following page in WEBDEV:
Versions 16 and later
Note: To import a DremWeaver page or DremWeaver elements, see Importing DreamWeaver elements into a WEBDEV site.
New in version 16
Note: To import a DremWeaver page or DremWeaver elements, see Importing DreamWeaver elements into a WEBDEV site.
Note: To import a DremWeaver page or DremWeaver elements, see Importing DreamWeaver elements into a WEBDEV site.
How to proceed?

Importing an HTML page into a WEBDEV site

To import an HTML page into a WEBDEV site:
  1. Open the WEBDEV project into which the page must be imported.
  2. Select "File .. Import .. An HTML page".On the "Project" pane, in the "Project" group, expand "Import" and select "An HTML page".
  3. Specify the path or the URL of the HTML page to import. The preview of the HTML page to import is displayed.
    Versions 16 and later
    Note: You also have the ability to start the page import via a Drag and Drop of the HTM file into the page editor of WEBDEV.
    New in version 16
    Note: You also have the ability to start the page import via a Drag and Drop of the HTM file into the page editor of WEBDEV.
    Note: You also have the ability to start the page import via a Drag and Drop of the HTM file into the page editor of WEBDEV.
  4. Select the import mode. The styles and the images associated with the imported page can be managed according to two methods:
    • If "I import an independent page into the project" is selected:
      • a WEBDEV style sheet (".WWS" file) is created and automatically associated with the imported page. This style sheet contains all the CSS styles of the initial page.
      • the different images associated with the imported page will be copied into a specific directory ("<PageName>" sub-directory of the project directory).
    • If "I import several pages of the same site into the project" is selected:
      • the styles of the imported page are automatically added to the style sheet associated with the project.
      • the different images associated with the imported page will be copied into the "<ProjectName>_WEB" directory of the project.
  5. Validate. The HTML page is automatically included in the current WEBDEV project.
    • Versions 17 and later
      If identical styles are identified in the HTML page to import, only one type is created in the imported page.
      New in version 17
      If identical styles are identified in the HTML page to import, only one type is created in the imported page.
      If identical styles are identified in the HTML page to import, only one type is created in the imported page.
    • Versions 17 and later
      If a style used in an already imported HTML page is detected, this same style will be re-used.
      New in version 17
      If a style used in an already imported HTML page is detected, this same style will be re-used.
      If a style used in an already imported HTML page is detected, this same style will be re-used.
Note: When importing an HTML page, we recommend that you do not perform any "copy-paste" operations.

Imported elements

The table below presents the main transformations performed between the initial HTML page and the created WEBDEV page:
Source HTML pageCreated WEBDEV page
LinkLink control associated with the action of the source link
Java appletJava Applet control associated with the source Java Applet
<OBJECT> and <BLINK> tagsHTML control with the content of source tags
ImageImage control associated with the source image
StaticStatic control or HTML Static control with the content of initial static.

Note: The map areas are not imported.
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment