Dynamically changing the size of KM document IView.

Hi All,
At present the framework page has 3 KM document Iview. All iviews are calling HTML files. Now if the content in HTML file increases, I get an scroll bar for that Iview. Also based on the resolution of the screen I get the scrollbar. e.g I have fixed the height of the iview to say X for a resolution 1024 * 768 where in no scroll bar appears, now if I choose 1280 * 1024 resolution, iview appears with both horizontal and vertical scroll bar.
I tried to change the height type as automatic and the minimum height in pixels as 0 and maximum as 1000, then the iview it self disappears i.e it is taking the minimum height.
Now in my scenario based on the requirement the HTML content will change but instead of automatically adjusting display height of the Iview, it is taking hte minimum height mentioned. 
How can I display the IView without scroll bar appearing if the content of the HTML is changing or the screen resolution is changing.
Thanks
Namit

Hi Namit,
The KM doc iview is just like a container for storing and The horizantal scroll bar apperas as and when the content gets bigger than the container.
One option would be to write a small iview with an imbedded iframe pointing to the KM doc, where the width, height comes from profile attributes. This would remove the option of horizontal bar. Coming to height , Set the height type of the iView to Automatic OR if that doesn't work because of domain issues then set it to fixed and in addition set the iview height to the height of the image + 10~20 px more..
Hope this helps you.
GoodLuck!
Regards,
Shaila

Similar Messages

  • Changing the size of a document in Pages?

    How can you change the size of a document in pages? I need to change a poster size document to 8.5 x 11?

    Nevermind. Found it! Sorry, new to Mac

  • Dynamically change the size of a text field.

    Is it possible to change the size of a text field depending on the amount of text in the field?
    Thanks,
    Chad

    You can find the answer from this post.
    jimmypham, ""Shrink to Fit" - Text Field capability?" #1, 18 Jul 2005 10:36 pm

  • Dynamically changing the size of a JPanel

    Hi All,
    I am loading multiple images in a JPanel. I want the size of the JPanel to increase dynamically as and when the images are loaded. I have also added a JScrollPane and added the JPanel to this JScrollPane.
    However, the images are cut as soon as it crosses 800 pixels (which is the preferred size of the JScrollPane and it starts to give me NullPointerExceptions where I try to access the image height and width. Here is the code that gives me the problem. The files are opened using the filechooser and put into a Vector, which is then retrieved in the paint() method and rendered to the panel.
    CurrentScreenSize is a Dimension that stores the value of the current screent size that the image pane should have.
    imagePane is the JPanel that contains all the images.
    //File | Open action performed
    void jMenuFileOpen_actionPerformed(ActionEvent e) {
    //Handle open action.
    if (e.getSource() == jMenuFileOpen) {
    fc = new JFileChooser();
    //Filter out only image files (uses Utils.java and ImageFilter.java)
    fc.addChoosableFileFilter(new ImageFilter());
    fc.setAcceptAllFileFilterUsed(false);
    fc.setMultiSelectionEnabled(true);
    int returnVal = fc.showOpenDialog(MainFrame.this);
    if (returnVal == JFileChooser.APPROVE_OPTION) {
    File[] files = fc.getSelectedFiles();
    //This is where a real application would open the file.
    int x=10, y=50;
    for(int i=0;i<files.length;i++)
    try {
    Image tempImage = ImageIO.read(files);
    image.add(tempImage);
    if(tempImage.getHeight(this) > currentScreenSize.getHeight())
    currentScreenSize.setSize(currentScreenSize.getWidth()
    + tempImage.getWidth(this),
    tempImage.getHeight(this));
    else
    currentScreenSize.setSize(currentScreenSize.getWidth()
    + tempImage.getWidth(this),
    currentScreenSize.getHeight());
    if (imagePane.getSize().getWidth() <
    currentScreenSize.getSize().getWidth() ||
    imagePane.getSize().getHeight() <
    currentScreenSize.getSize().getHeight())
    imagePane.setSize(currentScreenSize);
    this.pack();
    //repaint();
    catch (IOException ex) {
    ex.printStackTrace();
    //When all images are loaded then paint it / display it
    repaint();
    public void paint(Graphics g){
    int x=10, y=50;
    super.paint(g);
    g = imagePane.getGraphics();
    for (int j=0; j<image.size() ; j++)
    Image img = (Image)image.elementAt(j);
    int imageWidth = img.getWidth(this);
    int imageHeight = img.getHeight(this);
    g.drawImage(img, x, y, imageWidth, imageHeight, this);
    x = x+imageWidth;

    got the Solution, using validate() method does the work under the hood.

  • In MAC, I want to change document size from 8.5X11 to 18X24 to create a poster to print through Staples. I created the doc originally in WORD, changed the size in WORD, converted to PDF doc. But PDF doc is still in 8.5X11. Read ADOBE support help info. Te

    In MAC, I want to change document size from 8.5X11 to 18X24 to create a poster to print through Staples. I created the doc originally in WORD, changed the size in WORD, converted to PDF doc. But PDF doc is still in 8.5X11. Read ADOBE support help info. Terls me to change size in application rather than printer. BUT ACROBAT Pro does not give me a page set up option in FILE. I can only find one in the printer dialog box. Help!

    from the FAQs on Staples website:
    I have a file that I know is a PDF, but the website claims it is not in a PDF format. What should I do?
    Check to see that the file has the .PDF extension. Also, check that the filename does not have any special characters such as an ampersand (“&”).
    Regarding your measurements set to centimeters rather than inches; is it just in MS Word?
    Or does it occur in all other applications.
    Check your Work preferences first:
    If it is happening in all your applications, check your Mac OS System Preferences.

  • How do you change the size of a photo in a document?

    Hello
    I've pasted a photo into a document I'm typing but the photo is too big.  How do I change the size of the photo?
    Thanks

    TextEdit is not a very sophisticated program. As far as I know, there's no way to resize an image on the fly in TextEdit, so you'll have to follow Shotgun00's advice.
    I would advise not using TextEdit for anything real. Buy yourself a copy of Pages from the App Store instead, you'll be much happier with its capabilities if you intend to create complex documents containing images and text.

  • Dynamically change in size of the custom container using ALV GRID (OOPS)

    Hi Gurus!!!!
    I have an issue with the output of the report which is developed using ALV GRID (OOPS). I have used the custom container occupying full screen (Screen painter). When I execute the report using my PC the output displays report as expected in full screen. The problem is when we execute this report in 19 INCH monitor then there is always gap below the report.
    As per my understanding we should have a code to change the size of custom container dynamically.
    Please suggest some help on this.
    Thanks,
    Hemal Shah

    Hi,
    If you set the attributes, Resizing - Vertical and Horizontal for the customer container, than system will resize the size of the custome continer as per the resolution.
    Hope it helps,
    Sumana

  • Dynamically change the document when the user opens it through a PDF Portfolio

    Hello
    I'm generating a PDF Portfolio using LiveCycle PDF Generator. I need to dynamically change the document that is presented when the user opens a PDF portfolio.
    Can anyone give ideas on how to accomplish this using the portfolio and navigator API?
    Thank you

    That was it. What an operating system. It is very helpful to view files you are looking for. But if you have preview on you cannot save files.

  • Troubles by changing the size of a bookmark header text Repot generation Toolkit

    Hello everyone
    I'm having  troubles getting the size of  a header text formatted into a different font size, I attach the code I'm using to get the work done.
    At the end I get all I want from the report generation toolkit but the text size in the header and footer . Does Anyone have a clue?
    Well the image is too small I'm getting an error when I try to post a bigger one. The thing is that the VI's used here to change the size are append report text.vi and format text.vi. The first one is used to insert text through bookmarks in the header and footer  (it works just gereat) and the second one is intended to change the size of the inserted text (it doesn't work at all) I've already used shift registers in the for loop but I get the same results. The last VI is dispose report.vi
    thanks in advance
    Attachments:
    Maquina Etdos Verifica Reporte.vi ‏94 KB

    Hello Julio9,
     sorry for the waiting I had to clean the block diagram up and take into account some data security issues before I could post the information you asked me to. I have to tell you that I already came out with a patch for the issue nonetheless it is not the correct way to solve it and I would appretiate if you or anyone else could help me to do it right.
    Here is what I changed:
    In my code at the Initialize state (within the state machine) there is the New Report.vi I opened it to get also the new report SubVI.vi opened, afterwards I selected the NI_Word.lvclass: new report subvi.vi and opened it in its code yoou can easly see the double numeric constant value for the size of the text inserted as default. I just changed it from 12 to 8 to correct the formatting. As the outcome all the text inserted through the bookmarks have the default size (8 pts). 
    I attached the new version of my code with all the documents you will need. Please follow these steps:
    1.-Open the project named Verifica Temperaturas 2010.lvproj
    2.-Run the main vi named Maquina Etdos verifica reporte 2.vi
    3.-Check the option Laboratorio de Refrigeradores:
    4.-Click OK
    5.-Complete the information as shown:
    (For Selecciona Machote pick the word document named Document.doc attached in the .zip file. For the Selecciona Archivo de temperaturas pick the Estacion1_21-02-2012.txt file also attached in the .zip file)
    6.-Press Siguiente
    After completing the steps you'll see how the document in created. As expected the size of the text in the header is 8 pts.
    Attachments:
    Verificacion_Camaras.zip ‏359 KB

  • Globally change the size of multiple imported PDF's in InDesign

    I just used a script to import a 1,299 page PDF document.  I wish to change the SIZE of all the PDF's that I have imported.
    Do I have to go to each page (1,299) and manually change the size?

    Don't know waht script you used, but I recommend this one: InDesignSecrets » Blog Archive » Zanelli Releases MultiPageImporter for Importing both PDF and INDD Files
    It allows you to set the scaling when you run it, and it will be one heck of a lot faster to just run the script again on a new file than to go back and manually scale 1299 PDF pages. The other option might be to find a script that can  find the already plced pages and scale them, but I don't know of one that's already availble. You could ask over in InDesign Scripting

  • How to change the size of cursor

    How to change the size of cursor  in flash,when we use dynamic text box or input text box the cursor is covering the whole height of the text box.is there any way to reduce the size of cursor

    In input text box while entering some value, the blinking of cursor is covering the whole text box,
    When i use the code
    Selection.setFocus(instance name of text)
    The cursor blinking is covering the whole text box height

  • How can i change the size of PDF files ?

    how can i change the size of PDF files? when i convert documents in the acrobat browser it seems the files become larger then normal pdf files, this is, i compare with other files that people send to me and i realise that they are smaller than my converted files, even if they have more pages.

    A lot depends on the form of the PDF. Is it graphics, a scan of a text file, pure text, or other? What version of Acrobat are you working with.
    You can do a save as to get a WORD file, but do not expect great results. The ability to get a decent WORD file depends on what the form of PDF you are working from. If it was created from WORD with tags and all, you might get good results. If not, you might get a lot of messed up results.
    Explain what you are starting with and your ultimate goal. Also check the audit of the file (should be under PDF Optimize) to see where the file information is concentrated (text, fonts, graphics, other).

  • Dynamically changing the flatfile name..

    Hi friends,
    I 'm Getting data from 30 Flat files...all are with same structure but different data.. .. all these files are now in Application server...
    now i want to upload data into with a single DataSource and to ODS with process chains..
    so, how can i dynamically change the file name in Data Source level.. i saw previous threads.. in that.. through Routines.. we can solve this problem.. but I dont know ABAP code... so, can any one plz give me the exact code.. what i have to write...exact coding..
    <b>
           I already post this question in forums.... but evry one gave different options.. some  one gave the function module..
    BAPI_IPACK_CHANGE    and BAPI_IPACK_START.
      and some one gave  other function module.. like .. EPS_GET_DIRECTORY_LISTING
    i tryd for All these options.. but i'm not getting the exact solution... even i'm unable to pass the parameters also.. beacuse.. in that function what parameters can i pass....</b>
    can u plz suggest me the solution..
    Thanks
    Babu

    Hi  Friends,
      for the above requirement i had write the bellow coding in the routine.. it is working.. but the problem is.. it was loading  only  the last file..(30 th file  data only..)
    data : z1(50) type c,
             z2 type c,
             z3(50) type c,
             z4(50) type c.
             Z2 = 1.
       Do 5 times.
              z1 = 'C:\Documents and Settings\e10035\Desktop\'.
              z3 = '.csv'.
              concatenate z1 z2 z3 into z4.
              p_filename = z4.
              z2 = z2 + 1.
        Enddo.
    SO, CAN YOU PLZ SUGGEST ME.. when ever the file name was changing in the loop.. that automatically should load into the  PSA ..
    plz... plz.... help regarding this..
    Bbau

  • HT2523 how can i change the size of the picture i have copied and paste

    how can i change the size of the picture i have copied and paste

    If this question is about TextEdit, I don't think you can do it in TextEdit, after pasting the image.  TextEdit is meant to be a basic text editing program.
    You will have to open the image file in an image editing application.  You can use Preview for doing this, or something more fancy.  If it's Preview, just open the image file.  From the menu bar, under Tools, select Adjust Size.  Make the image the desired size.  Then, select (outline) the portion of the image you want in the Preview document window.  Copy it, and paste it into the TextEdit document window.

  • How can I change the size of the FINDER bar so that I can make it easier to read on the 27 inch monitor.

    How can I change the size of the FINDER toolbar so that its eaier to read i.e. make the text bigger.
    How can you move the orientaion of the left side menus so that they sit above a document when using word. If you have a single document open you tend to place it in the centre of the screen and the drop down menus are so far away.

    I don't know of a way to change the size of the menu bar.
    For the other, take a look at Menu Pop. I don't know anything about it. Just happened across it the other day.

Maybe you are looking for