ng to find a solution, tabs have turned out to be
>> tricky little devils in LC !!
>>
>> best, Bob...
>>
>>> From: Paul Dupuis mailto:p...@researchware.com>>
>>> To: use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>
>>>
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:
>
> R
pent
> inordinate hours trying to find a solution, tabs have turned out to be tricky
> little devils in LC !!
>
> best, Bob...
>
> > From: Paul Dupuis mailto:p...@researchware.com>>
> > To: use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com
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 forma
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 no
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 su
rev.com>
> Subject: Re: Saving a tab formatted field to a file and retaining its
> formatting
>
> Look at "revPrintField" in the Dictionary. If I recall, I think this can
> be used with the open printing to pdf command
may be one or more pages.
I haven’t got into controlling fonts yet, meaning does the “printing to pdf”
use the font attributes that are displayed in the field on the card or ? My
simple test suggests yes.
best, Bob...
Subject: Re: Saving a tab formatted field to a file and ret
suggests yes.
best, Bob...
> Subject: Re: Saving a tab formatted field to a file and retaining its
> formatting
>
> 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
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 L
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 cu
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 o
] On Behalf
Of Richard Gaskin via use-livecode
Sent: Monday, April 08, 2019 11:56 AM
To: use-livecode@lists.runrev.com
Cc: Richard Gaskin
Subject: Re: Saving a tab formatted field to a file and retaining its
formatting
Robert J. Earp wrote:
> Dear all, we have a field that is formatted nicely w
...
> From: Paul Dupuis mailto:p...@researchware.com>>
> To: use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>
> Subject: Re: Saving a tab formatted field to a file and retaining its
> formatting
> Message-ID: <mailto:ce0de0c4-5daa-22c0-bf46
-- 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 su
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
>> ("file:"&specialFolde
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
do
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:"&specialFolderPath("desktop")&slash&"savedfield.rtf")
And then reading it back to a new field with:
set the rtfText of field "Y" to URL
("file:"&specialFolderPat
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
Ple
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
> for
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
inform
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:"&specialFolderPath("desktop")&slash&"savedfield.rtf")
And then reading it back to a new field with:
set the rtfText of field "Y" to URL
("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf")
and the tab spacing
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 formatting
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 ?
Thanks in advance for your sugges
28 matches
Mail list logo