Tom, For the margins, have you tried something like this: - Create a Section object that contains all the pages whose margins you want to set - Apply the wk border width left/right/top/bottom attributes to that object
Pat On Tue, 6 Aug 2019 at 11:26, Tom Benedict via 4D_Tech <[email protected]> wrote: > Whoops! I neglected to update the subject prior to posting. I will add > another post regarding getting Standard Action values and how they are > connected to attributes at a later date. > > Tom > > > On Aug 5, 2019, at 20:16, Tom Benedict via 4D_Tech <[email protected]> > wrote: > > > > I am struggling with the new 4D Write Pro paradigm. > > > > One thing our Write Classic app has is a method which collects all the > “Document Properties” into an array which we can use to manage the whole > range of property/attributes for any given document or document editor. > > > > Given the fundamental changes between Write Classic and Write Pro, the > process of mapping these properties has proven to be a daunting task. I’ve > been digging my way through it, piece by piece, discovering bits here and > there in various parts of the documentation, blogs, sample DBs etc. > > > > There are many more, but here’s a few in the “Margins” theme which I’m > stuck on. Margins are totally different. Write Pro uses the HTML Box Model > consisting of Margin, Border and Padding boxes around each Element > (Content) box. (view in a monospaced font for the table to display > properly): > > > > > +-------------------------+----------------------+-----------------------------------+ > > | 4D Write Classic | 4D Write Pro | > | > > | WR Get doc property() | WP GET ATTRIBUTES() | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr text inside margin | wk inside | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr text outside margin | wk outside | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr text left margin | wk page margin left | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr text right margin | wk page margin right | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr text top margin | wk margin top | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr text bottom margin | wk margin bottom | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr header top margin | wk margin top | specify header in > range parameter | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr header bottom margin | wk margin bottom | specify header in > range parameter | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr footer top margin | wk margin top | specify footer in > range parameter | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr footer bottom margin | wk margin bottom | specify footer in > range parameter | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr paper width | wk page width | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr paper height | wk page height | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr dead left margin | | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr dead top margin | | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr left margin | | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr right margin | | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr printable width | | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr printable height | | > | > > > +-------------------------+----------------------+-----------------------------------+ > > | wr first indent | | > | > > > +-------------------------+----------------------+-----------------------------------+ > > > > Has anyone else already done this exercise and would like to help me > fill in the blanks? > > > > Thanks, > > > > Tom Benedict > > ********************************************************************** > > 4D Internet Users Group (4D iNUG) > > Archive: http://lists.4d.com/archives.html > > Options: https://lists.4d.com/mailman/options/4d_tech > > Unsub: mailto:[email protected] > > ********************************************************************** > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** -- ************************************************* CatBase - Top Dog in Data Publishing tel: +44 (0) 207 118 7889 w: http://www.catbase.com skype: pat.bensky ************************************************* ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

