zdavatz / spreadsheet

The Ruby Spreadsheet by ywesee GmbH
http://spreadsheet.ch
GNU General Public License v3.0
1.13k stars 240 forks source link

Trouble In Fancy Formatting Implementation Using Spreadsheet Gem #173

Closed meta-manish-sharma closed 7 years ago

meta-manish-sharma commented 8 years ago

While using spreadsheet gem i am facing trouble in fancy formatting of code snippet while reading data from xls file.

For example :

Main()
{
        int a = 0;
        while(a<5)
        {
                Sum(a);
                a++;
        }
}
void Sum(int a)
{
        static kk;
        printf(“%d”,kk+a);
        kk++;
}

While reading this code i am not able to maintain proper indentation of this code(spaces are removed).

Here is the file : question-upload.xls.zip

zdavatz commented 8 years ago

Sorry, I do not have solution for this at the moment.