How to convert each line in a multi-line paragraph to one separate paragraph
hi friends
imagine in a word 2013 document, we have this one paragraph :
i want each line in this paragraph have a bullet point, but the problem is when i select these four lines & click on bullet point button, only first line will have bullet point.
i do know that i can press enter after each line so that each line be converted to a separate paragraph but need a method or trick so that i select the entire paragraph & by clicking on something, it be divided to 4 paragraphs at once.
i googled for "converting one paragraph to multiple" but didn't find any helpful stuff
thanks in advanced
I suspect the suggestion you've got from Hans is as elegant as you're going to get.
Personally I tend to opt for making the first line into a bullet, then at the end of the line hit return (you'll get a bulleted empty line and your second line of text bulleted), then press Delete to pull the second line of text back up into its original
place (while keeping the bullet). Repeat that for each line until they all have their bullet points, while remaining in their original format (eg without a massive space between each of them).
But that's only because I hadn't seen Hans' method before! :-)
hi Keith
thanks for solution. when there are lots of line, as you know better than me, an automated method is better
Similar Messages
-
How to execute each block in a multi-block canvas while select the tab?
Hi All,
How to execute each block in a multi-block canvas by selecting a tab? I mean to say when i select a particular tab in a tab canvas the records should execute.How can i set this?
ArifHi Arif
Good Example Manu offered i wish it works if not pls try the following...
Pls try in the when-tab-page-changed trigger in the form level
DECLARE
tp_name varchar2(30);
BEGIN
-- Retrieve the NAME of the top most tab page using the built-in GET_CANVAS_PROPERTY function.
--Pass in the name of the Canvas your tabs are in and the system variable topmost_tab_page which stores a property number
tp_name := GET_CANVAS_PROPERTY('CANVAS11',topmost_tab_page);
-- Perform specific tasks based on the name of the top most tab
IF tp_name = 'PAGE12' then
GO_BLOCK('block_name');
GO_ITEM('DATA_BLOCK_1.FIELD_1');
EXECUTE_QUERY;
ELSIF tp_name = 'PAGE38' then
GO_BLOCK('block_name');
GO_ITEM('DATA_BLOCK_2.FIELD_1');
EXECUTE_QUERY;
ELSIF tp_name = 'PAGE47' then
GO_BLOCK('block_name');
GO_ITEM('DATA_BLOCK_3.FIELD_1');
EXECUTE_QUERY;
END IF;
END;
Hope it helps...
Note: i do agree with Craig
Regards,
Abdetu...
Edited by: Abdetu on Feb 2, 2011 7:41 AM -
I am running TS 3.5 and LV 8.2.1. I want to know how long each line is taking to run. Is there a way to set up a global pre/post condition that would create time stamps? I would then be able to perhaps grab some identifying property of the step and log this property and the delta-time to an output or file...etc.
I would be very grateful for any help or suggestions.
Many thanks!The time information you're looking for should already be in the ResultList»TS»Sequence Call»ResultList»TS Variable. I've attached a screenshot of this. Let me know if this is the kind of information you are looking for.
Regards,
Steven Zittrower
Applications Engineer
National Instruments
http://www.ni.com/support
Message Edited by StevieZ on 04-03-2009 11:34 AM
Attachments:
seq.png 53 KB -
How to set each line without gap??
Hello!!
Could any one help me in setting the records in each line without gap while printing? Right now, each record gets printed with one gap inbetween. I dont want the gap, rather I want to print the records in those gap so that the page usuage will be less, otherwise double usage.
Regards
Mittocheck the Vertical Elasticity of your repeating frame and your fields. If you set it as Variable, it will not use the fixed space like it does now. Play with it and see how it works out for you.
-
How to convert from line chart data to CSV format
Hi ,
I am using Flex 3 and AS.
I am getting data from MS SQL and display the data as line
chart this is ok.
But i want to convert this line chart data to CSV or .xsl
format.I find one example in fourms the from data grid to CSV
For this URL is
http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/datagriddataexporter.php
But i want Line chart to CSV.Please help me.Line chart is a just a visual representation of some data
that's sitting in your database. Isn't it? You load this in Flex,
probably using HTTPService class, and pass it to some chart object.
Now when use says that she needs it in CSV format, you're
gonna have to send another request to the server to produce the
same data, convert into CSV or XLS format and let user download it.
Of course, if use doesn't want to download, you don't have to
go to the server, at least for CSV format. You can convert the same
data that used plot the chart to convert to CSV.
Am I missing something here?
ATTA -
Hi All,
I have to Get Each line item Create and Approval dates for a SHOPPING CART in SAP SRM. Either a table, or any Function module, Method, please let me know ASAP. Same i can use in my Program.
Thank you Very much.
Regards,
Ramesh J.Hi,
Refer the below wiki link it may help you.
Product catlog configuration for ECC - CRM - SCN Wiki -
Save each page of a multi-page document as a separate file using spawned file names with javascript
Hello
We are currently changing our hard-copy personnel files and converting them to pdf files. We have scanned the entire file into one multi-page document.
I am wanting to save each page (or groups of pages) as separate files.
In order to facilitate this, I have duplicated field names--such as FirstName, LastName, EmpNo on each page. This information should be static for the entire file.
However--I also need information that will change for each individual "page" or document--such as TypeOfDoc, Date, etc. I have used the Spawn fields using the overlay method on each of the pages in the document. Then I went in and filled in the information for each page of the document--such as TypeOfDoc, DateOfDoc.
Now I want to save each page of the document as a separate file using the field names as the file name.
I first created an action that would split all the pages into separate files and save them into a folder.
Then I want to save each file as a specific file name based on the information in the fields.
My problem is obtaining the name of the spawned field name. The rest of the field names I am not having a problem with.
This is what I have so far to name the file.
// Get the field value
var oPage = this.pageNum;
var fn = getField("P" + oPage + ".TEMPLATE.DateOfDoc").valueAsString + getField("FirstName").valueAsString + "-" + getField("LastName").valueAsString;
// Specify the folder
var fldr = "/n/Personnel/ScannedDocuments/NAMEDPAAS/";
// Determine the full path
var fp = fldr + fn +".pdf";
// Save the file
myTrustedSpecialTaskFunc(this, fp);
This code is also accompanied with folder level scripts.
My problem is obtaining the name of the spawned fields using javascript. Each document has several pages--so I would like to obtain the field name through script.
I receive the following error.
TypeError: getField("P" + oPage + ".TEMPLATE.DATE") is null
I think this is due to the fact that I have extracted all the pages as individual files.
If I were to do the above, but not extract the pages first--I do not know how to just save one page at a time.
Please help. This is a massive project, and if we have to save each file individually, it will take a lot of time.
I am a beginner, so any assistance is appreciated.
Thank youI am not understanding exactly where to put the curly brackets. I have tried two different ways, and still get the same error.
This is one way
var oPage = this.pageNum;
// Specify the folder
var fldr = "/n/Personnel/ScannedDocuments/NAMEDPAAS/";
// Determine the full path
var fp = fldr + fn +".pdf";
for (var i = 0; i < this.numPages; i++)
var fn = getField("P" + oPage + ".template.DateOfDoc").valueAsString + getField("FirstName").valueAsString + "-" + getField("LastName").valueAsString;
{this.extractPages({
nStart: i,
cPath : fldr + fn + ".pdf"
The other is this
var oPage = this.pageNum;
// Specify the folder
var fldr = "/n/Personnel/ScannedDocuments/NAMEDPAAS/";
// Determine the full path
var fp = fldr + fn +".pdf";
for (var i = 0; i < this.numPages; i++)
var fn = getField("P" + oPage + ".template.DateOfDoc").valueAsString + getField("FirstName").valueAsString + "-" + getField("LastName").valueAsString;
this.extractPages({
nStart: i,
cPath : fldr + fn + ".pdf"
Thank you for your help. -
How to convert FCP subtitles created in Text to EXPORT as one .stl file for broadcaster
I created about 300 subtitles in Text, one version for English and one for German, that included narration and on-screen dialog, for a one-hour film I produced. An exported QT file creates a burned-in subtitle. However, the European distributor wants the film without subtitles and wants the subtitles as a .stl file (with the TimeCode for start and end of each subtitle text), one for English and one for German. I can create a QT file without subtitles. But I could not find a way to convert the FCP text into a file.
a. In FCP, I see no option to export to create an .stl file. How does one go about making the .stl file?
b. Some software I found like Subtitle Extractor creates an .stl file from an existing track in DVDSP's subtitle tracks, like S1 or S2, etc. I also see no such option in DVDSP to export to create an .stl file. Does this mean I would need to re-write all the subtitles in FCP into DVDSP? This means re-writing over 600 subtitles from FCP to DVDSP! This will take months. Any faster and effective solution? DVDSP is a solution only if this Subtitle Extractor software works! Any feedback on this? I tried to run a quick test in DVDSP but no .stl file was created and it resulted in an error.
c. I need to identify which subtitles are narration, and indentify the person speaking the dialog for the .stl file. Do I do this on the stl file or FCP (assuming there is a way to convert the FCP work)?
Using FCP 7.0.3, Mac OSX 10.6.8, 3.06 GHz Intel Core 2 Duo, 4GB Mhz, 500 GB driveI've worked with title exchange pro and I thought it was great. The software author was very helpful when I had a probllem. I used it in a different way (converting a pre existing stl file into a subtitle track in fcp - a series of text clips with the appropriate timings and placement that I could copy into a sequence - to proof subtitles created by a service before using for a digital cinema print), but I'm pretty sure it'll do what you want.
http://www.spherico.com/filmtools/TitleExchange/ -
How to convert 2 or more Excel files as tables in One Application
Hi
I have created one application according to apex demo using excel spreedsheet in which copying data is converted to table then when run application form and reports are produced.
Now i created file in a similar way but it is taking only one sheet as a table in one application. So How to add few other pages from spreedsheet converting to a table and run in the same application.
Also i have a workspace created in html.oracle.com in that when i want to upload excel file or copy data from excel i am getting error as......
ORA-20001: create_table error: ORA-20001: Excel load run ddl error: ORA-01658: unable to create INITIAL extent for segment in tablespace FLOW_6868
Can anybody help me? Thank in Advance!!!!
Tnx
VijayaAlso i have a workspace created in html.oracle.com in that when i want to upload excel file or copy data from excel i am getting error as......
ORA-20001: create_table error: ORA-20001: Excel load run ddl error: ORA-01658: unable to create INITIAL extent for segment in tablespace FLOW_6868Looks like the data you're trying to load will exceed your workspace quota (2MB small, 5MB medium). Try loading fewer rows. -
How to convert to LV 7 user library to LV 2010 one?
Hi,
I received a LV 7 user library for a Bristol Wavemeter. I dropped it into the user.lib folder of LV 2010. I opened LV 2010 and could see the icon for the driver but the subfolders were all 'question mark' icons. Dragging any one of them to a programming page did nothing.
I tried to follow the instruction to convert the user library to an instrument driver but failed.
I appreciate for any helps.
Regards.
FangHello,
Dennis is correct. Per the compatibility chart I list below, there should be no problem opening the library in 2010. You may also want to mass compile the directory which I list a link to the LV documentation below as well.
How Do I Add an Instrument Driver or a Custom SubVI to the Functions Palette?
http://digital.ni.com/public.nsf/allkb/1D0D514BC3852BFD8625685F007BC976?OpenDocument
Mass Compile Dialog Box
http://zone.ni.com/reference/en-XX/help/371361G-01/lvdialog/mass_compile_db/
How to Upgrade or Revert a VI to a Different Version of LabVIEW
http://zone.ni.com/devzone/cda/tut/p/id/8387
Regards,
Patricia B.
National Instruments
Applications Engineer -
How to compare each item in a Stack with the next one??
I am trying to compare each string value with the next one in a stack.
I think I am doing something wrong when I store the poped string in a temp?
Object is:
-----to read in a stack and compare each element. We are looking for an "adj" next to a" NP*".
-----if we find a "adj" next to a "NP*" then we need to remove the "adj" and push the "NP*" on a new stack.
-----if we find something other than an "adj" next to a "NP*" then we just need to push that item on the new stack
we continue through the stack until it is empty.
-----once we have checked the entire stack for "adj" next to "NP*" and changed them all, we need to send the new stack back to the method for another test.
-----this time we are looking for a "det" next to a "NP*"
-----if we find
---------remove the "det" and change the "NP*" to "NP"
there are more test after that one but, if I can get here I think I can get through the rest.
In all this is a grammar checking program, checking for correct english.
thanks for the help, my mind feels like mush a new perspective will help,
steven
Here is what I have so far:
public void structureCheck(Stack s, int wordCount, boolean inOrder)throws EmptyStackException{
Stack orderStack = new Stack();
int parseCount =0;
boolean display = false;
int count = 0;
if(inOrder == false){
for(int i=0; i<wordCount;i++){
String temp = ""+s.pop();
if(temp.equals("n")){
temp = "NP*";
orderStack.push(temp);
parseCount++;
structureCheck(orderStack,parseCount,true);
if(inOrder == true){
parseCount= wordCount;
System.out.println("parseCount "+parseCount);
for (Enumeration e = s.elements(); e.hasMoreElements();){
for(int i=0; i<parseCount; i++){
String temp = ""+s.pop();
String temp2= ""+s.pop();
String temp3= ""+s.pop();
System.out.println("temp "+temp+" count "+count);
/*temp = temp;
System.out.println("temp2 "+temp+" count "+count);
temp = temp;
System.out.println("temp3 "+temp+" count "+count);*/
count++;
if((temp.equals("adj") & temp2.equals("adj") & temp3.equals("NP*"))){
System.out.println("temp "+temp+" temp2 "+temp2+" temp3 "+temp3);
temp="NP";
orderStack.push(temp3);
parseCount++;
/*else{
orderStack.push(temp3);
parseCount++;
//structureCheck(orderStack,parseCount,false);
System.out.println("parseCount= "+parseCount+" inOrderStack= "+orderStack);
}This code is different from yours. For one thing, the first part, where inOrder is false, is not included because you did not post what behavior that is supposed to perform. The code below does what you posted...it puts some Strings into a Stack, then parses the Stack. If adj is followed by NP* then adj is removed. Then the new Stack is parsed to find det followed by NP*, and det is removed while NP* is changed to NP.
import java.util.Stack;
import java.util.Vector;
public class Test {
public static void main(String[] args) {
Stack stack=new Stack();
Stack stack2=new Stack();
String[] s={"no","adj","NP*","adj","not","NP*","adj","NP*","dumb","det","NP*"};
for(int i=s.length-1;i>-1;i--) stack.push(s);
stack=structureCheck(stack,"adj","NP*","NP*");
for(int i=stack.size()-1;i>-1;i--)
System.out.println(stack.elementAt(i));
System.out.println();
stack=structureCheck(stack,"det","NP*","NP");
for(int i=stack.size()-1;i>-1;i--)
System.out.println(stack.elementAt(i));
public static Stack structureCheck(Stack s,String tofind,String tomatch,String tochangeto) {
Stack orderStack = new Stack();
for(int i=0;i<s.size();i++) {
String str=(String) s.elementAt(i);
if(i<s.size()-1 && str.equals(tomatch) && ((String) s.elementAt(i+1)).equals(tofind)) {
i++;
orderStack.add(tochangeto);
} else
orderStack.add(str);
return orderStack; -
How would you read in each line of data and display them to message box?
How would you read in each line of data from the _.txt file_ and display the whole data using an information-type message box?
I know how to display each line of the .txt file data, but I do not know how to display the whole thing.
Here is how I did to display each line of data using the message box:
import javax.swing.JOptionPane; // Needed for the JOptionPane class
import java.io.*; // Needed for file classes
public class problem3
public static void main(String[] args) throws IOException
String filename; // Needed to read the file
String categories; // Needed to read the categories
// Get the filename.
filename = JOptionPane.showInputDialog("Enter the filname.");
// Open the file.
FileReader freader = new FileReader(filename);
BufferedReader inputFile = new BufferedReader(freader);
// Read the categories from the file.
categories = inputFile.readLine();
// If a category was read, display it and
// read the remainig categories.
while(categories != null)
// Display the last category read.
JOptionPane.showMessageDialog(categories);
// Read the next category.
categories = inputFile.readLine();
// Close the file.
inputFile.close();
}I think I need to change here:
// If a category was read, display it and
// read the remainig categories.
while(categories != null)
// Display the last category read.
JOptionPane.showMessageDialog(categories);
// Read the next category.
categories = inputFile.readLine();
}but I don't know how to.
Could you please help me?
Thank you.kyorochan wrote:
jverd wrote:
What is not understood about your question is which part of "read a bunch of lines and display them in a textbox" do you not understand.
First thing's first though: You do recognize that "read a bunch of lines and display them in a textbox" has a few distinct and completely independent parts, right?I'm sorry. I'm not good at English, so I do not understand what you said...
What I was trying to say is "How to display the whole lines of .txt file in single dialog box."We know that.
Do you understand that any problem can be broken down into smaller pieces?
Do you understand that your problem has the following pieces?
1. Read lines from the file.
2. Put the lines together into one String.
3. Put the String into the message box.
and maybe
4. Make sure the message box contents are split into lines exactly as the file was.
(You didn't make it clear if that last one is a requirement.)
Do you understand that 1-4 are completely independent problems and can be solved separately from each other?
Do you understand that you have stated that you already know how to do 1 and 3?
Therefore, you are NOT asking "How to display the whole lines of .txt file in single dialog box." Rather, you ARE asking either #2 or #4 or both.
If you say once more "display all the lines of the file in one dialog box," then it is clear that we are unable to communicate with you and we cannot help you. -
Two idocs of same type for each line item
I am new to SAP PI and seeking your help in the following scenario
legacy -> SAP PI -> branched to two idocs in ECC
The scenario is that a fixed length flat file coming from Legacy wil contain some line items but each line will be a separate invoice ..the twist . since it is a financial posting each invoice(line) has to be posted twice in the same IDOC but different logics which implies that for each line in the file there will be two IDOCS created in ECC of the same type, where one would be the AR posting and the other would be the AP posting
How can i make this happen without BPM ??
I have referred to a blog 1 : n possible in PI without BPM but here it is a combination of 1:n and also splitting of the line and posting it to two IDOCS simultaneously
since the transformation logics are different will I have to create two mappings but how and where to use them ??
Can I please have someone help me with the steps in ESR ad ID
Kindly help
Thanks
RohanThanks Prateek i have done that but
" Map the occurrence of line items to the node Idoc at the target structue and then multiple idocs will be created "
is what iam unable to do
In the mapping i have to create two idocs per line item and this is creating just one
my source structure is like this
MT_abc 1.1
Invoices 1..unbounded
field 1
field 2 etc
and the target is
ACC_DOCUMENT02 1..1
IDOC 1.unbounded
and i have mapped invoices to IDOC
now for testing in the test tab of mapping
how do i test if i will have two IDOC if i get one line item ??
Edited by: RohanS on Jun 18, 2009 2:06 PM
Edited by: RohanS on Jun 18, 2009 2:08 PM -
Convert a line read from text file into string
how to convert a line from text file into string?
i know how to convert to numbers,
private int parseLine1(String line) {
StringTokenizer tokenizer = new StringTokenizer(line);
value1 = Integer.valueOf(tokenizer.nextToken()).intValue();
value2 = Integer.valueOf(tokenizer.nextToken()).intValue();
return value1;
}but what about charactrs?ok, here is my problem, i have a file with a bunch of Xs in it but position function doesn't return a correct value, what's going wrong?
private int positioni(){
int i=0;
int j=0;
int b=0;
String line="";
while(line!= null){
for(int a=0; a<line.length(); a++){
if(line.charAt(a)=='X'){
i=a;}
b++;
j=b;
t=line.length();
line=read(gridFileN);
return i;
private String read(String ggridFileN){
TextStreamReader ggridFile = new TextStreamReader(ggridFileN);
return ggridFile.readLine(); -
White border boxes on each line/image
On every single page of my WebHelp/CHM file, there are white
borders around each line/paragraph image. We use a slight blue as
our background color, and I cannot find where to turn these off. It
is NOT in the .css, it is NOT in the background color/image/skin. I
have noticed that when I go to Format > Styles > Format (drop
down) > Borders and Shading, the "Box" border is turned on. No
matter how many times I click the top one (None), it goes back to
Box. I even took a .css from another document that's not doing
this, yet this is still happening. It basically looks like a zebra
or a kid's notebook where every other line stands out. Help?No, as I said in my original post, it's the output that looks
awful. At this point, the answers were not coming, so I went
through and on every single page of the guide, changed the .css to
"None" and by hand, re-did every single style on every single page.
That took 4+ hours, but it worked.
Maybe you are looking for
-
LOV in the Query Panel is not Working
Hi Everyone, I dont see the LOV working in the Query Panel but it works in the table region, I am able to open the LOV and search some value and when i say ok it wont return any value... Do anyone have idea on that? Thanks
-
SMARTFORMS: Protect certain area ...
Hi, Problem: I want to protect a certain aerea of the form, which includes windows, boxes etc.. It should be printed after the main-window is finished (Property I have set and works fine). BUT the protected area should only be printed, if all the ite
-
Finding LDAP server names by DNS lookup.
Hi, I'm very new with JNDI and DNS We are hardcoding the ldap server name in our configuration to connect to the Active directory, but the requirement is to know the ldap server name dynmaically by querying the DNS server. The input given to us are b
-
BR bakup failes with usrname/password error.
Hello SAP experts, I am facing a below issue while running a DB backup using BRBACKUP tool. ====================================================================================== BR051I BRBACKUP 6.20 (136) BR055I Start of database backup: bedrfxej.an
-
I have a multitude of plug-ins for After Effects CS4. As my plug-in list grew they seemed to be neatly organized in the drop down effect menu. Now that I have installed some additional plug-ins, like ( Factory-Tools) a lot of my originally neatly org