Change font menu source?

In the font menu in Pages' toolbar, I see all fonts installed on my computer - even those in other scripts such as Arabic. On the other hand, in TextEdit, I see only the fonts in the "English" list in Font Book. Is there any way I can make the font menu in Pages (and the rest of iWork) work the same way? Could I do the same in Office 2011?
I'm hesitant to disable those fonts on the system level to get the same effect. While they're not on the list of required system fonts, as they represent other scripts the computer is capable of showing, I think there might be unintended consequences.

Sleep_with_angels wrote:
Could I do the same in Office 2011?
The best place to search/ask about Office issues is probably the forums run by the people who make it:
http://answers.microsoft.com/en-us/mac/forum/macword

Similar Messages

  • How to change font-size of application menu

    I want to change font-size of application menu. How?

    Hi,
    To change the font size of the Application menu, you need to change main.css file.
    at 'body, td, input, select, textarea' class.
    For more detail about main.css, please refer Bookshelf
    Siebel Developer's Reference at [8 Cascading Style Sheets].
    Regards,
    Joseph Arul Dass

  • Have installed cc2014, menues are not fully visible. when changing font, system (all new sony vaio, win 8.1) crashes completely.

    have installed cc2014, menues are not fully visible. when changing font, system (all new sony vaio, win 8.1) crashes completely

    Dear Zak,
    thank you very much! Your information solved the problem immediately!
    Best regards,
    Philipp Frank
    New website
    www.philippfrank.at<http://www.philippfrank.at>
    Dipl Ing Philipp Frank
    1010 Wien
    Jakobergasse 4/14
    +43 1 513 22 83 19
    +43 650 250 5000
    [email protected]<mailto:[email protected]>
    www.philippfrank.at
    Von: Zak Williamson (Adobe)
    Gesendet: Montag, 23. Juni 2014 20:40
    An: Dipl Ing Philipp Frank
    Betreff:  have installed cc2014, menues are not fully visible. when changing font, system (all new sony vaio, win 8.1) crashes completely.
    have installed cc2014, menues are not fully visible. when changing font, system (all new sony vaio, win 8.1) crashes completely.
    created by Zak Williamson (Adobe)<https://forums.adobe.com/people/ZakWilliamson%28Adobe%29> in Help with using Adobe Muse CC - View the full discussion<https://forums.adobe.com/message/6488371#6488371>

  • HT2473 How do I change the menu bar size? without changing resolution. Also there is no way to change fonts of the safari menu bar and items. How do you change that?

    guys I need to change the menu bar on my mac. so I can view that clearly while sitting on my sofa or I am swithing back to windows.
    Thanks

    Hi, sorry to say, but OSX can't do that.

  • Can't change the font directly in the FONT MENU.

    Recently I noticed a strange problem (?) When using my ADOBE INDESIGN CC 2014.2 When I try to use the fonts, I can only see a message asking me to connect with typekit .
    But, even after connecting it to my adobe account, I can't access my local fonts. The only way to access my fonts is goint in the menu TEXT > Fonts (as seen below).
    From there I can access all the fonts normally. 
    The program is updated and I have no idea how to solve it.
    Can you please help me to solve this issue? Thanks a lot everyone!

    Hi Isis,
    I'm sorry that you ran into trouble with this.  It looks like you have the Typekit filter turned on in the font menu, so it is only showing those fonts you have synced from Typekit.  Since you haven't synced any, the list is blank.
    To turn off the filter, click the grey T at the top of the menu.
    Once the Typekit filter is turned off, you should see all of your installed fonts listed again.
    Please give that a try, and let me know if you have any other questions.  Best,
    -- liz

  • How do I change fonts in a Text field ??

    Okay I've tried to implement a JComboBox that allows the user to change fonts in the text field. So far I've tried different methods to do it but to no avail. Could somebodoy here read the programs source code for me and tell me where I went wrong?
    /* * My GUI Client */
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    import javax.swing.event.*;
    //for HTML Headers
    import javax.swing.text.StyledEditorKit.*;
    import javax.swing.text.html.HTMLEditorKit.*;
    import javax.swing.text.html.*;
    import javax.swing.event.HyperlinkListener;
    import javax.swing.event.HyperlinkEvent;
    import javax.swing.event.HyperlinkEvent.EventType;
    import javax.swing.text.html.HTMLFrameHyperlinkEvent;
    //for layout managers
    import java.awt.event.*;
    //for action and window events
    import java.io.*;
    import java.net.*;
    import java.awt.GraphicsEnvironment;
    //for font settings
    import java.lang.Integer;
    import java.util.Vector;
    import java.awt.font.*;
    import java.awt.geom.*;
    public class guiClient extends JFrame implements ActionListener {
    protected static final String textFieldString = "JTextField";
    protected static final String loadgraphicString = "LoadGraphic";
    protected static final String connectString = "Connect";
    static JEditorPane editorPane;
    static JPanel layoutPanel = new JPanel(new BorderLayout());
    static JPanel controlPanel = new JPanel(new BorderLayout());
    static JPanel buttonPanel = new JPanel(new BorderLayout());
    static JPanel fontPanel = new JPanel(new BorderLayout());
    static PrintStream out;
    static DrawPanel dPanel;
    static DrawPanel dPButton;
    static DrawPanel dFonts;
    static DrawControls dControls;
    static DrawButtons dButtons;
    static String userString;
    static String currentFont;
    String fontchoice;
    String fontlist;
    static JTextField userName = new JTextField();
    public static JMenuBar menuBar;
    private static JButton connectbutton = new JButton("Connect");
    static boolean CONNECTFLAG = false;
    //create the gui interface
    public guiClient() {
         super("My Client");
    // Create a ComboBox
    GraphicsEnvironment gEnv = GraphicsEnvironment.getLocalGraphicsEnvironment();
    String envfonts[] = gEnv.getAvailableFontFamilyNames();
    Vector vector = new Vector();
    for ( int i = 1; i < envfonts.length; i++ ) {
    vector.addElement(envfonts);
    JComboBox fontlist = new JComboBox (envfonts);
         fontlist.setSelectedIndex(0);
         fontlist.setEditable(true);
         fontlist.addActionListener(this);
         fontchoice = envfonts[0];     
    //Create a regular text field.
         JTextField textField = new JTextField(10);
         textField.setActionCommand(textFieldString);
         textField.addActionListener(this);          
    //Create an editor pane.
    editorPane = new JEditorPane();
         editorPane.setContentType("text");
         editorPane.setEditable(false);
    //set up HTML editor kit
         HTMLDocument m_doc = new HTMLDocument();
         editorPane.setDocument(m_doc);
         HTMLEditorKit hkit = new HTMLEditorKit();
         editorPane.setEditorKit( hkit );
         editorPane.addHyperlinkListener( new HyperListener());
    //Create whiteboard
    dPanel = new DrawPanel();
    dPButton = new DrawPanel();
    dFonts = new DrawPanel();
    dControls = new DrawControls(dPanel);
    dButtons = new DrawButtons(dPButton);
         //JLable fontLab = new JLabel(fontLable);
    //fontLab.setText("Fonts");
    //Font newFont = getFont().deriveFont(1);
    //fontLab.setFont(newFont);
    //fontLab.setHorizontalAlignment(JLabel.CENTER);
    JPanel whiteboard = new JPanel();
    whiteboard.setLayout(new BorderLayout());
    whiteboard.setPreferredSize(new Dimension(300,300));
    whiteboard.add("Center",dPanel);
    whiteboard.add("South",dControls);
    whiteboard.add("North",dButtons);
         JScrollPane editorScrollPane = new JScrollPane(editorPane);
         editorScrollPane.setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
         editorScrollPane.setPreferredSize(new Dimension(250, 145));
         editorScrollPane.setMinimumSize(new Dimension(50, 50));
    //put everything in a panel
         JPanel contentPane = new JPanel();
         JPanel fontPane = new JPanel();
         contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.Y_AXIS));
    //add whiteboard
         contentPane.add(whiteboard);
    //add editor box
         contentPane.add(editorScrollPane);
    //add spacer
         contentPane.add(Box.createRigidArea(new Dimension(0,5)));
    //add textfield
         contentPane.add(textField);
    //set up layout pane
         //layoutPanel.add(GridLayout(2,1),fontLab);
         layoutPanel.add( BorderLayout.NORTH, fontlist);     
         layoutPanel.add(BorderLayout.WEST,new Label("Name: ")); //add a label
         layoutPanel.add(BorderLayout.CENTER, userName ); //add textfield for user names
         layoutPanel.add(BorderLayout.SOUTH, connectbutton);//add dropdown box for fonts
         //fontPane.add(BorderLayout.NORTH,fontlist);
         contentPane.add(layoutPanel);
         contentPane.add(controlPanel);
         contentPane.add(buttonPanel);
    //Create the menu bar.
    menuBar = new JMenuBar();
    setJMenuBar(menuBar);
    //Build the first menu.
         JMenu menu = new JMenu("File");
         menu.setMnemonic(KeyEvent.VK_F);
         menuBar.add(menu);
    //a group of JMenuItems
         JMenuItem menuItem = new JMenuItem("Load Graphic", KeyEvent.VK_L);
         menu.add(menuItem);
    menuItem.setActionCommand(loadgraphicString);
         menuItem.addActionListener(this);
    connectbutton.setActionCommand(connectString);
    connectbutton.addActionListener(this);
         setContentPane(contentPane);
    static private void insertTheHTML(JEditorPane editor, String html, int location) throws IOException {
         HTMLEditorKit kit = (HTMLEditorKit) editor.getEditorKit();
         Document doc = editor.getDocument();
         StringReader reader = new StringReader(html);
         try {
              kit.read(reader, doc, location);
         } catch (BadLocationException e) {}
    //listen for actions being performed and process them
    public void actionPerformed(ActionEvent e) {
    //if the action is from the textfield (e.g. user hits enter)
         if (e.getActionCommand().equals(textFieldString)) {
              JTextField fromUser = (JTextField)e.getSource();
         if (fromUser != null){
    //place user text in editor pane
    //send message to server
                   if (userName.getText() != null) {
                        userString = userName.getText().trim();
                   out.println(userString + ": " + fromUser.getText());
              fromUser.setText("");
         } else if(e.getActionCommand().equals(connectString)) {
              CONNECTFLAG = true;
    } else if (e.getActionCommand().equals(loadgraphicString) ) {
              final JFileChooser fc = new JFileChooser();
              int returnVal = fc.showOpenDialog(this);
              if (returnVal == JFileChooser.APPROVE_OPTION) {
                   File file = fc.getSelectedFile();
                   dPanel.loadImage(file.getAbsolutePath());
                   sendImage(file);
         else if (e.getActionCommand().equals(fontlist)){
         JComboBox cb = (JComboBox)e.getSource();
    String newSelection = (String)cb.getSelectedItem();
    currentFont = newSelection;
         userString = currentFont;
    return;
    /*public void itemStateChanged (ItemEvent e) {
    if ( e.getStateChange() != ItemEvent.SELECTED ) {
    return;
    if ( list == fontlist ) {
    fontchoice = (String)fontlist.getSelectedItem();
         userString.changeFont(fontchoice);
    //append text to the editor pane and put it at the bottom
    public static void appendText(String text) {
         if (text.startsWith("ID ") ) {
              userString = text.substring(3);
         } else if (text.startsWith("DRAW ") ) {
              if (text.regionMatches(5,"LINE",0,4)) {
    dPanel.processLine(text);
         }else if (text.regionMatches(5,"POINTS",0,5)) {
         dPanel.processPoint(text);
         } else if (text.startsWith("IMAGE ") ) {
    int len = (new Integer( text.substring(6, text.indexOf(",")))).intValue();
    //get x and y coordinates
         byte[] data = new byte[ (int)len ];
         int read = 0;
    try {
         while (read < len) {
         data = text.getBytes( text.substring(0, len) );
    } catch (Exception e) {}
         Image theImage = null;
         theImage = dPanel.getToolkit().createImage(data);
         dPanel.getToolkit().prepareImage(theImage, -1, -1, dPanel);
         while ((dPanel.getToolkit().checkImage(theImage, -1, -1, dPanel) & dPanel.ALLBITS) == 0) {}
              dPanel.drawPicture(0, 0, theImage);
    } else {
    //set current position in editorPane to the end
              editorPane.setCaretPosition(editorPane.getDocument().getLength());
    //put text into the editorPane
              try {
                   insertTheHTML(editorPane, text, editorPane.getDocument().getLength());
              } catch (IOException e) {}
    } //end of appendText(String)
    public void sendImage(File file) {
    //find length of file
         long len = file.length();
    //read file into byte array
         byte[] byteArray = new byte[(int)len];
         try {
              FileInputStream fstream = new FileInputStream(file);
              if (fstream.read(byteArray) < len) {
    //error could not load file
              } else {
              out.println("IMAGE " + len + ",");
                   out.write(byteArray, 0, (int)len); //write file to stream
         } catch(Exception e){}
    //run the client
    public static void main(String[] args) {
         String ipAddr=null, portNr=null;
              if (args.length != 2) {
                   System.out.println("USAGE: java guiClient IP_Address port_number");
                   System.exit(0);
              } else {
         ipAddr = args[0];
              portNr = args[1];
              JFrame frame = new guiClient();
              frame.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) { System.exit(0); }
              frame.pack();
              frame.setVisible(true);
              while(CONNECTFLAG == false){}
    //sames as previous client,
    //set up connection and then listen for messages from the Server
              String socketIP = ipAddr;
              int port = Integer.parseInt(portNr);
    //the IP address of the machine where the server is running
              Socket theSocket = null;
    //communication line to the server
              out = null;
    //for message sending
              BufferedReader in = null;
    //for message receiving
              try {
              theSocket = new Socket(socketIP, port );
    //try to connect
              out = new PrintStream(theSocket.getOutputStream());
                   dPanel.out = out;
    //for client to send messages
              in = new BufferedReader(new InputStreamReader(theSocket.getInputStream()));
                   BufferedReader userIn = new BufferedReader(new InputStreamReader(System.in));
                   String fromServer;
                   while ((fromServer = in.readLine()) != null) {
                   appendText(fromServer);
                   if (fromServer.equals("BYE")) {
                        appendText("Connection Closed");
                        break;
              out.close();
    //close all streams
              in.close();
              theSocket.close();
    //close the socket
         } catch (UnknownHostException e) {
    //if the socket cannot be openned
              System.err.println("Cannot find " + socketIP);
              System.exit(1);
              } catch (IOException e) { //if the socket cannot be read or written
              System.err.println("Could not make I/O connection with " + socketIP);
              System.exit(1);
    class HyperListener implements HyperlinkListener {
    public JEditorPane sourcePane;
    public void hyperlinkUpdate(HyperlinkEvent e) {
    if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
    sourcePane = (JEditorPane) e.getSource();
                   if (e instanceof HTMLFrameHyperlinkEvent) {
    HTMLFrameHyperlinkEvent event = (HTMLFrameHyperlinkEvent) e;
                        System.out.println(event.getTarget());
                        HTMLDocument doc = (HTMLDocument) sourcePane.getDocument();
                        doc.processHTMLFrameHyperlinkEvent(event);
    else {
    try {}
    catch (Exception ev){
         ev.printStackTrace();
    Well sorry the source code takes up the whole forum but I need a good feedback from this.

    All right...
    public class guiClient extends JFrame implements ActionListener {
    static String userString;
    static String currentFont;
    String fontchoice;
    String fontlist;
    static JTextField userName = new JTextField();
    public guiClient() {
         super("My Client");
    public guiClient() {
         super("My Client");
    // Create a ComboBox
    GraphicsEnvironment gEnv = GraphicsEnvironment.getLocalGraphicsEnvironment();
    String envfonts[] = gEnv.getAvailableFontFamilyNames();
    Vector vector = new Vector();
    for ( int i = 1; i < envfonts.length; i++ ) {
    vector.addElement(envfonts);
    JComboBox fontlist = new JComboBox (envfonts);
         fontlist.setSelectedIndex(0);
         fontlist.setEditable(true);
         fontlist.addActionListener(this);
         fontchoice = envfonts[0];     
    //Create a regular text field.
         JTextField textField = new JTextField(10);
         textField.setActionCommand(textFieldString);
         textField.addActionListener(this);
    public void actionPerformed(ActionEvent e) {
    //if the action is from the textfield (e.g. user hits enter)
         if (e.getActionCommand().equals(textFieldString)) {
              JTextField fromUser = (JTextField)e.getSource();
         if (fromUser != null){
    //place user text in editor pane
    //send message to server
                   if (userName.getText() != null) {
                        userString = userName.getText().trim();
                   out.println(userString + ": " + fromUser.getText());
              fromUser.setText("");
         else if (e.getActionCommand().equals(fontlist)){
         JComboBox cb = (JComboBox)e.getSource();
    String newSelection = (String)cb.getSelectedItem();
    currentFont = newSelection;
         userString = currentFont;
    return;

  • Some fonts have wrong "internal names," won't display properly in font menu

    Several fonts which I have acquired over the years have a peculiar but bothersome problem.
    The fonts' "file names" in the Finder are perfectly fine, and the files are named what they're supposed to be named. And when the fonts are "installed," they work perfectly fine in all applications, as they are supposed to. But here's the problem: the fonts are mis-named in each application's "font menu." In my case, most of the font names (which are of the standard English alphabet and have standard English font titles) instead appear listed as a long string of Chinese characters.
    As a random example, a font called "Holiday Ranch" made by FontDiner is not listed alphabetically between "Hoefler" and "Impact" in my font menus, where it ought to be, but instead is listed at the end of the font menu list, after "Zapfino," as a long string of Chinese characters. This wouldn't be such a problem if there were only one or two fonts misnamed this way, but when (as I do) you have 25 fonts at the bottom of your font list, all of which are long strings of incomprehensible characters, then it becomes a problem indeed.
    The fonts come from a variety of sources, so it can't be a flaw in just one company's coding. I contacted (as per the example above) FontDiner, but so far they have no response. But for other mis-named fonts in my collection, I don't even know who designed them or where they came from, so I can't ask the designer for a solution.
    Keep in mind that all of the fonts work perfectly fine, once I've tracked them down in the big morass of hard-to-find misnamed fonts at the bottom of my font menus. They work in all Apple applications like TextEdit, they work in Adobe products like Illustrator, they work in MSWord -- they work everywhere. The only issue is the naming.
    Also, the file names are all correct. In the example above, the file name for "Holiday Ranch" is "Holiday Ranch.ttf". And when I inspect the font with Linotype's "FontExplorer X," it is listed properly as "Holiday Ranch." But here's the key: When I open the font file in Apple's "Font Book" (v.2.2.1), the name is indeed listed there as a long string of Chinese characters, and when I install it onto my computer using Font Book, it unfortunately uses that name.
    I've tried downloading a wide variety of "font tool" programs, but none have been able to fix this problem.
    I also tried (using FontExplorer X) "Cleaning system font caches" and "Cleaning application font caches" and restarting, but that had no effect whatsoever. I don't think it's an error on the part of OSX, I think that the fonts are simply misnamed internally, or that something went awry when the font designer converted the fonts from one format to another, or something like that.
    I think the simplest solution would be to just re-name the fonts internally. But how? I can't find a way to do it. Even the optimistically-named freeware program "Font Renamer" did not change the internal names.
    Has anyone else ever experienced this problem, and if so, how can it be fixed? Thanks.

    As for free downloads to play with: unfortunately, the FontDiner ones are all commercial and thus not free...
    They do have some free fonts. At the bottom of the first page (after the lead in page), click the "Free Silverware" link at the bottom. The fonts that come up on that page are all free.
    I downloaded four of those fonts at random. All work as expected. That doesn't prove though that the Holiday Ranch font doesn't have something wrong with it.
    Kurt, as I noted above, I already did empty all font cache files and restart. Unfortunately, that did not fix the problem.
    Oops! Sorry, missed that.
    So I think the problem is not that there's anything wrong with my OS, but rather that the person who made the font simply goofed when giving it a name!
    It seems to point that way, but you're seeing the issue across fonts from different vendors. I would believe it's either the OS, or Font Book itself.
    Your tagline shows you're running 10.6.4. Download and reinstall the 10.6.4 Combo updater. It's surprising how many problems go away when applying the combos.

  • Is there a way to group fonts in my font menu?

    In CS6 on my Mac, I downloaded a bunch of fonts, installed them, and opened PS. When I select text and go to the font options drop-down, it is hard to find the new fonts that I want to work with unless I go back and check each font name, etc.. There are various groupings of fonts already there by default, and I am not clear on the reasons why they are grouped the way they are.
    1. Is there a way to place certain fonts into certain groups/customized so I can easily try out the new fonts on my files?
    2. Why are there 7 groups of fonts, each separated by horizontal lines in my font drop-down menu?
    Thanks in advance!

    I can recommend the Fonthero plugin for Photoshop. http://www.layerhero.com/fonthero/
    I have it, the support is great and I like being able to change fonts in a Type layer in a single click. CC 2014 compatible only.  $39
    Gene

  • Unable to change font color in inserted textbox

    Hi All,
    Thanks for help. I have an aplication which brings up an image for editing in flash. Here is what happens.
    I click on A tool and insert 2 text boxes on the image and type something. Then I click on the Arrow tool and double click on text in Text box 1 to select it. Then try to change the font color from the font menu icon. It does not work. But after selecting the text in text box 1 and trying to change the font size from the menu seems to work fine. Can any one plz help??

    This seems to be a question for Flash Authorying. Can you post this in the forum of Flash CS?
    Here's the link http://forums.adobe.com/community/flash

  • Motion 3 - Crashes every time I try to change font

    I'm having trouble with Motion on my Mac Pro at work. I'm trying to create a title graphic. I can create a text layer and type the text, but when I choose the font drop-down list from the HUD, Motion crashes. Help! It's getting a little frustrating.

    hi
    i have been having the same problem. I went through my entire font list and disabled the ones it had a problem with. But then ones it was fine with before will crash it now. One way to absolutely make motion crash is to to use the Font menu in the text inspector and scroll down it to dynamically change the font. This will always crash it. The way round it is to get the menu up, pause and then scroll down and make a choice. This way the text object doesn't automatically update.
    If you look at the crash report in my case, it seems to related to a call to GetGlyphMetrics. This didnt happen before we had the glyph control we have in M4, so I can only assume there is something screwy with the code, now it is doing more with the text objects.
    not helpful, but you are not alone.
    adam

  • How to change font size on screen

    how to change font size on screen

    I'm not certain what font sizes you wish to change, when on a page you can use command and the += button to zoom in and make the fonts larger. On the finder desktop you can make what ever is on the desktop larger or smaller from the finder menu click view, custom view options, and adjust the icon size with the slider on the top, and the text using the text size box to select the size that your comfortable with.
    Forgot to add these.
    http://support.apple.com/kb/PH10876
    http://support.apple.com/kb/PH10877
    Hope this helps.

  • How to change font size on web page when have no icon in View tool to do so

    menu bar at top of screen does not have icon to change font size of a web page as described in your support information--you show it as between stop and reload in View icon and I do not have it at all in my toolbar.

    See this: <br />
    https://support.mozilla.com/en-US/kb/Page+Zoom

  • Trying to change the data source for a Crystal Report.

    <p>The method below represents my best attempt to programatically change the data source of a Crystal Report. The goal is to have a routine that will update the data source for reports after they have been distributed to production servers. So far I have not been successful in saving the report back to the CMS. No exceptions are thrown, but when I view the Database Configuration of the report in the CMC nothing has changed.
    </p>
    <p>
    Am I missing a step, or is there another way to accomplish this?
    </p>
    <p>
    Thank you.
    </p>
    <hr />
    <pre>
    private void test(String reportName)
       throws SDKException, ReportSDKException, java.io.IOException
       IInfoObjects newInfoObjects;
       IInfoObject reportObj;
       ReportClientDocument clientDoc = new ReportClientDocument();
       DatabaseController dc;
       PropertyBag pBag;
       PropertyBag logonProps;
       ConnectionInfo newConInfo;
       ConnectionInfo oldConInfo;
       ConnectionInfos conInfos;
       int connOptions = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB; //0;
       Fields connFields = null;
       String queryStr = "Select * From CI_INFOOBJECTS " +
          "Where SI_NAME='wfr.rpt' AND SI_KIND='CrystalReport' AND SI_INSTANCE=0";
       newInfoObjects = getCms().executeQuery(queryStr);
       if(newInfoObjects.size() > 0)
          reportObj = (IInfoObject)newInfoObjects.get(0);
          try
             clientDoc = getCms().getReportAppFactory().openDocument(
                reportObj
                , OpenReportOptions._refreshRepositoryObjects
                , java.util.Locale.US);
             dc = clientDoc.getDatabaseController();
             conInfos = dc.getConnectionInfos(null);
             for(int i = 0; i < conInfos.size(); ++i)
                oldConInfo = (ConnectionInfo)conInfos.getConnectionInfo(i);
                newConInfo = (ConnectionInfo)oldConInfo.clone(true);
                pBag = newConInfo.getAttributes();
                pBag.putStringValue("QE_ServerDescription", "alio");
                logonProps = new PropertyBag();
                logonProps.putStringValue("Trusted_Connection", "false");
                logonProps.putStringValue("Server", "alio");
                pBag.put("QE_LogonProperties", logonProps);
                newConInfo.setUserName("admin");
                newConInfo.setPassword("password");
                dc.replaceConnection(
                   oldConInfo
                   , newConInfo
                   , connFields
                   , connOptions);
          catch(ReportSDKServerException Ex)
             String msg = "A server error occured while processing the " + reportObj.getKind()
                + " object, " + reportObj.getTitle() + " (" + reportObj.getCUID() + "), from the CMS.";
             Utility.errorOut(msg, Ex);
          catch(Exception Ex)
             String msg = "An error occured while processing the " + reportObj.getKind()
                + " object, " + reportObj.getTitle() + " (" + reportObj.getCUID() + "), from the CMS.";
             Utility.errorOut(msg, Ex);
          finally
             clientDoc.save();
             getCms().commitToInfoStore(newInfoObjects);
             clientDoc.close();
    </pre>
    Edited by: Mark Young on Sep 10, 2009 2:16 PM

    <style type="text/css">
    /<![CDATA[/
        body
            font-size: 1.125em;
              font-family: helvetica,arial,"sans-serif";
          .code{font-family: "courier new",courier,mono,monospace}
          .bi{font-style: italic; font-weight: bold;}
    /]]>/
    </style>
    <p>Justin,</p>
    <p>
    Thank you for the reply. Time constraints have not allowed me to post back to this tread
    till now. I will try your suggestion. My assumption is that <i>Save the report back to the
    info store</i> refers to <span class="code">IInfoStore.commit(IInfoObjects)</span>.
    </p>
    <p>
    I'm afraid that I do not understand why I don't want to change the report client document,
    or why <i>successfully exporting the report with the new login/password</i> is not what I
    want to do. Any explanation on that statement would be appreciated.
    </p>
    <p>
    I did find a way to accomplish my goal. It involved adding the SSOKEY property to the
    logon property bag. Below you'll see my revised code which modifies the report logon and
    server. I have no idea what
    this does, and SAP support has not been able to tell me why it works. However, what I
    discovered is that if I changed the report option, <b>Database Configuration -> When
    viewing report:</b>, in the CMS to <span class="bi">Use same database logon as when report
    is run</span> from <span class="bi">Prompt the user for database logon</span>, then the
    SSOKEY property had been added to the logon property bag having an empty string as its
    value. This allowed me to successfullyupdate and save the modified logon back to the CMS.
    </p>
    <p>
    So I took a chance and added code to always add the SSOKEY property with an empty string
    as its value, and I could then successfully modify and save the report's logon info
    and server. Again, I don't know what this means, but it has worked so far. If anyone has
    some insight or comments, either are welcome. Thank you in advance.
    </p>
    <br />
    <hr />
    <pre>
    private void changeDataSourceOfAWFCrystalReports()
       throws SDKException, ReportSDKException, java.io.IOException
       IInfoObjects newInfoObjects = null;
       IInfoObject reportObj = null;
       IReport curReport = null;
       ReportClientDocument clientDoc = new ReportClientDocument();
       DatabaseController dbController;
       PropertyBag pBag;
       PropertyBag logonProps;
       ConnectionInfo newConInfo;
       ConnectionInfo oldConInfo;
       ConnectionInfos conInfos;
       int connOptions = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB;
       Fields connFields = null;
       String outputStr;
       int numOfReports;
       int numOfQueryPages;
       double progressIncrementPerPage = 30;
       int progressIncrementPerReport = 0;
       // Path query to reports is in a .properties file.
       String queryStr = getAppSettingsFile().getWscAwfCrystalReportPathQuery();
       try
          // Executes IInfoStore.getPageingQuery() and generates a list of queries.
          getCms().setPathQueryQueries(queryStr, 100);
          numOfQueryPages = 0;
          // Gets a List&lt;String&gt; of the IPageResult returned from IInfoStore.getPageingQuery().
          if(getCms().getPathQueryQueries() != null)
             numOfQueryPages = getCms().getPathQueryQueries().size();
          if(numOfQueryPages &gt; 0)
             // Use 30% of progress bar for the following loop.
             progressIncrementPerPage = Math.floor(30.0/(double)numOfQueryPages);
          for(int queryPageIndex = 0; queryPageIndex &lt; numOfQueryPages; ++queryPageIndex)
             // Gets the IInfoObjects returned from the current page query
             newInfoObjects = getCms().getPathQueryResultSetPage(queryPageIndex);
             numOfReports = newInfoObjects.size();
             if(newInfoObjects != null && numOfReports &gt; 0)
                progressIncrementPerReport =
                   Math.round((float)Math.floor(progressIncrementPerPage/(double)numOfReports));
                for(int reportIndex = 0; reportIndex &lt; numOfReports; ++reportIndex)
                   reportObj = (IInfoObject)newInfoObjects.get(reportIndex);
                   curReport = (IReport)reportObj;
                   clientDoc = getCms().getReportAppFactory().openDocument(
                      reportObj
                      , OpenReportOptions._refreshRepositoryObjects
                      , java.util.Locale.US);
                   dbController = clientDoc.getDatabaseController();
                   conInfos = dbController.getConnectionInfos(null);
                   for(int conInfosIndex = 0; conInfosIndex &lt; conInfos.size(); ++conInfosIndex)
                      oldConInfo = (ConnectionInfo)conInfos.getConnectionInfo(conInfosIndex);
                      newConInfo = (ConnectionInfo)oldConInfo.clone(true);
                      pBag = newConInfo.getAttributes();
                      pBag.putStringValue(
                         "QE_ServerDescription"
                         ,getConfigFile().getDBDataSourceConnections());
                      logonProps = new PropertyBag();
                      logonProps.putStringValue("Trusted_Connection", "false");
                      <b>logonProps.putStringValue("SSOKEY", "");</b>
                      logonProps.putStringValue(
                         "Server"
                         ,getConfigFile().getDBDataSourceConnections());
                      pBag.put("QE_LogonProperties", logonProps);
                      newConInfo.setUserName(getConfigFile().getUNVConnectionUserName());
                      newConInfo.setPassword(getConfigFile().getUNVConnectionPasswordDecrypted());
                      dbController.replaceConnection(
                         oldConInfo
                         , newConInfo
                         , connFields
                         , connOptions);
                      newConInfo = (ConnectionInfo)conInfos.getConnectionInfo(conInfosIndex);
                   } // end for on conInfosIndex
                   clientDoc.save();
                } // end for on reportIndex
             } // end if on newInfoObjects
          } // end for on queryPageIndex
       } // end try
       catch(ReportSDKServerException Ex)
          // handle...
       catch(Exception Ex)
          // handle...
       finally
          getCms().commitToInfoStore(newInfoObjects);
          if(clientDoc != null)
             clientDoc.close();
    </pre>

  • Change font size on macbook pro 15 retina

    HELP... Cant see the words
    can someone please tell me how to change font size on macbook pro 15 retina... I have this HUGE screen but the font on the screen is SUPER small.... can someone help me

    Sorry, OS X hasn't evolved to a scalable UI type for hard of seeing users. If you drop the resolution your type gets blurry.
    However I have two solutions.
    1: You hit System Preferences > Accessibility and set a control key for zoom/in out, set the zoom to where the pointer is at and get a third party scroll wheel mouse. This way you hold the control key and can zoom in/out anywhere the mouse is pointed at.
    2: You follow my User Tip here and use Firefox with the associated add-ons.
    Since Firefox is customizable, your able to create larger menu type and have web pages automatically zoomed (full page, graphics and all) to your minimal needs.
    Also FF will remember your window size so your not having to resize that each time you open the program. There is also a Full screen option.
    Since web browsing takes up a lot of time on machines, at least you have that part licked. If you use web based email like GMail, since it's in a web browser that is zoomed as well.
    Web browsing for hard of seeing users

  • Change font in Adobe Acrobat Extended Pro

    I was wondering how I am able to change the font in Adobe Acrobat.  I know we can use the type writer, but how can I make it my own font, color and size? Please help! =)

    You cannot create fonts with Acrobat.
    Doing so requires a dedicated font creation application.
    Or purchas of Fonts to augment what the OS and applications install.
    To change fonts in a PDF to something else that is on the local machine and available to Acrobat you could try this:
    Select characters with the TouchUp Text too.
    Right click for the context menu.
    Select Properties.
    Select the Text tab.
    Look over the configuration options to see if they meet your needs.
    Be well...

Maybe you are looking for

  • Weird bug after upgrading itunes to 7.5 and going back to 7.2

    hey everyone, I've made a series of mistakes. I run OS X 10.3.9 on a G4 desktop. I upgraded itunes 7.2 to 7.5 and when it didn't work i tried to go back. I found a way, but i didn't uninstall 7.5 correctly and developed a bug. whenever i click on a .

  • TOUCHSMART 610 AND WINDOWS 8

    It's official - "WARNING: HP Linkup, HP Application Assistant, HP TouchSmart Magic Canvas and all other HP TouchSmart applications are not compatible with Windows 8 and must be uninstalled before upgrading. Content created using the TouchSmart applic

  • Prerequisites for Oracle 9i installation AIX 5L V5.3

    Hi, Can anybody give a clear idea on the prerequisites for Oracle 9i release 2 installation IBM AIX 5L V5.3 Thanks Jibu

  • As2 linked to as3 ?

    I am working on an inherited project with a tight deadline, and  I have a large as2 file with xml that appears to calling up an as3 flash file that also has xml, but its not working so I cant tell for sure.  Is this possible to do? Barbara

  • Problems getting service after update?

    Has anyone had any problems with your phone getting reception in places you usually got reception after you updated? I live in Canada and am on the Bell Aliant network.