Change font size of an table with javascript

Hello!
i am new to developing in javascript as well as to indesign. i have to make a few changes to an existing script. in a user dialouge i get the font size in which the imported table should be. but how can i change the font size of an table???
please respond as soon as possible. thanks very much in advance.
moketas

Hi
do you want do like this (rightside) ?
To apply font to each cell, you must access TextFrame => Table => Cell => any TextObject
var doc = app.documents[0];
// two textframes, they have a table (2x2)
var tf_one = doc.textFrames[0];
var tf_two = doc.textFrames[1];
//applied to story
tf_one.parentStory.appliedFont = "Myriad Pro\tLight";
tf_one.parentStory.pointSize = 24;
//not effective against table text
//applied to text-object of each cells of table
tf_two.parentStory.tables[0].cells.everyItem().texts[0].appliedFont = "Myriad Pro\tBold";
tf_two.parentStory.tables[0].cells.everyItem().texts[0].pointSize = 24;
thank you
mg.

Similar Messages

  • How to change font size in a table?

    How to change font size in a table without using the font style of another document?  Please show a sample script.  Thanks!

    Hi Dave,
    Thank you so much for the email.  I tried every object and method I can
    posibly think about such as
    myTable.Rows.Item(1).PointSize = 24
    myCell.Characters.Item(1).PointSize = 24
    I got error message all the time.  These objects don’t support PointSize.
    All I need is to change point size of the text in InDesign tables created
    using VBScript. Could you help me with this?  Thanks,
    Regards,
    Li

  • How to change font size, in a table component!

    Hello,i im trying to change the font size of the text inside a table component and i want to disappear the borders of the table, i was trying to achieve this using style, but this dont work, can anybody can help me with this?
    Beltazor!

    As i recall you gotta write css styles that overide the default behaviour. There's a tutorial on the subject.

  • How do I change the font size in iPod touch with iOS 6.1.3?Thanks

    How do I change the font size in iPod touch with iOS 6.1.3?Thanks

    I have an custom app that I want to change the size of the fonts cause the app font size is too long so i cannot see the whole sentence. thanks.

  • Easiest way to change font size/color with CSS?

    I've never used CSS before; I need to know how to change the font size and color using CSS, since it seems to be the only way to do it now. Sometimes I just need to change the font just for a few words, or a line here and there. Not necessarily page-wide, you understand. Is there a step-by-step process showing the simplest way to accomplish this? I'm not a web developer or professional designer, nor do I want to be. I just use DW to build simple web sites for personal use. I don't build using HTML - I solely use DM's GUI functions. And I'm also trying to teach my nine year-old how to start out page-building. I certainly hope that something as simple as changing font size doesn't require one to buy a book to learn HTML, which seems to be what a lot of people are telling me. Thanks for any assistance.

    Easiest is not always the best way.  You must learn the fundamentals. 
    CSS
    /**this styles all paragraphs in your site**/
    p {
    font-size: 18px;
    color: #000;
    /**This is a class.  Classes are re-usable**/
    .red {
    color:red;
    font-weight:bold;
    HTML:
    <p>This is a normal paragraph</p>
    <p class="red">This is a red paragraph</p>
    <p>This is a normal paragraph with <span class="red">some red text here</span> but not here.</p>
    If you're going to teach your 9yr old how to build web pages, start with the links below.
    There's no point in teaching your child bad habits that will have to be unlearned later.
    http://www.html.net/
    http://w3schools.com/
    http://www.csstutorial.net/
    http://phrogz.net/css/HowToDevelopWithCSS.html
    Nancy O.

  • I'm using firefox 6.0.2 It's making problem with Bangla font ONLY on FACEBOOK others bangli website FORNT SIZE are OK. On the FACEBOOK it shows Bangla font in a very / Too small! I change font SIZE in firefox setting but i can't solve. Pls HELP me

    I'm using firefox 6.0.2 It's making problem with Bangla font ONLY on FACEBOOK others bangli website FORNT SIZE are OK. On the FACEBOOK it shows Bangla font in a very / Too small! I change font SIZE in firefox setting but i can't solve. Pls HELP me ..

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    You can use an extension to set a default font size and page zoom on web pages.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • How to change font size of OATableBean Column Headers

    Dear All,
    I am facing a problem, senario is i am having a table layout with about 20 columns and each column header is about 30 characters long now the problem is when the table is rendered because of header font size its layout is not good looking ... is there any way that i can controll the font size of colmun headers.
    I have tried this solution provided in this forum:
    CSSStyle csNum = new CSSStyle();
    csNum.setProperty("font-size", "8");
    OAPageLayoutBean plb = pageContext.getPageLayoutBean();
    OAMessageStyledTextBean columnBean = (OAMessageStyledTextBean) plb.findChildRecursive("Description");
    columnBean.setInlineStyle(csNum);
    but it only change font size of column data not the header.
    Thanks in advance.

    Hi,
    // Get a handle to the column's header
    OAColumnBean columnBean =
      (OAColumnBean)tableBean.findIndexedChildRecursive("<columnBeanId>");
    OASortableHeaderBean colHeaderBean =
      (OASortableHeaderBean)columnBean.getColumnHeader();
    colHeaderBean.setText("<newText>");Regards,
    Gyan

  • HT201272 can someone help me with this chat session.Font Size You are chatting with an Advisor now. This chat will be recorded. At the end of the session, you can print the transcript or request a copy via email. Privacy Policy Advisor [4:49 p.m.]: Hi, my

    Font Size
    You are chatting with an Advisor now. This chat will be recorded. At the end of the session, you can print the transcript or request a copy via email.
    Privacy Policy
    Advisor [4:49 p.m.]:
    Hi, my name is Jacob. It'll be just a moment while I review the comments you provided.
    Advisor [4:49 p.m.]:
    Hello Machelle, how may I assist you today?
    Customer [4:51 p.m.]:
    Can you please help me recover the new testament of the bible from media group. The have vanished.
    Customer [4:52 p.m.]:
    I need to recover the lost purchases I made from media group. I had all of the new testament.
    Advisor [4:53 p.m.]:
    Thank you for this information, I understand that you are missing some purchases. I do want to apologize for this inconvenience. I will be more then happy to look into  this for you.
    Advisor [4:53 p.m.]:
    Would you be able to provide your Apple ID? This is the email used to sign into the iTunes store.
    Customer [4:54 p.m.]:
    [email protected]
    Advisor [4:54 p.m.]:
    Thank you, one moment please.
    Advisor [4:56 p.m.]:
    Were these individual purchases? If so could you provide the name for each individual purchase?
    Customer [4:57 p.m.]:
    yes it the new testament books of the bible
    Customer [4:57 p.m.]:
    genesis etc...
    Advisor [4:58 p.m.]:
    I apologize, but I am not exactly familiar with the New Testament. Would you be able to provide these names for me so I can locate them on my end?
    Customer [4:59 p.m.]:
    Genisis Mark Matthew Luke John
    Customer [4:59 p.m.]:
    Exodus Levitus Numbers
    Advisor [5:00 p.m.]:
    Just a quick question, were these all audiobooks?
    Customer [5:00 p.m.]:
    Duetoronomy
    Customer [5:00 p.m.]:
    Yes from media group
    Advisor [5:00 p.m.]:
    Okay, are you currently on a computer with iTunes installed?
    Customer [5:01 p.m.]:
    yes
    Advisor [5:02 p.m.]:
    Unfortunately, audiobooks and ringtones are the only items on the iTunes store unavailable for re-download through iTunes in the Cloud. What I can go ahead and do is try and re-add these audiobooks back to your download queue for re-download. Please note if they have been removed or modified on the iTunes store they may not be available for re-download. Would this be okay?
    Customer [5:03 p.m.]:
    yes thank you!
    Advisor [5:03 p.m.]:
    Excellent, one moment please.
    Advisor [5:05 p.m.]:
    I apologize but after reviewing your account, it looks like we have already issued 3 exceptions for you to re-download your audiobooks in the past. Back on 02/23/2013. I apologize but we will be unable to do another exception for you. 
    Customer [5:06 p.m.]:
    that down load did include the new books of the bible that I had.
    Customer [5:07 p.m.]:
    that down load did not have the new testament books of the bible that I had
    Advisor [5:07 p.m.]:
    While reviewing the notes, this was issued to add all available audiobooks bought on your account. I again apologize but I will be unable to issue another exception to you. As the previous advisor did inform you to make sure to back up your files.
    Customer [5:08 p.m.]:
    the other advisor did not down load the new testament books. The advisor did not restore all of the books that I had originally brought.
    Advisor [5:10 p.m.]:
    While looking closer, the books that you are missing are no longer available to be re-downloaded. This is the reason why they were not added back to your download queue when he issued them. Unfortunately, as we do not handle the content on the iTunes store you will need to get in contact with the publisher of the content as they were the ones two remove or modify these books on the iTunes store. If you would like I can provide a link to their support site.
    Customer [5:11 p.m.]:
    yes they are I saw them.
    Advisor [5:11 p.m.]:
    They may have been modified by the content owner. This will be the reason why they were not added. As Apple does not control 3rd party content on the iTunes store. You will need to get in contact with them as we are unable to re-add this content back to your download queue.
    Customer [5:12 p.m.]:
    it is I just looked at it in the itunes store
    Customer [5:13 p.m.]:
    the material is still the same. The store does have it.
    Advisor [5:13 p.m.]:
    Machelle, if the items have been modified since you bought them, they will be unavailable for us to issue them back to you. You will need to get in contact with the providers for these books as they are the content owners and we do not have access to issue these back to you.
    Customer [5:14 p.m.]:
    the are still the same bible books that I purchased at the store.
    Customer [5:14 p.m.]:
    The audio books are the same. When I buy it again nothing will be different.
    Advisor [5:14 p.m.]:
    Machelle, I understand this. This is what our records are showing. When the previous advisor tried to re-issue them to you they were unable to as they have been modified on the iTunes store.
    Advisor [5:15 p.m.]:
    In order to receive further support for this issue you will need to get in contact with Media Group as they are the content providers for these audiobooks.
    Customer [5:15 p.m.]:
    I will buy them from another source. Don't say they have changed. The books are the same books I brought. They are at the store.
    Advisor [5:16 p.m.]:
    Machelle, Apple does not handle the content for 3rd party publishers on the iTune

    MoonSwan wrote:I've never heard of a validating editor but I was recently wondering what exists that could help me.  Aside from emacs, what should I search for to find one of these validating editors?
    You can use whatever tool you prefer - for someone already using emacs, emacs is a natural choice. Simple, easy to use online tools exist e.g. http://schneegans.de/sv/
    Just upload the file in question ('Validate by file upload' option) and click 'Validate':
    The '=' character cannot be included in a name. (723:10)
    <Terminal="Terminal">
    ^
    Googling 'xml validation' should give you some more tools / services if this one is not good enough.

  • 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 in dreamweaver

    hello?  this is really a bit of overkill for a simple question.  could someone please help with this?
    and while we're at it there's a fly i want to kill with a sledge hammer

    If by changing font-size you mean in your web pages, the answer is use CSS with values in px, em or %.
    body {font-size: 100%}
    p {font-size: 1em}
    h1 {font-size: 3em}
    h2 {font-size: 2.5em}
    h3 {font-size: 2em}
    h4 {font-size: 1.5em}
    and so on....

  • How to change font size in Notification center?

    Good day
    I purchased new monitor with BIG resolution an dfount what font in notification message from Notification Center stay very small
    I try to find place where possible change font siza but don't found anything
    Please help

    AFAIK there is no way to customize this font size. You can't resize the window either.
    You need to report it to Apple Feedback so it can be logged and put in the queue to be fixed.
    http://www.apple.com/feedback/macosx.html

  • How to change font size in check printing program in AP Invoice

    I would like to know how to change font size in check printing program in Oracle Payables Module for Invoice printing. We are using Oracle standard
    report to print check.
    Concurrent program short name : APXPBFEL
    Prt file : APLASP.prt
    I modified prt file for code 199 like below
    code "199" esc "(8U" esc "(s0p12.00h10.00v0s0b3T" esc "&k11.75H"
    Font size changed for last page only which prints checks, for Void pages its printed with default font. For Page 1 printed with default font and page 2 has reduced font. This change is not intiallized for all pages.
    Please let me know if you any of you know how to change fonts.
    Thanks,
    Anand

    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/

  • How to change font size

    Just purchased Deskjet 1010 & don't know how to change font size.

    hellinger
    Welcome to the HP Community Forum.
    In most cases you can adjust the scale of your documents before you print.
    Please take a look at the following:
    Manage Print Output with Print Preview
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • 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

  • Can i  change font  size  in  jasper  exported  Html  report

    how can i change font size in jasper exported Html report.
    i also want table in that html report.

    So when is it going to be possible, I ask, as this is a question I and many others ask after each update!

Maybe you are looking for

  • Error in invoking task query service-after customising Worklist application

    hi' I am getting error after trying to customize the Worklist application. IWorkflowServiceClient wfSvcClient =WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.SOAP_CLIENT); IWorkflowContext wfCtx = wfSvcClient.getTa

  • Iam using a MacBook Pro OSX10.6.8. Can i update to

    I am using an Mac Book Pro with Prcessor 2.33 Ghz intelcore 2 DUO / Memory 3 GB 667 Nhz DDR2 SDRAM  and i just today found that Apple stops supporting  OSX 10.6.8. Is it possibel to update  to  lion or Maverick?

  • Changing on the go play lists on ipod

    I currently have three on the go play lists on my ipod. I would like to delete them but can't find how to anywhere. I have successfully remove them from my i tunes. The users manual is not very specific on this topic. Please help. Thanks.

  • Inactivation of enhancement point

    dear friends,                    i have created two enhancement point in my program. i implemented both point separately. but now i want to inactivate one enhancement point. so could you tell me the right way for inactivate it. another question i wou

  • Missing ISO Output in Metadata Placard

    Opening an image from a Canon A710IS camera into Bridge CS3 fails to produce an ISO value in the Metadata Placard, yet the other parameters (shutter speed, aperature, white balance, exposure compensation) do register. In Preferences, the ISO Speed Ra