Reset Table Style for all tables

This forum is for all Flare issues related to importing files or projects.

Reset Table Style for all tables

Postby WebHelpppp on Tue Dec 16, 2014 8:10 am

Is there a tool that I can run to reset the table style on all tables in my project and then apply my table style to all tables?
WebHelpppp
Propeller Head
 
Posts: 59
Joined: Thu Jul 17, 2014 8:08 am

Re: Reset Table Style for all tables

Postby Nita Beck on Tue Dec 16, 2014 10:38 am

I'm not aware of one. My hunch is that there will be some many uniquenesses to the tables (varying number of columns, of rows) that the only option might be, on a table-by-table basis, to use Flare's Reset Table Style command and then apply the desired table style. Tedious work, I know.

Of course, I could be wrong and code-savvier cohorts may offer something more robust.

In any case, if you do find such as a tool to reset the table styles in one operation, be sure to back up the entire project first. MUCH could go awry.
Nita
Image
Content Strategist / Information Architect / Flare Consultant: http://beck-communications.com
Manager, Rochester Flare User Group: http://www.facebook.com/RochesterFlareUserGroup
Nita Beck
Senior Propellus Maximus
 
Posts: 2975
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Reset Table Style for all tables

Postby SteveS on Tue Dec 16, 2014 2:33 pm

Is it possible to create a new table stylesheet and use a text editor to overwrite (copy and paste) your existing style sheet? That would return your table styles to the default properties.

Of course, back-up before you take an extreme step...
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
SteveS
Propellus Maximus
 
Posts: 1916
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).

Re: Reset Table Style for all tables

Postby emsachs on Wed Dec 17, 2014 11:31 am

You could do a search and replace in source. Go to Home > Find and Replace in Files and select "Find in source code". Then for each style you want to replace do the following two searches:

Search for Resources/TableStyles/OldTableStyle.css
Replace with Resources/TableStyles/MyTableStyle.css (where MyTableStyle is the style you want)

Search for class="TableStyle-OldTableStyle"
Replace with class="TableStyle-MyTableStyle"

I would try this out on a single file first, then open it in the XML editor and see if it is okay. Then you can search and replace across the whole project.

If you have a lot of old table styles and are brave about regular expressions, you can use a text editor such as Notepad++ to search and replace all table types at once.
emsachs
Propeller Head
 
Posts: 91
Joined: Wed Nov 19, 2014 12:49 pm

Re: Reset Table Style for all tables

Postby WebHelpppp on Fri Dec 19, 2014 1:29 pm

The Find and Repace OldtableStyle.css with NewTableStyles.css seems to work, so far it doesn't look like it broke anything. :) Thanks!
WebHelpppp
Propeller Head
 
Posts: 59
Joined: Thu Jul 17, 2014 8:08 am

Re: Reset Table Style for all tables

Postby mimisc on Wed May 02, 2018 11:52 am

It's built in and pretty easy. Steps: http://www.uaeurope.com/articles/TablesMadCapFlare.html
mimisc
Jr. Propeller Head
 
Posts: 8
Joined: Fri Feb 02, 2018 9:33 am


Return to Importing

Who is online

Users browsing this forum: No registered users and 1 guest