I had some problems getting my google docs formatting to appear on correctly on the forums. I would either have to lose all my bold and italics or lose all my colors, depending on how i pasted it. I found the following workaround that might be helpful for some people.
1. Download the google doc as a DOCX.
2. Paste the following code into a new word doc and save it as a .bas file (example wtbb.bas)
[sblock]
'Word2BBCode-Converter v0.1
Sub Word2BBCode()
Application.ScreenUpdating = False
ConvertItalic
ConvertBold
ActiveDocument.Content.Copy
Application.ScreenUpdating = True
End Sub
Private Sub ConvertBold()
ActiveDocument.Select
With Selection.Find
.ClearFormatting
.Font.Bold = True
.Text = ""
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Forward = True
.Wrap = wdFindContinue
Do While .Execute
With Selection
If InStr(1, .Text, vbCr) Then
' Just process the chunk before any newline characters
' We'll pick–up the rest with the next search
.Font.Bold = False
.Collapse
.MoveEndUntil vbCr
End If
' Don't bother to markup newline characters (prevents a loop, as well)
If Not .Text = vbCr Then
.InsertBefore ""
.InsertAfter ""
End If
.Font.Bold = False
End With
Loop
End With
End Sub
Private Sub ConvertItalic()
ActiveDocument.Select
With Selection.Find
.ClearFormatting
.Font.Italic = True
.Text = ""
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Forward = True
.Wrap = wdFindContinue
Do While .Execute
With Selection
If InStr(1, .Text, vbCr) Then
' Just process the chunk before any newline characters
' We'll pick-up the rest with the next search
.Font.Italic = False
.Collapse
.MoveEndUntil vbCr
End If
' Don't bother to markup newline characters (prevents a loop, as well)
If Not .Text = vbCr Then
.InsertBefore ""
.InsertAfter ""
End If
.Font.Italic = False
End With
Loop
End With
End Sub
[/sblock]
3. open your DOCX in word.
4. Press Alt+F11 to open the VBA editor.
5. click import file and import your .bas file.
6. Click run macro
7. copy and paste your new marked up document back into google docs. (for some reason copying straight from word causes the colors to disappear)
8. copy your new google doc on to the board.
this only converts bold and italics not underlines, images, or hyperlinks, fyi.