4D Write Pro: Easily locate all the breaks
4D Write Pro documents support five types of breaks:
- line breaks
- paragraph breaks
- page breaks
- section breaks
- column breaks
Sometimes, you need to locate a certain type of break to replace it with another, or simply delete all its occurrences in the document. To make this possible, we developed a new function: WP Get breaks.
4D View Pro: End of document loading
When you use 4D View Pro (especially in offscreen mode) with complex documents, calculating all formulas could take a while and it can be difficult to know when it’s finally finished (and it’s important to wait before you call commands such as export or print).
As a solution, we’ve introduced two new events. One of which is called for every single calculation/formula, which could be used to trigger a timer. If the time expires without another formula being finished, we can assume that the whole document is finished.
4D View Pro: Offscreen Areas
Want to dynamically generate 4D View Pro documents on a server and, for example, send them by email or calculate values? 4D v18 R4 introduces a new command to manipulate 4D View Pro commands in an offscreen area: VP Run offscreen area.
4D View Pro: SVG conversion
Do you need to print a 4D form with an embedded 4D View Pro document, or maybe displaying part of the document in a 4D View Pro document? With the VP Convert to picture command, you can create an SVG from a part of the 4D View Pro document and handle it like a picture. We’ll show how in this blog post.
Use collections to write and read in 4D View Pro
If you need to read or write hundreds of different values or formulas, you can do it faster, easier, and at the same time by using collections. New commands are available for this: VP SET VALUES, VP Get values, VP SET FORMULAS, and VP Get formulas.
Get and Set cell content in 4D View Pro
The ability to interact with a document via programming is an important part of using 4D View Pro. Now you can fill your documents by programming. You can set data as labels, database fields, or formulas in your document. Of course, if you can set, you can get too! You can also retrieve cell formulas or values entered by your users.
Work with .xlsx documents using 4D View Pro
Do you need to open a Microsoft Excel document directly in your 4D View Pro area, or convert a 4D View Pro document to Microsoft Excel format to send it to a customer? It’s now possible! Thanks to this feature, your 4D business applications have taken a further step towards better compatibility with the MS Office environment.
Manage sections with code in a 4D Write Pro document
Want a different background per section? Or maybe a different margin per section? How about a different number of columns per section? Want to do all this with code?
With 4D v17 R3, you can manipulate sections with code to create complex and beautiful 4D Write Pro documents!
Convert a 4D View document to 4D View Pro
We know how important your customer’s existing 4D View documents are, and being able to move them to 4D View Pro has been a priority for us. This is now possible with 4D v16 R6 (as a preview). Converting your 4D View documents to 4D View Pro is just a single line of code, thanks to the new command, VP Convert from 4D View.
Contact us
Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!
* Your privacy is very important to us. Please click here to view our Policy