Step 1 should have read "Using WR Count and WR GET PICTURE IN PAGE INFO"
> On Jun 12, 2018, at 11:41 AM, JOHN BAUGHMAN wrote:
>
> 1. In 4D Write store the position and dimensions of each anchored picture
> place holder into a c_object.
> Using WR Count and WR SELECT PICTURE IN PA
If anyone was following the original thread, the underlying problem was how to
address Anchored Picture place holders when converting a 4D Write template to
4D Write Pro. Beyond that, how to populate the place holder pictures when the
4D Write Pro template is used.
My last post left this proble
Of course that works. Thanks. I was getting tired and cranky last night.
> On Jun 10, 2018, at 10:36 PM, Keisuke Miyako via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>
> I suppose you could use EDIT FORMULA, for a start...
>
>> 2018/06/11 16:06、JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> のメー
I suppose you could use EDIT FORMULA, for a start...
> 2018/06/11 16:06、JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> のメール:
>
> BTW, another thing I cannot find is any way to provide a means for end users
> to insert 4D expressions as they can in 4D Write. I could write a dialog for
> this, b
> On Jun 10, 2018, at 8:37 PM, Keisuke Miyako via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>
> I must say it would be difficult to manipulate an existing anchored image
> without Get elements or Get element by id (v17).
You assumed correctly in that these are anchored pictures. I have discove
WP SET A. expects different kind of "range", depending on the attribute type.
for example,
// a regular range to specify where to insert the image
$range:=WP Create range($wp_l;wk end text;wk end text)
// insert the image in range
WP INSERT PICTURE($range;$data;wk append)
// the URL is a proper
Ahhh…. V17. I am working in v16R6.
Given a 4D Write Pro Template with a bunch of pictures that are in essence
place holders to be filled when the template is used, how can I use WP SET
ATTRIBUTES tp assign pictures from the database when the template is used…
WP SET ATTRIBUTES(picture1R
c.f.
http://doc.4d.com/4Dv17/4D/17/WP-Get-elements.301-3703212.en.html
a whacky alternative would be:
WP EXPORT DOCUMENT + wk web page complete and parse the XHTML (or count the
number of attachments)
working directly with XHTML is also quite useful to setup a preconfigured
document with non-
> On Jun 10, 2018, at 12:53 PM, Keisuke Miyako via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>
> WP Get element <--- returns a collection
I cannot find WP Get element.
Thanks.
John Baughman
1331 Auwaiku Street
Kailua, Hawaii 96734
(808) 262-0328
john...@hawaii.rr.com
if you want to bulk-update all pictures in a range, use
WP Create picture range (was WP Get pictures) <--- returns a class of object
suitable for GET/SET ATTRIBUTES
if you want to access each pictures in a range or document, use
WP Get element <--- returns a collection
**
I need to determine programmatically how many pictures a user has placed in a
page’s background. In 4D Write I used WR Count(myWRArea;13).
Can't find a way in 4D Write Pro to count the number of pictures in the page,
in background or otherwise.
Thanks,
John
John Baughman
1331 Auwaiku Stree
11 matches
Mail list logo