Paragraph styles through plugin API?

3 messages Options
Embed this post
Permalink
Jesse Barnum-2

Paragraph styles through plugin API?

Reply Threaded More More options
Print post
Permalink
I see where I can get the character styles of an fmx::Text object,  
but I see no way to retrieve paragraph styles, such as whether it's  
left-, center-, or right-aligned. Am I missing something?

--Jesse Barnum, President, 360Works
http://www.360works.com 770-234-9293
FBA Platinum, FileMaker 8 Certified
== SuperContainer: A Better Container Field ==

Jake Traynham

Re: Paragraph styles through plugin API?

Reply Threaded More More options
Print post
Permalink
Hi Jesse,

Jesse Barnum wrote:
>
>
> I see where I can get the character styles of an fmx::Text object,
> but I see no way to retrieve paragraph styles, such as whether it's
> left-, center-, or right-aligned. Am I missing something?

Nope. :(

Although, I think the information is included in the return from
GetAsCSS in the most recent versions of FMP.  So, if you know the name
of the  field, you can Evaluate it with GetAsCSS and extract it.

HTH,
Jake


--
Jake Traynham
Owner, CNS Plug-ins
http://www.cnsplug-ins.com/
Jesse Barnum-2

Re: Paragraph styles through plugin API?

Reply Threaded More More options
Print post
Permalink
Thanks Jake - that saves me a bunch of time trying to figure out what  
I'm doing wrong!

--Jesse Barnum, President, 360Works
http://www.360works.com 770-234-9293
FBA Platinum, FileMaker 8 Certified
== SuperContainer: A Better Container Field ==

On Aug 11, 2008, at 10:07 AM, Jake Traynham wrote:

> Hi Jesse,
>
> Jesse Barnum wrote:
>>
>>
>> I see where I can get the character styles of an fmx::Text object,
>> but I see no way to retrieve paragraph styles, such as whether it's
>> left-, center-, or right-aligned. Am I missing something?
>
> Nope. :(
>
> Although, I think the information is included in the return from
> GetAsCSS in the most recent versions of FMP.  So, if you know the name
> of the  field, you can Evaluate it with GetAsCSS and extract it.
>
> HTH,
> Jake
>
>
> --
> Jake Traynham
> Owner, CNS Plug-ins
> http://www.cnsplug-ins.com/
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>