Dear Håkan,
Please accept my apologies at not replying to you before, and many thanks for
contacting me and the suggestion. For our current use we can manually set the
tab positions in a field, and now that we have learnt to combine "open printing
to pdf" and “ evPrintField" we can easily
Why? I already have that for Mac via Applescript and Javascript. You can also
populate a .fdf file if it's properly formatted, and the PDF is configured to
access it upon opening. Also there is the qrtPDFLib.
Bob S
> On Apr 9, 2019, at 09:00 , Robert J. Earp via use-livecode
> wrote:
>
>
If you want the tab stops to be included in the file I guess you need to add
them manually to the rtf file. There is a \tx command in rtf that sets the tab
size. I used it long time ago so I don’t remember of it was relative or absolut
positions but I do think it should be doable…
:-Håkan
On 8
Have you tried revPrintField? It's an oldie but goodie.
From: use-livecode on behalf of Robert
J. Earp via use-livecode
Sent: Monday, April 8, 2019 12:24 PM
To: use-livecode@lists.runrev.com
Cc: Robert J. Earp
Subject: Re: Saving a tab formatted field to a file and retaining its formatting
Robert J. Earp wrote:
> Many thanks Paul and to Ron Metzker who kindly contacted me off-list
> with a comprehensive handler of what he does using revPrintField.
> I must admit that the Dictionary still leaves a lot to be desired and
> without the valued members of this and other lists LC would
Robert J. Earp wrote:
> Richard wrote:
>> > Would LC's built-in print to PDF support not be an option?
>
> Richard, many thanks for the thought. If you mean the built-in
> “printing to pdf” then yes, but as far as I could see it only prints
> cards, not just field content. Is there other pdf
Many thanks Paul and to Ron Metzker who kindly contacted me off-list with a
comprehensive handler of what he does using revPrintField. I must admit that
the Dictionary still leaves a lot to be desired and without the valued members
of this and other lists LC would not be so successful ;-)
We
Look at "revPrintField" in the Dictionary. If I recall, I think this can
be used with the open printing to pdf command
On 4/10/2019 12:46 PM, Robert J. Earp via use-livecode wrote:
Richard, many thanks for the thought. If you mean the built-in “printing to
pdf” then yes, but as far as I
Richard, many thanks for the thought. If you mean the built-in “printing to
pdf” then yes, but as far as I could see it only prints cards, not just field
content. Is there other pdf support ?
So, we’re having to mess around with creating a series of cards with a single
field on each with
Robert J. Earp wrote:
> I’m not sure if the HTMLText solution will work for us as by default
> the output file would open in a browser and we need to get it into
> .pdf format to assemble (in Acrobat) with the other parts of the
> report.
>
> RogerG and I are currently mousing around creating a
Many thanks for all of the great response and from such experts !!
I’m not sure if the HTMLText solution will work for us as by default the output
file would open in a browser and we need to get it into .pdf format to assemble
(in Acrobat) with the other parts of the report.
RogerG and I are
On 2019-04-08 18:27, Ralph DiMola via use-livecode wrote:
No tabstops using the styledText property either. This is the one I
would
have expected to include the tab stops/widths.
Both styledText and htmlText representations do include the tabStops
(and tabAlign) settings - however both those
This is a bit more useful. Pass the long id of the field object:
function fieldToHTMLTable pFieldID
if not there is a field pFieldID then return "ERROR: Field object does not
exist!"
put the htmltext of pFieldID into ht
put the effective textSize of pFieldID into fs
put the tabstops
No tabstops using the styledText property either. This is the one I would
have expected to include the tab stops/widths.
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com]
Thanks for the reply Paul. Yes, tried that but there are problems. It saves a
.rtf file but when you open that in MSWord (OS X or Windows) the tabs are
changed to underscores. If you open the file in OS X TextEdit it does have
tabs but the position/spacing is not retained. I’ve created a
-- Converts a simple table field with tabstops to a html
http://lists.runrev.com/pipermail/use-livecode/2019-March/253271.html
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
Robert J. Earp wrote:
> Dear all, we have a field that is formatted nicely with tabs and want
> to save that as a file, retaining the tab formatting. The saved file
> format ideally should be .rtf but we may be able to use other formats
> such as .pdf
>
> Anybody got any ideas how to do this ?
I just tested with htmltext. Tab stops are NOT preserved.
Bob S
> On Apr 8, 2019, at 07:55 , Paul Dupuis via use-livecode
> wrote:
>
> On 4/7/2019 9:00 PM, Paul Dupuis via use-livecode wrote:
>> I take it your have tried:
>>
>> put the rtfText of field "X" into URL
>>
Because the tab stops are not part of the data of any formatted text
properties. You can test this by creating a table field, setting the tab stops
to whatever you want, typing some information, setting the clipBoardData
["rtftext"] to the rtftext of the table field, then pasting into a word
On 4/7/2019 9:00 PM, Paul Dupuis via use-livecode wrote:
I take it your have tried:
put the rtfText of field "X" into URL
("file:"("desktop")&"savedfield.rtf")
And then reading it back to a new field with:
set the rtfText of field "Y" to URL
("file:"("desktop")&"savedfield.rtf")
and the
I am usually very good at describing problems.
I am not so good at describing solutions.
Craig
--
Sent from:
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
___
use-livecode mailing list
use-livecode@lists.runrev.com
That is a very clear explanation of what I think the problem is.
Roger
> On Apr 8, 2019, at 7:03 AM, dunbarxx via use-livecode
> wrote:
>
> But that is a property of a field, not of text, and I do not think such
> information can be similarly "transmitted", regardless of how that text is
>
Aha. TabStops.
Unless I am missing something, is it that the data in a tabStop formatted
field is to be copied somehow, so that if loaded into a brand new field, the
tabStops property is also "loaded" into that field?
But that is a property of a field, not of text, and I do not think such
I don’t think it is the tab character but rather the tab stops that are the
problem.
Brian
On Apr 8, 2019, 9:26 AM -0400, dunbarxx via use-livecode
, wrote:
> Hi.
>
> I am always missing something. Why is there an issue retaining tabs in a
> body of ordinary text?
>
> I have a table field with
Hi.
I am always missing something. Why is there an issue retaining tabs in a
body of ordinary text?
I have a table field with "A" & tab & "B" & tab & "C" in it. If I write that
text into a file on my desktop and then load it back into the second line of
that field:
on mouseUp
get fld 1
I take it your have tried:
put the rtfText of field "X" into URL
("file:"("desktop")&"savedfield.rtf")
And then reading it back to a new field with:
set the rtfText of field "Y" to URL
("file:"("desktop")&"savedfield.rtf")
and the tab spacing is not preserved?
On 4/7/2019 7:57 PM,
I sent a similar message some time ago to no avail. Let’s see if you are more
successful.
R
> On Apr 7, 2019, at 4:57 PM, Robert J. Earp via use-livecode
> wrote:
>
> Dear all, we have a field that is formatted nicely with tabs and want to save
> that as a file, retaining the tab
27 matches
Mail list logo