Skip to content

modern WP Toolbar - for 4D Write Pro - with more features and colored icons

Notifications You must be signed in to change notification settings

ArminDeeg/modern-WP-Toolbar---4D-WritePro-Interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 

Repository files navigation

modern WP Toolbar - 4D WritePro Toolbar

Modded 4D WP Toolbar with more features and colored icons

See releases on the right side to download the specific version matching to

• 4D v18r3 = v19.x

• 4D v19r3

• 4D v19r5

• 4D v19r8 = v20.x

WP Toolbar as a timesaver, here is my modern interpretation of the 4D Write Pro Toolbar, based on the original source from 4D (https://github.com/4d/4D-WritePro-Interface)

v19r8+ = v20: Toolbar v19r8 blue

Toolbar v19r8 green

v19r5: Toolbar v19r5 green

v19r3+: Toolbar v19r3 blue

v18r3+ =v19.x: Toolbar v18r3 red

Changes:

• arrangement of the icons according to my needs
• remove the light blue toolbar style
• font PopUp as hierarchic PopUp
• font PopUp also shows the subfonts
• font PopUp shows the last used fonts in the document
• customize table and cell formats to selectively set frames on the left, top, right, bottom.
• and a few more small adjustments

I have added some color sets with Photoshop. So everyone can choose a favorite color

1

To replace the color, simple replace inside the component - resources - Images the folder Toolbar1 and/or Toolbar2 with the matching folder from the other color toolbars folder Then you have to compile the source again and build as component

To test my source, just run this sample form:

4D test form

Screenshots:

Extended table formatting commands: Bildschirmfoto 2023-01-25 um 15 34 16

Hierarchic font popup menu:

4

default 4D WP Toolbar: tbdef

4D WritePro interface offers a set of palettes and a toolbar, which allow end users to easily customize a 4D Write Pro document.

A 4D developer can easily implement these palettes in his application. Thus the end user can handle all 4D Write Pro properties such as: fonts, text alignment, bookmarks, table layout, frames, ...

For more details, read the 4D WritePro Interface documentation (https://doc.4d.com/4Dv18/4D/18/Entry-areas.300-4575458.en.html#4607368) and the 4D Blog (https://blog.4d.com/?s=Write+Pro)

Documentation to compile a component for 4D: (https://developer.4d.com/docs/en/Desktop/building.html#build-component)

How to use the new modern WP Toolbar in your 4D database or project

Please note v19rXX versions do not match v19.XX 4D versions. If you are using v19.5, 
then you need to download the latest v18rxx version from me.
A Github account is not necessary.
  1. Download from Releases my WP Toolbar Source for your matching 4D v19 version.

    https://github.com/ArminDeeg/modern-WP-Toolbar---4D-WritePro-Interface/releases

  2. Open the modern 4DWritePro Toolbar.4DProject project file

  3. Compile the source

compiler

  1. Create the component from the project source: open Build Application... command in the Design menu of 4D

Build Application

a) Name the component as you like, for example like this

b) Create the component

create component

  1. Copy the created component into your active “Components” folder

copy component

Bildschirmfoto 2023-03-01 um 20 09 14

  1. Open your 4D project or binary database in source mode

  2. Open the desired form where the WParea widget with the WP Toolbar is located. (You can create preconfigured 4D Write Pro areas using the 4D Write Pro objects found in the Object library)

WPwidget

  1. Select the 4D Write Pro Toolbar widget and assign the WPmodern_Toolbar (modern WritePro Toolbar) as input form

WPtoolbarform

  1. Change the WP UpdateWidget method (inside WParea) to WPmodern UpdateWidget

WPareamethod

Thats it