Scroll office not maintaining Code Macro text format

When I create a code snippet in Confluence, such as below, using the 'Code' Macro

try{
    String temp = new String(); 
    temp = "10";
    System.out.println(temp);
}catch(Exception e){
    //Log out the exception
}

Scroll office doesn't maintain the indenting or spacing. I have created a table style in my word template called Scroll Code.

Is there a something specific I need to add in the table style to make sure the Code format is preserved? It would be nice if the colour scheme is preserved but I really require that the spacing is preserved.

2 answers

1 accepted

Hi Mike,

Syntax highlighting as well as line numbers are not yet supported. However https://k15t.jira.com/browse/OFCE-218 will take care of it.

Regarding the spacing - I know you already contacted support@k15t.com as I am the one who replied to it :)

Best,
Tobias

Hi Tobias,

In response to your email;

Attached is my output document from Scroll Office 2.5.16

I assume it is an issue with my template document. I have also attached the storage format of the confluence page. Don't know if that will help or not.

Thanks,

Mike

Output file: Rename from .txt to .docx (Confluence Demo Page-v21-20120917_0821.txt)

Storage Format Document: (ConfluenceDemoPageStorageFormat.txt)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,915 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you