Position of Textframe with a specified text

Hello,
i have a list of ordernumbers in a textfile. Each ordernumber is separated via a Carriage return. I also have an InDesign CS4 Doc with textframes containing the ordernumbers.
I now need to get the coordinates and pagenumber of the textframe with the ordernumber.
The result should be a file with
ordernumber page x y
Can anyone help me doing it?
Thanks
Peter

app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;
app.findTextPreferences.bulletsAndNumberingListType = ListType.NUMBERED_LIST;
var myFoundItems = app.documents.item(0).findText();
for (i = 0; i < myFoundItems.length; i++) {
    var myParagraphs = myFoundItems[i].paragraphs;
    for (j = 0; j < myParagraphs.length; j++) {
        var myPar = myParagraphs[j];
        var myOrderNumber = myPar.bulletsAndNumberingResultText;
        var myTextFrame = myPar.parentTextFrames[0];
        var myTextFramesGB = myTextFrame.geometricBounds;
        var myPageNumber = myTextFrame.parent.name;
        $.writeln("Order Number = " + myOrderNumber + ", Page Number = " + myPageNumber + ", X = " +Math.round(myTextFramesGB[1]) + ", Y = " + Math.round(myTextFramesGB[0]));
It's a very simple script that just shows you an approach that can be used for your task. I assume that text containing ordered lists in text frames that are not threaded, not inside groups, etc.
See info written by the script into console.
Kasyan

Similar Messages

  • Help with problem specifying text properties (style & antiAliasMethod)

    I would be very grateful if someone could help me figure out what I am doing wrong in specifying certain text properties, namely style and antiAliasMethod.  I have tried many different things and consulted the JavaScript Reference Guide, Tools Guide and PS CS4 Scripting Guide, as well as several example scripts, but I can't seem to find the information needed.
    The snippet of code below adds a text layer to a document and places text on it;  What I want is white Arial bold 10 point text with no antialiasing (this would appear as "none" in the PS CS4 text tool dialog).  This code does everything except get the bold property and the antialiasing = none property.  Instead, what this code produces is white Arial normal (not bold) crisp (not none) text,
    My attempt to get no antialiasing instead of "crisp" causes an execution error, so that line is commented out below.  The line setting style to "BOLD" does not create an execution error, but it doesn't give me bold, either (instead I get normal).
    I am certain these errors mean I do not understand the correct way to express the code to set these properties.  Can someone set me straight about how to do this?
    Thanks.
            // Create a new text layer at the top of the document
            var myLayerRef = newDocRef.artLayers.add();
            myLayerRef.kind = LayerKind.TEXT;
            myLayerRef.name = "Test";
            var myTextRef = myLayerRef.textItem;
            // Set the text color, font, size, etc.
            var textColor = new SolidColor;
            textColor.rgb.red = 255;
            textColor.rgb.green = 255;
            textColor.rgb.blue = 255;
            myTextRef.color = textColor;
            myTextRef.font = "ArialMT";
            myTextRef.style = "BOLD";
    //        myTextRef.antiAliasMethod = "NONE";
            myTextRef.size = 10;
            // Set the text position, blend mode and opacity
            var tx = 10;
            var ty = 50;       
            myTextRef.position = new Array(tx,ty);
            myLayerRef.blendMode = BlendMode.NORMAL;
            myLayerRef.opacity = 100;
            // Insert the text
            myTextRef.contents = "Hello World";

    Update:
    I discovered how to fix both problems myself.
    The antialiasing was fixed by statement: myTextRef.antiAliasMethod = AntiAlias.NONE;
    The bold problem was fixed by changing the font name to "Arial-BoldMT" and deleting the statement which attempted to set the style to "BOLD".
    Thanks for your interest.  No further help is needed on this issue.

  • How do I click a key and have Firefox populate a field I am in with specified text?

    I provide online assistance for a specific group of clients. I am finding myself repeatedly writing almost the exact same paragraphs. Which Add-on would allow me to simply populate a field on a page with the exact text -- I'm hoping to set up 20 or 30 responses that I can just select instead of having to retype everything. Thanks for any guidance.

    Nailed it cor-el!!!!! I am so delighted! It's exactly what I've been looking for. I gave you a SOLVED with pleasure.

  • Multi-language support for user-specified text strings used in the forms

    multi-language support for user-specified text strings used in the forms
    Instead of creating multiple forms, 1 in each different language, for the same service, is there any workaround?

    Hoan - is your question what are the considerations when creating multiligual catalogs? If so, I can tell you that at other clients I have seen them use a single catalog for one or two languages. For the two langugages, such as Spanish/English, you can create a single catalog with both of them. Once you get to more than two languages, the catalog would get unweildy and is therefore not suggested.

  • Is there any way to export 2.35 Anamorphic source to a 16x9 letterboxed frame WITH timecode or text overlays?

    I have been trying to export temp cuts of an anamorphic project (2.35:1) in a letterboxed 16:9 frame with timecode and text overlays and other Additional Video Effects. Converting the 2.35 to 16x9 has been a breeze with the Preserve Aspect Ratio option in Cropping & Padding . The problem is that the black bars that that puts in the 16:9 frame appear OVER any of the Additional Video Effects, thus covering them up.
    E.g. if I select a Text Overlay and place it in the Center, I can see it just fine. But if I want it Upper Left, Title Safe, it is covered by the black space of the Letterboxing. So the Additional Video Effects are getting added, they are just getting covered by the letterboxing. You can even see the very edge of the text in the Title Safe position, peeking out from behind the letterboxing, which is, of course, frustrating .
    Thus far it's been a two-step process: letterbox the anamorphic source, then add TC and other video effects in a second job.
    So - is there any way to do this in ONE step? It would really help my anamorphic workflow.
    (apologies for the lengthy question.)
    [I'm using FCPX 10.1.3 & Compressor 4.1.3, in OSX 10.9.5 on Retina MBP, Late 2013, w/  NVIDIA GeForce GT 750M 2048 MB]

    Thanks for the reply Russ.
    Yes, I've considered adding titles and/or generators in the FCPX storyline, but this creates a need to render the entire timeline. As I'm juggling library locations and hard drive spaces I just didn't want to add a new render that will occupy a lot of space. It's also a bit of visual clultter for me, so my goal is to find the best workflow for adding this stuff on or after export.

  • Having an issue with passing the text of a link to a session variable.

    I am having an issue with passing the text from a link to a session variable. I am adding this html as a literal for each item in the list that i have populated with a query.
    List<Literal> lit = new List<Literal>();
    for (int i = 0; i < posts.Count; i+=4)
    Literal someLit = new Literal();
    someLit.Text=
    @"<div class='row'>" +
    "<div class='col-md-12'>" +
    "<div class='panel'>" +
    " <div class='panel-body'>" +
    " <!--/stories-->" +
    " <div class='row'> " +
    " <br>" +
    "<div class='col-md-2 col-sm-3 text-center' id='javascript'> <h3>" +
    " <a href='#' runat='server' onserverclick='UserProfile_Click'>" + posts[i + 3] + " </a>" +
    "</h3>" +
    " </div>" +
    " <div class='col-md-10 col-sm-9'>" +
    "<h3><a href='Thread.aspx' runat='server' onserverclick='MyFuncion_Click'> " + posts[i] + " </a></h3>" +
    " <div class='row'>" +
    " <div class='col-xs-9'> " +
    posts[i + 1] +
    " </div>" +
    "<div class='col-xs-3'></div>" +
    posts[i + 2] +
    " </div>" +
    "<br><br>" +
    " </div>" +
    " </div>" +
    " <!--/stories-->" +
    " </div>" +
    " </div>" +
    " </div><!--/col-12-->" +
    " </div>" +
    "</div>";
    lit.Add(someLit);
    for(int i=0; i<lit.Count; i++)
    this.Controls.Add(lit[i]);
    I use one of the list positions as the text for a link in two different spots. For now, lets only talk about the line:
    <a href='#' runat='server' onserverclick='UserProfile_Click'>" + posts[i + 3] + " </a>
    Since I am generating these controls at pageLoad, I can't make them <asp:Linkbutton>s. And since they are anchor elements, I don't have access to an onCommand attribute or onservercommand attribute.
    All I want to do is access the content from inside the specific link tags that I generate on link click and set it as a session variable. That's what I would like my UserProfile_Click function to do. I cant commandargs it in like i can with a linkbutton's
    OnCommnad attribute, however.
    My fear is that the onserverclick attribute resolves so something else on pageLoad normally and since I am generating it the way I am similar to the way a <asp:linkButton> resolves to a generated JavaScript.
    Any help?

    @Brunellus
    For questions related to ASP.NET use the ASP.NET forum http://forums.asp.net     
    You should get more, better and faster answers on the other forum.  Thanks, ahead of time.
    Best Regards,
    Kristin
    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.

  • Export Excel Table in .txt File with space delimited text in UNICODE Format

    Hi all
    I've a big unsolved problem: I would like to convert an Excel table with some laboratory data in it (descriptions as text, numbers, variables with some GREEK LETTERS, ...). The output should be a formatted text with a clear structure. A very good solution is
    given by the converter in Excel "Save As" .prn File. All works fine, the formattation is perfect (it does not matter if some parts are cutted because are too long), but unfortunately the greek letters are converted into "?"!!!
    I've tried to convert my .xlsx File in .txt File with formatting Unicode and the greek letters are still there! But in this case the format is not good, the structure of a table is gone!
    Do you know how to save an Excel file in .prn but with Unicode formatting instead of ANSI or a .txt with space delimited text?
    Thanks a lot to everyone that can help me!
    M.L.C.

    This solution works in Excel/Access 2013.
    Link the Excel table into Access.
    In Access, right-click the linked table in the Navigation Pane, point your mouse cursor to "Export", and then choose "Text File" in the sub-menu.
    Name the file, and then under "Specify export options", check "Export data with formatting and layout".  Click "OK".
    Choose either Unicode or Unicode (UTF-8) encoding.  Click "OK".
    Click "Close" to complete the export operation.

  • Is there a way to specify text-to-speech to dictate a specific line or..

    Hi guys,
    Is there a way to specify text-to-speech to dictate a specific line or page in a pdf file?
    In fact, it would be cool if text-to-speech highlighted each word that is being spoken through out the document during dictation and you could rewind, pause or fastforward the speech in real-time. Is this feature available? if not, can anyone recommend any other programs that can do this?
    thanx in advance

    Is there a way to specify text-to-speech to dictate a specific line or page in a pdf file?
    Yes!
    With fully modern Cocoa applications (like Safari, Preview, TextEdit, and Mail) you can select the line or page and then from the application menu > Services > Speech > Start Speaking Text
    You can also select and then Control-Click on the selection and then pick Speech > Start Speaking Text from the contextual menu. (Works with Safari, TextEdit, and Mail, but not Preview for PDF.)
    In fact, it would be cool if text-to-speech
    highlighted each word that is being spoken through
    out the document during dictation and you could
    rewind, pause or fastforward the speech in real-time.
    That would be cool. Are you looking for an interface enhancement, or would a talking book reader with these features be acceptable?
    Is this feature available?
    No, but you can get somewhat close to this ideal by using VoiceOver and checking Show Caption Panel.
    if not, can anyone recommend any other programs that can do this?
    I have had fair success with the Text Help Read & Write Aloud products.
    http://www.texthelp.com/rwm.asp?q1=products&q2=rwm
    eMac 1.42   Mac OS X (10.4.6)   I paid the going Windows price for a screen reader and got a free computer!

  • [ADF Faces] set cursor position to the first column input text in ADF table

    How do i set the cursor position to the first column input text when i Insert a blank row?
    My idea is to implement using javascript. document.setfocus() but how do i do it from the backing bean code? or how do i install custom js to call document.setfocus()?
    any ideas?
    Message was edited by:
    user450391

    Did you try by iterating the selected row?
    Bind the table with the managed bean and then try with below code:
    RichTable empTable;
    RowKeySet selectedEmps = getEmpTable().getSelectedRowKeys();   
    Iterator selectedEmpIter = selectedEmps.iterator();
    DCBindingContainer bindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding empIter = bindings.findIteratorBinding("EmpView1Iterator");
    RowSetIterator empRSIter = empIter.getRowSetIterator();
    while(selectedEmpIter.hasNext()){
       Key key = (Key)((List)selectedEmpIter.next()).get(0);
       Row currentRow = empRSIter.getRow(key);
       System.out.println(currentRow.getAttribute("Ename"));

  • Tagging TextFrames With InDesign Server - not showign in desktop?

    Hi all,
    Ive come across a weird issue with marking up text frames with InDesign Server (CS3) whilst processing xml rules during an xml import.
    I run the following code on desktop it works fine. When run on server, it works apart from the frames will not highlight when "Show Tagged Frames" is selected.
    (code cut for brevity)..
    //..open a new doc, import the xml file, process the rule set.
    function AddTextFrame(element)
    this.name = "AddTextFrame";
    this.xpath = "//textFrame";
    this.apply = function(element, myRuleProcessor)
    with(element)
    var frame = page.textFrames.add();
    //...frame geometry code goes here...
    markup(frame);
    As Ive stated, the code is functionally fine on desktop and server, but the tagged frames will not highlight when the document is created on server?
    Ive tried numerous work arounds (placeIntoFrame etc) but to no avail.
    Any ideas, is this a known/expected behaviour?
    Cheers, Scott

    After much local experimentation and iteration with Adobe tech support, we have a fix for Problem nr. 1: cannot define the port that works in our environment (IDS CS4 running as a service, Windows 2008 Server).
    Add this parameter to your server startup command line for each instance of InDesign Server you're running:
    -ORBendPoint giop:tcp:<serverIP>:<portNumber>
    where
    <serverIP> is the static IP of the server that is running IDS. Note: The OmniOrb docs imply that you can use the server's domain name here, but that didn't work for us. 127.0.0.1 also did not work. The IP number does work. This might help your Problem nr. 2: wrong IP address in the application IOR if you set it to the IP you want to listen on, but we have no experience with that.
    <portNumber> is the port you want IDS (via OmniOrb) to listen on. If you're running multiple instances as we are, each instance should have its own unique port number.
    I completely agree that, as an enterprise product, IDS's default behavior of boldly going where no one has gone before in your port space at each restart is not the way to play nice in a firewalled, enterprise environment. This should be documented in Adobe's Introduction to InDesign Server in the command line parameter discussions, it would have saved us a lot of time

  • [svn:fx-trunk] 8452: - Fix flicker problem with constraint bound text that is being autoSized.

    Revision: 8452
    Author:   [email protected]
    Date:     2009-07-08 08:38:32 -0700 (Wed, 08 Jul 2009)
    Log Message:
    - Fix flicker problem with constraint bound text that is being autoSized.  If the remeasure is done in a 2nd pass you will see a flicker as all the objects are moved to accommodate the reflowed text.
    - Fix data binding issue with text setter.
    - Rework measure() to accommodate implicit autoSize.
    If explicitWidth or widthInChars specified and explicitHeight or heightInLines specified, or for now, blockProgression != "tb", the text has fixed dimensions and is not auto-sized.
    If no text and width specified, but no height, start at specified width and one line high and grow taller.
    If no text and height specified, start at 1 char wide with the specified height and grow wider.
    If neither width nor height specified, and toFit lineBreaks, start at explicitMaxWidth, or default maxWidth of 160, and grow taller.
    If neither width nor height specified, and explicit lineBreaks width is unlimited and can grow taller.
    These are further constrained by min/max Width and Height except in the case that explicitWidth or explicitHeight are specified.
    - Change default maxWidth for RichText and SimpleText to 160 to match RET.  Previously it was 10000.  This is used for
    text with toFit lineBreaks if a width isn't specified.
    QA Notes: 12 or so TextGraphic tests fail because of the new default maxWidth.
    Doc Notes:SDK-22014, SDK-21837
    Reviewers: Gordon
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22014
        http://bugs.adobe.com/jira/browse/SDK-21837
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditable TextContainerManager.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicE lement.as
    Added Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditable TextEditManager.as

    You have used elements like header, footer, footer1 and nav without using the correct DOCTYPE declaration. Replace the first line of your code with
    <!doctype html>
    Also have a look here for other problems http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fhome.surewest.net%2Fstorytales%2F test%2Fforposting.html
    After the above has been fixed, please come back here to fix the remaining problem(s)
    Gramps

  • Array of buttons with different boolean text ?

    I'm looking for a method of displaying a 2D button matrix with
    different boolean text on each button. It seems an array of booleans
    must all have the same text. Perhaps a cluster could be used, but the
    array makes button alignment easy and easy to determine which had been
    pressed (radiobutton style with only one button true at a time).
    Steve

    On 6 Dec 2002 05:31:21 -0800, [email protected] (humenik) wrote:
    >[email protected] (Steve Parus) wrote in message news:<[email protected]>...
    >> I'm looking for a method of displaying a 2D button matrix with
    >> different boolean text on each button. It seems an array of booleans
    >> must all have the same text. Perhaps a cluster could be used, but the
    >> array makes button alignment easy and easy to determine which had been
    >> pressed (radiobutton style with only one button true at a time).
    >It's easy to make them individuals in a cluster, and on the block
    >diagram use Cluster To Array to get it into array form for
    >manipulation. This can be superior to an array of buttons, not merely
    >because the buttons can thereby have differing colors and text. An
    >array of buttons cannot have the buttons Latched When Pressed; when in
    >a cluster, however, the latching action is available.
    When might that Latched When Pressed behavior be useful ? Using a 2D
    array of buttons (not cluster), in LV 6.1, a Value Changed event for
    the array can be used as you mention below to XOR the event's OldValue
    and NewValue and wire that to a local variable copy of the array.
    This easily gives a radio button effect for the entire 2D button
    matrix. The array control automatcially arranges the visual
    alignment of the buttons.
    For the cluster method, I'd like to programmatically change which
    button is true. All the approaches I come up with end up using
    Array-to-Cluster which then requires the cluster size to be specified.
    I may end up wanting to programmatically vary the number of buttons in
    both dimensions and hence the cluster size. LV's Align Objects and
    Distribue Objects ends up making the button visual alignment not
    difficult (for a 12 x 8 matrix).
    >Try this: take a cluster of four PB's (latched when pressed) put
    >inside a while loop. Initialize a boolean array of 4 to FALSE outside
    >the while loop, and attach it to a shift register input on the left
    >side of loop. Inside the loop, convert your cluster to an array. XOR
    >the shift register with this array from the buttons, and wire this to
    >the output shift register and to an indicator array. Set the boolean
    >to the loop so it will run free and start it up; on the control panel,
    >click on the PB's and you will see the outputs toggle.
    >
    >Greg

  • LineBreakMeasurer with anti-aliased text

    Hello,
    I am developing an application, which needs to render anti-aliased text. The application uses LineBreakMeasurer for text layout. Without anti-aliasing, LineBreakMeasurer works perfectly. However, when I turn anti-aliasing on, the text lines returned by LineBreakMeasurer.nextLayout() are too long (that is, longer than the specified wrapping width).
    For example, if I call
    TextLayout layout = measurer.nextLayout(92.0);
    then
    layout.getAdvance()
    might return 101.0.
    Has anybody been able to make LineBreakMeasurer to work with anti-aliased text?
    Thanks,
    -Tero

    My english is not so good, I hope this help to you.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.font.*;
    import java.awt.event.*;
    import java.text.*;
    public class ParagraphLayout extends JFrame{
      public static void main(String[] args) {
        JFrame f = new ParagraphLayout("ParagraphLayout");
        f.getContentPane().add(new Test());
        f.setVisible(true);
      public ParagraphLayout(String title) {
        super(title);
        createUI();
      protected void createUI() {
        setSize(500, 400);
        center();
        addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            dispose();
            System.exit(0);
      public void center() {
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        Dimension frameSize = getSize();
        int x = (screenSize.width - frameSize.width) / 2;
        int y = (screenSize.height - frameSize.height) / 2;
        setLocation(x, y);
    class Test extends JPanel{
           public Test(){
                super();
          public void update(Graphics g){
               paintComponent(g);
          public void paintComponent(Graphics g) {
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                RenderingHints.VALUE_ANTIALIAS_ON);
            // From _One Hundred Years of Solitude_ by Gabriel Garcia Marquez.
            String s = "Jos\u00e9 Arcadio Buend\u00eda spent the long months " +
               "of the rainy season shut up in a small room that he " +
               "had built in the rear of the house so that no one " +
               "would disturb his experiments. Having completely abandoned " +
               "his domestic obligations, he spent entire nights in the " +
               "courtyard watching the course of the stars and he almost " +
               "contracted sunstroke from trying to establish an exact method " +
               "to ascertain noon. When he became an expert in the use and " +
               "manipulation of his instruments, he conceived a notion of " +
               "space that allowed him to navigate across unknown seas, " +
               "to visit uninhabited territories, and to establish " +
               "relations with splendid beings without having to leave " +
               "his study. That was the period in which he acquired the habit " +
               "of talking to himself, of walking through the house without " +
               "paying attention to anyone...";
            Font font = new Font("Serif", Font.PLAIN, 24);
            AttributedString as = new AttributedString(s);
            as.addAttribute(TextAttribute.FONT, font);
            AttributedCharacterIterator aci = as.getIterator();
            FontRenderContext frc = g2.getFontRenderContext();
            LineBreakMeasurer lbm = new LineBreakMeasurer(aci, frc);
            Insets insets = getInsets();
            float wrappingWidth = getSize().width - insets.left - insets.right;
            float x = insets.left;
            float y = insets.top;
            while (lbm.getPosition() < aci.getEndIndex()) {
              TextLayout textLayout = lbm.nextLayout(wrappingWidth);
              y += textLayout.getAscent();
              textLayout.draw(g2, x, y);
              y += textLayout.getDescent() + textLayout.getLeading();
              x = insets.left;
    }

  • Whenever I try to download an app [from the app store on the computer], a popup message appears saying 'A server with the specified hostname could not be found'. What could I do to resolve this?

    Whenever I try to download an app [from the app store on the computer], a popup message appears saying 'A server with the specified hostname could not be found'. What could I do to resolve this? I am using a MacBook Pro laptop. There is around 250 gb of free space. Please help

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Click the Clear Display icon in the toolbar. Then try to update. Select any lines that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name or email address, may appear in the log. Anonymize before posting.
    When you post the log extract, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the text on Pastebin, then post a link here to the page you created.

  • Probs with drop-down text in Word doc

    I'd like to include drop-down text in my printed
    documentation, but I'm having problems making it work. I have lots
    of i-frames in my Webhelp project and, for some reason, they all
    seem to have carriage returns in them. When I turn on the "include
    drop-down text" in my printed doc options, these carriage returns
    wreak havoc on my formatting.
    I've tried removing them from the TrueCode, but they just
    re-generate. I've also thought about writing a macro in Word to
    remove them, but I can't think of a way to ensure it is consisent.
    And, I have numerous long documents that will be generated from
    this project, so it is not feasible to remove them manually.
    I'd really like to use the drop-down text functionality for
    my printed docs. Short of turning of the drop-down text, using
    conditional tags, and duplicating text , I don't know how. Any
    ideas?
    BTW, I'm using RoboHelp X5.

    Based on the information I received from Peter Grainge, I completed the following steps.  The Bulleted-List issue was fixed, but not the numbered-lists.
    1.        Make sure your RoboHelp project is not opened.
    2.        Open up the default.css style sheet for your project in Notepad.
    3.        Search for the following text:
    P.Numbered-List {
       list-style: decimal;
       text-indent: -;
       margin-left: 0pt;
    4.        Replace with the following text:
    /*P.Numbered-List {
       list-style: decimal;
       text-indent: -;
       margin-left: 0pt;
    5.        Search for the following text:
    P.Bulleted-List {
       list-style: disc;
       margin-left: -6pt;
    6.        Replace with the following text:
    /*P.Bulleted-List {
       list-style: disc;
       margin-left: -6pt;
    7.        Open up your RoboHelp Project
    8.        Go to Edit : Find and Replace Files
    9.        Search for:  <li><p class="Bulleted-List">
    10.     Replace with: <li class="Bulleted-List"><p>
    11.     Now do another search and replace.
    12.     Search for: <li><p class="Numbered-List">
    13.     Replace with: <li class="Numbered-List"><p>
    14.     Remove any extra lines that appear at the end of the drop-down text.

Maybe you are looking for

  • How to create a text file from jsp?

    In JSP, what is the command to create a text file and dump a variable in it?

  • Flex View Pay for On-Demand Basic Cable Stations

    Went to watch an episode of The Secret Circle that our DVR didn't record for some reason.  Find that I would need to pay to watch this CW show through Flex View and it's not offered on-demand for free?? What the hell?  Can anyone explain this?....

  • Rule hint based query being fired by DB in AWR rpt ??

    I am looking into AWR report and i see the below sql statment being executed 58000 in 5 hour period... the application guy said, its not being fired from the app....is the making making some recursive calls or what ??? as its a pretty big amount of t

  • Are there any ill effects for turning up brightness all the way?

    Are there are any ill effects or long term effects if you turn up and leave the monitor's brightness at full? I'm not worried about the battery draining or anything, I'm just wondering if it wouldn't be as bright two years down the road compared to i

  • Trigger is resulting in ORA-04098 (Trigger invalid)

    I'm trying to create a trigger which automatically updates the rpimary key each time a record is inserted in the table CONTACTS_MAN. This table is basically an address book. SQL> describe contacts_man Name Null? Type CONTACT_ID NOT NULL NUMBER DATERE