Differences in Paragraph/Text Style Ranges in CS3/4

I have code that exports the text from a frame into "block" and "inline" element. The code written for CS3 looks something like this below:
var doc = app.activeDocument;
var pageItems = doc.pageItems;
for (var i = 0; i < pageItems.count(); i++) {
  var pageItem = pageItems.item(i);
  var textFrame = pageItem;
  $.writeln("Number of Paragraphs: " + textFrame.paragraphs.count());
  for (var j = 0; j < textFrame.paragraphs.count(); j++) {
    handleParagraph(textFrame.paragraphs.item(j), j);
function handleParagraph(para, count) {
  if (para.constructor.name == "Story" ) {
    $.writeln("Paragraph is a Story");
  else {
    for (var i = 0; i < para.textStyleRanges.count(); i++) {
      var text = para.textStyleRanges.item(i);
      $.writeln("PARAGRAPH[" + (count+1) + "] has text [" + para.contents + "]" );
When you have 2 paragraphs of text that contain a single sentence in the default text format, this outputs something like:
Number of Paragraphs: 2
PARAGRAPH[1] has text [Paragraph 1
PARAGRAPH[2] has text [Paragraph 2]
However, when I run the same code against a document in CS4, I get:
Number of Paragraphs: 2
PARAGRAPH[1] has text [Paragraph 1
Paragraph 2]
PARAGRAPH[2] has text [Paragraph 2]
So the contents of the first text range in paragraph #1 under CS3 stops at the end of paragraph 1, while in CS4, it contains ALL of the contents of the frame (that is of the same style). The content of paragraph #2 starts with the text in paragraph #2.
Is there a "correct" method for doing what I'm attempting here? Or at least some way of accomplishing this that should work in BOTH CS3 and CS4 (and CS5 as well I suppose)?
Thanks!
-Patrick

It's because of this line
var text = para.textStyleRanges.item(i);
-- and, correct, it seems its behaviour has been changed somewhere along the line. Suddenly, a textStyleRange can cross over from one paragraph into the next one if (and only if) the same formatting continues.
Try searching this forum on textStyleRanges -- I could fix my script when the same occurred to me but I can't recall how

Similar Messages

  • [AS-CS5] Comparison between text style range and character style

    Hi,
    It's been a while since I'm not coming on this forum ...
    I'm looking to make a comparison between a "text style range" and a character style.
    I have no problems, except for the comparison of "fonts".
    myCurrentText = text for char…
    theStyle = character style id…
    I try:
           if (applied font of myCurrentText ≠ applied font of theStyle) then set theCharDifference to 1 
    The selected text give me:
           font "Minion Pro        Italic" of application "Adobe InDesign CS5.5"
    and the character style:
           "Minion Pro"
    I try "set theTextFont to font of applied font of myCurrentText" -> Error
    This is my script (it's too long to post here) <http://db.tt/BLoGPiN>.
    Loot at the "on CheckCharacterDifference(myCurrentText, theStyle)"
    TIA.
    Oli.

    I've written this, but I do not know if it covers all cases ...
    Someone?
    Thanks.
    Oli.
    set theText to item 1 of selection
    set theStyleChar to properties of character style 2
    -- analysis of the properties of the text
    set myTextFontApplied to applied font of theText
    set myTextFontFamily to font family of applied font of theText
    set myTextFontStyle to font style of theText
    -- analysis of the character style
    set myStyleCharFontStyle to applied font of theStyleChar
    if myStyleCharFontStyle = "" then
         set myStyleCharFontStyle to font style of theStyleChar
         if myStyleCharFontStyle ≠ myTextFontStyle then set theDifference to true
    else
         if myStyleCharFontStyle ≠ myTextFontFamily then set theDifference to true
    end if
    Message was edited by: OlivierBerquin

  • Indesign CS3 Crashes when loading text styles

    hi all, i need some help.
    Indesign cs3 keeps crashing when I try to "load all text styles" from one indesign file to another. the file has ten styles (character & paragraph). I'm currently working on windows 7.
    thankyou for any information you can provide.

    Are you patched to 5.0.4?
    Export both files to inx, re-open, Save As. (I checked, ID will not load styles from an inx)
    Load just one style at a time to isolate a conflict.
    Last resort, Highlight text from the source doc, paste into the new doc. I should carry in the style. It only needs to be a single charatcher.

  • Difference Between Rule Box Styles And Code Styles?

    Hi, Don't blame me for this stupid question: What is the difference between an ID style created with the New CSS Rule Box. (The style appears in the DW styles panel and can be edited with a click) And a style created in code example: id="name" (style does *not appear in the styles panel and can only be styled with proper code) *or I have to apply a style to it with the New CSS Rule Box. Or do I do something wrong?!
    Greetings

    Hmm, you are definitely confused. I hope things will become clearer when you have had a chance to read my book. (BTW, "Getting StartED with CSS" is not Dreamweaver-specific, but once you understand the principles, you should find working with the CSS Styles panel easier.)
    Styles can be in three places:
    In an external style sheet
    In a <style type="text/css"> block in the <head> of the page
    In a style attribute in the opening tag of an element (inline style)
    You should basically forget about inline styles. They are rarely used, except for creating HTML newsletters (some email programs don't support CSS any other way). Concentrate on the first two types: both of them show up in the CSS Styles panel. An external style sheet is more efficient, because rules stored externally are shared by all pages linked to the style sheet.
    Some rules (tag selectors) redefine the way an HTML element is displayed in a browser. For example, the following rule applies to all paragraphs:
    p {
      font-size: 14px;
      margin-left: 20px;
      margin-top: 0;
      margin-bottom: 10px;
    Other selectors are applied using the class or ID attribute in the opening HTML tag. Deciding which selector to use is one of the most confusing things when you first start with CSS. My advice is to start with tag selectors. Leave classes and IDs until you need to make something look different from the rest of the page.

  • Expanding Text Style

    RH7:
    How do I assign a style to all glossary (expanding text)
    entries?
    Semicolon1

    Expanding text is inserted via the DHTML menu, as Peter
    indicated; that's why you can't select it from the Style drop-down
    menu. You can't indent the paragraph for the style because
    expanding text is designed to come immediately after a word. It
    isn't a separate paragraph; the text is inserted into the current
    paragraph. Because Expanding Text is a character style, you can't
    customize any paragraph properties.
    It sounds like you might find the Drop-Down Text style more
    useful. The text is designed to come after the paragraph that
    contains the drop-down link, so you can indent it and customize it
    like any other paragrph style.

  • Can I use photoshop text styles and photoshop actions with creative cloud photography?

    I'm really confused by this subscription pricing. If I purchase the $9.99/month, do I get the full desktop app of Photoshop and Lightroom? But I see on this page Products they list something called Photoshop CC that costs twice as much. How is that different from the Creative Cloud Photography?
    My main question is whether I can use photoshop text styles and photoshop actions with Creative Cloud Photography, since I just purchased a bundle that includes these and I want to be able to use them. But I'd also like to understand what comes with all of the various products and how they are different.
    My other question is how is Lightroom different from Photoshop? I have a sense of what you can do in Photoshop but I don't know much about Lightroom at all.
    One more question: the free trial -- is it limited in any way besides the time length? If I do that, will I get a clear idea of all that I will be able to do once I subscribe, or are the functions limited in the trial?
    I tried to just send an email to Adobe to ask these questions but apparently they are not interested in responding to emails from people who are not yet paying customers, so I was directed here. Thanks very much for your help!

    I always like to trot this bit about Bridge once in a while or in the voice of the "Two Bobs" from Office Space,
    "Can you tell us exactly what it is you do around here?"
    What Adobe Bridge does:
    Bridge is the coordinating hub of the Creative Suite. Synchronizing color management settings for all suite programs is done from Bridge, and can only be done from Bridge, to take one important use.
    Bridge displays actual thumbnails of many more file types than Finder or Explorer. It also allows instant play of sound or video files more readily than the native OS file managers.
    Bridge allows direct access to file metadata, to embed copyright information  and keywords where appropriate (e.g., for corporate logo vector and raster files). It also displays the fonts used in an InDesign file, the swatches in an INDD or AI and the output plates (including spot color plates) they use.
    When managing the assets for a design project, Bridge allows quick and simple sorting, rating and custom labeling (with color flash indications) of assets. I can rate images according to whether they are rejects, possibles, for review by client, or approved. The filters built into Bridge allow instant isolation of only the approved images or designs in a folder, only the rejects (for deletion) or only files with certain ratings, no matter how many files it contains. It recognizes aspect ratios, so if I only need a landscape or a 16:9 image in a folder of hundreds of images, I turn off the aspect ratios I don't need.
    Once filtered, the remaining visible files can be selected and copied, moved, or deleted without affecting the rest of the contents of a folder.
    Collections are a massively useful feature. One of my clients is a performing arts center, and in a season we turn out dozens of ads, flyers, brochures, web banners, playbills, billboards and other collateral using the same assets over and over. These assets are organized by artist and/or show on disk, but I set up each season's repeating assets as a Collection in Bridge, so that I just have to open the collection and drag and drop these assets into new INDD, AI, PSD, HTML (in Dreamweaver), FLA or AE projects without having to navigate from folder to folder picking up individual files.
    Bridge's Favorites is another place I stack frequently-accessed folders, such as stock photography, backgrounds, and top-level folders for active projects.
    Assets can be divided into subfolders, but a quick toggle of "Show items from subfolders" exposes all of the assets in a single view while maintaining their organization. I will typically keep AIs, PSDs, EPSs, stock photography and client images in separate subfolders within a project. When I'm ready to start pulling assets into an InDesign layout, I toggle this on and simply drag what I need into the layout.
    Bridge comes with Adobe Camera Raw built in, which is many times faster than using Photoshop to adjust jpegs or tiffs for things like tonal range, white balance, cropping, spotting and sharpening, and is non-destructive.
    One tremendously useful Bridge function for InDesign CS5+ users is the "Show linked files" feature, which opens all the linked files in a layout into a single view, regardless of where they are physically located. I often use this when doing alternative layouts from a client-approved mockup for a campaign, to be certain the same assets are used in each piece, or when creating a motion graphic or interactive piece for the campaign in After Effects or Flash.
    The batch and image processing scripts built into Bridge automate things like creating web-ready small jpegs from multiple images, renaming large numbers of files in place or by copying to an alternative location, creating sets of PSD, png, jpeg or other file types from an assortment of image files, and so on.
    Bridge is so much a part of my daily workflow that on my main workstation I have one monitor dedicated to it almost 100%. Bridge just sits open 24/7, ready for use. I would run at half speed without it, no question.

  • Difference jb/w text symblosin script and standard text in scripts

    hi to all
    can u pols explain about the
    difference b/w text symblos in script and standard text in scripts

    hi
    Default paragraph Paragraph set to * in <b>standard text</b> maintenance
    If no form has been assigned to a text, the system automatically assigns the form SYSTEM, which contains minimal definitions for text formatting. There are two ways of formatting texts using forms: • Use the <b>standard text</b> maintenance to enter and print the text.
    Any kind of text can be included in a form. If no object is specified, then TEXT will be used (<b>standard texts</b>).
    <b>
    Text Symbols</b>
    Text symbols acquire their values as a result of explicit assignment. To interactively assign text symbols, in the text editor choose Include &#61614; Symbols &#61614; Text. This method is available for all text symbols belonging to a text module as well as those of the associated form. Values defined in this way are lost when the transaction is left. If you want to print the text module again, then you must enter the symbol values again. The purpose of the DEFINE command is to provide a means of making this value assignment a permanent part of the text, so that the values are available again when the text module is called again. This command can also be used to re-assign a new value to a text symbol half-way through the text. Syntax: /: DEFINE &symbol_name& = 'value'
    /: DEFINE &subject& = 'Your letter of 7/3/95' The value assigned can have a maximal length of 60 characters. It may itself contain other symbols. A symbol contained within the value assigned to another symbol is not replaced with its own value at the point at which the DEFINE command is executed. Rather, this replacement is made when the symbol defined in the DEFINE command is called in the text.
    /: DEFINE &symbol1& = 'mail' /: DEFINE &symbol2& = 'SAP&symbol1&' /: DEFINE &symbol1& = 'script' &symbol2& -> SAPscript If, however, the DEFINE command is written using the ':=' character rather than the '=' character, then any symbol contained within the value being assigned is replaced immediately with its current value. The assignment to the target symbol is made only after all symbols in the value string are replaced with their values. The total length of the value string may not exceed 80 characters. The target symbol must be a text symbol, as before.
    /: DEFINE &symbol1& = 'mail' /: DEFINE &symbol2& := 'SAP&symbol1&' /: DEFINE &symbol1& = 'script' &symbol2& -> SAPmail
    Inserting <b>Text Symbols</b>
    Procedure
    Inserting a Text Symbol
    1. Choose Insert &#8594; Symbols &#8594; Text.
    2. Place the cursor on the desired text symbol.
    3. Choose Choose.
    4. The system inserts the text symbol.
    Editing the Value of a Text Symbol
    1. Choose Insert &#8594; Symbols &#8594; Text.
    2. Choose Edit value bearbeiten. The dialog window Value definition for symbol <text symbol> appears.
    3. Enter the appropriate value definition.
    4. Choose Continue. In the dialog window Text symbols the specified value appears after the name of the text symbol.
    5. Choose Continue.
    Deleting all Text Symbol Values
    1. Choose Insert &#8594; Symbols &#8594; Text.
    2. Choose Delete all values. The system deletes all defined values.
    3. Choose Continue.
    Using Formatting Options for Text Symbols
    1. Choose Insert &#8594; Symbols &#8594; Text.
    2. Choose Options. The dialog window Formatting options for <text symbol> appears.
    3. Fill in the fields.
    4. Choose Continue.
    5. Choose Continue. The system executes the selected formatting option.
    regards
    ravish
    <b>plz reward points if helpful</b>

  • How do I create a text style in CC libraries? Every time I drag and drop text into library form Photoshop or illustrator it turns it into a graphic.

    How do I create a text style in CC libraries? Every time I drag and drop text into library form Photoshop or illustrator it turns it into a graphic.
    If I select the text layer and click the text style button in the library it just creates a new text style for Myriad Pro 12pt - I'm not using that anywhere in my document.
    Can anyone help? Seems like a bug to me as I'm trying what the video tutorials are saying.
    Thanks

    I realize AI is an illustration program.
    Do you realize it is an object-based vector-based program? Do you know the difference between raster-based and vector-based content?
    My question seems to be all over the forum but no one has been able to answer other than exporting to these file formats, which make text look awful and of no use....
    And yet everyone else in the world makes proper web images every day using a plethora of programs, including these...go figure.
    Am I missing something?
    Yep. Pretty much.
    Hello Adobe! People use transparency on website logos.
    Hello, cocteau! What you're calling "transparency" is inherent to object-based vector artwork. But web browsers don't support object-based vector artwork, except via file formats like Flash and SVG, or by viewing as a PDF in a plug-in version of Reader. Raster imaging in general only supports "transparency" by either indexing a specific color (i.e.; "don't display this color", as in GIF) or including an alpha channel (i.e.; "blend all the pixels with existing pixels, based on values from this extra channel", as in PNG). It's all in the raster file format you use, cocteau; it has little-to-nothing to do specifically with Adobe software. Such things are among the most basic matters understood by someone doing web design.
    When I export an eps from .ai file, and open the eps in photoshop,...I save as a gif for the web, it goes back to the original problem...creates jagged text. I"m giving up on this garbage...Thanks a lot adobe! Lower the price of this software if this is all that can be done.
    Once it leaves Photoshop (or Illustrator, or whatever) as a non-proprietary raster image format, it's all about what the format can do re "transparency". You can do this stuff with most any graphics program. You should read about basic web design and the differences between raster and vector content, rather than rant.
    JET

  • Possible to Remove, Then Load All Text Styles?

    I'd like to remove all the Paragraph Styles and Character Styles from an InDesign CS4 document, and replace them with Paragraph Styles and Character Styles from another InDesign document. A search of this forum resulted in a similar discussion, http://forums.adobe.com/message/2919544 in which a script was utilized to remove all the text styles from a file.  The script is shown below.
    The script is a timesaver as is, but I was wondering if it could mofified to "Load All Text Styles" from a file path/InDesign document that I specify?
    Thanks in advance for any ideas on this.
    var myDoc = app.activeDocument;
    var myParStyles = myDoc.paragraphStyles;
    var myCharStyles = myDoc.characterStyles;
    for (j = myParStyles.length-1; j >= 2; j-- ) {
       removeUnusedParaStyle(myParStyles[j]);
    for (i = myCharStyles.length-1; i >= 1; i-- ) {
       removeUnusedCharStyle(myCharStyles[i]);
    function removeUnusedParaStyle(myPaStyle) {
       app.findTextPreferences = NothingEnum.nothing;
       app.changeTextPreferences = NothingEnum.nothing;
       app.findTextPreferences.appliedParagraphStyle = myPaStyle;
       var myFoundStyles = myDoc.findText();
          if (myFoundStyles == 0) {
             myPaStyle.remove();
       app.findTextPreferences = NothingEnum.nothing;
       app.changeTextPreferences = NothingEnum.nothing;
    function removeUnusedCharStyle(myChStyle) {
       app.findTextPreferences = NothingEnum.nothing;
       app.changeTextPreferences = NothingEnum.nothing;
       app.findTextPreferences.appliedCharacterStyle = myChStyle;
       var myFoundStyles = myDoc.findText();
          if (myFoundStyles == 0) {
             myChStyle.remove();
       app.findTextPreferences = NothingEnum.nothing;
       app.changeTextPreferences = NothingEnum.nothing;

    Sample of how to load styles from indd-file to document or app:
    #target InDesign 
    var myFolder = Folder('C:/path/to/Folder/with/Indd-Files');
    var allStyleFiles = myFolder.getFiles("*.indd");
    var arrayOfStyleFileNames = [];
    for(var myIndex = 0; myIndex < allStyleFiles.length; myIndex++ ){arrayOfStyleFileNames.push(allStyleFiles[myIndex].name)}
    var selectedStyleFile = chooseStyleFile (arrayOfStyleFileNames)
    function chooseStyleFile(arrayOfStyleFileNames){
            var myDialog = app.dialogs.add({name:"Optionale Formatdateien", canCancel:true});
        with(myDialog){
    with(dialogColumns.add()){
            with(borderPanels.add()){
                    with(dialogColumns.add()){
                        staticTexts.add({staticLabel:"Bitte eine Formatdatei wählen:"});
                    with(dialogColumns.add()){
                        var pickedStyle = dropdowns.add({stringList:arrayOfStyleFileNames, selectedIndex:0});
        if(myDialog.show() == true){
                    var pickedStyle = pickedStyle.selectedIndex;
                    myDialog.destroy();
        return File(myFolder.toString() + '/' + arrayOfStyleFileNames[pickedStyle])
        else{
            myDialog.destroy()
            exit();
    if(app.documents.length == 0){
         try{
                     RemoveIdStyles();
    app.importStyles (ImportFormat.PARAGRAPH_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.importStyles (ImportFormat.CHARACTER_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.importStyles (ImportFormat.OBJECT_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.importStyles (ImportFormat.TABLE_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.importStyles (ImportFormat.CELL_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.importStyles (ImportFormat.TABLE_AND_CELL_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.loadSwatches (selectedStyleFile)
                     delEmptyParStyleGroups();
    alert("Die Formate für " + selectedStyleFile.name + " wurden geladen.")
        }catch (e){
        alert ("Folgender Fehler trat auf: " + e)
    if(app.documents.length != 0){
         try{
    app.activeDocument.importStyles (ImportFormat.PARAGRAPH_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.activeDocument.importStyles (ImportFormat.CHARACTER_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.activeDocument.importStyles (ImportFormat.OBJECT_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.activeDocument.importStyles (ImportFormat.TABLE_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.activeDocument.importStyles (ImportFormat.CELL_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.activeDocument.importStyles (ImportFormat.TABLE_AND_CELL_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.activeDocument.loadSwatches (selectedStyleFile)
                     delEmptyParStyleGroups();
    alert("Die Formate für " + selectedStyleFile.name + " wurden nachgeladen.")
        }catch (e){
        alert ("Folgender Fehler trat auf: " + e)
    //Formate in InDesign löschen
    function RemoveIdStyles(){
        var _pS = app.allParagraphStyles;
        for    (var i=0; i<_pS.length; i++) {
            try {
            _pS[i].remove(); }
         catch (e)            {
        var _cS = app.allCharacterStyles;
        for    (var i=0; i<_cS.length; i++) {
                    try {
            _cS[i].remove();}
         catch (e)            {
    var _pS = app.allObjectStyles;
        for    (var i=0; i<_pS.length; i++) {
            try {
            _pS[i].remove(); }
         catch (e)            {
            var _pS = app.swatches;
        for    (var i=1; i<_pS.length; i++) {
            try {
            _pS[i].remove();
         catch (e)            {
        //Leere Formatgruppen löschen
    function delEmptyParStyleGroups(){
    var pGroups = app.paragraphStyleGroups;
    for(var z=pGroups.length -1; z >=0; z--){
    if(pGroups[z].allParagraphStyles.length <= 0){
        pGroups[z].remove();

  • Strikethrough and preserve text style formatting in captivate 5

    #1: Is there an option in Captivate 5 to strikethrough the text?
    #2: What do we need to do to have the text style formatting preserved in Captivate 5 when copied from Word document. However, it works in captivate 4 and it even preserves the text that is strikethrough even though this particular option cannot be found there.
    To clarify further. I have the text in word document that combines two three to types of font, font styles, and colors. When I copy and paste it within the text caption in Captivate 5 all the style formatting goes away. Whereas, in captivate 4 I'm able to preserve all that including strikethrough text.
    Thanks!
    Doh

    Hello,
    Copy/paste from Word doesn't keep the formatting anymore in CP5, I'm sorry. The text engine has changed totally. Whereas you have a lot more possibilities to format text (more styles, but no strikethrough) and paragraphs within Captivate (Properties Inspector, regions Character, Format) the former workflow that you used in CP4 wiil not function anymore. Even with Export/Import Captions it will not work. If you feel that this an important feature to add, please fill in the feature request form.
    Feature request form
    Perhaps this could be useful (and is not documented in the Help as far as I know): to have subscript in CP5, select the character(s) and use the shortcut key CTRL-=. For superscript the shortcut key is CTRL-SHIFT-=
    Lilybiri

  • How to change the default text style?

    The MacOS system seems to maintain a collection of text 'styles' available in applications such as TextEdit, Bean, MacJournal, Notebook and DevonThink. This collection contains a default style, used by some (but not all) of these applications as the default text style for new documents.
    At my computers this default style is characterized in the 'favorite styles' panel as 'left aligned, spacing 0.0x' and it has strange tab stops (0.99, 1.98, 2.96, 3.95, 4.94, 5.93, 6.91, 7.90, 8.89, 9.89, 10.86, 11.85 cm).
    I prefer tab stops at 1.00, 2.00, 3.00 etc., and 1.2x line spacing.
    I guess I have changed the default style by accident, as I cannot imagine Apple putting such strange tab stops in a default style (0.0x spacing sounds a bit strange too). If so, it must somehow be possible to change the default style.
    I have tried to change the default style via TextEdit (which does not use the default style as default, but spacing 1.0x and tab stop at each centimeter) and several other applications (Bean, MacJournal, Notebook) in the following way: select a piece of text with the intended format, open the document styles panel, click 'Add to Favorites', enter 'Default' as the name for the style and click 'Replace'. Unfortunately, that doesn't work. Although I do not get an error message, the Default style hasn't changed. I can save my preferred style as, for example, 'Preferred' but that does not prevent MacJournal and other applications from using Default for every new document.
    Any idea how to change this default style, or, if that is not possible, reset it to its original state?

    I suggest you have a look at [https://addons.mozilla.org/en-US/thunderbird/addon/stationery/?src=api Stationery].
    It won't help you in defining styles, as such, but will give you templates wherein you can set up styles.

  • Differences between oracle text in enterprise and express editions

    are there any differences between oracle text features found in express edition and ent. edition. if so what are they?

    There is a list of features available in the online documentation. The only thing that it mentions as being missing from Oracle Text are the english and french knowledge bases. There isn't any Intermedia or Ultra Search or Data Mining. Here is a link to the 10g Express Edition features guide:
    http://download-west.oracle.com/docs/cd/B25329_01/doc/license.102/b25456/toc.htm#BABDDIAE
    There is a separate discussion group for 10g Express Edition, that requires a separate free registration:
    Oracle Database Express Edition (XE)
    There is a thread on this subject in the 10g Express discussion group:
    Oracle Text
    The above thread includes the following quick comparison:
    If it's not in Standard Edition One, it is not in Express Edition. (Therefore everything that is in Enterprise but not in Standard Edition, is also not in Express Edition. That includes all EE-only options.)
    If it requires Java in the database, it is not in Express Edition.
    Other than that, it's mainly the size limits: 1 CPU (no parallel processing), 1 GB RAM, and 4 GB user-related tablespaces.

  • PDF-form looses text style on another computer

    I created a PDF-form with text fields using our corporate font. My colleague has to open it in the Preview and insert text into those fields (she has corporate font installed). But while opening and typing the text, she got my text style lost (corporate font and probably its size). What should I do for she types in my forn and get the same text style as I have? Thank you.
    Arina.

    Do NOT use Apple Preview to open PDF forms. It corrupts them in various ways and is very buggy.
    Stick with Adobe software for best results.

  • Difference between two text(String) in percent

    I am currently building a project require to generate the differences between two text store in (String) in precentages. The fuction should look something likde this:
        double compare(String text1, String text2){
            //doing the smart comparison
            //return percentage in double
        }The text1 and text2 should be a long document and the compare function should return the percentage of difference of those texts. Examples of usage:
        System.out.println(
            compare(
        );Thanks for every reply. Please kindly correct me for any mistake.

    Let us define an elementary operation as one of
    1) inserttion of a character,
    2) deletion of a character or
    3) replacemen tof a character. Woo - my first ever post!
    The distance measure described in the above post is called the edit distance, or "Levenshtein distance". If you google that, you're bound to find some ready-made java code that does it for you.
    Happy hunting!
    Btw, I was chatting to a friend about distance measures. He was telling me about a proposed distance measure between two arbitrary files: You 1) zip both files together, and 2) zip the two files separately, then compare the file sizes of the two zip files. I love this idea! Apparently some guys compared files containing the same block of text in different languages, and were able to show that languages from the same language groups (eg slavic, germanic) cluster together.

  • Interactive Image: Text Styles?

    Is there a standard text style we can edit to modify what shows up in the text boxes when an interactive image zooms in?
    According to the Style menu it's "Body Bullet" text, which just by looking at it you know that's not right. I don't see an "Interactive text" option anywhere in teh menus... assuming it all has to be done manually. BUT if there's a way someone has found to change the default text style within Interactive Images, then I'd only have to do it once and not dozens of times per book. Much like editing layout text (allegedly).
    Ideas?

    Yah I'm a little surprised Apple has left out so many basic features and also integrated some bizarro-world behaviors not consistent with any other Mac app I've ever used (see also Zoom shortcuts). Cmd +, Cmd-, Cmd-0 anyone? This stuff is not that complicated.
    Hopefully we'll get a hefty "polish update" this summer.

Maybe you are looking for

  • [SOLVED] Pointer on second monitor distorted after XOrg 1.9 upgrade

    I updated to XOrg1.9 and my mouse pointer becomes distorted into a garbled rectangle of noise whenever I move to the second monitor. It's fine on the first. Using Catalyst drivers. I can still use it, but its a giant garbled blob... anyone else exper

  • I'm in need of a menu bar new mail notifier...

    Is there anything out there like GMail Notifier that will put an icon in the menu bar telling me that I have new mail? I need to have other windows covering the screen, can't always hear new mail alerts, and don't want to have my dock showing all the

  • ITunes skips/pauses when playing back .wav or .aiff files

    Hello all, Ever since I upgraded to iTunes 6.01, every .wav or .aiff file I play results in skipping playback. Sometimes the sound will pause, other times it will skip half a second or more. It sounds like a scratched CD without the screeching. The i

  • Split the Window Screen?

    How do I split the screen to work on 2 documents at one time?  I'm using a MacBook Pro 13.3" that is 2 years old and OSX Yosemite

  • FacesServlet rendering issue

    Hi, Am facing a pretty trivial issue. Can someone please help? My web.xml mapping is like this: <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>de