FOP and float

Hi All,
I've just started looking into using FOP for generating PDFs from classes in my java code.
I first had a go with the Apache's FOP engine. The problem I had with this one is that the Float attribute is not yet implemented in this engine.
What im trying to do is to "float" an image on the left hand side and have some text/image aligned next to it (Im trying to do things you normally do when using float).
My questions is:
* Are there any other way to achieve what float does, providing you are using the Apache Fop Engine.
Next task for me is to generate a table of content. Still haven't looked into that and I don't know to what extent Apache supporting this.
Ps. I know that RendeX has got a really nice FOP Engine, which implements all of the attributes(i think) from the XSL1.0 spec. However, this product doesn't come too cheap.
Thanks for any suggestions,
Erik

Heheh
Sorry, Well I did find it (but using altavista :) )
Anyway, You don't know any workarounds for floating text around an image using Apache?
The problem is that I need to have text align next to a logo. This must be problem more people are facing when they are using Apache.
Cheers
Erik

Similar Messages

  • Pack  and Floating Point Data Type in ABAP

    Dear All,
    I am new to ABAP. Started with data types. Came across pack and floating point.
    Please let me know what PACK  and Floating Point stands for with few examples and the main difference between them.
    Regards
    Arun V

    Hi,
    You'd better ask this question in ABAP forum http://forums.sdn.sap.com/forum.jspa?forumID=50 .
    Best Regards,
    Ada

  • Inline and floating locked in portrait view

    My photo book was rejected today because it's not viewable in portrait format.  My intention was to have the book ONLY be viewable in landscape format and that it's more than obvious that you need to turn the pad to landscape to view it–the thing is primarily composed of landscape-format images!
    I saw in today's "disappearing shapes" thread that you need to edit in portrait and layout in landscape, so I'm trying out that approach.
    In portrait mode, I can't get an image to appear in the text column, only as a thumbnail in the left margin.  Inline and Floating are greyed out, only Anchored is available.
    How can I unlock these?  Will that allow me to place the images in the text as in Landscape format?
    Thanks.

    Never click on anything like that and resubmit.
    Test it on a device first.
    Testing it goes without saying, right?  Seems to work.  You saved me a ton of work redesigning a compromised layout.  If I could give you doube bonus points I would! 
    So by clicking disable portrait view it will force the landscape layout to resize smaller to fit portrait view like a pdf does?
    No idea what that means, sorry. How could something resize from something it doesn't do...
    Where did you learn that iBA's portrait view supports PDFs?
    I was talking about looking at a PDF version of this book in iBooks.  When you rotate the pad the landscape image simply rotates and resizes.  Disabling portrait in .iba just locks the book in landscape no matter how you turn the pad.  Perfect for my needs.
    Thanks for your help.

  • Managing petty cash float and float-reimbursement

    HI
    I want to know best functionality in Oracle EBS to Manage petty cash float and float reimberstment.
    I am looking at comprehensive solution in oracle EBS for petty cash requirements. Such as expense reimberstment to employees in the organisation as well as manging float and float reimberstment.
    I have checked Internet expense functioality and i feel most of the expense reimberstment to employees can be done through iexpense and AP
    However I want to know best functiolaity in Oracle EBS R12 for the process of managing petty cash float and float reimberstment.
    Thanks

    Guyz,
    Unfortunately there is no standard functionality available in Oracle EBS for handling Petty Cash. But there are some Workarounds i recommend to my clients depending on the level of detail they require
    Either you create a Petty Cash Supplier
    and second workaround is creating a Petty Cash Bank.
    Or a Fusion of both.

  • Precision loss - conversions between exact values and floating point values

    Hi!
    I read this in your SQL Reference manual, but I don't quite get it.
    Conversions between exact numeric values (TT_TINYINT, TT_SMALLINT, TT_INTEGER, TT_BIGINT, NUMBER) and floating-point values (BINARY_FLOAT, BINARY_DOUBLE) can be inexact because the exact numeric values use decimal precision whereas the floating-point numbers use binary precision.
    Could you please give two examples: one where a TT_TINYINT is converted to a BINARY_DOUBLE and one when a TT_BIGINT is converted into a DOUBLE, both cases give examples on lost precision? This would be very helpful.
    Thanks!
    Sune

    chokpa wrote:
    Public Example (float... values){}
    new Example (1, 1e2, 3.0, 4.754);It accepts it if I just use 1,2,3,4 as the values being passed in, but doesn't like it if I use actual float values.Those are double literals, try
    new Example (1f, 1e2f, 3.0f, 4.754f);

  • Should I save memory by using byte, short and float?

    Our teacher tells us always to use int and double. But what if I don't need such precision or large values?
    Shouldn't I use byte, short and float instead?

    You don't save any memory if you use floats instead of doubles in a method. These variables only exist on the stack when the method is executing. Also remember that Java may do type conversions from float to double in expressions. This may make your code slower.
    If you have a class with large quantities of doubles, for example an array of 100000 doubles, then you may consider using floats, because the memory saving is substantial. If you access the array from outside the class via double methods you can easily do this change local to the class late in the development process.
    I'd say generally it's better to do as your teacher says and standardize on doubles and integers. If you write your program well you can always optimize later if you have to.

  • Apache FOP and encoding

    Hi,
    I'm using FOP as reports PDF renderer, but experience a problem:
    The document is rendered correctly from HTMLDB (I can read the XML, it's UTF-8 encoded).
    The JSP file has enconding conversion set to UTF-8 as well.
    When the document returns from FOP the national characters has been replaced...
    Does anyone know how to set this up? (Until now I used the examples included with the download).
    Regards,
    Henrik Neumann

    Hello,
    Most likly the problem is that you do not have the proper fonts in your environment to render those fonts. I know there is a way to do it but I don't know how off the top of my head. Look on google for FOP and fonts and you should fond something pretty quick.
    Here's something I found real quick. http://xmlgraphics.apache.org/fop/fonts.html
    Remember google is your friend.
    Carl

  • Dreamweaver and floating dialog

    Dreamweaver and floating dialog. You see it on a lot of websites. I am not sure if this done in JavaScript or JQuery. I was wondering if someone can point me to a sample of doing this. I need to incorporated JavaScript and JQuery into my pages .

    <!doctype html> 
    <html lang="en">
    <head>
      <meta charset="utf-8">
      <title>jQuery UI Dialog - Default functionality</title>
      <link rel="stylesheet" href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css">
      <script src="//code.jquery.com/jquery-1.10.2.js"></script>
      <script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
      <link rel="stylesheet" href="/resources/demos/style.css">
      <script>
      $(function() {
      $( "#dialog" ).dialog();
      </script> 
    </head>
    <body>
    <div id="dialog" title="Basic dialog">
      <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
    </div>
    </body>
    </html>
    Also refer to the Documentation:
    Dialog Widget | jQuery UI API Documentation
    Nancy O.

  • Time and float masks

    Hi everyone,
    I got a question, is there anyway to use a mask to time and float values using CSS or maybe another way?.......what i mean is that i wolud like to show time in a outputtext like 10:20:09(hh:mm:ss) but this value stored in a db like a String 102009, and the same thing with floats like 120,000,000.89 but stored like 120000000.89.......
    Thanks in advance
    Santiago

    Joachim i don't know if you can give a hand....i checked what you tell and I can parse a String to date format without milliseconds......but i only need the time, but it gets me the entire date....i checked for the method getTimeInstance() but it returns the same....i'm trying some like this....i hope you could give me a hand
    DateFormat a= new SimpleDateFormat("kkmmssSSS");
    a.getTimeInstance(DateFormat.SHORT);
    try{
          Date pase = a.parse("120350123");
          pase=pase;
          System.out.println(pase);
    }catch(Exception e)
               {}that code returns me Thu Jan 01 12:03:50 GMT-05:00 1970 and i just need 12:03:50 with the milliseconds
    Thanks in advance,
    Santiago

  • What does Little Endian and Floating Point actually do?

    Exporting audio to video using Linear PCM format brings along two mysterios options called "Little Endian" and "Floating Point". I did my research but all I could dig out was that the first one, Little Endian, has to do with addressing subcomponents of a file etc.
    Does anyone know what these two actually mean in terms of exporting audio and why do I only see them in logic and not in Protools for example?
    Thanks...

    Big Endian is most significant byte (bit) first, Little Endian is most significant byte (bit) last. When we write down a number, we use big endian: one million threehundred and twentyfivethousand ninehundred and fiftyfour we'd write as 1 325 954. in little endian notation that would be 459 523 1.
    I don't know why they show up when exporting audio to video, maybe it is to adaprt the audio to some other (older?) formats?

  • How to input char and float

    hello,
    I'm working in Linux platform.I'm new to Java programming ,will u help me to input char and float variables?
    and also will u tell me how to clear the screen(just like we do system("clear"))
    thank you
    anchal...

    hello,
    I'm working in Linux platform.I'm new to Java
    Java programming ,will u help me to input char and
    float variables?If u want to input variables from a properties file look at the class java.util.Properties(http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html)
    If you want to read user input from the keyboard look at System.in (http://java.sun.com/j2se/1.4/docs/api/java/lang/System.html#in)
    and also will u tell me how to clear the screen(just
    like we do system("clear"))
    thank you
    anchal...
    for( int i = 0; i < 25; i++ )
      System.out.println();

  • Integer and floating ponit

    we have developed a program. In the schema, a course objective is related a course outcome via integer (weighted scale). Now, we want to make this relationship flexible, so, course objective can be related to the course outcome via a flexible point.
    Is there any easy way to do the above. Thanks for your help.

    I still not understand your question. ( I think nobody understand you too)
    However, here is my guess, and try to answer your question.
    ( Since this is "guess", the answer may-be not related at all ... )
    It seems to me that you are using interger (value) somewhere, like on
    return type, input parameter, class's field, or local variable, (and in some calculation statement )
    Now, you try to make it more flexible, by using "float" ( or double) instead of integer.
    ( or you want you can use either way, integer and float )
    If that is the case, it depends on how "extend" you want.
    (1) If you can ignore the decimal point value, you can simple cast the float to integer.
    The modification should trivail, but I think, you like "extend" to float, because,
    integer is not enough precise for you ...
    Then
    (2) Sorry, there are no esay way, if this happend in input parameter, you can overload
    the method. if this happend in local/class's variable .. etc this should esay to fix too.
    But if this happend on return type ... you may need create other method.
    ( java does not allow overload method if only return type is different )
    Well, I hope I am guessing right your question and the answer is what you are waiting for.

  • Problem Integer and Float

    Hi all,
    i am having a problem in comparing a integer with a number
    (float and double).
    can any one help me in showing how we can Differentiate a
    integer and float or double in flex.
    Thanks
    Maaz

    You can check what type a value is with the 'is' operator.
    if (someVar is Number) do something;
    else if (someVar is uint) do something else;
    You can compare them with standard comparison operators: ==,
    <, >
    You can convert a Number to an int or other type:
    var someInt:int = int(someNumber);
    This conversion will simply truncate the decimal portion of
    the Number. If you need rounding, you will need to use the Math
    round function.
    Vygo

  • Number and Float  column size

    What's the size limitation on the NUMBER type column, how many digits it can be?
    I need to convert the data in the column to a byte array and I need to decide how long the byte array shoud be before hand.
    Also, I need the same info for a FLOAT type column.
    Can someone help me with it? Thanks.

    see
    http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a85397/sql_elem.htm#45443
    Excerpt from the document:
    NUMBER Datatype
    The NUMBER datatype stores zero, positive, and negative fixed and floating-point numbers with magnitudes between 1.0 x 10^-130 and 9.9...9 x 10^125 (38 nines followed by 88 zeroes) with 38 digits of precision. If you specify an arithmetic expression whose value has a magnitude greater than or equal to 1.0 x 10^126, Oracle returns an error.

  • Union two tables with diffrent count of fields with null and float value

    Hello,
    i want to union two tables, first one with 3 fields and second one with 4 fields (diffrent count of fields).
    I can add null value at end of first select but it does not work with float values in second table. Value form second table is convert to integer.
    For example:
    select null v1 from sessions
    union
    select 0.05 v1 from sessions
    result is set of null and 0 value.
    As workaround i can type:
    select null+0.0 v1 from sessions
    union
    select 0.05 v1 from sessions
    or simple change select's order.
    Is any better/proper way to do this? Can I somehow set float field type in first select?
    Best regards,
    Lukasz.
    WIN XP, MAXDB 7.6.03

    Hi Lukasz,
    in a UNION statement the first statement defines the structure (number, names and types of fields) of the resultset.
    Therefore you have to define a FLOAT field in the first SELECT statement in order to avoid conversion to VARCHAR.
    Be aware that NULL and 0.0 are not the same thus NULL+0.0 does not equal NULL.
    In fact NULL cannot equal to any number or character value at all.
    BTW: you may want to use UNION ALL to avoid the search and removal of duplicates - looks like your datasets won't contain duplicates anyhow...
    Regards,
    Lars

Maybe you are looking for

  • F110 - Message Payment proposal could not be carried out

    Hi All, Need help.. In the F110 Payment proposal when executed is showingh error Payment proposal could not be carried out. The log says " Overlap with payment run 25.02.2009 DOREE     .... the execution of the payment program is terminated     . I c

  • Custom report and encrypted fields

    Hi, I am writing a report that display all the Database IT resources in OIM system along with their connection URL, there is no input to the report and the output is just the name of the It resource and URL. The report works fine but the result is en

  • Generate and display pdf doc on the browser on click of a btn - struts/iTex

    Hi all I am using iText to generate a pdf document. My challenge is to upload the file as it is generated on the browser without letting the user click again. So basically cannot use Formfile provided by Struts to upload. Has any one tried uploading

  • My music is GONE!

    I updated to iTunes 7 but when I try and access iTunes or any of my saves music files the file is either empty, or I receive an error message that says: The iTunes Library.itl file cannot be found or created. The default location for this file is in

  • Problem synchronizing the illustrations.

    With the new iTunes, I can't synchronize the albums illustrations on my iPod touch. Do you have the same problem?