4D Write Pro: Mastering Sections and Subsections with new functions!
Sections and subsections are the building blocks of any well-structured document. You’ve likely used them countless times, perhaps without even realizing it, as every document contains at least one section by default!
Whether you’re a seasoned pro or just starting out, this post will walk you through the basics of sections and subsections.
We’ll also explore the exciting new 4D Write Pro features in 4D 20 R7, which make managing these elements easier and more powerful than ever.
Listbox: “Blank if null” for TIME Columns and Footers!
For many versions, the “Blank if null” property has been available for “time” type zones, whether for input or display. However, it was not previously available for columns or footers of this type in listboxes. With 4D 20 R7, this limitation has been removed!
4D Write Pro: Make Hidden Table Borders Visible (Temporarily)
Working on 4D Write Pro tables with hidden lines can be tricky! You can’t tell where each cell ends, especially with merged ones. But 4D 20 R7 is shipped with a cool feature to show you those hidden lines, even if they’re normally invisible.
This makes working with tables much easier! Let’s see how this new view property works.
PDF/A3 Attachment Extraction
In previous posts, we explored embedding documents within PDF/A-3 files using 4D Write Pro, including generating electronic invoices. As e-invoicing becomes mandatory in various European countries—such as France and Germany—the ability to extract embedded XML files from these PDFs is becoming crucial. But the utility of PDF/A-3 extends beyond invoices; these files can embed various document types that may require extraction.
While tools like Adobe Acrobat Reader offer manual extraction, this post introduces an efficient, automated method using 4D 20 R6 to easily handle the process.
UX: Enhanced Scrolling Behavior in Subforms
User forms are all about making things easy for users. But what happens when scrolling becomes a battle between subforms and their contents? You’ve probably experienced this before: you try to scroll through a list box in a subform, but the entire subform moves instead. Or, worse, you try to scroll the subform itself, but the list box stubbornly stays put!
This has been improved with 4D 20 R6, making the action more natural.
Easy Reference Comparison of Objects & Collections
Objects have become an essential part of the 4D language and of Qodly.
But when you declare a variable of this type, you define a reference. So, how do you know if two objects are, in fact, just one and share the same reference?
Starting with 4D 20 R6, comparing object references is simple: enter the = and # operators!
This blog post explores these operators and how they help determine if objects share the same reference. Let’s find out more!
4D Write Pro: Manage Empty Datasources!
Since the tables in 4D Write Pro can be populated by datasources, numerous functions have been added to personalize them as much as possible. These include formulas linked to datasources, break rows, bottom carry over rows, etc.
4D 20 R6 refines table behavior with a new attribute: wk empty datasource. This attribute allows you to define how tables render when their linked datasource is empty, providing greater control over document presentation.
4D Write Pro. New Section Options Available in the Interface
As you know, 4D Write Pro manages two types of sections, continuous or with page breaks.
Whether you prefer distinct right-sided pages from the left or want the initial page to stand apart from the rest, these possibilities were once confined to programming or the context menu. However, there’s a positive shift on the horizon – the interface is evolving!
A Handy New 4D Write Pro Attribute: wk page size!
The WP SET ATTRIBUTES command in 4D Write Pro is undoubtedly one of the most frequently used commands, as its vast possibilities apply to all sorts of elements in your documents.
A new document attribute is now available in 4D 20 R5: wk page size. Let’s take a closer look at what it can do!
4D Write Pro: Tables without limit!
Since the introduction of tables in 4D Write Pro, many new features have been put in place. Including Headers, footers, sort breaks and, of course, the possibility of associating a datasource with the tables to fill them in automatically!
This last option meant that the maximum number of rows per table (1000) could often be reached. We took this into account and as of 4D 20 R5, this limit is no longer fixed and controlled by 4D Write Pro but only limited by available memory!
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