Access font information of subreport objects?

If I want to programmatically access font information of a subreport element in a report, is there any way to do this - either with the RAS or the older CrystalReports.Engine API? Only TextObjects, FieldObjects, and ParagraphElements seem to have a FontColor attribute, but not SubreportObjects.
To be more exact: I'm trying to access the size of the subreport label's font for an on demand subreport.
Any ideas?

i too struck with the same issue.
in case of RAS...
i want to change the color for subreport name which is appeared as hyperlink with no difference in font and color.
but in designer the color of the  supreport name font automatically get changed once on-demand option is choosen.
hence i  hope there must be a way to get this done.
regards,
Padmanaban V

Similar Messages

  • FontBook - where does it store font informations?

    As I've posted here before, I've been massively frustrated by Leopard's FontBook over and over again... so much so that this afternoon's longish post was deleted by the modgods here (they say "Your post was removed from Apple Discussions as it contained feedback or feature requests" when they mean "You used foul language to describe Apple products"
    Anyway, I've now installed Leopard on an external disk with one, and one purpose only: to get exactly the font files that are part of OS X 10.5.
    Having done that, I
    - deleted everything in /Library/Fonts
    - copied all the original Apple system fonts from the external disk
    - changed owner group and access data for each font resource to be exactly like the virgin 10.5
    - deleted the FontBook pref file in ~/Library/Preferences
    - deleted all ATS cache files
    - rebooted
    Now when I open FontBook, (of course) it still displays all sorts of fonts from before this open-heart surgery operation.
    So my questions are:
    - where does FontBook store its font informations?
    - how does one clear, delete, wipe out, nuke or kill these informations... whatever is necessary to not have Zombie font descriptions lurking in FontBook?
    TIA if anyone has an answer to enlighten this murky swamp!

    Maybe this is interesting to someone: after my 6th or so cold reboot this morning, and Spotlight having started its ritualistic "Indexing" my external FW harddrives (for the 6th time in 3 days...), my Console is filled with hundreds of this:
    23.11.07 02:34:35 com.apple.ATSServer[940] 2007.11.23 02:34:35.85
    23.11.07 02:34:35 com.apple.ATSServer[940] A fatal error was detected using fontiD 131127 while processing a message (id: 11) from pid=425.
    23.11.07 02:34:35 com.apple.ATSServer[940] Font Info:
    23.11.07 02:34:35 com.apple.ATSServer[940] In-memory font for ATS owner 311 -> pid 425.
    23.11.07 02:34:35 com.apple.ATSServer[940] FontObject 0x2debd0; ID 131127 ( 0x20037: gen: 2; index: 55 )
    23.11.07 02:34:35 com.apple.ATSServer[940] Name:
    23.11.07 02:34:35 com.apple.ATSServer[940] No name in cache
    23.11.07 02:34:35 com.apple.launchd[1] (com.apple.ATSServer) Throttling respawn: Will start in 10 seconds
    23.11.07 02:34:45 com.apple.ATSServer[941] FODBError: FODBRemoveFromAnnex - Got called to remove an annexIndex that does not match what is in the font
    23.11.07 02:34:45 com.apple.ATSServer[941] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Now ATSserver is throttling and re-spawning, seemingly forever.
    Since this OS experience can't possibly get much worse -- I guess even Windows would be better at this point -- I'll go and delete all ATS caches (again) as well as FontBook's cache files, and reboot (again).
    Oh joy.

  • Access transaction information from a GOS

    Hello,
    I am creating a new generic object service for a transaction. I have no problems with the creation but I would like to know if once the user has clicked in the service and the new screen pop ups, is it possible to access the information from the original transaction?
    I know you have the business object associated with most of the information, but my question is if, for example you can access elements of the transaction layout, i.e. access internal tables or data structures. Is that possible? I understand that these information has to be somewhere because once you close the service you return to the original transaction.
    Best regards,

    Deepti,
    Search this forum for <b>WDProtocolAdapter</b> if you are on NW04s or for term <b>WDWebContextAdapter</b> otherwise (NW04). In later case do not use Requerst object and internal methods to get reference, use standard API methods instead.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • My iphone application running continuously in background to access some information by "beginBackgroundTaskWithExpirationHandler" then can i submit in appstore .

    My iphone application running continuously in background to access some information by "beginBackgroundTaskWithExpirationHandler" then can i submit in appstore ?

    This is a question that should probably be posed in the Developer forum.

  • My ipad mini does not restart when i press and hold the home and power buttons for a minute or more. what do i do? i really need to access some information on it. please help.

    my ipad mini does not restart when i press and hold the home and power buttons for a minute or more. what do i do? i really need to access some information on it. please help.

    You need to connect to iTunes and restore.
    iOS: Not responding or does not turn on
    You may need to put the device into recovery mode, this is covered in the link on this page.
    Did you back up the device?

  • How to access request information in a webservice implementation (10.1.3)

    Hi,
    I have created a java webservice from WSDL in JDeveloper 10.1.3.4.
    In the Impl class I would like to access HTTP request information.
    Can I do this in a direct way?
    If not, I have made a custom javax.xml.rpc.handler.Handler (by extending GenericHandler)
    In this class I can access the information that I need from the MessageContext that is available there.
    How can I get information from the Handler to my Impl?
    Groeten,
    HJH

    Found the answers:
    1. The service Impl should implement the javax.xml.rpc.server.ServiceLifecycle interface.
    In this way you get access to a javax.xml.rpc.server.ServletEndpointContext, which gives access to amongst others javax.xml.rpc.handler.MessageContext, which gives access to request information
    2. In the Handler it is possible to store information on the MessageContext, which can be accessed in the service Impl (see 1.).
    Groeten,
    HJH

  • Error while trying to access system information for AS Java

    Hi,
    I´m not sure if this is the correct forum so if I'm wrong please let me know to move it to the correct one.
    We are facing an extrange behavior when trying to access System Information in an AS Java, every time we try to access the link the following error shows up:
    Error - ID018236: Cannot instantiate bean. java.lang.ClassNotFoundException: com.sap.engine.monitor.infoapp.SystemInfo
    the complete error shows:
    Found in negative cache -
    Loader Info -
    ClassLoader name: sap.com/tc~monitoring~systeminfo Parent loader name: References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization library:tcjmx library:sapxmltoolkit library:tcSLUTIL Resources: /usr/sap/QBW/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/tcmonitoringsysteminfo/servlet_jsp/sap/monitoring/root/WEB-INF/classes /usr/sap/QBW/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/tcmonitoringsysteminfo/servlet_jsp/sap/monitoring/root/WEB-INF/lib/jstartupapi.jar /usr/sap/QBW/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/tcmonitoringsysteminfo/servlet_jsp/monitoring/root/WEB-INF/classes /usr/sap/QBW/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/tcmonitoringsysteminfo/servlet_jsp/monitoring/work /usr/sap/QBW/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/tcmonitoringsysteminfo/servlet_jsp/sap/monitoring/work /usr/sap/QBW/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/tcmonitoring~systeminfo/servlet_jsp/sap/monitoring/root/WEB-INF/lib/jstartupimpl.jar Loading model: {parent,references,local} -
    Any idea about what is happening is appreciated.

    check with this links too
    http://hostname:port/sap/monitoring/SystemInfo
    http://hostname:port/monitoring/SystemInfo
    Implementing this note should solve your problem
    Note 1281251 - System information exception: Connection is invalid
    and also check
    Note 1233282 - Fixed URL of System Information application on Start page
    Thanks,
    Surendra

  • I want to install onyx but my security preferences won't let me download it. Is it safe to change them and download from an unidentified developer? Will they be able to access my information?

    I want to install onyx but my security preferences won't let me download it. Is it safe to change them and download from an unidentified developer? Will they be able to access my information?

    1. If you just want to run one application, control-click it and choose Open instead of changing the setting. This only needs to be done once per application.
    2. Ensure that you trust any software you choose to open in this way.
    (108081)

  • My iPhone was stolen and I need to access my information including contacts, texts and camera roll from icloud urgently via my desktop computer...how do I do this?

    I am not able to figure out how to access this information from my desktop, is this possilbe?
    Thanks

    Was your iPhone or iPad stolen? You posted in the iPad forum.
    These links may be helpful.
    How to Track and Report Stolen iPad
    http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
    Reporting a lost or stolen Apple product
    http://support.apple.com/kb/ht2526
    Report Stolen iPad Tips and iPad Theft Prevention
    http://www.stolen-property.com/report-stolen-ipad.php
    How to Find a Stolen iPad
    http://www.ehow.com/how_7586429_stolen-ipad.html
    Oops! iForgot My New iPad On the Plane; Now What?
    http://online.wsj.com/article/SB10001424052702303459004577362194012634000.html
     Cheers, Tom

  • How do you set up your iphone so when you connect to another computer you have to enter a password before accessing the information?

    Hi
    I just want to know how you can set up your iphone so when you connect to another computer you have to enter a password before accessing the information? My friend connected hers to my computer and it asked for a password so I know its a function.
    I have a phone password enabled so its not that, any help would be great.

    The Passcode Lock prevents syncing the iPhone with iTunes or accessing any data on the iPhone when the iPhone is connected to another computer different from the computer being used for syncing the iPhone.

  • Error : Access not possible using "null" objects reference

    Hello.
    i am working with a zbapi.
    i called a external email program in this bapi,everything is working fine over here.
    In webdynpro java they mapped my bapi and starting working from there.
    every functionality is working fine but regarding this email stuff it is showing an error as access not possible using null objects reference.
    where could be the possible error.
    is it in webdynpro or in abap side.

    Raghu,
    You are right. When it comes from the WD Java, may be you are not passing any value at all. You can trace it by these ways.
    1. Check it using SE37, make sure everyhting is fine.
    2. Print all the values that you are passing to the RFC in the execute RFC method().
    3. using ST05 transaction in R/3, enable RFC and SQL trace, check what is passing in between web dynpro and R/3.
    Moreover paste your error message here.
    Thanks,
    Raj.

  • Getting information about an object from JList

    Hi
    I have created a movie application and i have a JList displaying all registered movies, it uses a DefaultListModel to display these.
    I want to be able to click on an element in the JList and then push a button called "Show movie details" to display all information about the selected movie.'.
    Every new movie is added to the DefaultListModel as an object with "Titlle", "Genere" etc. If someone click on a movie, what do i do to get information about which object that was clicked. All i can see is that integers can be returned with the getSelectedIndex/Value methods. If i use one of these methods to get the object from the DefaultListModel, that would work i guess, but what when someone deletes a movie in the middle of the JList, then the indexes wouldnt match.
    Can someone help me out here? :)

    I get a big fat exception when trying to cast the returned object to a Movie object which im using.
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.S
    tring cannot be cast to Movie
    ...sure that this is the way to do it? If so, what am i doing wrong..

  • Allowing access to select few public objects (moved from Native forum)

    I am moving my posting from Java Forums > Fundamentals > Key Classes > Native forum to this one. Sorry for posting it on the wrong forum earlier. Before each reply I have added a lien for clarity.
    Allowing access to select few public objects
    Author: COOLNM Posts: 5 Registered: 12/21/05
    Dec 21, 2005 9:59 AM
    I am developing a java application. I need to provide some scripting support (using Jython or Rhino) to my application so that the user can better use my application. Now the problem is I just want a select few public objects to be accesible via scripts and not all public objects I have written internally. I read somewhere that class name and code obfuscation could be a option but not a full proof solution. Can anyone suggest how a full proof solution can be achieved? Would running the script interpreter in seperate JVM help (and propogate the calls to the original JVM) ? Would a custom class loader help? Please suggest.
    Thanks,
    COOLNM
    Re: Allowing access to select few public objects
    Author: IanSchneider Posts: 1,381 Registered: 10/26/00
    Dec 21, 2005 10:14 AM (reply 1 of 10)
    I read somewhere that class name and code obfuscation could be a option but not a full proof solution.Correct, someone could still can call obfuscated methods.
    Would running the script interpreter in seperate JVM help (and propogate the calls to the original JVM) ?No.
    Would a custom class loader help? Possibly depending upon how the interpreter dispatches calls.
    Can anyone suggest how a full proof solution can be achieved?With jython, you could write custom PyObject subclasses (or general java facade classes) to expose only the methods you want to. The former technique allows more cool scripting functionality, the latter would presumably work in other interpreters. This would have to be done for every object you want to expose.
    Alternatively, you could enable a SecurityManager and allow only trusted code to invoke yours.
    Re: Allowing access to select few public objects
    Author: COOLNM Posts: 5 Registered: 12/21/05
    Dec 21, 2005 9:36 PM (reply 2 of 10)
    I read somewhere that class name and codeobfuscation could be a option but not a full proof
    solution.
    Correct, someone could still can call obfuscated
    methods.
    Would running the script interpreter in seperate JVMhelp (and propogate the calls to the original JVM) ?
    No.Could you please explain why this wouldn't work?
    The plan is:
    Let say I have 2 public objects A & B and I want the user to only use A via their scripts.
    In JVM1: I use both A & B
    In JVM2: I write a psuedo A and not B. For all the methods of A, I propogate the calls to JVM1 (I think this is achievable but not sure how)
    The script interpreter runs on JVM2.
    Now if the user tries to access A then the call would go to JVM1 but if he tries to access B then there is no B available in JVM2 so the user cant access B.
    I know this method could be heavy as each call would have to go from JVM1 to JVM2.
    By sepeate JVMs I mean seperate instance of java.
    >
    Would a custom class loader help? Possibly depending upon how the interpreter
    dispatches calls.
    Can anyone suggest how a full proof solution can beachieved?
    With jython, you could write custom PyObject
    subclasses (or general java facade classes) to expose
    only the methods you want to. The former technique
    allows more cool scripting functionality, the latter
    would presumably work in other interpreters. This
    would have to be done for every object you want to
    expose.
    Alternatively, you could enable a SecurityManager and
    allow only trusted code to invoke yours.-----------------------------------------------------------------------------------------------------
    Re: Allowing access to select few public objects
    Author: allquixotic Posts: 12 Registered: 12/19/05
    Dec 22, 2005 5:09 AM (reply 3 of 10)
    RMI has a way for multiple JVMs to communicate programmatically; you could also use sockets on the loopback network device (localhost). These techniques are how mature Java products constrain their number of running instances to a finite number (usually 1), they terminate any starting JVM early in the initialization procedures of the main method if the "already-running test" indicates one is running.
    If you use the networking method, you could basically read from a ServerSocket on the "executing" JVM, while the "scripting" JVM writes to a Socket. Then use reflection in the executing (server) side to determine if the method or object being referenced is one you want to expose. If not, do something -- like write back to the client that the method invocation was invalid. Reflection will slow down your code a lot though, so I don't recommend it for apps that already take up 50 megs or more of RAM ;)
    Regards,
    Sean
    Re: Allowing access to select few public objects
    Author: IanSchneider Posts: 1,381 Registered: 10/26/00
    Dec 22, 2005 9:05 AM (reply 4 of 10)
    Would running the script interpreter in seperate JVMhelp (and propogate the calls to the original JVM) ?
    No.
    Could you please explain why this wouldn't work?It could work. I said no because the other methods are better - easier to implement and vastly more performant without wasting resources.
    Re: Allowing access to select few public objects
    Author: COOLNM Posts: 5 Registered: 12/21/05
    Dec 23, 2005 12:48 AM (reply 5 of 10)
    Ya, the seperate JVM approach seems complex and might not be fully achievable.
    Can someone give small code snippets on how the method level control be achieved using Java SecurityManager. Just a recap on what I am trying to achieve -
    A & B are two public objects defined internally by my app.
    I have to give the user of my app the ability to write some code. But only B
    is to be exposed to client and not A.
    Let say I have this code -
    Object A = Interpreter.InitializeEngine(..);
    A.executeFromUser(stdin);
    The user mostly uses some scripting language, say Python and the Interpreter
    is Jython. Now my Interpreter is capable of understanding calls to Java
    objects from Python. If the user tries to access B via the scripts then it
    should be allowed to do so but access to A should not be allowed via the
    scripting language.
    Thanks,
    Neeraj
    Re: Allowing access to select few public objects
    Author: bschauwejava Posts: 721 Registered: 1/13/04
    Dec 26, 2005 2:13 PM (reply 6 of 10)
    What you probably want is to give the user access to an interface - not a class - that only exposes the methods that you want to expose.
    This is the way all RMI APIs are exposed to client programs.
    Re: Allowing access to select few public objects
    Author: bschauwejava Posts: 721 Registered: 1/13/04
    Dec 26, 2005 2:16 PM (reply 7 of 10)
    Just one more comment. You haven't said very much about the runtime model of the scripting environment vs your java environment. How many processes do you expect to have running to make the system work? Are you expecting your java code to wind up in a jar file and get loaded by the Python process? Or are you planning on the java code executing in a separate process? If the latter, then RMI is probably your best bet.
    Re: Allowing access to select few public objects
    Author: COOLNM Posts: 5 Registered: 12/21/05
    Dec 27, 2005 4:20 AM (reply 8 of 10)
    I haven't finalized on the runtime model yet as the scripting security issue is still not resolved. But I am sure that the java app code would init and run the scripting code and not the other way round. The app is pretty huge with heavy UI. Ya, the java code would be wrapped in jars (but mostly not in a single jar as I dont want the jar to be too hefty).
    Can someone comment on the use of SecurityManager in this case. My initial investigation shows that the objective on implementing method level security can't be implemented by this.
    Re: Allowing access to select few public objects
    Author: IanSchneider Posts: 1,381 Registered: 10/26/00
    Dec 27, 2005 9:14 AM (reply 9 of 10)
    My initial reply suggested writing a facade in java or by subclass PyObject. I highly recommend this path for ease of development, use, and runtime performance.
    Given that you don't understand the basics of java security, I will recommend this again.
    Re: Allowing access to select few public objects
    Author: COOLNM Posts: 5 Registered: 12/21/05
    Dec 27, 2005 11:33 PM (reply 10 of 10)
    I have started investigating on facade in java and subclassing PyObject. But I am not sure how these would resolve the primary issue. Even if I use these and if the script writer knows that there is a public class, say XYZ in my app then he can always access that class directly skipping my subclassed PyObject or the Java facade. Or am I missing something here?

    I have started investigating on facade in java and subclassing PyObject. But I am not sure
    how these would resolve the primary issue. Even if I use these and if the script writer knows
    that there is a public class, say XYZ in my app then he can always access that class directly
    skipping my subclassed PyObject or the Java facade. Or am I missing something here?Presumably your objects are somehow connected to the application. Your user could do something like:
    from com.foo import Player
    p = Player()
    p.setGold(Integer.MAX_VALUE)But of course the new Player object would not be part of the game. Now if you have some kind of static/singleton game state, then the malicious user could insert the Player into the game model...
    The real trick lies in understanding how to setup the jython interpreter. If your interpreter classloader can only load facade classes (and system classes) then the client script could not load other classes. There is also a hook for the import keyword so you could disallow importing java classes. Each interpretor instance has the ability to setup the locals and globals for the session so you can insert live game objects.
    I am only familiar with jythons internals, so this may or may not be applicable to rhino.

  • How can i reload font information while the jvm is running.

    l.s.
    how can i reload font information while the jvm is running.
    I'm having the following problem...
    A program is running.
    A user installs a new font on the system (Xwindows in this case)
    Java doesn't display the font when i ask :
    java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();Thus i think that java buffers its font information somewhere. Anyone knows how to refresh te buffer?
    many thanks

    ungalcrys, welcome to the forum. Please don't post in threads that are long dead and don't hijack another poster's thread. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    I'm locking this thread now.
    db

  • Access SmartCard information through Internet ???

    Hi,
    Is it possible to access SmartCard information from
    Web Application(JSP/Servlet) ??
    If not, is there any good recommendation to access the
    SmartCard's information that located in the Client's
    workstation through Internet(Server Side Programming, JSP/Servlet) ???
    Best regards,
    Eric

    I beleive that's what Target.com is using

Maybe you are looking for