Jump to content

MS Word Code Box


The Little Guy

Recommended Posts

yes. You would style it just like how codeboxes are styled on web pages.  Only you use the dropdowns and stuff. You can draw a box around it or insert a table.  Make the background a certain color if you want.  As Mchl pointed out, make the font different.  Don't think there's any kind of automatic "syntax highlighting" built-in.  Might have to make a script or post on a dummy board somewhere and I think if you c/p the results into ms word the colors should port over too (not 100% on that though...) If not, you'll have to manually do it..

Link to comment
https://forums.phpfreaks.com/topic/155641-ms-word-code-box/#findComment-819269
Share on other sites

I actually love the way office07 has the ribbon set up with your stylesheets.  When I've written some documentation for projects I've done I set up specific styles for comment and code sections.  Just click a button and that text is wrapped in your style.  I know 2003 has stylesheets but not nearly as nice as 07s implementation.

Link to comment
https://forums.phpfreaks.com/topic/155641-ms-word-code-box/#findComment-819579
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.