Removing custom row heights
Heiko Haida
info at heiko-haida.de
Mon Jul 7 11:43:25 PDT 2014
Hi Craig,
this kind of manipulation via MIF sounds like a very good idea. I did
not check, but I am pretty sure this would work.
Best regards -
Tino H. Haida
Craig Ede:
> I wasn't suggesting a table by table approach, but a search and replace approach of the kind Shmuel describes. Framemaker could do the search and replace, but Notepad++ is a lot more efficient.
>
> Notepad++ seems to work using search and replace as follows (for all tables). You could restrict it to the particular table setting you want removed if you'd like.
>
> Use the regular expression option.
>
> Set Find to <RowMinHeight *.*">
>
> Set Replace to <RowMinHeight 0">
>
> If you cut & paste a <RowMinHeight x.xxx"> line from the mif, you'll get the right space and tick marks.
>
> Here's a JPG showing the options selected in Notepad++. Do a Find Next to make sure you are getting what you want and then do a replace all. Retain a copy of your original file.
>
> Note that you can do the replace on a whole series of open documents.
>
> Craig
>
> FROM: Shmuel Wolfson [mailto:shmuelw1 at gmail.com]
> SENT: Monday, July 07, 2014 11:42 AM
> TO: Craig Ede; Framers
> SUBJECT: Re: Removing custom row heights
>
> Yes, but this could take a long time if you have a lot of tables with a lot of rows.
>
> However, if you do the search and replace using a text editor that supports regular expressions (Notepad++, etc.) this could be a good solution. The regular expression to search for would be "RowMinHeight [0-9]*.[0-9]*" (without the quotes) and replace with RowMinHeight 0.
>
> Shmuel Wolfson
>
> Technical Writer
>
> 052-763-7133
>
> On 07-Jul-14 7:12 PM, Craig Ede wrote:
>
>> I set the row heights to zero, which I believe is the default. FrameMaker seems to take things over from there using the current paragraph tag to set the height to the minimum without obscuring text.
>>
>> If all your custom settings are the same (for example: "1.56789") you can do a simple search and replace in the mif.
>>
>> Replace:
>>
>> <RowMinHeight 1.56789">
>>
>> with
>>
>> <RowMinHeight 0">
>>
>> It looks to me like you could reset all tables by just removing the <RowMinHeight x.xxxxx> line from the mif. That would require a more sophisticated find value that used wildcards (or regexp)
>>
>> Try this on a copy of a file and see if that works for you.
>>
>> Craig
>>
>> FROM: framers-bounces at lists.frameusers.com [mailto:framers-bounces at lists.frameusers.com] ON BEHALF OF Christenson, Pat
>> SENT: Thursday, June 19, 2014 2:36 PM
>> TO: framers at lists.frameusers.com
>> SUBJECT: Removing custom row heights
>>
>> Almost all our tables have custom row heights - ugh! Does anyone know of a way to global reset the row heights to the defaults? I can't find anything in FrameMaker so I'm wondering if there's an add-on for it.
>>
>> FrameMaker 10, Windows 7 Professional
>>
>> Thanks!
>>
>> Pat Christenson
>>
>> Resource Coordinator
>>
>> Fitzgerald Marketing and Communications
>>
>> PChristenson at ftportfolios.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frameusers.com/pipermail/framers-frameusers.com/attachments/20140707/2cc4a051/attachment.htm>
More information about the framers
mailing list