Assignment of the object through the ESD Styles

Hi all

Someone of you have made use of attribute object Styles in ESD?  We tried this and, apparently, is not the appropriate elements to do so. We use xDocbook based on the ESD delivered with frame 7.0 default :-)  I tried to look at the default Docbook EDD that comes with frame 12, but there not the right items - I think that these are InsetStyle, AnchoredFrame and AnchoredFrameStyle.  I found them in the Dita EDD, but when I tried to import them into my existing xDocbook EDD, they are obviously not in the DTD/schema do not always work this way.

Do you know if this is actually supported in Frame 12 or in 2015?  The frame 12 Structure Dev Guide says that you just insert an InitialObjectFormat element, then insert the style of the object using two InsetStyle for a simple chart or AnchoredFrameStyle for an anchored frame. However, these elements do not exist in our ESD or DTD.

Does anyone know a work around or how it should actually work?

Thank you very much

Shelley Hoose

Rogue Wave Software

Shelley,

Don't forget that there are two sets of definitions of element associated with each ESD:

  1. Definitions of element uses a DSP defines the elements and attributes that you can insert into ESD itself: these have tags such as ElementCatalog, element, AttributeList, TextFormatRules, AutoInsertions and so on.
  2. Definitions of element that defines a DSP are those created by the content of ESD. In the case of DocBook, include bridgehead, ChapterInfo, glossary, ListItem and so on.

The EDD xdocbook which comes with 12 FM is a binary 12 FM, but its content, including the definitions of element it uses has not been updated since 7 FM. That's why the first line of the file reads "ESD Version is 7.0.

To use the ESD features that have been added in later versions, you must update the element definitions used by your EDD to the version you want. If you use FM 12, you will need to open a DSP that uses the new features of FM 12 EDD and importing element definitions to use in your own ESD. A 12 ESD FM will say "Version of ESD is 12.0" at the top. Here is a sequence that works:

  1. FM 12, use StructureTools > new ESD.
  2. Save the resulting.
  3. Save your DocBook EDD.
  4. Open your DocBook EDD.
  5. Make up the dialog element definitions Import with file > import > element definitions.
  6. In the import of Document pop-up, select the new FM 12 you created.
  7. Hold down the CTRL key and click on the import button (or press Ctrl + Enter)

The use of the CTRL key in step 7 is essential. Without it, FM important definitions of elements defined in ESD. You just created the file and do not have definitions of element inside. If you try to import a set of definitions of empty element, FM crashes. Instead, you want to import the element definitions used by the new ESD. That's what the CTRL key.

EDD that have been added since 7 FM offers descriptions of the item and the text in the banner.

-Lynne

Tags: Adobe FrameMaker

Similar Questions

  • Graphic object based on the paragraph Style style?

    I just checked the documentation of the API and saw nothing on the point about this.

    Is it possible to write a script that applies a Style object to a jpg image based on the paragraph Style applied to this image jpg online online?

    Hello

    I did the following:

    var curDoc = app.activeDocument;
    
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat= "~a";
    var allFounds = curDoc.findGrep();
    
    for (var i = 0; i < allFounds.length; i++) {
      var curFound = allFounds[i];
      if (curFound.allGraphics.length > 0) {
        var pStyleName = curFound.paragraphs[0].appliedParagraphStyle.name;
        if (pStyleName == "paraStyle") {
          var rect = curFound.rectangles[0];
          rect.appliedObjectStyle = curDoc.objectStyles.itemByName("myStyle");
        }
      }
    }
    

    Kai

  • Select all objects with the same style of object?

    I did some research but empty is come. It is possible to select all the objects on a page that have the same style of applied object?

    What I want to do, is apply an action 'frame content' to a large group of text boxes (labels on a map). But this mounting option doesn't seem to be available as part of the style of the object.

    Any suggestions?

    Thank you.

    Try using the option Auto-size text block rather in the style of the object. This feature (found in the object > text frame Options) is useful to the legends of autosize following certain rules.

    This attribute can be used in object styles.

  • How to change the paragraph style to each paragraph that contains only one anchored object?

    Hello

    I have a document in word that should be converted in indesign. The document contains instructions, each step followed by an image.

    I managed to import the document into Indesign and applied a paragraph with numbering style to everything (text, image).

    Now, how do I change the the paragraph style to each paragraph that contains only an image? I need to get rid of the numbering.

    Thanks in advance.

    If the images are all anchored objects, you can use find/replace to find the anchor point and change the paragraph style only once for all paragraphs.

  • Why NowPlayingConnection can be assigned to the C++ object as a property?

    Is there a reason why NowPlayingConnection can't be assigned to the property?

    I followed fragments of code (C++), setters and getters created well, all imports also.

    Q_PROPERTY (bb::multimedia::MediaPlayer* mediaPlayer READ mediaPlayer WRITE setMediaPlayer)
    Q_PROPERTY (bb::multimedia::NowPlayingConnection* nowPlaying READ nowPlaying WRITE setNowPlaying)
    

    Then in QML I'm assigning

            DownloadedPodcastsManager {
                id: downloadedPodcastsManager
                mediaPlayer: player
                nowPlaying: nowPlayingConnection
            },
    

    And allocation of property called mediaPlayer works well but assign nowPlayingConnection ends with

    Error: Cannot assign QObject * void

    reported by QML.

    I don't know what the problem is.

    Any clue?

    Tom

    I found most likely the root cause.

    QML is passing the instance of bb::multimedia:QmlNowPlayingConnection instead of bb::multimedia:NowPlayingConnection

    This is the reason why the property declared as bb::multimedia:NowPlayingConnection * cannot be assigned

    So I made this property of the QObject and casting instead I need so it works fine now. Not happy with this, but better than nothing.

  • Apply the character style to the part of the paragraph

    I am inserting text in a block of text with the following code:

    story.insertionPoints [-1] .silence += pgfStr;

    story.insertionPoints [-1] .silence += "\t";

    story.insertionPoints [-1] .silence += refStr;

    story.insertionPoints [-1] .silence += "\r";

    I want to apply the character style to all of the text in refStr (only the part of this paragraph). I know how the syling paragraph applies to the entire paragraph, but not a character style. I should be grateful if you would help. Thank you!

    Hello

    Dan - BTP says:

    ... the size in points and attack can be different on each page...

    You are able to find a rule of these differences?

    ...

    What do depends on what type of rule could be defined

    ...

    The size of reference point that is 1.5 PT lower than the point size of the paragraph, whatever.

    Close to the end of the script, you can code for example:

         //     Your target is "reference" which is a text inbetween tabulator and end of story (or other criteria).
         //     So you could define:
    app.findGrepPreferences = null;      // just for clear it
    app.findGrepPreferences.findWhat = "(?<=\\t).+\\s\\Z";     //     to catch text following tab in last para of story
         //     and after:
    mFound = app.activeDocument.findGrep();
         //     so all desired text objects are in an array "mFound".
         //     you could iterate (backward) through it:
    len = mFound.length;
    while (len-->0)      //     ">0" in case of nothing found
         mFound[len].pointSize -= 1.5;
    
         //     whatever that is - is 1.5 smaller
    

    Jarek

  • Create Styles... and then the nesting styles

    Seems simple enough:

    say application "Adobe InDesign CS5.5.

    say active document

    put myCharacterStyle to do style of characters with properties {name: 'Year', size: 26.0, fill color: 'Paper', race color: 'Black', race weight: 0.75, fonts: "Helvetica" font style: "Black"}

    put myCharacterStyle to do style of characters with properties {name: "Years", size: 18.0, fill color: 'Black', line color:nothing, weight:race nothing, horizontal scale: 80.0, vertical scale: 80.0, fonts: "Helvetica", font style: "Black"}

    put myParagraphStyle to do paragraph style with property {name: 'Year'}

    put nested styles of myParagraphStyle to {{applied the character style: 'Year', rehearsal: 1, false inclusive: delimiter:any word}, {applied the character style: "Years", rehearsal: 2, inclusive true: delimiter:any word}}

    end tell

    end tell

    The police and the point size do not come through when the style is created. Nested styles are not as through.

    I tried the applied policies: "Helvetica" to get "font family is not available. Also: font 'Helvetica '...

    What I get just now I is no defined font or size. The rest works.

    So what I'm doing wrong here?


    Hi lithodora.

    as Mary Posner wrote a character style has the property 'do', but 'applied police' and 'make-style ".

    «... specified as font family name or an object are.»

    just look it up in the dictionary...

    Always try to work with references.

    Tell application "Adobe InDesign CS5.5"

    -You need to myHelvetica your needs!

    Set myHelveticas to (font family of each font whose name contains "Helvetica") - returns the helvetica font family names

    myHelvetica defined in article 1 of the myHelveticas - just choose randomly one for my example, in the hope there is a 'black' style ;-)...

    tell the active document

    myCharacterStyle01 to style character with the properties the value {name: 'test', size: 26.0, fill color: 'Paper', race color: 'Black', accident stroke weight: 0.75, applied the police: myHelvetica, font style: "Black"}

    myCharacterStyle02 to style character with the property value {name: 'tests', size: 18.0, fill color: 'Black', race color: nothing, stroke cerebral weight: nothing, horizontal scale: 80.0 vertical scale: 80.0, applied the police: myHelvetica, font style: "Black"}

    myParagraphStyle to style of paragraph with the properties the value {name: 'nextTest'}

    say myParagraphStyle

    do new style nested with properties {applied the character style: myCharacterStyle01, repetition: 1, included: false, delimiter: any word}

    do new style nested with properties {applied the character style: myCharacterStyle02, repeat: 2, inclusively: true, delimiter: any word}

    tell the end

    tell the end

    tell the end


  • Insert a blank space in the paragraph style?

    Is it possible to integrate a white space inserted (en character) in a paragraph style?

    I created a paragraph to chapter headings style. Chapter and number are centered horizontally on the page with a thick end line (key) on each side - a little like that, except that I use the dashboard to create the line in this example:

    -------------------------------------  Chapter 2  ------------------------------------

    Inserted white spaces before and after 'Chapter 2'.  However, when I try to apply the paragraph style to another title, the spaces are not there.

    (Line thin thickness was created as text underscore and the offset is vertically centered with the text.  It would make a difference if I created the thick end line in the form of a graph?)

    Oh and I also tried to create an object style, but it does not recognize spaces, either.  I know that something will work, but little by little learning has not met yet the solution.

    Thank you.

    Do it like this:

    1 make the high line a paragraph above net. Assign the 'Column' width (full) and set its vertical offset in right position.

    2. Add a paragraph below NET. Together, this upright even shifted, but makes a little (or a lot) more thick. Set its color [Book]. Set the width of 'Text', not 'column '. Then set the negative value of the width approx. white space you want on the left and right - something like 'mm-2' the left indent and right.

    3. you're done!

  • Automate the character styles?

    Tuesday morning, I sit and one hundred and fifty summer events to pop in a leaflet. Choice is easy - I can print them and type them. In the shower, however, I started thinking about choice B, and I don't know if InDesign can do what I want.

    I have control over the database where they are hosted, and it is quite easy for me to pop in the format

    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    Date - time [CR]
    Name of the event
    ~~~~~~~~~~~~~
    Date - time [CR]
    Name of the event
    ~~~~~~~~~~~~~
    Date - time [CR]
    Name of the event
    ~~~~~~~~~~~~~

    What is all the information I need on this document. On the finished product, I'll Date and time to have character styles applied (for color and weight). It is not difficult for me to assign keys quick access to styles of character and to make this hand - twenty minutes of boredom.

    But!

    Could format that

    (where the symbols are just unique symbols)

    ~~~~~~~~~~~~~
    ªDate - ∞ £ time [CR]
    Name of the event
    ~~~~~~~~~~~~~

    and then use a find/replace to tell InDesign

    -in the case of 'ª... ". ∞ ", apply the style of character 'Style of Date'

    -in the case of "£...", apply the style of character 'Time style' "

    and then go through and remove all instances of ª ∞, £ and

    ?

    (Additional spaces applied for ease of reading)

    Or, if I'm imagining this wrong, is there another way I can format the original data to automate the application of styles?

    Even I don't think that you would need to grep for that.

    I would create two paragraph styles, one for the date and time with the following style being the name of the event and the name of the event, including the next style time.

    Then create a character for the time style and have the paragraph style base for date/time, or just for the date of the formatting you want.

    The style of time date would have a style nested with none by the hyphen and the time until the end of the paragraph.

    Place the text and then select everything from him and in paragraph styles, right panel click on time and in the context menu, choose apply date/time and following.

    Who must fully put in shape all your text.

    Bob

  • BT Yahoo mail will not switch to the new style when using Firefox

    I had to do a re - install under the motherboard has failed. I use BT Yahoo email. On the home page, I get a link "switch to the new BT Yahoo! Mail". That is the link allows to set up the new style and I can then do what the home page and opening in the new style every time. In Firefox help happens nothing other than 'click' navigation and a brief glow and I am still on the old.

    I'm glad to hear that your problem has been resolved.

    If you have not already the case, please mark this thread as solved by the solution of marking.

    This will help other users experience similar problems helps to find faster and more efficiently.

    I hope that you will continue using our products and we thank you for contacting the Mozilla Support.

    Here are the steps to make a clean reinstall for reference.

    Some Firefox problems can be solved by performing a clean reinstall. This means that you remove Firefox program files, and then reinstall Firefox. Please follow these steps:

    Note: You can print these steps or consult them in another browser.

    1. Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
    2. Once the download is complete, close all Firefox Windows (click on quit in the file menu or Firefox).
    3. Remove the Firefox installation folder, which is located in one of these locations, by default:
      • Windows:

        • C:\Program Files\Mozilla Firefox
        • C:\Program Files (x 86) \Mozilla Firefox
      • Mac: Delete Firefox in the Applications folder.
      • Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
    4. Now, go ahead and reinstall Firefox:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.
  • get a dotted line around .swf files in my flash site now. This is new from Firefox 3. With the help of 4 on a MacBookPro. tried the fix "style no outline. does not work. any help?

    Question
    get a dotted line around .swf files in my flash site now. This is new from Firefox 3. With the help of 4 on a MacBookPro. tried the fix "style no outline. does not work. any help?

    Ah, quite understand now that I added to my doc html

    < style type = "text/css" >
    {body
    background-color: #FFF;
    }
    "'object {outline: none ;}"} '

    < / style >

  • BEFSR81 and static IP to be assigned to the members of the network

    It's perhaps a little noob question.

    I have to (192.168.1.2 DHCP server OFF, wireless) WRT310N cascading through my BEFSR81 (192.168.1.1, DHCP ON), but for the life of me I can't understand where they were hiding a DHCP reservation. If there is no page for it, I was unable to find anything that looks like a workaround solution. I want to put in place so that the members of my network get the same IP addresses addresses DHCP and time "guests".

    Can someone help me?

    Thank you

    Marshall

    An obvious option is that you can replace the BEFSR81 with almost all new Linksys routers.  You can use the RVS4000 (a DHCP reservation has been added with an update of the firmware), or you could use a wireless router and turn off the wireless.  If you're thinking the RVS4000, know that it can handle only about 15 Mbps of throughput of your Internet connection, so if you have a faster connection, you'll be out of luck with this router.

    If you wish to continue using your BEFSR81, note that Linksys has certain rules very specific on how to manually setup fixed LAN IP addresses in your network devices.  You must follow these rules carefully.

    Rules for use of the LAN IP fixed address on the Linksys routers:

    With Linksys, routers, a fixed (static) IP LAN addresses must be assigned in the device that uses the address. If you enter the fixed address to the computer or the printer, not in the router.

    When you use a Linksys router, any fixed LAN IP address must be outside the DHCP server rank (typically 192.168.1.100 thru 192.168.1.149), and may not end with 0, 1 and 255.

    That's why any fixed LAN IP address would normally be of the order of
    192.168.1.2 thru 192.168.1.99 or
    192.168.1.150 thru 192.168.1.254
    assuming that you always use the default DHCP server line.

    In addition, in the computer, when you configure a static LAN IP address, you need to set the "Subnet mask" 255.255.255.0 and the 'default gateway' on 192.168.1.1 and "DNS server" on 192.168.1.1

    It is also important that the same value static LAN IP address no two devices on your network.

  • How can I change the drive letter assigned to the partition of 'winretools' on a laptop Win 8?

    I'm just going through the process to customize a new Inspiron 14z with Windows 8. The only thing that left me speechless are all provided partitions installed on drive, thanks to a combination of everything be different on Win8, Dell make their own way and GPT formatting.  Generally, I would like to know what the devil all these partitions are for, but it is fine if it will be a slow learning process.  More precisely and immediately, I need to change the drive letter assigned to the partition of 'WINRETOOLS '.  Currently it is D:, and the problem is that 10 years from now, I'm using as my data partition D: and a number of applications, configurations, settings, etc. assume that all my files are on D:.  For example, by having all my music on D:, I can sync iTunes library and preference between machines and all results files and playlists is from a machine to another.  Same thing for my photos.  Same for a bunch of utilities like FTP consoles, sync utilities...

    In an earlier version of Windows, I would just go into management drives, right click on the partition in question, assign a different drive letter and work done.  On my machine, the WINRETOOL 2 GB partition shows not even as having a drive letter in disk management, despite the fact that it is D: in Win Explorer.  In addition, only the right click option is 'help '.  I took this option, and, despite its aspirations, it is not useful.

    How can I change this drive letter to something else?  WINRETOOLS should even have a drive letter in Explorer (some messages that I've seen indicates that it must be hidden)?  If I change the drive letter, which will break its function, whatever it is?

    ....

    My machine has a 500 GB of rotating disk that has all of the above partitions.  I shrunk the 80 GB C: partition, to create a data partition.  I've not yet formatted the unallocated space I want to solve this WINRETOOLS thing first.  Finally, there is a 32 GB of SSD that I put in place as a cache of the Intel Smart Response, and it is no longer visible to the operating system.

    At the command prompt, type the following and press "enter":

    mountvol D:\/d

    Close the command prompt.

    Drive D: letter should now be available and not used.

    Here's some info about Mountvol, it's very powerful to be safe to use it:

  • How to dynamically change the graphic style css?

    What is the right method to dynamically replace the graphic style of JavaFx 2.2 in the code? I modified the example in the tutorial below with or without loading the css file. So far, I am unable to replace the style from the code. My goal is to dynamically set the width of each line. We use Java with Eclipse on Windows 7 (64-bit) 7_51. The CSS generated in the code below works when it is in the file. There must be a better way than to write a new file and read it, right?

          String title = "Chart Title";
          stage.setTitle("Stage Title");
          final LogAxis xAxis = new NumberAxis();
          final NumberAxis yAxis = new NumberAxis();
          final LineChart<Number, Number> chart = new LineChart<>(xAxis, yAxis);
          chart.setTitle(title);
          chart.setLegendVisible(false);
          chart.setCreateSymbols(false);
          xAxis.setLabel("x-axis");
          yAxis.setLabel("y-axis");
    
          // each bar is a line from x,0 to x,y
          int width = 24; // pixels
          for (int i = 0; i < ydata.length; i++)
          {
             String css = "";
             // TODO: dynamically calculate unique width for each "bar"
             final XYChart.Series data = new XYChart.Series();
             data.setName("Series" + (i + 1));
             data.getData().add(new XYChart.Data(xdata[i], 0.0f));
             data.getData().add(new XYChart.Data(xdata[i], ydata[i]));
             chart.getData().add(data);
             // Dynamically set style instead of reading from file
             // Assign each "bar" data series a color and line width
             css += ".chart-series-line{ -fx-stroke: red; -fx-stroke-width: ";
             css += width;
             css += "px; }\n";
             data.getNode().setStyle(css);
             System.out.println("node style: " + data.getNode().getStyle());
             System.out.println("node style class: " + data.getNode().getStyleClass());
             width *= 3; // TODO: replace this with dynamic calculation of width
          } // end for
    
          final Scene scene = new Scene(chart, 800, 600);
          scene.getStylesheets().add("Chart.css");
          System.out.println("Scene stylesheet: " + scene.getStylesheets());
          System.out.println("chart style: " + chart.getStyle());
          System.out.println("chart style class: " + chart.getStyleClass());
          System.out.println("chart style sheet: " + chart.getStylesheets());
          stage.setScene(scene);
          stage.show();
    

    The Node #setStyle (String) method only supports the statements, not the rule full css. The setStyle call with '.chart-series-line {-fx-stroke...} '. "should give an error in the parser. Something like "whereas IDENT.

    You might find the line you want in the series. If series.getNode () is a form (as it will be for a line chart), you can just get the node in a form and call the setStrokeWidth() directly.

  • The other style of cell lines

    I need to apply the cell style for an alternative line for all tables. But the code below does not correctly how to solve this problem

    var doc = app.activeDocument,

    _tables = doc.stories.everyItem ().tables.everyItem () .getElements ();

    for (var i = 0; i < _tables.length; i ++)

    {

    var _rows is _tables [i] Rows;.

    for (var j = 2; j < _rows.length; j += 2)

    {

    _rows [j].cells.everyItem () .appliedCellStyle = "TableBody1";

    }

    }

    Table.PNG

    Hello

    If code should target a specific range of rows in the table.

    Through the cells in column 1

    ==> from the selected line

    ==> select as many rows as many current . cell rowSpan property says

    ==> apply cellStyle on this range of cells.

    That is like this:

    var
      mDoc = app.activeDocument,
      mTables = mDoc.stories.everyItem().tables.everyItem().getElements(),
      rowsToOmit = 1,     //     how many rows to exclude
      rowIndexToStart = 1,     //     which row is the starting one to apply a style
      mStart, mEnd, step,
      mTables, cTable,
      cCell, cSpan, cRange,
      mCellStyle = mDoc.cellStyles.item("TableBody1");
    
      while ( cTable = mTables.pop() ) {
           mCells = cTable.columns[0].cells.itemByRange(rowsToOmit,-1).cells.everyItem().getElements(),
           for (step = rowIndexToStart; step < mCells.length; step +=2) {
                cCell = mCells[step];
                cSpan = cCell.rowSpan - 1;
                mStart = cCell.parentRow.index;
                mEnd = mStart + cSpan;
                cRange = cTable.rows.itemByRange(mStart,mEnd).cells.everyItem();
                cRange.appliedCellStyle = mCellStyle;
                }
           }
    

    Jarek

Maybe you are looking for