JS CS5 Word RTF mapping styles

Hi,
From older postings I've learned there was no way to automatically (by script) map Word RTF styles to InDesign styles om import. Has this situation changed with CS5? I did find WordRTFImportPreference, but that only has an option to deal with clashing styles. I can't find a way to map the styles. Am I overlooking an option or is it still not possible?
And if not, is it possible to read the XML information from the preset file by script and use those mapping on an Word RTF file? I've read something like that in this posting http://forums.adobe.com/message/2354990#2354990, but I don't understand how styles from XML can be applied to imported Word RTF. Those are two different things, aren't they?
Thanks,
Dool

For javascript, it's called "WordRTFImportPreference" (and its helpful Help string tells me this is "Word RTF import preferences." ...).
It's a property of the application: Application.wordRTFImportPreferences.
It should have been in there somewhere, but I can't find any reference to style mapping or presets -- so apparently, these cannot be scripted.

Similar Messages

  • Reseting page number in Word RTF template for BI Publisher PDF generation

    Hi!
    Apex 4.0.2, Oracle 10.2.0.4, BIP 10.2
    Bills are created based on Word RTF file with BI Publisher. Reszulting file is one big PDF file, which has many pages.
    Word RTF template is grouped on BILLS.ID field with page break option. So one BILLS.ID may have one or many pages (according data).
    How to create RTF template (for PDF BI Publisher generation) with reseting page numbers when grouping value change.
    Page numbers are in footer in format
    curr_group_page/total_group_pages
    where:
    curr_group_page is current page number in group (defined with BILLS.ID field),
    total_group_pages is total page number of pages in group (defined with BILLS.ID field).
    I need to reset numbering whenever BILLS.ID (group) change.
    Example:
    ID=1 (4 pages)
    1/4, 2/4, 3/4, 4/4
    ID=2 (1 pages)
    1/1
    ID=3 (2 pages)
    1/2, 2/2
    ID=4 (3 pages)
    1/3, 2/3, 3/3
    etc.
    How to achieve that kind of numbering?
    Any help appreciated.
    Regards,
    Damir Vadas
    Edited by: Damir Vadas on May 16, 2011 12:49 PM

    Simple question.. Does your posting deal with an APEX issue or a BI Publisher issue? The posting you have deals with the RTF add-on for Word that builds report layouts for BI Publisher. I suggested in my response that you move it to a more relevant forum..
    If you feel that me alerting you to the fact your are VIOLATING forum policy is an issue, please feel free to ask others their view.. (posting to a 3 year old closed thread, creating MULTIPLE threads for a single issue..) You do NOT seem to get the idea that posting this in the Bi Publisher support forum would probably get you a BETTER response than here.. Asking pl/sql questions here will also get people to refer your questions to the PL/Sql Support forum..
    Also, here is a POSSIBLE answer from the BI Publisher Forum: http://forums.oracle.com/forums/thread.jspa?threadID=594805
    This Is The APEX SUPPORT forum, we deal with SUPPORT questions on APEX (Application Express)..
    Thank you,
    Tony Miller
    Webster, TX
    You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • INDESIGN GLITCH: Creating an XML file from Indesign Layout - Issue "Using more than one line of GREP" & "Map Styles to Tags"

    I currently create XML from InDesign CC by Mapping Style to Tags.
    - The Paragraph Styles are manually apply to text. These styles include multiple lines of GREP to automatically apply character styles.
    - I map some of the paragraph and character styles to prebuilt tags that have the same name "Map Styles to Tags".
    I have found through trouble-shooting that InDesign is unable to "Map Styles to Tags" for more than one line of GREP. I therefore have to chose which line of GREP to automatically tag and which lines to manually tag.
    Please can anyone help, I need to automatically map tags to at least two character styles in one paragraph via GREP.
    Thanks,

    OK. The best I can suggest is running a Find/Change like this:
    Which will actually apply the character style to the italics (and I would do the bold as well just to make certain). Then run the Map Styles to Tags again, using the Apply by Name. Which will tag the italics.
    I don't know why ID can map to the bold and not the italic character style. It either should do them both (as in this instance) or none at all as the character styles are not actually applied by the grep, just the styling from the character styles.
    Mike

  • Export to Word RTF - Page Server error when over 160 pages exported

    We have XIR2 SP2
    We have a Crystal report published into this Enterprise which, when all parameters are widened, runs to 190 pages.
    The resultant report includes tables
    We can export to PDF but the client requires it in Word RTF
    We can export to Word RTF Editable - and all 190 pages are produced in the resulting file, but of course the tables are omitted and the result is messy.
    So, we need to export to Word RTF where the format is neat and includes the tables.
    However, when we try and export more than 160 pages to Word RTF, we receive the following error.
    CrystalReportViewer
    handleCrystalEvent failed
    Unable to retrieve Object.
    The Page Server you are trying to connect to is not accessible. Please contact your system administrator.
    We have a duplicate environment with an identical configuration, standing by as a failover environment and which points to the same data.This produces the same error, so we don't think it's an installation corruption or failure.
    The page server is set to a maximum of 2,000,000 rows, the cache server at 256000 maximum.

    Hi Tony F,
    Many thanks for coming back on this one. Both Enterprise servers are identical in BO config, Windows 2003 server, but different in hardware.
    One has 4 proc and one has 2, one has twice the memory of the other, yet both fail at over 161 pages. Both have their boCMS db's on different servers, both derive the data from different servers.
    IIS is the web server. The only common denominator is the actual installation software itself and the person who installed it (me).
    On Friday, instead of running the reports in Enterprise/Preview or Infoview (both exhibit the problem) I switched from our default activeX to DHTML, and advanced DHTML. No improvement (Our report wouldn't work with Java, which we never use)
    On the suggestion of the SAP/BO support girl, I then SCHEDULED the report for immediate running and chose WordRTF as the format. This works fine.
    So on that evidence I suspect a software glitch that is specific to using Infoview to open the report rather than schedule it - the two processes must access the WordRTF translator in different ways.
    I'm hoping there is a patch or hotfix that can solve it. Sadly, our users don't have the appetite for the few extra clicks to use the workaround so we're going to have to pursue it with BO unless the forum comes up with an answer - perhaps its something I didn't do properly on installation, or a CMC/CMS setting. We've got 2m row limit on the page server but the report's row count is nothing like that and, anyway, it works if scheduled.
    I'm really grateful to you for taking the time to reply, I hope the above answers your question - if I had hair to pull out, I'd be doing just that!
    Kind regards
    Tony W

  • How can I get the template( word rtf )  for PO – Printed Purchase Order ?

    I want to convert the “PO - Printed Purchase Order” report from Oracle rdf format to BI Publisher. I am looking for the template but could not find in UNIX.
    As per the Oracle blog, the template is available. Please see the URL : https://blogs.oracle.com/xmlpublisher/resource/121BIPReports.pdf
    The template code is POXPRPOL_XML.rtf
    when I look at the $PO_TOP/patch/115/publisher/templates/US directory, I cannot find POXPRPOL_XML.rtf
    How can I get the template( word rtf ) for PO – Printed Purchase Order ?
    Thank you,
    Biju Varghese.

    How can I get the template( word rtf ) for PO – Printed Purchase Order ? XML Publisher Administrator -> Templates
    find by code or name
    open it and you can downloadtemplate by "download" button

  • Problem mapping styles to tags

    How do I prevent creation of the "Story" tag during mapping of styles to tags?
    I need to achieve the following using a script:
    I have two XMElements in the structure view, say Title and Body as follows:
    <Root>
      <Title/>
      <Body/>
    </Root>
    Also, I have two text frames in a document. The first text frame has text with parastyle named "titlestyle".
    And the second text frame has text with parastyle named "bodystyle".
    What I need is when I do mapping of styles to tags (mapStylesToXMLTags) then the text with "titlestyle" should be placed as contents of title tag and the text with "bodystyle" should be placed as contents in body tag.
    The problem is that when I map styles to text a Story tag is created for each text frame and the original Title and Body tags remain as it is, i.e, empty.
    I get:
    <Title></Title>
    <Body></Body>
    <Story><Title>here are the contents</Title></Story>
    <Story><Body>here are the conents</Body></Story>
    NOTE: If you select the text in text frame and then click the tag in structure view, then the contents are placed correctly. This is what I need as follows:
    <Title>here are the contents</Title>
    <Body>here are the contents</Body>
    Regards,
    Vinoth

    Hi,
    Can you provide some text examples from your xml file. This because to identify the concern in the xml coding.
    Regards
    Thiyagu

  • Map styles to tags v. Map tags to styles

    Hi everyone,
    Indesign CS4 has an option in the tags panel to:
    1) Map styles to tags
    and
    2) Map tags to styles
    Does anyone know what the difference between these two options are?
    Appreciate any help.

    Tags and Styles serve two separate functions.
    A Tag defines data that belongs to a specific element and is enclosed with an opening and closing tag.
    example:  <element>  This copy will be used for a headline  </element>
    A Style defines how that data will appear with specific attributes: font, font size, color, etc.
    So, say I have an Indesign document that has a predefined paragraph style named: Headline (with attributes of Times New Roman Bold, 18 Point) and I import a file that is tagged like my example. I can map the tag "element" to the style "Headline" and the import can automate the process like this:
    This copy will be used for a headline

  • Converted a pdf to Word.rtf.

    First time user:  I just converted a pdf to Word.rtf.  The lines are all off.  e.g. If it says Address: ________________, then the lines are appearing in the middle or above the word and it throws everything off.  Can this be fixed??  Help please

    Hi Jim,
    I just responded directly. Unfortunately the original PDF is from an old fax or scan. The random ink marks and blotches along with the runny font won't transfer the proper information from PDF to Word. The only thing I can recommend is to re-create the doc so you have a clean copy. As I offered - if you need a PDF of it after you have completed - I'd be happy to do that for you.
    Kind regards, Stacy

  • Error messages when using Mapping Styles to tags

    We are using the XML Export from Indesign as part of our translation workflow. This has been fine until today. I am trying to tag an older document and when I use the Mapping Styles to Tags option I get the following error message:
    "Cannot tag the selected text because the text contains part of a hyperlink or cross reference. Change the text selection to include the entire hyperlink or cross-reference"
    I have no text selected, and I have tried tagging each Cross-Reference in the document and then repeating the map styles to tags all with no result. I don't really understand the message. Can anybody help me?
    I'm using InDesign CS6 Verison 8.0.1 on a MacBook Pro OSx 10.6.8
    Thanks
    Steve M

    Do you still have the original version of ID in which the file was made? If so, try the export to interchange from that. It frequently works better than after conversionin a new version. Open the exported file in CS6 and try your mapping again.
    If that still doesn't work, we'll need someone else to step in who has some XML experience.

  • Map Styles to XML Tags

    Hi,
    My InDesign cc2014 freezes when I apply manually  'mapStylestoXMLTags' to a document. any idea?
    Thank you,

    +1 for Harb's reply.
    As for an answer, as much as it is, if indesign freezes when manually mapping styles to tags (or the other way around), there is not much you can do. In my experience that always happens if the indesign document is large. Most you can do is post a bug report with Adobe and hope for the best.
    As a workaround, you can iterate through the textStyleRanges, test each one and create the xml structure, but it's not a easy solution.

  • Map Styles to Tags Problem

    For the first time ever I am having problems running the Map Styles to Tags commmand in InDesign CS3. The program takes some time to d the command but then an empty dialog pops up and the tagging has not happened. Any ideas in taking the text step to debug this problem?
    InCopy CS3 on a PowerMac DualG5/Mac OS X 10.5.8. Extra plug-ins include the K4 workflow system, Universal Type Server plug-in, Notes Manager, Overset Manager. I have attempted to do this operation via InCopy on this article and encountered the same problem.

    I finally figured out this problem. The main article (InCopy document) was very, very long. Once I removed all change tracking in InCopy and turned off change tracking (which involved some changes in K4 administration) everything worked perfectly.

  • Export to html,pdf,word/rtf

    Does Flex 2 support exporting to say, html,pdf,word/rtf?
    If yes, how to do it?

    quote:
    Adobe LiveCycle Data Services
    Wait? The final release has been out for a while and has a
    cool sample demonstrating the PDF feature.
    You can get it here:
    http://www.adobe.com/products/livecycle/dataservices/
    Download Free Trial link will actually let you download the
    free non-expiring express edition.

  • Mapping Styles from Word 2010 to RoboHelp HTML 10

    Hello all,
    I have created customized styles for myself and my team to use for authoring content, which I then import to RoboHelp, as I am the only individual who understands RoboHelp and HTML/CSS. I created a corresponding CSS style sheet in RoboHelp to correspond with the names of the Word styles. When I go to import the files in RoboHelp, I am running in to an issue with paragraph tags and heading tags.
    When I import a file from a Word document, I have not found a way to map a <p> tag that is parsed from a Word document to an <h> tag, as heading tags do not appear as a selectable item in the Conversion Settings  window when importing Word files. I would be able to keep the formatting if I left the headings as <p> tags; however, it is my understanding that RoboHelp 10 search relies heavily on the heading tags for weighting search results. I have about 400 topics, and search is used heavily by those using my documentation. I would prefer to keep the <h> tags in place in the RoboHelp files and retain the search functionality, if at all possible, while finding an easier import option from Word files.
    At this point, I have to manually change the HTML for each <p> tag to match the correct heading style. While Find and Replace works well for this, I would prefer to have a seamless import from Word (which bloats an HTML file horrendously, I know) by mapping from one style to the next. Has anyone found a way to map a <p> tag to an <h> tag so that the search functionality does not suffer? Or am I just approaching this the wrong way?

    You are correct in your assumption that I am referring to paragraph styles when speaking of <p> tags. The paragraph styles come over as <p> tags, and I was just thinking of my style sheet. Sorry for the confusion.
    Speaking of my workflow, I'm attempting to map the styles for one topic at a time when importing a new Word file. I set up a test project to test out my style sheet, as I am upgrading from RoboHelp 7 right now. .I need to get one document to map correctly to save the settings for future imports.
    From the Import window, I click the Edit... button in the Word Document section. After RoboHelp scans the Word file, a list of all the styles from the Word document display. When I attempt to select from the available styles I want to map to from my RoboHelp style sheet, I don't have the option to select the heading styles I created in my RoboHelp CSS file. Does this provide you enough information to give you context on how I am attempting to map the styles?
    I found this article that leads me to belive that RoboHelp does not support mapping to a customized heading style from a CSS file. I realize that this is around the printed output, but it states the following:
    If custom heading styles aren’t named in the format Heading <number>, they are not treated as headings.
    If it doesn't work going from HTML to printed output, I'm guessing that there is not support going from Word to HTML. Am I wrong in this assumption? Do I just need to alter my style sheet to only use the standard <h> tags to fix this issue?

  • RH 11 CSS Mapping Styles issue with Word 2013

    Hello members,
    Any help will be much appreciated.
    Platform: Win 7, RH 11, Word 2013 however, using an existing Word Template that was created in Word 2007.
    HISTORY:
    Six months ago, an upgrade of RH8 to RH11 took place (smooth, no issues reported). Please note, I have no "easy" way to verify if there was a problem in RH8 (all projects are upgraded, and old builds are backed up on IT server).
    There are existing Styles created in RH and in the Word Template (e.g., Heading 1, Heading 2, Heading 3, Normal, normal_bold, etc.). These existing Styles have no mapping issues hence, RH CSS recognizes their corresponding Word Styles.
    ISSUE:
    RH11 CSS does not recognize New RH Styles and Word Styles.
    NOTE: Styles are the same type. “For example, character to character, paragraph to paragraph, table to table, and multi-level list to multi-level list” (http://help.adobe.com/en_US/robohelp/robohtml/WS5b3ccc516d4fbf351e63e3d11aff59c2a0-7ee4.ht ml#WS21E2B5E4-C4AC-47b2-9D4B-D548EA9E3C04).
    Things Tried:
    Converted (SaveAs) my template .dot (Word 2007) to ".dotm" (Word 2013) = No change in issue mentioned above.
    What do I see when I create new Styles in RH CSS and Word Template: I am able to map Table and Multi Level List.
    Purpose: Working on a documentation standard project. Creating New Styles ‘based on’ existing styles. For example:
    RH CSS
    ListBullet
    Style: Paragraph
    Formatting: Font =10pt
    Indents: Left = 36pt
    Spacing: Before = 0px
    Paragraph: Alignment = Left
    Indentation: Left = 18pt, Right = 0pt, Special = Hanging (By 18pt)
    Spacing: Before = 6pt, After = 0pt, Line Spacing = Single
    Advanced:
    Word Template (.dot)
    ListBullet
    Style: Paragraph
    Style Properties: Name = ListBullet, Style type = Paragraph, Style based on = Normal, Style for following paragraph = ListBullet
    Formatting: Font = Arial Font style = Regular, Size = 9pt, Font color = Automatic (black), Underline style = none
    Paragraph/Indents & Spacing: Alignment = Left, Outline level = Body Text
    Indentation: Left = 0.25", Right = 0", Special = Hanging (By: 0.25")
    Spacing: Before = 0pt, After = 6pt, Line Spacing = Single, Selected (Don't add space between paragraphs of the same style)
    Paragraph/Line & Page Breaks: Pagination = Window/Orphan control, Tight wrap = None
    Bullet Format: Font = Symbol, Font style = Regular, Size = 9, Font color = no color
    Problem I am having is as follows:
    RH Wizard section - Print Document Appearance
    Project’s CSS Styles (Used Only or All)
    ListBullet
    Microsoft Word Styles (all)
    Unassigned – Use style in project) drop-down list
    The Style “ListBullet” does NOT show in the list
    NOTE: This anomaly I just reported happens for ANY new ‘Paragraph Style’ I create. If I create a List/MultiList, and the names of the Style are the same in RH and Word, RH Wizard automatically maps them. However, reading on multiple forums, authors have reported problems with Indentations (i.e., Word over extends the indentations); I have see this as well.
    PS - Happy Holidays to you and your families. My Best, ~PM
    PSS - Hi Peter ... I reviewed your site and this site, and Googled as well before posting.

    Thank you Peter and Amebr for your assistance. I ended up using RH Multilevel List Style, configured, and created an identical List Style in Word. I created a Single and a Multilevel (e.g., Level = bullet, Level 2 = squares); their challenge is matching RH indents with Word Indents... It's sort of a bear since RH does not have the Format Paragraph option (ref. drop-down) like Word Lists -  Numbering functionality.
    After generating my print document mu Bullet style reads "Normal (Web)"; even though the RH CSS Wizard recognized Word List Style I created (Ref. Font: Symbol, Font color: Black, Indent: Left: 0.15", Hanging: 0.25", Outline numbered + Level: 1 +, Numbering Style: Bullet + Aligned at: 0.15" + Indent at:  0.4", Priority: 100, Based on: No List.
    Question: Would anyone out there know why is when I highlight my bullet list to verify the correct Style (with the Styles pane open) and I see the "Normal (Web)" [its Style type = Paragraph and Style based on = Normal) is selected? If it came through (from Rh) as a true Multilevel List Style, I should not see anything.
    Happy Holidays!
    ~PM

  • InDesign CS4 - placing Word document and style mapping

    Hi,
    I'm using InDesign CS4 on Windows XP (SP3). I've noticed that when I place Word document, do the style mapping and saving this as a preset ... mentioned preset does not save style mapping. It works for the first time but when I try another place with the same preset - it fails.
    Example:
    Heading 1 => InDesign_heading 1
    Heading 2 => InDesign_heading 2
    etc.
    becomes
    Heading 1 => Heading 1
    Heading 2 => Heading 2
    etc.
    Any help would be much thankful.

    This issue is now solved in the 6.0.4 update. See the release notes for item #2335625.
    An important update to the InCopy and InDesign products has been released today!
    To install the update, choose Help > Updates from any Adobe CS4 application, or navigate to the Adobe Updater and launch it:
    Mac: /Applications/Utilities/Adobe Utilities/Updater6/Adobe Updater.app
    Win: C:\Program Files\Common Files\Adobe\Updater6\Adobe_Updater.exe
    You can also download the updates from Adobe.com at the following locations:
    InCopy Mac: http://www.adobe.com/support/downloads/product.jsp?product=30&platform=Macintosh
    InCopy Win: http://www.adobe.com/support/downloads/product.jsp?product=30&platform=WIndows
    InDesign Mac: http://www.adobe.com/support/downloads/product.jsp?product=31&platform=Macintosh
    InDesign Win: http://www.adobe.com/support/downloads/product.jsp?product=31&platform=WIndows
    Release notes are here: http://www.adobe.com/go/id6_readme_en

Maybe you are looking for