How can I change a local format (bol, italics) to character style

Hi, I'm new in scripting. I need to change local formats to character styles in some documents, but I can't find the proper ID Object Model to do it in Java. Can somebody help me?

Thanks for the help! It worked! But I have two problems now:
1. The documents use Helvetica fonts (light, lightitalic, semibold, etc.) on headings, and the script doesn't recognize nor replace them as character styles. I guess I should replace those fonts with a compatible one (Times New Roman, perhaps). Is there any script that may do that?
2. Some paragraph styles use bold by default, but the script generates a character style in that cases too. The perfectpreptex you send me attend to fix this problem, but the styles document crashes!!

Similar Messages

  • How can I change the date format in Reminders and in Notes?

    How can I change the date format in both Notes and Reminders? Preference on Imac and Settings in IOS do not allow me to change the format in those 2 apps.
    I Like to see 10oct rather than 10/10, as an example.

    pierre
    I do not have Mavericks or iOS - but the first thing I would do is reset the defaults - I'll use Mavericks as an example
    From If the wrong date or time is displayed in some apps on your Mac - Apple Support
    OS X Yosemite and Mavericks
        Open System Preferences.
        From the View menu, choose Language & Region.
        Click the Advanced button.
        Click the Dates tab.
        Click the Restore Defaults button.
        Click the Times tab.
        Click the Restore Defaults button.
        Click OK.
        Quit the app where you were seeing incorrect dates or times displayed.
        Open the app again, and verify that the dates and times are now displayed correctly.
    Then customize to taste - OS X Mavericks: Customize formats to display dates, times, and more
    OS X Mavericks: Customize formats to display dates, times, and more
    Change the language and formats used to display dates, times, numbers, and currencies in Finder windows, Mail, and other apps. For example, if the region for your Mac is set to United States, but the format language is set to French, then dates in Finder windows and email messages appear in French.
        Choose Apple menu > System Preferences, then click Language & Region.
        Choose a geographic region from the Region pop-up menu, to use the region’s date, time, number, and currency formats.
        To customize the formats or change the language used to display them, click Advanced, then set options.
        In the General pane, you can choose the language to use for showing dates, times, and numbers, and set formats for numbers, currency, and measurements.
        In the Dates and Times panes, you can type in the Short, Medium, Long, and Full fields, and rearrange or delete elements. You can also drag new elements, such as Quarter or Milliseconds, into the fields.
        When you’re done customizing formats, click OK.
        The region name in Language & Region preferences now includes “Custom” to indicate you customized formats.
    To undo all of your changes for a region, choose the region again from the Region pop-up menu. To undo your changes only to advanced options, click Advanced, click the pane where you want to undo your changes, then click Restore Defaults.
    To change how time is shown in the menu bar, select the “Time format” checkbox in Language & Region preferences, or select the option in Date & Time preferences.
    Here's the result AppleScript i use to grab the " 'Short Date' ' + ' 'Short Time' "  to paste into download filenames - works good until I try to post it here - the colon " : " is a no-no but is fine in the Finder
    Looks like iOS Settings are a bit less robust
    - Date/Time formats are displayed according to 'tradition' of your region > http://help.apple.com/ipad/8/#/iPad245ed123
    buenos tardes
    ÇÇÇ

  • How can i change the date format mm/dd/yyyy to dd/mm/yyyy

    How can i change the date format mm/dd/yyyy to dd/mm/yyyy

    Date, time and currency formats are controlled via Settings > General > International > Region Format - you can't just change the date format

  • How can I change screen capture format from .png to .jpg in LION

    how can I change screen capture format from .png to .jpg in LION. The "terminal" suggestions of the past don't work? Thanks!

    This works for me:
    defaults write com.apple.screencapture type XXX
    where XXX is one of png, pdf, jpeg-jfif, jpeg 2000, tiff, pict, bmp, gif, psd, sci, or tga. You need to log out and back in for the change to take effect.

  • How can I change the date format?

    How can I change the default date format for all date fields in Oracle CRM OD? Currently it is set to the US format of MM/DD/YYYY.
    I would like to spell out the month, e.g. October 6, 2010, in order to avoid confusion between US and international date formats.
    For example 11/6/2010 means October 6, 2010 in US but it means 11 June 2010 internationally. Having a global team, this is causing problems for us.
    Georgi

    Georgi, the company profile has a Default Locale. Also each user can have their Locale. The US format of MM/DD/YYYY can not be changed to October 6, 2010 as an example.
    I would recommend that you submit a enhancement request to CRM On Demand customer care.

  • How can i change asa5520 logging format?

    Hi!
    I have a question about Firewall logging format.
    I use ASA5520, Cisco Adaptive Security Appliance Software Version 8.2(5)  Device Manager Version 6.4(7)
          Now display logging format is "
    %ASA-session-6-302013:
    %ASA-session-6-106015:
    I want change to this logging format "
    %ASA-6-302013:
    %ASA-6-106015:
    only confirured about log command.
              logging enable
              logging emblem
              logging trap debugging
              logging asdm notifications          logging host outside 10.x.x.x 17/30516
    How can i change format?
    thanks !!

    Georgi, the company profile has a Default Locale. Also each user can have their Locale. The US format of MM/DD/YYYY can not be changed to October 6, 2010 as an example.
    I would recommend that you submit a enhancement request to CRM On Demand customer care.

  • How can I change defaut date format to dd-mon-yyyy in bi analytics

    hi..
    How can I change the default date format to DD-MON-YYYY in BI Analytics...
    I am passing a date in a report from a prompt....but it is always taking "dd-mon-yyyy hh:mm:ss" format...I want to input the prompt in oracle's default date format i.e dd-mon-yyyy..
    please help...I dont want to use cast function because it will convert the date into a character value....I want a date...

    Hi USer
    Try this link
    How to change date format in OBIEE
    Re: repository variable at date prompt
    Thanks
    Diney

  • How can I change the music format of my songs?

    How can I change the format of songs in my computer so itunes will recognize them?
    Music is recorded in my computer but itunes doesn´t seem to read it.

    You know, its kind of weird. The songs where in a friends i-pod; that I uploaded into my computer using the instructions found in one of these forums. Then I downloaded the music into my i-pod and it was ok.
    After a few months it occurred to me to consolidate my library. After consolidating my library; itunes can´t read about 7GB´s of music. I haven´t connected my ipod into my computer since then because I fear the music will be lost.
    The music is stored in my computer, some of it I can listen with the windows media player. I just can´t get itunes to recognize it.
    If I sync my ipod will I loose the 7GB of Music?

  • How can i change my billing format ?

    I signed up for an online account, chose the both paper and online billing, only to receive an e mail saying thabks for requesting paperless billing !! How can i change it..ive looked on the site all over

    Hi Cfcgirl,
    Welcome to the forum and thanks for posting. I can sort this out for you. Drop me an email with your account details and a link to this thread for reference to [email protected] and we'll take it from there.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • How can i change my locale programatically?

    Hi
    here it goes....The first page of the application shows 3 radio buttons w.r.t different languages eg, hindi, english, tamil. My web application is running fine and the appropriate property file is picked using resource bundles.The challenge is something like this -> Now when the user selects a particular radio button the locale should change automatically and the keyboard should start typing in characters in that particular language.The user sud not have to change the locale manually....i.e on the right side in the task bar, for different languages. How do i do this programatically?
    Front end : JSP
    Back end : DB2
    Plz help
    cheers
    caffaine

    Hi Caffaine,
    sounds like a difficult problem... I tried to do something similar to this a few years ago under Java 1.3, and I can tell you that you'll have a couple of problems.
    1) ResourceBundles are a type of cache, so the one you load first is the one you are stuck with for the remainder of the program execution. The only ways around that AFAIK is to either author your own non-static ResourceBundle, or to have the user re-execute the client every time they want to change locales (neither of which is particularly appealing). Not sure if anything in Tiger has rectified this, but I don't think it has.
    This also means that your server will be stuck in a certain locale. Probably the best thing to do would be to write your clients so that all information heading back to the server heads there in Unicode, so that you're dealing with a common encoding on the server side. This means no bytes or chars. Strings would be the thing to use.
    2) AFAIK, Java has no way of programatically changing the Windows input locale. Though if I am wrong, someone please correct me!
    Hope that helps!
    Martin Hughes

  • How can I change the numeric format of the cursor coordinates display in LV 8.2

    Since LV 8.0 or so the cursor display window of a graph indicator seems to be a tree control. I couldn't find where to change the numeric format of the numbers displayed in that control. What did I miss?

    lecroy wrote:
    Maybe I'm not clear on what your looking for but I just use a property node and route the raw cursor data out to what ever function I want to run on it, then display it in a seperate field.  The nice thing with the property node is you can have multiple graphs linked together by one set of cursors all with different readouts. 
    Yes, of course that's an option and I guess I'll have to do it that way.
    The point is that I converted a pre-LV-8.x program to LV 8.5. In the program I had used the coordinates display field in the cursor legend to display the position, just the was the cursor legend is supposed to be used, IMO. And in pre-LV-8.x days it was possible to customize the numeric format property of the cursor legend (either directly or by property nodes). It seems that with LV 8.x NI chose to use a treeview control for the cursor legend. With that 'improvement' the numeric formatting flexibility was lost since now the conversion to the string content in the cursor legend's treeview is happening somewhere 'under the hood'.
    <rant> Why do they (NI) always try to 'improve' things (where nothing needs be improved) and sacrifice functionality on the way....? </rant>

  • DMP-4400G How can I change the local time

    Hi,
    Recently I installed DMS 5.0.2 and DMP-4400G for Digital Signage. Now I am running a Flash application that is embedded into a HTML page, but sometimes the DMP does not show the content of the flash, the LCD shows a temporary error; this error never occurs when I use a standard PC with any Internet browser to display the same content. The webmaster says that DMP does not have an updated time and date. Do you know how to change the local time and date of the DMP-4400G.
    Thanks for your help.

    Jhon,
    There are couple of things...
    1. The DMP 4400G has a internal clock but at this time there is no way to change the date & time on the DMP 4400G.
    What does the date & time have to do with the Flash Content anyway?
    2. What version & type of Flash is being used for this embedded Flash content? Is the correct version selected & configured on the DMP?
    Cheers!
    T.

  • How can I change hour local language to AM or PM only?

    I set Locale to th_TH and I use SimpleDataFormat class like this 'yyyymmdd hh a' then field 'a' return local language but I want to return AM or PM only.
    I know that it can set new value in i18n.jar (LocalElement_th.class) but I don't want to recompile i18n.jar.How can I solve it.?
    thank you

    Hi,
    I never used this class but try to set a different locale for the object of this class (eg. in the constructor). Or does this affect the time, too?
    Or use a specific DateFormatSymbols object!?
    Greets
    Puce

  • How can I change the file format in iTunes 11?

    It seems the Convert to .. function which was available when right clicking a song is no longer there.  How can you convert an AAC to MP3 for instance?

    Assegai Guy, 
    It is still there but it looks a little different in iTunes 11.  The "Create New Version" command is now in the File menu instead of the Advanced menu.
    Here is a link to the revised support guide:  http://support.apple.com/kb/PH12367

  • How can I change the default formatting on the Content Placeholder?

    Captivate 7. I'm reworking a copy of an existing theme, and I've been able to change all the styles and defaults easily ... except fthat on the Content Placeholder object. I'm manually changing the Character and Format information for each one. I can't find a corresponding entry in the Object Style Manager. What am I missing? Thanks for the help!
    Mary

    Thanks, Rod. The replacement makes total sense to me. So maybe this is just an issue with working with the Master Slides themselves. While I've updated all the objects in the manager, seeing the hold "Hobo" font on the placeholder for "type your text here" was a bit disconcerting. But ...
    Today when I open the file and look at the master pages, the offending "Hobo" font has been replaced with my choice. Very bizarre.
    At any rate, thanks again for the help, Rod!
    Mary

Maybe you are looking for

  • Is there a way to open a duplicate library window in Aperture?

    Since photostream does not include metadata such as captions in its photos, I thought that perhaps I could copy and paste this information into the comments of each picture. However, that's a tedious process to go back and forth between the event and

  • Error 7 occurred at source does not exist

    I have VIs written in LabVIEW 6.1 and works fine. I try to use LabVIEW 7 to build it. But I got error: Error 7 occurred at source does not exist Possible reason(s): LabVIEW: File not found. The file might have been moved or deleted, or the file path

  • BPE Issue?

    Hi, gurus, I have gone through BTE Basics while doing scenario i have created Z FM for BTE- '00001120' and assigned to a customer while creating a document in FB01 i am getting error: 'Posting is only possible with a zero balance; correct document' i

  • Passing list of pernr into function module

    Hi, I need to buid one Function module in which if i pass the list of pernr, I should get one structure of appraisal document I have created import parameter of HRPERNR type but when i loop is through that parameter it is saying it is not table type

  • Texting shows on 2 Iphones

    My husband & I both have 2 x I phones through our company and both are  on the same plan with shared minutes and texting and data. We each have our own number. every time I text someone it shows up on his phone when people reply to me showing him the