Problem trying to wrap a Microsoft Word paragraph in XML tags?!? :/

Hello everyone. I really hope this is not a big problem and that some of your could help. I wrote a Macro in VBA like a year ago that was intented to put a tag before every single paragraph in a document. The logic validates that the paragraph have no other
tag before putting one. All of this is based in styles. Some font styles would end up with different tags. This is my code and it works:
Sub edictos()
' Edictos de El Nuevo Día
' 06/20/2005 by Carlos Stella Sistemas de Información
' Actualización 08/08/2012
'Ver 2.0 made by Samuel Otero -> 07/26/2013
Dim oPara As Paragraph
Dim oRng As Range
'Borramos headers y footers
Call ClearHeaderFooters
'Borramos column breaks
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "^n"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
'Lógica para poner los tags de Tera donde van
For Each oPara In ActiveDocument.Paragraphs
If oPara.Range.Style = "C10" Then
If InStr(1, oPara.Range.Text, "(intro)") = 0 And _
InStr(1, oPara.Range.Text, "(main)") = 0 And _
InStr(1, oPara.Range.Text, "(capara)") = 0 Then
oPara.Range.InsertBefore "(intro) "
End If
End If
If oPara.Range.Style = "J10" Then
If InStr(1, oPara.Range.Text, "(intro)") = 0 And _
InStr(1, oPara.Range.Text, "(main)") = 0 And _
InStr(1, oPara.Range.Text, "(capara)") = 0 Then
oPara.Range.InsertBefore "(intro) "
End If
End If
If oPara.Range.Style = "J12" Then
If InStr(1, oPara.Range.Text, "(intro)") = 0 And _
InStr(1, oPara.Range.Text, "(main)") = 0 And _
InStr(1, oPara.Range.Text, "(capara)") = 0 Then
oPara.Range.InsertBefore "(intro) "
End If
End If
If oPara.Range.Style = "LE" Then
If InStr(1, oPara.Range.Text, "(intro)") = 0 And _
InStr(1, oPara.Range.Text, "(main)") = 0 And _
InStr(1, oPara.Range.Text, "(capara)") = 0 Then
oPara.Range.InsertBefore "(main) "
End If
End If
If oPara.Range.Style = "XL" Then
If InStr(1, oPara.Range.Text, "(intro)") = 0 And _
InStr(1, oPara.Range.Text, "(main)") = 0 And _
InStr(1, oPara.Range.Text, "(capara)") = 0 Then
oPara.Range.InsertBefore "(main) "
End If
End If
If oPara.Range.Style = "MF" Then
If InStr(1, oPara.Range.Text, "(intro)") = 0 And _
InStr(1, oPara.Range.Text, "(main)") = 0 And _
InStr(1, oPara.Range.Text, "(capara)") = 0 Then
oPara.Range.InsertBefore "(main) "
End If
End If
If oPara.Range.Style = "HG" Then
If InStr(1, oPara.Range.Text, "(intro)") = 0 And _
InStr(1, oPara.Range.Text, "(main)") = 0 And _
InStr(1, oPara.Range.Text, "(capara)") = 0 Then
oPara.Range.InsertBefore "(main) "
End If
End If
If oPara.Range.Style = "LW" Then
If InStr(1, oPara.Range.Text, "(intro)") = 0 And _
InStr(1, oPara.Range.Text, "(main)") = 0 And _
InStr(1, oPara.Range.Text, "(capara)") = 0 Then
oPara.Range.InsertBefore "(main) "
End If
End If
If oPara.Range.Style = "J8" Then
If InStr(1, oPara.Range.Text, "(intro)") = 0 And _
InStr(1, oPara.Range.Text, "(main)") = 0 And _
InStr(1, oPara.Range.Text, "(capara)") = 0 Then
oPara.Range.InsertBefore "(main) "
End If
End If
' Agarrando texto sin estilo >_>
If oPara.Range.Font.Size <= 6 Then
If InStr(1, oPara.Range.Text, "(intro)") = 0 And _
InStr(1, oPara.Range.Text, "(main)") = 0 And _
InStr(1, oPara.Range.Text, "(capara)") = 0 Then
oPara.Range.InsertBefore "(main) "
End If
End If
If oPara.Range.Font.Size = 8 Then
If InStr(1, oPara.Range.Text, "(intro)") = 0 And _
InStr(1, oPara.Range.Text, "(main)") = 0 And _
InStr(1, oPara.Range.Text, "(capara)") = 0 Then
oPara.Range.InsertBefore "(capara) "
oPara.Range.InsertParagraphBefore
oPara.Range.InsertBefore "(start) "
End If
End If
If oPara.Range.Font.Size = 10 Then
If InStr(1, oPara.Range.Text, "(intro)") = 0 And _
InStr(1, oPara.Range.Text, "(main)") = 0 And _
InStr(1, oPara.Range.Text, "(capara)") = 0 Then
oPara.Range.InsertBefore "(intro) "
End If
End If
Next oPara
'Con esto borramos el primer espacio del documento (evitamos una línea demás en los edictos)
Selection.HomeKey Unit:=wdStory
Selection.MoveDown Unit:=wdLine, Count:=2
Selection.MoveRight Unit:=wdCharacter, Count:=8
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
Selection.TypeBackspace
'Crea el .txt para ser importado a Tera
ChangeFileOpenDirectory "C:\edictos\"
ActiveDocument.SaveAs FileName:="C:\edictos\Edictos.txt", FileFormat:= _
wdFormatText, AddToRecentFiles:=True, _
WritePassword:="", EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:= _
False, Encoding:=1252, InsertLineBreaks:=False, AllowSubstitutions:=False, _
LineEnding:=wdCRLF
MsgBox "Proceso completado", 0, "Yay!"
ActiveDocument.Close
End Sub
As you see, it ends up saving a .txt document with the tags.
NOW... the issue is that the tags wont work anymore in the new system, and I need to wrap the paragraph in XML Tags. I tried to do something like for styles:
If oPara.Range.Style = "LW" Then
If InStr(1, oPara.Range.Text, "<intro>") = 0 And _
InStr(1, oPara.Range.Text, "<main>") = 0 And _
InStr(1, oPara.Range.Text, "<capara>") = 0 Then
oPara.Range.InsertAfter "</main> "
oPara.Range.InsertBefore "<main> "
End If
End If
But it just would add the two tags before the paragraphs!!! Is there anyway to wrap the paragraph in XML tags, following my logic? Somebody help please!! Thank you!! :/

Hi,
Sorry for my delay.
I am afraid that this is not the proper forum for this issue, and I found that you have posted it in dedicated forum.
http://social.msdn.microsoft.com/Forums/office/en-US/8dad5670-d90b-4ea8-abe2-bc785a2368ca/problem-trying-to-wrap-a-microsoft-word-paragraph-in-xml-tags-?forum=worddev#8dad5670-d90b-4ea8-abe2-bc785a2368ca
I would suggest you focus on that thread to get more dedicated support.
Thanks for your understanding.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • So I've been trying to open some Microsoft Word Documents and it says it can't be opened because PowerPC applications are no longer supported. What do I do about this?

    So I've been trying to open some Microsoft Word Documents and it says it can't be opened because PowerPC applications are no longer supported. What do I do about this?

    Workarounds:
    1.  Restore the OS X that you formerly used to run Word 2004;
    2.  Partition your hard drive or attach an external hard drive and install Snow Leopard (and Rosetta) so that you can "dual-boot" into Microsoft Word 2004;
    3.  Upgrade to Word 2011 or use an alternative program; or
    4.  The solution I use: Install Snow Leopard (and Rosetta) into Parallels 7 or 8:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439

  • Problems Converting/Export PDF to Microsoft Word

    Help! I am having Problems Converting/Export PDF to Microsoft Word.  I am paying $19.99 per month. what do I do?

    If you are having a problem understanding how to use the software you should post in the forum for the product involved. 
    Here is a link to a page that has links to all Adobe forums...
    Forum links page:
    http://forums.adobe.com/index.jspa

  • Read a word embedded in xml tag

    Hi everyone...
    i am an university student. i am doing a final year project.....dealing with program
    i want to ask how to read a word embedded in xml tag...
    that is e.g apple
    xml file: <fruit> apple </fruit>
    <price>$4.00</price>
    how to read apple from xml file and using a variable to store the word using java?
    pls help.....

    If you want to parse XML (more than the simple example you give), I recommend you go here: http://xml.apache.org and download Xerces for Java.
    If you want to parse the text yourself, look at:
    java.lang.String methods: indexOf(String,int) and substring(int,int)
    java.util.StringTokenizer

  • Report for editing the word document with xml tags

    Hi all,
    My requirement is to edit the contents of the word document in the presentation server through report programming and save that document  in the presentation server.
    For eg if my word document contains many xml  tags with spaces < EDI_DS40 >, i would like to remove the spaces and i want it to be lyk <EDI_DS40>.Then say if i wanted to make some modification (addition, deletion,replacing with some text) in the text in some nth line of the document how can dis be dione.
    Is there any function module or bapi which serves this purpose.
    Can anyone pls guide me on dis.
    Thanks & Regards,
    Revathi.

    Hi,
    just to let you know I have sorted this.
    http://macintoshhowto.com/leopard/how-to-merge-pdf-files-with-preview-in-leopard .html
    Thanks.

  • I get the error message "Missing PDFMaker files" when trying to convert a microsoft word document(.docx)

    When I right click the word file and select Convert to Adobe PDF, I get the error message "Missing PDFMaker files".
    Im using Windows Vista Home Premium, Service Pack 2, 32 bit operating system.
    Im using Microsoft Office Home and Student 2010
    I have Adobe Reader X installed
    Thanks

    Hi RhodaMcP,
    You might want to check the KB: http://helpx.adobe.com/acrobat/kb/troubleshoot-acrobat-pdfmaker-problems-office.html
    Regards,
    Rave

  • Problems Trying to Save as a Word Document.

    The primary reason I purchased Pages was for it's proclaimed ability to open Word documents, edit them, and resave them as Word documents. 
    I've managed to open my Word document and edit it, but the only option I have is "Save Version" when trying to save it.
    I used the help feature and here's a screen shot of the instructions and me trying to follow them:
    As you can see the only option is "Save a Version".

    Time spent looking through the Menus and Inspectors will be well rewarded.
    iWork's are probably the most logical of any program, working from the overall document down to details, from left to right and believe it or not the titles on both the Menus and Inspectors mean what they say.
    Peter

  • My Microsoft Word gives me an error report as soon as I try to open Word Document

    I have the Microsoft Word for Mac 2011 and I've had it for almost 3 years now. I didn't have any problems until I decided to update it since I haven't done so when I installed Microsoft on my Macbook pro. After about 3 or 4 updates I started having difficulties when it suddenly gives me an error once I tried creating a new document that says: "Microsoft Word has encountered a problem and needs to close. We are sorry for the inconvenience." and underneath it says More Information so I clicked on it and this is what it gave me:
    Microsoft Error Reporting log version: 2.0
    Error Signature:
    Exception: EXC_BAD_ACCESS
    Date/Time: 2015-02-16 05:22:55 +0000
    Application Name: Microsoft Word
    Application Bundle ID: com.microsoft.Word
    Application Signature: MSWD
    Application Version: 14.2.0.120402
    Crashed Module Name: libobjc.A.dylib
    Crashed Module Version: unknown
    Crashed Module Offset: 0x000010a7
    Blame Module Name: Microsoft Word
    Blame Module Version: 14.2.0.120402
    Blame Module Offset: 0x0021002b
    Application LCID: 1033
    Extra app info: Reg=en Loc=0x0409
    Crashed thread: 0
    I clicked on check for updates just in case I missed any, but it says there's no updates available. Also, I restarted my computer twice and it still doesn't work. Did the updates messed it up? I really need to fix this problem soon because I'm going to need Word for school. Please and thank you!
    Edit: I'll be moving this question over the other forum, but can anyone at least solve this problem for me here?

    Microsoft Word is a Microsoft app. You should post your question to a Microsoft forum.
    Cheers,
    GB

  • Microsoft Word 2008 Error Message-Wont Open?

    Hello,
    I have a 2009 MacBook Pro, operating system OS C 10.6.8, I updated to Snow Leopard about a year ago. I tried to open my Microsoft Word (2008), and receive "Microsoft Word has encountered a problem and needs to close." With the options of Send/Don't Send and to try and reopen. It will not open. I have tried to repair the disk permissions using Disk Utility, I have also tried to Remove Duplicate Fonts as I read this may be a problem. I do not have any software updates, and I have tried restarting multiple times. Can anyone offer me some help on this issue, I don't know if I still have the disk to reinstall Microsoft OFfice.
    Thank you!

    Also, the error message says this:
    Microsoft Error Reporting log version: 2.0
    Error Signature:
    Exception: EXC_BAD_ACCESS
    Date/Time: 2013-12-01 14:41:57 -0600
    Application Name: Microsoft Word
    Application Bundle ID: com.microsoft.Word
    Application Signature: MSWD
    Application Version: 12.3.6.130206
    Crashed Module Name: Microsoft Word
    Crashed Module Version: 12.3.6.130206
    Crashed Module Offset: 0x00152a74
    Blame Module Name: Microsoft Word
    Blame Module Version: 12.3.6.130206
    Blame Module Offset: 0x00152a74
    Application LCID: 1033
    Extra app info: Reg=en Loc=0x0409
    Crashed thread: 0

  • Microsoft word viewer in wine

    Because I regularly receive .docx files, which are poorly handled by Libreoffice, I was trying to install the Microsoft word viewer in Wine (don't tell me I should educate people to send me other files formats, I have tried this but it doesn't work in my case). The word viewer install fine but not the compatibility pack that should allow to open the docx files (it install but then I have always an error message trying to open docx files). I know by experience I shouldn't expect too much of Wine but the web are full of people for which this configuration apparently worked. I wonder if someone has succeed to have the Word Viewer to work (maybe some tricky configuration with native/builtin DLL).

    I tried to rebuild wine using only the 32 bit versions (Archlinux package the 32bits and 64 bits versions in the same packages) and it works fine.
    It was a policy of Archlinux not to patch upstream softwares (except when it is really needed) and I think a shame it does not stick to that. This kind of hybrid 32/64 bits packages was an undocumented hack, trying to have both files at the same time. The way Archlinux did it was undocumented. Trying to improve upstream packages leads to bugs that are distro specifics and are thus less likely to be noticed. I was on the point to report the bug upstream (because it was a regression) and now I know this makes no sense. Having a distro with full of patched package make it impossible to report a bug upstream unless you have recompiled the vanilla version yourself.
    Updated: settings WINEARCH to win32 solve the problem. It is still obscure what happens if you don't (all programs opens and "run" but you have an error message when you try to open .docx files).
    Last edited by olive (2014-06-13 08:41:54)

  • Viewing Microsoft Word Documents on iPod

    I tried to put some Microsoft word documents on my iPod but when I selected them from my iPod only a jumbled word would show up. Does anyone know how I can succesfully put Microsoft Word Documents on my iPod?

    What do you mean "plain text"? Is that a font or something?

  • HP Photosmart C6100: Complete stuck (Microsoft word + "Black only" window)

    Whenever I tried printing documents from Microsoft word, a window of "Ink catridges empty" pops out (because my magneta colour has run out). However, when I clicked on "black only" button, the whole screen (even the microsoft word) freeze. I couldn't even close it down unless I use the task manager. Any remedies?

    Hi shirsar,
    I understand you have a Photosmart 7510 that seems to be using a lot more of the photo black than the regular black ink. I'm sorry to hear this, but believe I can assist you with a solution.
    You can set the printer to use black ink only when printing from the PC and that should ensure that it uses that the black ink and not the photo ink. My instructions will be to set it up in the driver so it does it for all programs (if you want it for just the program please let me know and I will advise further). You will want to start with going to your Start screen, and just start typing Devices and Printers and you will want to open that (if that doesn't work type in Control Panel and then proceed to open Devices and Printers). Once Devices and Printers is open, right click on your Photosmart 7510 icon and select Printing Preferences. You will then want to click the Advanced button at the bottom right of the screen. The next page that opens will allow you to set the printer to use Black Ink Only when printing from the PC (please follow the screen shot below for any clarification).
    Hope this helps, have a great day!!
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

  • Alters Microsoft Word Document when Put into PDF, help!

    Hi All,
    I wonder if someone can help me. I am trying to convert some microsoft word documents into a PDF format, however each time I do it, the end pdf document isn't what the word document is like .The text and pictures are moved and altered.
    I have tried converting it on 3 different computer, but no luck.
    Does anyone know why?
    Thanks 

    Hi fantabell,
         Welcome to the forum!
    Just out of curiosity… have you checked the page size for the conversion process? I have found that Adobe being a US company have the “letter” page size set as standard where as us Europeans would predominantly use A4 sized paper.
    Click on the Adobe PDF menu in Word and scroll down to “Change Conversion Settings”. Click on the Advanced Settings button and change the default page size to 210mm wide and 297mm high and see if that makes any difference!
    You should also check the New Document and Convert To PDF settings in the Preferences section of the Edit menu in Adobe Acrobat itself and make the same changes to the page size.
    Hope this helps!
    Mark

  • Read content in Microsoft Word file.

    My new project is to read content in Microsoft Word. But,
    blah blah blah code are appeared when I read microsoft word file
    with cffile tag, and display included content in textarea. Here is
    my coding. Anything wrong in my coding and how can I read ms.word
    file and display included content in this file??
    all answers will be appreciated.

    I have figured out how to use Object in Word to embed the SWF file and use the Control Box to activate it, however, like you when I convert to Acrobat PDF from the Word Add-in it does not embed the SWF in a playable format, although the object is there.  I can't seem to get any relevant properties using the Touch Up Object tool either.  I hope someone else has a clue.  Otherwise I recommend creating your word document with "empty" text boxes that the text will wrap around and then converting to PDF and once in Acrobat embed a Flash object using the Multimedia button.

  • Attaching XML tags to paragraphs (CS2/VB)

    Hi everybody,
    I need to build an Indesign document from several Word documents, attach XML tags to those document parts and also to retain Word's paragraph styles.
    I use temporary textframes and copy & paste to put the Word stuff together into one large textframe. Works fine so far. Paragraph styles remain intact:
    InDesign.XMLElement xch = root.XMLElements.Add("XML_" + Convert.ToString(cnt), "");
    InDesign.InsertionPoint ip = (InDesign.InsertionPoint)txt.InsertionPoints.LastItem();
    ip.Select(InDesign.idSelectionOptions.idReplaceWith);
    id4.app.Paste();
    But as soon as I call Markup() to add the XML tag to this part of the document, all paragraph style information gets lost:
    ip.Markup(xch);
    This is most certainly some kind of RTFM error, but since there's no really detailed documentation for scripting (at least I couldn't find one yet - hints are welcome), I'm stuck.
    Thanks a lot.
    Hans

    Hi Hans,
    The InDesign CS2 Scripting Guide and Scripting Reference PDFs are on your InDesign CS2 installation CDs.
    Many things in scripting did not change between CS2 and CS3--and there are more XML examples in the CS3 version of the Guide (though you should note that CS2 does not have the XML rules feature at all). You can find the InDesign CS3 Scripting Guide: VBScript at:
    http://www.adobe.com/products/indesign/xml_scripting.html
    (you'll need to click the Scripting Resources tab to get to the relevant page)
    The Markup.vbs example script (a fragment is shown on page 119 of the Guide; you can find the full script in the associated Zip archive of scripts) shows you the general approach to marking up page items or text. The basic form is:
    Rem Where "myXMLElement" is a reference to an XML element
    Rem and "myText" is a reference to a text object...
    myXMLElement.markup myText
    Here's a more complete script (VBScript form):
    Rem MarkupText.vbs
    Rem An InDesign CS2/CS3 VBScript
    Rem
    main
    Function main()
    Rem Use "InDesign.Application.CS2" to target CS2
    Set myInDesign = CreateObject("InDesign.Application.CS3")
    mySetup myInDesign
    mySnippet myInDesign
    End Function
    Rem mySetup function creates an example document.
    Function mySetup(myInDesign)
    Set myDocument = myInDesign.Documents.Add
    Rem Create some paragraph styles.
    Set myBodyText = myDocument.ParagraphStyles.Add
    myBodyText.Name = "BodyText"
    Set myHeading = myDocument.ParagraphStyles.Add
    myHeading.Name = "Heading"
    myHeading.PointSize = 24
    Rem Add XML elements
    Set myRootXMLElement = myDocument.XMLElements.Item(1)
    Set myXMLTag = myDocument.XMLTags.Add("xml_element")
    Set myXMLElementA = myRootXMLElement.XMLElements.Add(myXMLTag)
    Rem Create a text frame
    Set myTextFrame = myDocument.Pages.Item(1).TextFrames.Add
    myTextFrame.GeometricBounds = myGetBounds(myDocument,myDocument.Pages.Item(1))
    myString = "This is the first paragraph in a text frame." & vbCr
    myString = myString & "This is the second paragraph in a text frame." & vbCr
      myString = myString & "This is the third paragraph in a text frame." & vbCr
      myString = myString & "This is the fourth paragraph in a text frame." & vbCr
    myTextFrame.Contents = myString
    Rem Use ApplyParagraphStyle in CS3.
    myTextFrame.Texts.Item(1).ApplyStyle myBodyText
    myTextFrame.Paragraphs.Item(1).ApplyStyle myHeading
    End Function
    Rem mySnippet shows how to use the XMLElement.Markup method.
    Function mySnippet(myInDesign)
    Set myDocument = myInDesign.Documents.Item(1)
    Rem Have to associate the Root XML element with the story
    Rem before associating child elements.
    myDocument.XMLElements.Item(1).Markup myDocument.Pages.Item(1).TextFrames.Item(1)
    Rem Now we can associate XML elements with individual paragraphs.
    Set myXMLElement = myDocument.XMLElements.Item(1).XMLElements.Item(1)
    Set myText = myDocument.Pages.Item(1).TextFrames.Item(1).Paragraphs.Item(1)
    myXMLElement.Markup myText
    End Function
    Rem Utility function for getting the bounds of the "live" area
    Rem (the area inside the page margins) of a page.
    Function myGetBounds(myDocument, myPage)
    myPageWidth = myDocument.DocumentPreferences.PageWidth
    myPageHeight = myDocument.DocumentPreferences.PageHeight
    Rem Page.Side is a CS3 property. In CS2, use:
    Rem If myPage.DocumentOffset Mod 2 = 0 Then
    If myPage.Side = idPageSideOptions.idLeftHand Then
      myX2 = myPage.MarginPreferences.Left
      myX1 = myPage.MarginPreferences.Right
    Else
      myX1 = myPage.MarginPreferences.Left
      myX2 = myPage.MarginPreferences.Right
    End If
    myY1 = myPage.MarginPreferences.Top
    myX2 = myPageWidth - myX2
    myY2 = myPageHeight - myPage.MarginPreferences.Bottom
    myGetBounds = Array(myY1, myX1, myY2, myX2)
    End Function
    As to style information getting lost--it probably has to do with your Tag to Style/Style to Tag mapping. The above script demonstrates that it is possible to mark up text without losing the style.
    You might also consider using tag to style or style to tag mapping after pasting the text from Word.
    Hope this helps!
    Thanks,
    Ole

Maybe you are looking for

  • Problem with Java 5 and Oracle 10g JDBC driver

    Hi All, Currently we upgrade our web application to Java 5 and Oracle 10.2 JDBC driver. And we encountered a bug, when the user entered the information through UI and data didn't store into database (Oracle 9i). The problem is that this bug is not ha

  • Using table as a queue - or rowlocking + readpast.

    I am using a database table as a queue (not my design) in an application which is currently single-threaded. I need to enable multiple threads/applications processing against this table/queue. Each thread must get exactly one row to process at a time

  • ORAENV file to be disabled

    Hi, Oracle Version:10.2.0.3 Operating system: Linux Here i have a doubt .I was unable to connect to database with oracle OS user until i run the oraenv file . How can i disable oraenv file in order to connect to the database with out running the orae

  • Slow order processing

    Hi, I orderred a T520 from lenovo Ireland website but it's been 10 days the order status is still in process. It seems lenovo did not take any money from my credit card yet. Does that mean my order is still not processed? I wonder any of you had the

  • IWork 2.2 (iOS) disables "Use iCloud" option on opening the app???

    After updating the the latest iWork apps (v2.2) there were no documents that were previously there... I checking icloud.com and all the documents were still in existence. I finally discovered that the "Use iCloud" option in the settings for each of t