Using 'save as' in word 2007 corrupts a field in rtf template

I am working on a cheque template using Word plug-in (Word 2007).
I have created a number of fields to display the micr line. Examples of 3 of these fields are below. I am using micr mt font 12pt to display the micr line.
<?if@inlines:PaymentAmount/Currency/Code='CAD'?>
<?xdofx:'C' || lpad(PaymentNumber/CheckNumber,8,'0') || 'C'?>
<?end if?>
In most cases, if I make a change to the template and preview as pdf (which automatically triggers a save), the output of the micr line is fine.
If I make a word only change (i.e add a carriage return) or if I use 'save as' (i.e. when I am making a back-up of the template with a different name) and preview using pdf, the Micr line does not display properly. Instead of the micr line, I see the text from the field itself (i.e. <?end if?>) displayed in micr mt font which means a bunch of boxes and other strange characters.
It isn't just the preview output that is broken. If I generate and compare the actual xsl-fo stylesheet, there is a section missing in the broken version, and it is replaced by the strange characters.
If I go in and re-enter the code into the fields, everything is fine again until I save using 'save as' or preview after a minor 'word only' type change such as a carriage return.
Has anyone else experienced this?
Thanks,
Tam

This does not sound right.
I highly recommend you to report this to Oracle Support (open a SR).
Include:
- The product version (5 digit number)
- Include steps how to reproduce the issue (if possible with screenshots)
- Include example (either RTF and XML file and steps to reproduce).
Give no excuses to Oracle Support to come back with a vague answer
it seems you have found a bug.
cheers
Jorge

Similar Messages

  • Graphic produced in Word 2007 corrupted in Reader 9 but OK in Reader 8

    I have printed a document in Word 2007 containing an embedded Visio diagram (insert object from file)..
    In Reader 9 the picture is corrupted though it is OK in Reader 8. It is as though the picture is marked out in rectangles and the corners of the rectangles shaded in.
    I have tried with an embedded picture and the result is the same. I have also tried with Word 2010 and it is the same too.
    I even tried a freeware PDF printer driver instead of 'Save As' from Word, and the image is OK in both Reader 8 and Reader 9.
    I really need to use Word standard facilities! Can anyone help?

    I even tried a freeware PDF printer driver instead of 'Save As' from
    Word, and the image is OK in both Reader 8 and Reader
    9.
    Looks like a problem of Microsoft.

  • Inability to use eps graphics in Word 2007 and make a pdf

    Hi there …
    I work at a small "intellectual capital" company where virtually all of our documents (our products!) depend on embedding eps "pictures" into Word and pdf'ing the result.  While this process works great in Word 2003, it fails miserably in Word 2007 - the "mechanics" work fine and a pdf is produced, but the rendering of the eps images are terrible.  I spent some effort looking into this issue trying to find a solution and came up with the following (thanks in part to this post) ... if anyone has any more details, corrections, or solutions feel free to post!
    It appears that, over the years, there have been three flavors of eps import filters for Word ... (for the curious the filter is found in Program Files\Common Files\Microsoft Shared\Grphflt\EPSIMP32.FLT )
    The simplest (and oldest) filter basically embeds the eps code unmodified into the Word doc and will display a raster preview of the image if one is included in the eps file.  if the file is printed on a postscript printer or to Acrobat, the eps code is passed through (so it produces perfect pdfs, and the screen image in Word looks as good as the preview image embedded in the eps file). if the file is printed to a generic printer, no image appears (so it doesn't work for joe user).
    The Word 2003-era filter pastes the eps code unmodified into the Word doc, then renders a (very poor) preview image (using an OEM'd eps converter).  if a preview image is in the eps file it is ignored (which is bad).  if the file is printed on a postscript printer or to Acrobat, the unmodified eps code is passed through (so it produces perfect pdfs, though the screen image in Word looks yucky). if the file is printed to a generic printer, the poorly rendered preview image is printed (so it works poorly but better than nothing for joe user - and probably gives joe user a bad impression of eps).
    In what might be an attempt to improve things for joe user, the Word 2007 filter immediately interprets the eps code (using a slightly updated eps converter from the same OEM) and pastes the resulting rendered image into Word. It NO LONGER embeds the unmodified eps code in the Word doc. While the rendered image looks better than filter #2, it still leaves A LOT to be desired - in my brief testing, colors are VERY wrong and curves become choppy. if the file is printed on a postscript printer or to Acrobat, the poorly rendered image is used since the original eps code is gone (unacceptable for my purposes). if the file is printed to a generic printer, the poorly rendered image is printed (so it works better than Word 2003 for joe user).
    So where does this leave anyone that wants to upgrade to Word 2007, use eps images, and make quality pdfs ??
    Filters #1 & #2 were interchangeable in Word 2003.  The true eps experts like #1 the best, and it is by far the simplest technically (76k of code vs 400+k), so they merrily swapped and used it with Word 2003.  (Very) unfortunately filters #1 and #2 do not work with Word 2007 - if they did the problem would be nicely solved.
    Find another graphics file format to work with?  This is undesirable because the "beauty" of #1 & #2 above is the unmodified eps code gets fed to the pdf maker (which itself is native eps) - Word is just a transport (no "transcoding" loss in compression-speak).  if there were an efficient way to convert eps to say wmf (microsoft's proprietary vector graphic format), and the images were able to survive two transcodes (from eps to wmf back to eps for pdf), it might be livable. But of course Adobe Illustrator cannot save as wmv (nor should it IMHO).  Of note - there is another industry standard vector format - svg - which AI can save as but Word does not support. 
    Stay in Word 2003 doc format while using Word 2007 (don't use docx).  Doesn't work. My testing shows a Word 2003 doc file with embedded eps created in Word 2003 (and pdf's correctly in Word 2003) does not pdf correctly in Word 2007.
    Use a work-around. As suggested here, "Open the EPS in Illustrator. Select all, and Edit > Copy. In Word, Edit > Paste Special > Enhanced Metafile."  This seems to work for small images such as logos, but not for larger graphical stuff (probably because of the internal transcoding to WMF).
    Stay with Word 2003.  This appears to be the only workable option for now IF you want to use Word and render eps pictures in pdf's with acceptable quality.
    IMHO the best solution would be to have the very simple 76k filter #1 ported to Word 2007 (those who need the capability can swap the filter files) or (not as optimal but does not require swapping filter files) add the option in filter #3 to still embed the eps code.  Microsoft is the right place to do it, or (politics aside), Adobe could and should do it (given some support from MSFT).
    I am surprised this issue has not caused more rumblings from users - perhaps it has, the symptoms are just worded differently.  Or maybe everyone is just staying with Word 2003 (which is what I have done until now).  The problem is most companies are being forced to upgrade now, so I think this will become a bigger issue for Adobe / Microsoft going forward.
    Thanks for listening.  I look forward to your comments.
    Andy

    Microsoft has released a hot fix that supposedly addresses this issue, it is at
    http://support.microsoft.com/kb/977468
    I downloaded the fix and tried it; it actually made the problem worse!  Apparently they
    are trying to fix their filter rather than bypassing it.  What I am doing is
    1.  Making maps in AutoCaD Map and printing (plotting in autocad) them to a pdf file
    2.  Opening the pdf file in Acrobat and resaving it as eps
    3.  Importing the eps file into a Word 2007 document
    4.  Use Acrobat to convert the Word document to pdf
    Before the hot fix when I did the process the resolution of the map in the final
    pdf file was not as good as in the original made from AutoCad.  Also the colors were
    not correct.  After installing the hotfix there are still these same problems but also now
    any non horizontal text is not displaying correctly.
    Be careful about trying this hotfix.
    As others have noted, back in Word 2003 the above steps 1 - 4 worked very well and resulted
    in a high quality pdf file with the map as good as in the original pdf.

  • Using acrobat pro in word 2007

    I just upgraded to word 2007 and have acrobat pro 7.0.0. I
    can't figure out how to save a document as a pdf! Adobe Acrobat Pro
    shows up as an add-in in "word options" - Add-ins, but there is no
    add-in tab, and I can't find any way to actually use it!!! Any
    insight would be appreciated.
    Thanks.

    Try asking your question in the Acrobat Windows or Acrobat
    Macintosh forum, as these forums deal with the Acrobat Standard of
    Professional products and not the conferencing product Acrobat
    Connect.
    http://forum.adobe.com/cgi-bin/webx/.3bbeda8b/

  • User is having a save issue with Word 2007 documents created from a template.

    I have 1 particular user, out of approx. 30, that is experiencing an intermittent problem when trying to save a Word 2007 document to a network drive.  The particular error is
    "Word cannot complete the save due to a file permission error. (xxx.docx)"  CTRL-SHIFT-I Error Code is: 701743
    This only happens while he is working in a document created from a template (.dotm) file I made a few months ago.  The problem has never occurred with any other Word docs or Excel, or any of the other users accessing the template to create documents. He
    also gets an error message stating
    "xxx.docx cannot be found.  Check your spelling, or try a different path."  CTRL-SHIFT-I Error Code is: 200635
    But this only occurs when trying to "Save As"  The odd thing is that if he renames the file to something like xxx1.docx, it will allow him to save on the network folder with no issues.  And as mentioned, this is intermittent - he may go weeks without
    seeing the message while doing nothing different.
    I have tried search for similar issues in the forums but they don't seem to match exactly what is happening to us.  Our 3-man IT department seems to be at a loss and I have had good luck solving other issues in this forum so I thought I would give it
    a try.
    Any ideas would be appreciated.
    Thanks,
    Adam

    Hi,
    It's seems temporary internet folder corrupted, please try to modify the location for temporary Internet files for Internet Explorer test this issue:
     1.In Internet Explorer, choose Internet Options from the Tools menu to display the Internet Options dialog.
     2.In the Internet Options dialog, click the General tab. In the Browsing history section click Settings to open the Temporary Internet Files and History Settings dialog.
     3.In the Temporary Internet Files and History Settings dialog, click Move Folder to open the Browse for Folder dialog.
     4.In the Browse for Folder dialog, select the following location.
    C:\Users\<user name>\AppData\Local\Microsoft\Windows\Temporary Internet Files
    5.Click OK to close the Browse for Folder dialog. Click OK to close the Temporary Internet Files and History Settings dialog. Click OK to close the Internet Options dialog.
    6.Reboot the computer.
    More detailed information you can refer to below link:
    http://blogs.technet.com/b/ryan_christiansen/archive/2008/04/28/word-2007-file-save-errors-an-error-is-displayed-when-attempting-to-save-a-word-document.aspx
    If this problem still persists, please refer to this article troubleshooting problems:
    http://support.microsoft.com/kb/921541
    Best regards.
    William Zhou
    TechNet Community Support

  • Remove SaveAs prompt for Word 2007 VBA SaveAs in 64-bit Window 2008

    We use VBA WordApp_DocumentBeforeClose(ByVal Doc As Document, Cancel As Boolean)
    to save the word file to another name when user closes the file  .
    We use SaveAs to implement this like this:
     Doc.SaveAs FileName:=lcMetaFileName,  AddToRecentFiles:=False
    The lcMetaFileName is a file ame with full path.
    This SaveAs works fine with word 2003 and with word 2007 in Wndow 2008 32-bit.
    But with word 2007 in Wndow 2008 64-bit,every time this SaveAs is called ,
    a saveas prompt will be showed up asking for file ame , type,etc.
    We tried  adding 
       fileFormat:=wdFormatDocument97
    in the SaveAs call and adding
    Doc.Application.DisplayAlerts=wdAlertsNone
    and checked 'allow back ground save' in the word setting
    and we still get the prompt.
    How can we get rid of the prompt?

    Same here. My program uses demographics to create a filename and filetye as RTF, but it is ignored and a prompt pops up !!!! Frustating :(
    OS - Win 8.1 64 bit
    Office 365 32 bit (Word 2013)
    Same code works for all other versions

  • I have had a trial version of Acrobat X1 Pro - I have decided not to buy at this stage - for some time it has been conflicting with opening PDF docs after saving as from word 2007 - I uninstalled Pro X1 and now when I save as from word 2007 to PDF it will

    Can anyone help with this - do I have to uninstall Reader and then reinstall?

    I have had a trial version of Acrobat X1 Pro - I have decided not to buy at this stage - for some time it has been conflicting with opening PDF docs after "saving as" from word 2007 - I uninstalled Pro X1 and now when I "save as" PDF from word 2007 to PDF it will save the document as a PDF but will not open the document to display after publishing - I have to got to where the file has been saved to view the new PDF document - this is really annoying - do I have to delete adobe reader and reinstall it - adobe needs to look at this conflict with acrobat pro as I have even gone it to properties and tried to have adobe reader as the default PDF program - the main issue is that I cannot view the PDF after publishing it from word 2007

  • Send Email Using PDF Maker for Word 2007

    I am using Word 2007 with the Acrobat PDFMaker Office COM add-in. When I try to Mail Merge to a PDF, I get an error message that says "Acrobat PDFMaker was not able to mail merge the document." I click OK, and a new box says "Run-time error '5825'". Any ideas?

    This thread may have your answer:
    http://forums.adobe.com/message/1924439
    (Paul_Kuczmierczyk) writes:
    6. Dec 18, 2008 10:09 AM in response to:                                     (Ray_Whitfield)
    Re: PDF Maker Mail Merge error
    I've had this same problem with one word document and I think I figured out what is going on, at least in my case. I'm using Word 2003. I tried a test of one merge record, and it worked, but when I tried to complete the entire merge, it failed. After trying several times to no avail, I noticed that the first word in my document had the red spell check underline, even though the word was not spelled wrong. When I placed my mouse cursor in front of the first letter of the word, the font information said "ZWAdobeF" and the size was 1. After I deleted this and tried the merge to e-mail through the Adobe plugin, it worked flawlessly. After the merge was completed however, that font reappeared in front of the first word in my document.
    I hope this helps some people out there.
    Also, I'm using Adobe Acrobat 8 Professional, Windows XP SP3.

  • MS Word 2007 Problem: Could not Change Doc Template

    I started getting an error when I open a rules document through OPM. The document usually opens ok, but OPM gives the error "Oracle Policy Modeling was unable to open the document as an error occurred with MicroSoft Word: Could not change document template.
    Usually, I can work in the document with no problems, but sometimes when I do the compile of the document that got this message, the compile and save works, but then Word crashes. The compiled document is available through OPM, but it thinks the document needs to be compiled on a build. I've learned to continue without compiling, otherwise Word will crash again.
    Other times, the document compiles just fine with no problems with Word.
    Occasionally, Word loses the Add-ins list. I've figured out how to attach it again.
    Everything was fine until about 2 weeks ago. The only difference I can think of is that Word did an automatic update. I uninstalled and reinstalled OPM, but it hasn't made a difference.
    I'm running OPM 10.1.0.27 on XT.
    Any ideas? Thanks,
    Terry

    Hi Terry,
    Try the following workaround:
    1) Rename the word 2003 template (Policy Modeling Word Template) in c:\program files\oracle modeling\templates to another filename
    - This is to force Word 2007 not to load the Word 2003 template
    2) Open the Word document from Policy Modeling
    - To load the Word 2007 template and attached it to the document
    3) Save the document
    (Thanks to Red Canda for this.)
    Davin Fifield

  • How to use saveas webarchive in word using OLE2

    Hello,
    I am using the webutil word demo (without webutil) on the client. This demo is working fine.
    Now I like to save the file not as a word document, but as a WebArchive or html file. How can I pass the fileformat argument to the saveas invoke call. Or is there a other way to do this using ole2.
    Below the demo code.
    Thanks in advance,
    Fred.
    DECLARE
    app OLE2.OBJ_TYPE;
    docs OLE2.OBJ_TYPE;
    doc OLE2.OBJ_TYPE;
    selection OLE2.OBJ_TYPE;
    args OLE2.LIST_TYPE;
    BEGIN
    -- create a new document
    app := OLE2.CREATE_OBJ('Word.Application');
    OLE2.SET_PROPERTY (app,'Visible',1);
    docs := OLE2.GET_OBJ_PROPERTY(app, 'Documents');
    doc := OLE2.INVOKE_OBJ(docs, 'add');
    selection := OLE2.GET_OBJ_PROPERTY(app, 'Selection');
    -- insert data into new document from long item
    OLE2.SET_PROPERTY(selection, 'Text', 'this is a test message');
    -- save document as example.tmp
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'c:\example.doc');
    OLE2.INVOKE(doc, 'SaveAs', args);
    OLE2.DESTROY_ARGLIST (args);
    -- close example.tmp
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 0);
    OLE2.INVOKE(doc, 'Close', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.RELEASE_OBJ(selection);
    OLE2.RELEASE_OBJ(doc);
    OLE2.RELEASE_OBJ (docs);
    Using OLE Commands
    OLE2.INVOKE(app,'Quit');
    END;

    Hi Fred,
    Word's SaveAs() method takes file format as it's second argument. The following code snippet shows how to save as HTML:
      args := OLE2.CREATE_ARGLIST;
      OLE2.ADD_ARG(args, 'c:\example.html');
      OLE2.ADD_ARG(args, 8);
      OLE2.INVOKE(doc, 'SaveAs', args);Eric Adamson
    Lansing, Michigan

  • Can't save directly with word 2007, powerpoint 2007

    hi,
    we have a mac mini server with
    - mac os x 10.6.2 server
    - I created 3 workgroups
    - sharepoints, that are directly on the boot disk (User/Shared/folder1...)
    for mac-user everything works fine, but windows users (1x win xp with office 2007, 1x win 7 with office 2010) can’t directly save to the server, they always get an error, that the server is not reachable.
    but if I save the file to the desktop, I can copy it with the explorer in a folder on the server.
    after little investigation I found out, that every microsoft office app creates temporary files while saving and this is the source of all troubles.
    I tried all tips I could find:
    http://discussions.apple.com/thread.jspa?threadID=2249820&tstart=0
    http://discussions.apple.com/thread.jspa?messageID=10611455&#10611455
    http://lists.apple.com/archives/macos-x-server/2008/Jan/msg00760.html
    like:
    - changes in smb.conf
    - acl-rights changes
    - with/without oplock, strict lockings
    but nothing helped.
    and one strange finding:
    if I create a new sharepoint, it uses automatically apples standard „workgroup“ as only group (besides spotlight), now office 2007-user CAN save files directly. if I add one of my groups, the problems reappears.
    so I would like to ask, if someone found a solution for this problem - thx!
    regards,
    ferdinand

    Partially solved. To get the Mac to map the drive, I had to go to Finder > Go > Connect to Server and connect using the drive's static IP address. It connects and I can save just fine. However... the problem is that if I reboot the mapping is gone and I have to repeat the Finder steps. Is there a way to automatically get the Mac to connect to the drive even if I restart? I do have an admin password on the drive if this is part of the problem.

  • Word 2007 Corrupt Document Recovery

    Hi All,
    I might be a little off topic in this category but am hoping you can help or point me in the right direction, i have a corrupt .doc document, basically it was a doc i resumed working on which was launched off a usb hdd, midway through the document i accidentally unplugged the hdd.
    After plugging it back in i tried to relaunch the document in the hope of just starting from where i originally resumed, however the text has now converted into all sorts of code which cannot be translated into English, i tried all the other MS docs explaining how to launch and repair the document to no avail,
    Can anyone please point me in the right direction? =(
    Thanks in advance.
    Ovi.

    Did you use MS Word's "Open and Repair" function to open those corrupted .docx files? If files are really very crucial and severely corrupted, then you have to buy a third-party application. This is the only way to recover those files as there's
    no freeware, as far as I think. I have also faced the similar situation of corruption in some of Word .docx files. I tried
    Word Repair Toolbox software to repair my corrupt .docx files.
    You may know more at
    http://www.word.repairtoolbox.com/

  • Microsoft Word 2007 Text Form Fields: Cannot limit characters

    Hi there,
    Thank you very much for taking the time to check this post out.
    I know that someone had already put a similar question up (a few years ago) and it got resolved, but there was no information as to how the fix was applied or what went wrong with the document, so that is why I am posting this problem now :)
    On page 2 of the document (Sample file
    ) under the headings of:
    Identified Hazards
    Control Method
    Review Responsibility
    the form field will not limit the number of characters although it has been stipulated in the Text From Field Options , the result being, when I put the template under protection
    for data input, the spacings change or I get to the end of the line and some of the previous typed text disappears.
    Surely there should be some fix out there, or an explanation of why it doesn't work (? corrupted document?).
    I'd be most grateful for any assistance you provide.
    Cheers,
    TheShyButterfly
    Hope you have a terrific day, theShyButterfly

    Thank you to all for your responses :)
    I also tried changing the font type .... as I found this article, which really made me understand how the different font types have different character widths within the same font and how that impacts on the number of character you want to limit to.
    The link is
    Word Tips by Allen Wyatt and there he advises that one of the most
    Extract:
    "For instance, if you don't want your field to wrap to the next line, then you need to set a maximum length guaranteed to fit on a single line. Calculating such a length can be difficult, particularly if you are using a proportional font. For this reason,
    some people like to set the font of their fields to a monospace font, such as Courier; it makes calculating field lengths easier."
    Also from Wikipedia,
    Monospaced fonts which explains how 'size' actually matters :).
    I just thought I'd share what I have found as this appears to have resolved my problem. (It just took some time to discover it ) ...
    Cheers,
    TheShyButterfly
    Hope you have a terrific day, theShyButterfly

  • How can we use Drop Down Field in RTF Template

    Hi All,
    We have a requirement i.e in the RTF template we have the fields like supplier name,invoice number,invoice amount..etc.And we have a field Total that gives the sum of invoice amount.
    Our Requirement is we have to take "Total" field as a Drop down field.When we click on Total field it has to display the invoice numbers and invoice amount based on that Total.
    Could any one please provide us any solution.
    Thanks in Advance,
    Dhana

    You want to create an Interactive report - where the parameters are not part of the report, but part of the template?
    What is the expected output format PDF, HTML, RTF?
    I don't understand how total coudl be a drop down field? Why does total not directly contain the number?
    Do you want to generate a form that alllows the user to enter data fields and then recalculate the total
    based on the user input? So you want to create a form, not a report?
    Klaus

  • Word 2007 (docx) integration in SAP CRM 7.0 EhP1

    Hi,
    When creating word templates with the template designer (CRM_OI_TEMPLDSG) for office integration, is it possible to use Mircosoft Word 2007 docx-files?
    Furthermore you get the message, that "The file contains custom XML elements which are no longer supported by Word. If you save this file, these custom XML elements will be removed permanently." ([KB2445062|http://support.microsoft.com/kb/2445062]) when you create a template in fileformat .doc with Word 2007. When you open this template again all xml elements are no longer available (as mentioned in the message) and you have to create the template again.
    How do you handle this situation? Or do you not even have this problem?
    Thanks in advance,
    Sebastian

    May be this thread Document Template designer - ActiveX on IE 7 problem and the [Note 1566793 'Procedure to create word template in EHP1 & higher versions'|https://service.sap.com/sap/support/notes/1566793] will give you some inputs.

Maybe you are looking for

  • Why do I have trouble printing when using Firefox, I have to change over to IE and the printing is OK

    When I try to print a page while using Firefox the printer does not work. A message stays on the screen 'preparing' and the searching circle keeps turning. I switch over to Internet Explorer and the page prints straight away. I recently tried to prin

  • Itunes 11.2.2 will not detect iphone 5

    New update on itunes will not allow me to detect my iphone when plugged in. i have checked the usb, unistalled/reinstalled itunes, and itunes is up to date. please help.

  • ORA-00979: not a GROUP BY expression on different oracle version

    Hi, I tried below sql on different database and I'm having a strange result. error is ORA-00979: not a GROUP BY expression SELECT COUNT(*) OVER() CNT, COUNT(member_id) AS cnt2, etoc_type, journal_id, volume_id, issue_id, current_registered_users, dat

  • Creating class via reflection

    Hi, Is there a possibility to create dynamically class and add to it methods/fileds/annotaions etc. What I am thinking of is to create jpa entity class dynamiclly and use jpa provider to create table for it.

  • Roles not getting reflected after logout

    Hi All, I am using JDeveloper, LDAP , and Single Sign on for authentication and Roles. After the user is authenticated using SSO I have the following code in my Action class String userDN = actionContext.getHttpServletRequest().getHeader("Osso-User-D