Varying number of columns within same text box
I am reposting this here as suggested. This has been submitted to the feature request. If you are also interested in this feature, please also submit it there.
here is original posting with replies:
http://www.adobeforums.com/webx?224@@[email protected]
One feature still missing (correct me if I am wrong) is to have number of columns applied to paragraphs not text boxes.
This is a constant hassal having to interupt the text box with a new text box and then another one after that just because you want a paragraph to be in muliple columns to save space for instance, or using some other work around like inline text boxes.
This is useful when trying to save space on a page, if you have short bullets, such as a list of items which if just left in a single column would leave a lot of white space to the right side of the column. Use this paragraph as an example. Pretend this is the lead in paragraph referring to the followng list. Include these items in your recycling:
-plastic bottles
-paper cups
-styrofoam
-tires
-fruit
-vegetables
-glass jars
-batteries
-cans
-drink boxes
-bones
-dairy products
-pet hair
-newspapers
-magazines
As you can see the list can get very long, and so breaking the list across a number of columns would really save space, as the bullets are just single words.
I have this situation everyday in the work I do and it is a real pain to have to redraw a new text box for each instance, and then another one to follow it.
And of course there is the whole headings that span multiple columns issue too.
I could forsee a feature where you would simply select the number of paragraphs and then change the number of columns. If it went to another page, then the number of comumns would still be applied as it is applied now to a text box.
Thanks for your suggestions, Eugene. That's what users helping users is all
about!
However, we build the document (a book with hundreds of pages)
automatically, importing and autoflowing tagged text. Manual intervention
doesn't meet the need.
It's silly that a title or introduction should have to be in a different
frame from the rest of the text, just because the title/intro is
single-column and the text is multi-column. Ventura Publisher supported
paragraphs spanning columns 20 years ago. Adobe, get with the times!
Darrel Eppler
Global Publishing Services
SIL International
Eugene Tyson
<[email protected]
> To
DARREL EPPLER
05/21/2009 03:18 <[email protected]>
AM cc
Subject
Please respond to varying
clearspace-118700 number of columns within same text
4112-1NVP-2-8iM2@ box
mail.forums.adobe
.com
If you need to make it go from 1 column into multiple columns in a layout
then it stands to reason that you also need the content to remain in the
multiple columns.
There are various ways to do this.
1. Using Tables: You can have as many columns and rows as you like. The con
about this is that tables cannot break over pages, so you have to manually
split the cell so that the content fits.
2. Use Tabs: This can be awkward if your text is already in a list format,
it involves cut and paste and isn't "that" easy to implement. If the text
is already in a layout format that suits then putting in tabs would work
fine. The advantage is that this can break easily over pages/columns etc.
It's flexible to adjust the spacing etc. But it can be awkward to setup,
especially if there is a long list that needs to be in 2 or columns...
so then you have this option:
3. Use an anchored text frame: If you cut the content from your text frame
and paste it into a new text frame: Then anchor the new text frame into the
layout. You can specify the amount of columns in the anchored text frame.
The frame will move with the text, but just like tables, they won't split
over pages.
I've used all 3 on many occasions depending on what scenario came up -
different layouts need different workarounds.
But they shouldn't be work arounds, it should be just select this text and
put it into x amount of columns, and it should all flow without having to
do much else.
Similar Messages
-
How do I change the number of columns within a text box? I need to go from 3 columns to 1. The insert column is highlighted and column break does not work for this.
Pages '09 does not seem to allow layout breaks in Textboxes.
Pages 5.2 has the same limitation.
Use multiple linked Textboxes in Pages '09 to get the layout you want or create your layout in a Word Processing template in the document layer.
Peter -
After placing a new text box in my document, typing new text, clicking away, then coming back to edit the text, I am unable to get my cursor to reappear within that text box. I can only select the box itself. I cannot select the text. Where is my cursor?
Even simpler than that.
Clicking once in a text box selects it.
Clicking once in a selected text box places the insertion point in the box.
The clicks do not need to be close enough in time to be read as a double click.
The same behaviour applies to table cells in Pages and in Numbers.
Regards,
Barry -
Can we create JTable with multiple rows with varying number of columns ?
Hi All,
I came across a very typical problem related to JTable. My requirement is that cells should be added dynamically to the JTable. I create a JTable with initial size of 1,7 (row, columns) size. Once the 7 columns are filled with data, a new row should be created. But the requirement is, the new row i.e. second row should have only one cell in it initially. The number of cells should increase dynamically as the data is entered. The table is automatically taking the size of its previous row when new row is added. I tried by using setColumnCount() to change the number of columns to '1' for the second row but the same is getting applied to the first row also.
So can you please help me out in this regard ? Is it possible to create a JTable of uneven size i.e. multiple rows with varying number of columns in each row ?
Thanks in Advance.Well a JTable is always going to paint the same number of columns for each row. Anything is possible if you want to rewrite the JTable UI to do this, but I wouldn't recommend it. (I certainly don't know how to do it).
A simpler solution might be to override the isCellEditable(...) method of JTable and prevent editing of column 2 until data in column 1 has been entered etc., etc. You may also want to provide a custom renderer that renderers the empty column differently, maybe with a grey color instead of a white color. -
How to create a table with varied number of columns?
I am trying to create a balance table. The colunms should include years between the start year and end year the user will input at run time. The rows will be the customers with outstanding balance in those years.
If the user input years 2000 and 2002, the table should have columns 2000, 2001, 2002. But if the user input 2000 and 2001, the table will only have columns 2000 and 2001.
Can I do it? How? Thanka a lot.Why did you create a new thread for this?
How to create a table with varied number of columns? -
How do I change text attributes within one text box in Motion 3?
I am trying to change text attributes within one text box in Motion 3, but am only able to change the font/size for the entire box. Is there a way to change the attributes to individual lines of text within a text box without creating an entirely new one or using the "Lower Third" text effect?
How do I create (two different) multiple colors, fonts, bold, italic, underline in one text box within Final Cut Studio Motion (FCP, FCS)Thank you! You saved me hours of tinkering around with multiple text boxes. It seemed like it should be something pretty elementary. It didn't help that I am not familiar with proper terminology, so thank you for defining glyph.
Cheers,
Owfownugi -
Table with varying number of columns
Hello experts,
my issue:
I need to print a table with varying number of columns. Depending on if all cells of a certain column are initial the
whole column should disappear. Hiding is not enough.
If this columns is in the middle of the table the following columns should move left to fill the gap.
my approach: (maybe there is an easier one)
There are 4 different possible situations. My approach was to create 4 different tables with different amount of
columns. In the interface I fill the table that is really needed from the source table data and fill a flag that characteristics
the situation, possible values (1,2,3,4).
In the form I'd like to print the appropriate table depending on the situations.
my problem:
How to place all 4 possible tables lying upon each other in the form and print only the needed one depending on the flag value?
my question:
Is my approach ok? Or is there an easier one?
If it is ok. How can I solve the problem regarding printing the right table.
Thanks in advance!
HeinzHi Heinz,
You can handle it with FormCalc Script at initialization.
Suppose you have a table with name TABLE having a header HEADER and data row DATA:
TABLE-->HEADER(Cell1...Cell2...Cell3...Cell4)
--->DATA(Cell1...Cell2...Cell3...Cell4)
Suppose you want to hide Cell3 for null values, then write below code at initialization of DATA:
if(DATA[*].Cell3.rawValue eq null)
then
DATA[*].Cell3.presence = "hidden"
HEADER.Cell3.presence = "hidden"
else
DATA[*].Cell3.presence = "visible"
HEADER.Cell3.presence = "visible"
endif
Hope it would help.
Regards,
Vaibhav -
When I try to download the Itunes for windows, I have received always the same text box: Itunessetup.exe is not a win32 valid? what does it mean, please? What can I do to solve it?
In the course of your troubleshooting to date have you worked through the following document?
iTunes: Windows reports that "iTunesSetup.exe is not a valid Win32 application" -
Is it possible to use a library color for text selected within a text box?
What I would like to do is be able to select a string of text within a text box and assign it a library color. Currently all you get is an audible "bong" if you highlight the text and try to select a color from the library. Likewise, if you select the text, then select the Character color palette, and then try to select the library color, it won't do it.
Attempted steps:
1. Select the text you would like to change the color for in a text box
2. Select the color in the Character window
3. Attempt to select the color from the library
I presume this simply hasn't been implemented yet but just want to make certain I am not missing something if there is a way to make this work the way that it seems it should.You can hold the left mouse button, click somewhere in your photo, drag the eyedropper over to the libraries panel, hover over the different swatches and you should see the colors change in the color picker.
When you find the color you want, release the mouse button. -
Alv report with varying number of columns
hi all,
I am new to abap. I am writing this to get a brief idea of what i wanted to do in system.
I have to do a report using alv. The format of the report looks like this.
acc no acc. name amt_sum_april amt_sum_may amt_sum_june. ............. total_months
the colum amt_sum_ depends on user input period(month interval).
if the user selects 4 to 6 = 3 columns ,if the user selects 4 to 10 = 7 columns
so on.......
Anyone have idea how to do it, because in the
initial structure or itab, the number of columns depends on the user input.. i am stucking here ...
pls help.
thanks and regards
joseHi friend,
It's very complicated to do that, I'm sure there's a way to do it but I really don't know it. Once I had a similar requirement and I did something else that solved my problem without making a fussy complicated code. I added a colum MONTH or PERIOD (depending on your requirement) and then I make a subtotal by that column. So you need:
acc no acc. name amt_sum_april amt_sum_may amt_sum_june. ............. total_months
Now you would have:
acc no acc. name month amount
In the SORT table, in the sorting condition by MONTH you specify SUBTOTAL = 'X'. So the output will be:
acc no acc. name month amount
123123 John 2 100.00
123124 Paul 2 200.00
Month 2 300.00
123123 John 3 300.00
123124 Paul 3 400.00
123125 Jane 3 100.00
Month 3 800.00
123123 John 4 123.54
Month 4 123.54
Total 1223.54
You can change the subtotal text for a more adequate one (if you want). Also if you only need the subtotals you can specify in the layout that only those lines are to be output.
I hope I've helped, I you have any question let me know!
Regards,
Pablo -
Coding - returning the number of characters in a text box.
I am in the process of creating a cell phone simulation/animation in Edge Animate CC for use in a Captivate course. Basically, when a user clicks on number buttons on the virtual keypad, it displays the numbers in a text box , just like an actual cell phone would display the phone number on the screen as a caller is dialing. So, the user would click seven buttons and a seven-digit phone number appears on the virtual phone screen. This part of my animation works great and all seven digits appear, but I would like to modify the code so that a hyphen appears after the third button clicked. This way, the output better resembles an actual phone number instead of just a string of seven digits.
Here is an example of the code I currently have assigned to the #2 button on the virtual keypad:
var text = sym.$("PhoneNum").html();
text = text + 2;
sym.$("PhoneNum").html(text);
PhoneNum is the name of my text box on the stage where the digits appear as each keypad button is clicked.
In order to incorporate the hyphen after the third button clicked, I need to somehow return the current number of characters in the PhoneNum text box, then create an if/else scenario that applies the hyphen after the third button clicked.
Does anyone know how I can use either JavaScript or jQuery to return the number of characters currently in the PhoneNum text box?No problem!
Basically the thing to remember is that unless you are needing to pass html to the object, you can use text() instead. text() also gives you the raw text without any html formatting (so you can assume what .html() would return) -
Search Results Are Highlighted Within The Text Box? How ? Access 2013
Hi Every one ,
Below I am describing some coding issue in VBA-MS Access I am facing right now , and I hope u guys could help me resolve the issues :
DB : MS access 2013 - RichTextBox In A Form -
Language : VBA
Problem In short : struggling to highlighting user search word within the search result query ..
What I want :
Helping to fix the second code shown below , the one I used to highlight ( reformat ) the text who's bound to a a field that store memo data type . code
My Result Search Query VBA COde ( Work perfectly )
strWhereToSearch = IIf(.framSearchIn.Value = 1, "[quknotSubject]", "[quknotBody] ")
strCondition = strWhereToSearch & " Like '* " & strTextSearch & " *' OR " & _
strWhereToSearch & " Like '" & strTextSearch & " *' OR " & _
strWhereToSearch & "Like '* " & strTextSearch & "'"
strSql = " Select * from qryExtraTool_QuickNoteSubCatMainCat "
strSql = strSql & " WHERE " & strCondition & " ORDER BY quknotDate"
The code that i am struggling to make it work for me to highlight the search word inside the textbox called .txtQuickNoteBody :
'Control Source for the text box to display matches.
Const strcTagStart = "<font color=""""red"""">"
Const strcTagEnd = "</font>"
strControlSource = "=IIf(" & strField & " Is Null, Null, " & _
"Replace(" & strField & ", """ & strSearchValue & """, """ & _
strcTagStart & strSearchValue & strcTagEnd & """))
.txtQuickNoteBody.ControlSource = strControlSource
Thank u all in advance .Thank u so Bruce , I finally found an answer to my question.
The solution u provided looks complete except that i am confused by the meaning of strField , may i didnt provide more details in my post .
The strField var i provided earlier was not meant to be placed in my code , the correct one is shown below .However , the strField means according to me is the field against which the search operation should take place based on the ( search Term )
the user provided .
Here is the code after applying the solution u suggested :
'Information collected from the user
strWhereToSearch = IIf(.framSearchIn.Value = 1, "[quknotSubject]", "[quknotBody] ")
strCondition = strWhereToSearch & " Like '* " & strTextSearch & " *' OR " & _
strWhereToSearch & " Like '" & strTextSearch & " *' OR " & _
strWhereToSearch & "Like '* " & strTextSearch & "'"
'Fill result search Recordset
strSql = " Select * from qryExtraTool_QuickNoteSubCatMainCat "
strSql = strSql & " WHERE " & strCondition & " ORDER BY quknotDate"
'Control Source for the text box to display matches. ( Highlight the search word )
txtQuickNoteBody = SearchHilight(strWhereToSearch, strTextSearch)
Tell me if my implementation to your code is right ?
Thank u again Bruce ... -
Addind text in a new line within a text box
Hi everyone,
I have a classic text box component that i am using inside
director. I want to show some text inside this text box in such a
way that it should come in. For example I am adding "Item 1" ,
"item 2", " item 3" then every item should be placed in new line.
I tried using new line symbol ( \ ) it but it didn't worked.
set member("textbox").text = "Item 1 " & \ & " item
2" & "Item 3" ---------> this gave me error
Please suggest how to do this thing.
Thanks
Atul SaxenaHi Atul,
Try using 'RETURN'
set member("textbox").text = "Item 1 " & RETURN & "
item 2" & RETURN &
"Item 3" --------->
Tim
"Atul Saxena" <[email protected]> wrote in
message
news:envfet$dpt$[email protected]..
> Hi everyone,
> I have a classic text box component that i am using
inside director. I
> want to
> show some text inside this text box in such a way that
it should come in.
> For
> example I am adding "Item 1" , "item 2", " item 3" then
every item should
> be
> placed in new line.
>
> I tried using new line symbol ( \ ) it but it didn't
worked.
> set member("textbox").text = "Item 1 " & \ & "
item 2" & "Item
> 3" --------->
> this gave me error
>
> Please suggest how to do this thing.
>
> Thanks
> Atul Saxena
> -
Varying number of columns in ALV report
Hi Experts,
I have N lines (only 1 column) in itab, now i want to generate a list with N no of columns showing these N values of itab. means column in report may vary depending on the content in itab. its urgent
Regards
NikhilThis is the code..
TABLES : ekpo,MAKT, t001w.
TYPE-POOLS: slis.
DATA : thread LIKE thead.
DATA : l_index LIKE sy-tabix.
DATA : p_index TYPE n.
DATA: BEGIN OF INT_OUT OCCURS 0,
MATNR LIKE MAKT-MATNR,
MAKTX LIKE MAKT-MAKTX,
TDLINE1 LIKE TLINE-TDLINE,
TDLINE2 LIKE TLINE-TDLINE,
TDLINE3 LIKE TLINE-TDLINE,
TDLINE4 LIKE TLINE-TDLINE,
TDLINE5 LIKE TLINE-TDLINE,
TDLINE6 LIKE TLINE-TDLINE,
TDLINE7 LIKE TLINE-TDLINE,
TDLINE8 LIKE TLINE-TDLINE,
TDLINE9 LIKE TLINE-TDLINE,
TDLINE10 LIKE TLINE-TDLINE,
WERKS LIKE EKPO-WERKS,
END OF INT_OUT.
DATA: BEGIN OF INT_OUT_new OCCURS 0,
MATNR LIKE MAKT-MATNR,
MAKTX LIKE MAKT-MAKTX,
TDLINE1 LIKE TLINE-TDLINE,
TDLINE2 LIKE TLINE-TDLINE,
TDLINE3 LIKE TLINE-TDLINE,
TDLINE4 LIKE TLINE-TDLINE,
TDLINE5 LIKE TLINE-TDLINE,
TDLINE6 LIKE TLINE-TDLINE,
TDLINE7 LIKE TLINE-TDLINE,
TDLINE8 LIKE TLINE-TDLINE,
TDLINE9 LIKE TLINE-TDLINE,
TDLINE10 LIKE TLINE-TDLINE,
tline like tline occurs 0,
WERKS LIKE EKPO-WERKS,
END OF INT_OUT_new.
DATA: it_tlines LIKE tline OCCURS 10 WITH HEADER LINE.
****ALV list definintion
DATA: ws_cat TYPE slis_fieldcat_alv ,
int_fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
DATA: g_container TYPE scrfname VALUE 'BCALV_GRID_DEMO_0100_CONT1',
g_custom_container TYPE REF TO cl_gui_custom_container.
DATA : it_heading TYPE slis_t_listheader WITH HEADER LINE.
*DATA : it_fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
DATA : lay TYPE slis_layout_alv.
DATA : it_sort_subtotal TYPE slis_t_sortinfo_alv WITH HEADER LINE.
DATA : it_event TYPE slis_t_event WITH HEADER LINE.
DATA: v_repid LIKE sy-repid.
DATA : v_fieldname LIKE int_fcat-fieldname.
FIELD-SYMBOLS: <fs> TYPE ANY.
*selection-screen
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: S_WERKS FOR EKPO-WERKS OBLIGATORY .
SELECT-OPTIONS: S_MATNR FOR MAKT-MATNR OBLIGATORY .
SELECTION-SCREEN END OF BLOCK b1.
*SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002 .
*PARAMETERS : r1 RADIOBUTTON GROUP g1 DEFAULT 'X' .
*PARAMETERS : r2 RADIOBUTTON GROUP g1 .
*PARAMETERS : r3 RADIOBUTTON GROUP g1 .
*SELECTION-SCREEN END OF BLOCK b2.
INITIALIZATION.
AT SELECTION-SCREEN.
SELECT SINGLE * FROM t001w WHERE werks IN S_WERKS.
IF sy-subrc NE 0.
MESSAGE e001(319) WITH 'Plant does not Exist!'.
ENDIF.
SELECT SINGLE * FROM makt WHERE matnr IN s_matnr.
IF sy-subrc <> 0.
MESSAGE e001(319) WITH 'Material does not Exist!'.
ENDIF.
START-OF-SELECTION.
BREAK-POINT.
PERFORM get_data.
PERFORM field_catalog.
PERFORM display_data.
END-OF-SELECTION.
*FORM GET_DATA.
form get_data.
DATA: l_index LIKE sy-tabix.
*To Fetch Data From Makt.
SELECT b~werks a~MATNR a~MAKTX
INTO CORRESPONDING FIELDS OF TABLE int_out
FROM MAKT AS a INNER JOIN marc AS b ON a~matnr = b~matnr
WHERE a~MATNR IN S_MATNR
AND b~werks IN S_WERKS.
LOOP AT int_out.
l_index = sy-tabix.
read table int_out_new with key matnr = int_out-matnr.
int_out_new-werks = int_out-werks.
int_out_new-matnr = int_out-matnr.
int_out_new-maktx = int_out-maktx.
thread-tdname = int_out-matnr.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'BEST'
language = sy-langu
name = thread-tdname
object = 'MATERIAL'
TABLES
lines = it_tlines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
*Loop on it_tlines where long text is coming .
loop at it_tlines.
IF sy-subrc = 0.
p_index = sy-tabix.
concatenate 'int_out_new-tdline' p_index into v_fieldname.
condense v_fieldname.
v_fieldname = it_tlines-tdline.
endloop.
ENDLOOP. -
Increasing the number of columns on a text file generated by report builder
Hello otn,
I have a report with more than 37 colomns, when I generated this report to a text file I only have 30 cols. displayed on my test file???
is there any way to have my 36 cols. on the text file??
thank u in advanceHi again,
I tested DESFORMAT but it doesn't work as I wanted, I did something else that is more efficient, as I wanted to have a text file from a view,table,..., I used write block from F60UTIL librairy with forms builder and it works fine now 100%, I'm writing this maybe it could help some one with the same needs...
Thank u
Maybe you are looking for
-
How to Open & Close the periods in Asset Accounting for Depreciation.
Dear All, How to to How to Open & Close the periods in Asset Accounting for Depreciation ? Please let me know If there is any T.Code or procedure for it. Your help is highly appreciated. Thanks & Regards, Pankaj.
-
Have problem with emi 6/2m tiger ibook
the last drive on homepage emagic crash down with tiger on my ibook. if you have the same problem please maybe help me?
-
I selected a song to play on my iPod, and it froze. It said the song was playing, but no sound was coming out and the progress bar was at 0. I tried turning it off, and now when I turn it back on I see the Apple logo followed by a folder icon with an
-
I down loaded breaking dawn 1 a;nd 2 and the voice is not in sync with picture.
-
I would like to have vector charts in my PDF, so that their quality doesn't change when zoomed. How do I create such charts?