importing Frame files with code snippets

This forum is for all Flare issues related to importing files or projects.
Post Reply
robf
Jr. Propeller Head
Posts: 3
Joined: Sat Mar 28, 2009 1:36 pm

importing Frame files with code snippets

Post by robf »

After importing a Frame file with code tagged code and mapping to pre, the code comes in correctly spaced, only the tabs are expanded so that code runs off the page.

From the Flare created .htm file:

Code: Select all

        <h2 class="Heading2" style="font-family: Arial;">Example</h2>
        <p class="Code">					<Photo></p>
        <p class="Code">						<PhotoAttributes></p>
        <p class="Code">							<Filename Value="hc_page_1234567_0001.pdf"/></p>
        <p class="Code">							<ImageType Value="pdf"/></p>
        <p class="Code">							<ElementName Value="Photo1"/></p>
        <p class="Code">							<CropStyle Value="StretchFit"/></p>
        <p class="Code">						</PhotoAttributes></p>
        <p class="Code">					</Photo></p>
Note that in the actual file the white space uses the same tabes I have in the Frame doc. It just interprets those tabs as twice the size (about 10 pt vs 4 pt). It makes the doc unreadable.

Any suggestions?
KevinDAmery
Propellus Maximus
Posts: 1985
Joined: Tue Jan 23, 2007 8:18 am
Location: Darn, I knew I was around here somewhere...

Re: importing Frame files with code snippets

Post by KevinDAmery »

Remove half of the tabs? Change the tab spacing back down to 4pts? One of those two should do it.
Until next time....
Image
Kevin Amery
Certified MAD for Flare
robf
Jr. Propeller Head
Posts: 3
Joined: Sat Mar 28, 2009 1:36 pm

Re: importing Frame files with code snippets

Post by robf »

Where do I change the tab spacing in Flare - tab spacing in Frame seems to have no effect - already played with that option.

In the Flare program the tabs do not show up. Code snippet shown here is from viewing .htm file in text editor.
Madcap Guru
Sr. Propeller Head
Posts: 238
Joined: Tue Mar 17, 2009 10:41 pm

Re: importing Frame files with code snippets

Post by Madcap Guru »

I would talk to support and open a ticket, those guys love dealing with issues like this, It maybe just an issue with the way it was formated in Frame
Rick Ferrell
____________________________

Former Flare and Robohelp Support
Image
gkidder
Propeller Head
Posts: 19
Joined: Mon Apr 28, 2008 12:13 pm

Re: importing Frame files with code snippets

Post by gkidder »

You should be able to control this on the import style sheet. Save the stylesheet that's created on import under a different name. Associate that stylesheet with the import file. Then you can tweak the stylesheet as you like.
robf
Jr. Propeller Head
Posts: 3
Joined: Sat Mar 28, 2009 1:36 pm

Re: importing Frame files with code snippets

Post by robf »

Solved problem by replacing tabs in Frame with two spaces - three spaces also works most of the time.

Thanks for the suggestions.
Post Reply