Trying to add ParagraphFieldElement
Hi all.
I'm trying to add TextObject with ParagraphFieldElement to the report wia RAS SDK:
ParagraphFieldElement boParagraphFieldElement = new ParagraphFieldElement();
boParagraphFieldElement.setDataSource("GroupName ({Student.Course})");
boParagraphElements.add(boParagraphFieldElement);
...but when i call refreshReportDocument(); throws exception:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: ---- Error code:-2147467259 Error code name:failed
it is true to add the object?
Edited by: tas.nix on Mar 20, 2011 10:27 PM
Edited by: tas.nix on Mar 20, 2011 10:28 PM
If you want to add a simpel text field to the report, look at the attached code snippet:
ISection sectionToAddTo = oReportClientDocument.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0);
// Create the text object
TextObject oTextObject = new TextObject();
// Create the paragraph elements for the text Object
Paragraphs oParagraphs = new Paragraphs();
Paragraph oParagraph = new Paragraph();
ParagraphElements oParagraphElements = new ParagraphElements();
ParagraphTextElement oParagraphTextElement = new ParagraphTextElement();
// Set the text value for the text field
oParagraphTextElement.setText("This is a text field");
oParagraphTextElement.setKind(ParagraphElementKind.text);
// fix some wierd defaults and behavior by explicitly setting default font
FontColor newFontColor = new FontColor();
Font newfont = new Font();
newfont.setBold(false);
newfont.setName("Arial");
newFontColor.setIFont(newfont);
oParagraphTextElement.setFontColor(newFontColor);
oParagraphElements.add(oParagraphTextElement);
oParagraph.setParagraphElements(oParagraphElements);
oParagraphs.add(oParagraph);
oTextObject.setParagraphs(oParagraphs);
// Now add it to the section
oTextObject.setLeft(8000);
oTextObject.setTop(1);
oTextObject.setWidth(1911);
oTextObject.setHeight(226);
oReportClientDocument.getReportDefController().getReportObjectController().add(oTextObject, sectionToAddTo, -1);
Similar Messages
-
I'm trying to add a playlist manually to my iPhone 4. It won't let me because it's trying to delete all of the music currently on my iPhone. Is there any way to prevent this from happening in order to start manually updating it?
Are you leaving the box unchecked to Manually manage music & videos? You don't need to to add anything to the iPhone.
Simply drag the playlist to the iPhone to manually add it. -
I am trying to add music on my Iphone 4S without deleting my current music list
I am trying to add music on my Iphone 4S without deleting my current music list
See this user tip: Recovering your iTunes library from your iPod or iOS device.
tt2 -
I have garage band ver 10.0.2 and am trying to add effects to an audio track but i have no info button or track info under the track tab. How do i get these things to show up on my program?
In GarageBand 10.0.2 you can no longer add all kinds of effects freely; this GarageBand '11 feature has been discontinued. Pick one of the predefined patches that already has the effects you want.
However, you can add effects from the predefined audio units.
You'll see the predefined effects on the track, when you open the Smart Controls. To add audio units, click the button and enlarge the the smart controls pane by dragging the dividing line to the Track Area upwards. -
What do I need to do to get my music from my itunes library onto my phone? I originally added music from a diffnerent itues account, and now that I am trying to add from my own it will not transfer...however, in the bar on the bottom of itunes it shows that it is on my phone...but it does not display anywhere else and I cannot find it in my phone. Do I need to connect to the original itunes account and delete that music in order for my library to show?
As you connect your ipod to iTunes, an option in the upper right of the screen will appear. When you click this, it will show the different menu for your ipod.
-
I am trying to add a second email/work email to my iphone and can't get it added...anyone have any ideas?
Talk to your IT department and make sure you have the correct settings.
-
I get error message when trying to add key tags
I get error message when trying to add key tags
You should always backup your iPad before ever doing anything major that coould result in a catastrophic loss is something goes wrong. You can then usually restore from the backup when your iPad has recovered.
You should also be sure to have transfered any new purchases directly to your iPad to the iTunes app on your computer on a regular basis. -
My camera can be set to record as motion JPEG or light AVCHD. It was set for AVCHD. Could that be affecting it? If so, can you think of any way I can load these. I am trying to add them to an IMovie I started from a different source.
Stevomacrocket wrote:
I had this problem.
The answer is to close iphoto (you might have to force quit iphoto if it starts automatically when you connect the camera or insert the SD card) and open imovie.
Imovie then presents an import page which easily imports the video into imovie.
It is a real bad idea to "force Quit" iPhoto - if it has any update activity going on that you interrupt you can corrupt your library an close data or even photos - Force quit should ONLY be used in an emergency where there is no other alternative and you are positive that nothing is going on in iPhoto
LN -
I guess it has been a year since I last purchased something on I-tunes and my account is saying that they couldn't authorize my card for some of my purchases. I am trying to add a new credit card to clear this up and it keeps saying that I have to enter a valid security code. I have tried 2 different cards and I get the same thing. I have also added an I-tunes gift card and that isn't clearing up the money that I owe. It is showing that I have a $25 credit for that. How do I fix this, I have been trying for days and all I have got from the e-mail tech support is that its my credit card issuer that is causing the problem. Thats not correct because one of the credit cards that I am trying to use, is a prepaid Visa gift card. I know that these work on I-tunes because I have used them before in the past. I am getting very frustrated with this whole process, I just want to clear up my account and buy some new music!! HELP!!
You probably ran into blocks & locks.
iTunes Store Support
http://www.apple.com/emea/support/itunes/contact.html
They'll sort it out. -
I am trying to add a game to my sons I touch pad. It is a free game. It asks for verification of password and credit card info. Every time, it tells me that my time has expired. Help.
It asked me that too.Don't worry and just put it in. Itunes doesn't charge unless your son buys something. The password happens to me all the time. Credit card was only once. Just make sure your son knows not to buy anything without permission so he doesn't accidently charge you something.
-
I have been trying to add my iPhoto Library to files for time machine backup.
I was instructed to click on the Options minus button - but it is greyed out and not functional.
What is the solution ?
Your help will be much appreciated.
Thank you.
Roberto KayYou can "see" the iPhoto library in Time Machine backups, but you cannot "open" the library or "browse" the contents while you are in Time Machine.
Apple makes you restore the entire iPhoto library to another destination...like your desktop....if you want to retrieve a few older images that you may have deleted by mistake.
This is a convoluted mess, but unfortunately, that is the way it is.
See Pondini's excellent, detailed information on this:
http://pondini.org/TM/15.html
You might also want to post in the iPhoto support area to see if the experts over there might have a workaround for you. I cannot find one, but I'm not an iPhoto expert.
iPhoto -
QtCreator hangs while trying to add files to a project
Hi everyone.
When I'm trying to add existing files to my current project (or even create new project) a file manager window appears to choose a file/folder. No matter what I do (ok, cancel, etc) this window won't close, and it also hangs the whole qtcreator.
What's wrong with it?
qtcreator 3.3.0-1
DE - cinnamon 2.4.6-1
Thanks in advance.
Last edited by mkdy (2015-01-28 19:03:32)Downgraded following packages to older versions:
qt5-base-5.3.2-2-x86_64.pkg.tar.xz
qt5-declarative-5.3.2-2-x86_64.pkg.tar.xz
qt5-quick1-5.3.2-2-x86_64.pkg.tar.xz
qt5-quickcontrols-5.3.2-2-x86_64.pkg.tar.xz
qt5-script-5.3.2-2-x86_64.pkg.tar.xz
qt5-sensors-5.3.2-2-x86_64.pkg.tar.xz
qt5-tools-5.3.2-2-x86_64.pkg.tar.xz
qt5-translations-5.3.2-2-x86_64.pkg.tar.xz
qt5-webkit-5.3.2-2-x86_64.pkg.tar.xz
qtcreator-3.2.2-1-x86_64.pkg.tar.xz
Works fine now. -
I was trying to add an itunes library to my computer, and now my itunes library can not be found. An ipod can be synced with only one iTunes library at a time. How can I find my Itunes library, complete with playlists ?
I have the same problem too and tried alot of things like time zone , restarting or changing DNS of wifi connection to 8.8.8.8 still nothing happens .. !!
iPhone 5s, iOS 8.3 -
I have four devices on one Apple ID, i have seperate emails and phone numbers for each device but when I tried to add one to my iPod, it said that the email was already in use. I have tried many things and the only guess I have is that either someone else has this email as their iMessage but is fake or it wasn't taken off my old iPod when I reset it. Any ideas on what to do?
Thanks but that doesn't give me the information I need. I am putting an email on my ipod for people to contact me for iMessage and FaceTime but when I put the email in, it gives me an error saying that the email cannot be veirified because it is already in use. My Apple ID can be varified, just not the email that they will contact me with.
-
I am trying to add my sons email address to our family apple id but it says that it already associated with another apple id. How can i find out what the apple id is and take his email address off that one?
You may be able to find your Apple ID at Look up your old and forgotten Apple ID
Maybe you are looking for
-
How to display a time greater than 24hrs?
Hi all I am trying to create a wages tracker by entering start and finishing times for each day, working out the time worked and then adding it all together to get a weekly value. This works fine and if I have 5 days at 9hrs it correctly gives me 45h
-
X200 Fan Issues with Windows 7
Hi all, I've just done a fresh install of Windows 7 Ultimate 64-bit onto my X200, and everything works great except for 1 thing - the fan constantly runs and doesn't stop at all as long as the laptop is on. I've seen a few other posts of other X200 o
-
Dataprovider loose mapping to queries and infoprovider after transport
Hi Experts, I have collected all relevant query elements and work sheets and transported them into productive BI system. When executing the work sheets in BEx Analyzer, they simply don't work due to lack of variables. When I changed to design mode, I
-
How to upload a file into specified location
Hi Frndz.. How to upload a file using File upload feature in web dynpro into our specified location(usr/sap/Images/....),not into workspace r default path in server. Thanks in Advance Regards Rajesh
-
Does playing my ipod on the car stereo with USB hurt the battery of the ipod?
Just curious if when playing the ipod on the car stereo using the usb plugged into the stereo unit will cause the battery life to shorten since it is seems to be charging the ipod. Or does the ipod have a regulator that stops the charging once the b