Saturday, January 14, 2017

Discuss Apache POI Word

This tutorial provides a basic understanding of Apache POI library and its features. Here we will learn how to read, write, and manage MS-Word documents using Java programs.

Apache POI PPT - Installation

This chapter takes you through the process of setting up Apache POI on Windows and Linux based systems. Apache POI can easily be installed and integrated with your current Java environment, following a few simple steps without any complex setup procedures. User administration is required for installation.

Apache POI PPT - Classes and Methods

In this chapter, we will learn about a few classes and methods under Apache POI API that are crucial to work on PPT files using Java programs.

Apache POI PPT - Slide Layouts

In the previous chapter, you have seen how to create empty slides and how to add slides to it. In this chapter, you will learn how to get the list of available slides, and how to create a slide with different layouts.

Apache POI PPT - Slide Management

After completing this chapter, you will be able to delete, reorder, and perform read and write operations on a slide.

Changing a Slide

Apache POI PPT - Images

In this chapter, you will learn how to add an image to a PPT and how to read an image from it.

Adding Image

Apache POI PPT - Creating Hyperlinks

In this chapter you will learn how to create hyperlinks in a presentation.

Creating Hyperlinks

You can read the hyperlinks in a presentation using the createHyperlink() method of the XSLFTextRun class. Follow the procedure given below to create a hyperlink in a presentation.

Apache POI PPT - Reading Shapes

You can get a count of the number of shapes used in a presentation using the method getShapeName() of the XSLFShape class. Given below is the program to read the shapes from a presentation:

Apache POI PPT - Formatting Text

The text in a presentation can be formatted using the methods of the XSLFTextRun class. For that, you have to create an XSLFTextRun class object by selecting one of the slide layouts as shown below:
//create the empty presentation 
XMLSlideShow ppt = new XMLSlideShow();

Apache POI PPT - Merging

You can merge multiple presentations using the importContent() method of the XMLSlideShow class. Given below is the complete program to merge two presentations:

Apache POI PPT - PPT to Image

You can convert a presentation to an image file. The following program shows how to go about it.
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

Apache POI PPT - Quick Guide

Apache POI PPT - Overview

Many a time, a software application is required to generate reports in Microsoft Office file format. Sometimes, an application is even expected to receive MS- Office files as input data.
Any Java programmer who wants to produce MS Office files as output must use a predefined and read-only API to do so.

Apache POI PPT - Useful Resources

The following resources contain additional information on Apache POI PPT. Please use them to get more in-depth knowledge on this topic.

Discuss Apache POI PPT

Apache POI is an API that allows to create, modify and display Microsoft Office files. This open source library is developed and distributed by Apache Software Foundation.
This tutorial provides a basic understanding of Apache POI library for MS Power Point and its features.


Apache POI PPT - Presentation

Generally, we use MS-PowerPoint to create presentations. Now let us see how to create presentations using Java. After completion of this chapter, you will be able to create new MS-PowerPoint presentations and open existing PPTs with your Java program.

Apache POI PPT - Classes and Methods

In this chapter, we will learn about a few classes and methods under Apache POI API that are crucial to work on PPT files using Java programs.

Apache POI PPT - Installation

This chapter takes you through the process of setting up Apache POI on Windows and Linux based systems. Apache POI can easily be installed and integrated with your current Java environment, following a few simple steps without any complex setup procedures. User administration is required for installation.

Flavors of Java PPT API

This chapter takes you through some of the flavors of Java PowerPoint API and their features. There are many vendors who provide Java PPT related APIs; some of them are considered in this chapter.

Ant - Executing Java code

You can use Ant to execute Java code. In the following example, the java class takes in an argument (administrator's email address) and sends out an email.

Ant - Deploying Applications

In the previous chapter, we have learnt how to package an application and deploy it to a folder.
In this chapter, we are going to deploy the web application directly to the application server deploy folder, then we are going to add a few Ant targets to start and stop the services. Let us continue with the Hello World fax web application. This is a continuation of the previous chapter, the new components are highlighted in bold.

Ant - Packaging Applications

We have learnt the different aspects of Ant using the Hello World Fax web application in bits and pieces.
Now it is time to put everything together to create a full and complete build.xml file. Consider build.properties and build.xml files as follows:

Ant - Creating WAR files

Creating WAR files with Ant is extremely simple, and very similar to the creating JAR files task. After all, WAR file, like JAR file is just another ZIP file.

Ant - Creating JAR files

The next logical step after compiling your java source files, is to build the java archive, i.e., the JAR file. Creating JAR files with Ant is quite easy with the jar task. The commonly used attributes of the jar task are as follows:

Ant - Build Documentation

Documentation is a must in any project. Documentation plays a great role in the maintenance of a project. Java makes documentation easier by the use of the in-built javadoc tool. Ant makes it even easier by generating the documentation on demand.

Ant - Building Projects

Now that we have learnt about the data types in Ant, it is time to put that knowledge into action. We will build a project in this chapter. The aim of this chapter is to build an Ant file that compiles the java classes and places them in the WEB-INF\classes folder.
Consider the following project structure:

Ant - Data Types

Ant provides a number of predefined data types. Do not confuse the term "data types" with those that are available in the programming language, instead consider them as a set of services that are built into the product already.

Discuss Apache Ant

Apache Ant is a Java based build tool from Apache Software Foundation. Apache Ant's build files are written in XML and they take advantage of being open standard, portable and easy to understand.
This tutorial should show you how to use Apache ANT to automate the build and deployment process in simple and easy steps. After completing this tutorial, you should find yourself at a moderate level of expertise in using Apache Ant from where you may take yourself to next levels.


Ant - Useful Resources

The following resources contain additional information on Apache ANT. Please use them to get more in-depth knowledge on this.

Ant - Quick Guide

ANT stands for Another Neat Tool. It is a Java-based build tool from Apache. Before going into the details of Apache Ant, let us first understand why we need a build tool in the first place.

Ant - Extending Ant

Ant comes with a predefined set of tasks, however you can create your own tasks, as shown in the example below.
Custom Ant Tasks should extend the org.apache.tools.ant.Task class and should extend the execute() method. Below is a simple example:

Ant - JUnit Integration

JUnit is the commonly used unit testing framework for Java-based developments. It is easy to use and easy to extend. There are a number of JUnit extensions available. If you are unfamiliar with JUnit, you should download it from www.junit.org and read its manual.

Ant - Eclipse Integration

If you have downloaded and installed Eclipse already, you have very little to do to get started. Eclipse comes pre bundled with the Ant plugin, ready to use.
Follow the simple steps, to integrate Ant into Eclipse.

Ant - Property Task

Ant build files are written in XML, which does not allow declaring variables as you do in your favorite programming language. However, as you may have imagined, it would be useful if Ant allowed declaring variables such as project name, project source directory, etc.

Ant - Build Files

Typically, Ant's build file, called build.xml should reside in the base directory of the project. However there is no restriction on the file name or its location. You are free to use other file names or save the build file in some other location.

Ant - Environment Setup

Apache Ant Ant is distributed under the Apache Software License, a fully-fledged open source license certified by the open source initiative.

Ant - Introduction

ANT stands for Another Neat Tool. It is a Java-based build tool from Apache. Before going into the details of Apache Ant, let us first understand why we need a build tool in the first place.

Create Your Ultimate 2016 Freelance Success Plan (For Newbies and Pros)

Are you ready to earn a heck of a lot more from your writing in 2016? Good!
You might think it would be impossible for me to write a single post that tells every freelance writer out there how to find better clients and get paid more in the coming year…but that’s exactly what I’ve got for you.

7 Reasons You Have More Writing Clips Than You Think

Here’s a common lament I hear from freelance writers:
“I don’t have any writing samples! What should I do to get clips for my portfolio?”
Well, wait just a minute there. Because often, when I ask more questions, I find out you’ve got clips.
You just don’t think you have any.

How One Freelance Writer Made $11K in Her First Two Months

When I decided to take the leap and leave my corporate communications job for a full-time freelance writing career, I knew I’d make most of my money writing for businesses. So I spent entire days creating a spreadsheet of hundreds of potential clients to pitch.

How Freelance Article Writers Can Find Facts Fast — And Make Sure They’re True

The strongest magazine articles usually include data from a reliable source to back up the points you’re making. Without solid information, your article doesn’t come off as credible.

Why Super-Short Articles Can Build a Big Writing Career

Writing short can be refreshing — like ice in your underwear.
It’s also a practical way to build a writing career.

Readers’ 2015 Picks: Most Useful Posts for Freelance Writers & Bloggers

Need a shot of freelance writing knowledge to start the New Year off right? I’ve got it for you right here — our annual list of the most popular new posts that went up this year here on Make a Living Writing!
That’s right, many of the all-time most populars you see over in the sidebar from past years are out of the running for this fresh list.

Is Freelance Writing a Sure Thing? Scam Alert

Do you think freelance writing is a sure thing?
If so, there’s a newly minted online writing ‘expert’ who’d love to take your money.
You may have heard that if something seems to be too good to be true, it probably is.

How One Freelance Writer Found a $3,000 Gig — On Twitter

I thought Twitter was dead. I had pretty much abandoned it for the bright colors and changing landscape of Instagram. I mean, Instagram pretty much has a built-in Snapchat feature and allows for way more than 140 characters. So what else do you need? Certainly not Twitter.

What IS Freelance Writing? Answers to the Awkward Newbie Questions

I post a lot of tips here on Make a Living Writing for writers looking to earn more. But recently, a look at my Google Analytics revealed a surprising phrase writers commonly search on:
“What is freelance writing?”

6 Basic Steps to Score Your First Freelance Writing Gig

The biggest problem I faced as a new freelance writer was wondering when I’d ever feel ready to make the leap to marketing myself effectively, and getting that first freelance writing gig.

Young Writers: Earn Big With These Vital Mindset Changes

I quit my corporate job in February 2015 with $300 in the bank. I had no idea what I wanted to do besides make a living writing. I was 25 years old, and a total newbie in the writing world. There wasn’t a lot of demand for young writers, I thought.

How to Become a Freelance Writer: My Best Resources

Every day, writers email me and ask how to become a freelance writer. Where is the door that you go through where you can start earning a living as a freelance writer?
Well, I’ve created a door.

21 Ways to Market Your Writing Services

In my mentoring work, I often find myself introducing my mentees to a basic fact of life for freelance writers: If you want to earn more, you’re going to need to market your business aggressively. Answering Craigslist or Kijiji ads is unlikely to get you $1 a word or $100 an hour gigs. To find really good-paying work, you will have to prospect.

The Critical Networking Step Many Writers Miss

It’s confession time. This past week, I made a tragic error.
I washed a pair of my husband’s pants.
No, I do laundry around here. It’s not that.

10 Reasons Why You’re Bombing in Social Media

Social media — is it getting you gigs? If not, let’s take a look at some possible reasons. Social media takes a pretty substantial time investment, so if you’re putting in the time, it darn well better bring you some real business. Or you should send direct-mail letters instead.

7 Networking Tips for Cowards

Does the idea of going to a live networking event make your stomach queasy and your palms greasy? We’re going to solve that problem right here, with some tips on how you can use in-person networking to grow your writing business, even if you’re petrified of meeting people face-to-face, hate crowds, or have full-on social anxiety.

How to Get the Most Lucrative Writing Clients, Part II: 5 Ways to Connect

Last week, I discussed how to identify really great-paying clients. Now that we know the shape of the elephant, let’s discuss how to locate and bag that big game.
Here are some of the techniques I’ve used in the past year to connect with clients that pay $1-$2 a word, $100 an hour, and more:

GUEST POST: Five New Realities for the Beginning Freelance Writer

By John White
The freelance writing life, as my colleague Jim Schott points out, is “a hard way to make an easy living.”
I often quote him because freelance writing does seem like a hard way to make a living (easy or not), especially if you’ve never spent time around people who are in business for themselves.

Market Your Writing 40 Kick-Ass Ways — Learn How in One Hour

How do you market your writing? Some freelance writers might use a few different methods — maybe you’ve sent a query or two, used social media, and hit a networking event. Or maybe you don’t do any active marketing at all.

How a Writer Can Move Up From Content Mills — Mailbag

On this edition of Mailbag, we tackle a question I get a lot: How can a freelance writer kick the content-mill habit and move up to better-paying clients?
On the recent post about Demand Studios’ IPO, reader Mike Biscoe was concerned about the revelation that DS doesn’t make a profit, which puts them at risk for going bust. An excerpt of his comments and questions:

Help! I Bungled a Writing-Client Meeting — Mailbag

Today, I’m reaching into my freelance-writer mailbag and answering a question I got from a participant in my recent 40 Ways to Market Your Writing webinar. Oscar emailed me after the session and told me he’d recently plunged into freelance writing after being laid off.

Two Easy-Fun Ways Freelance Writers Can Find Great Clients

One of the questions freelance writers ask me most is, “How can I find better-paying clients?” Another one is “Where are all the good-paying clients hiding?” A third one is, “Why can’t I find any good-paying clients?”
I’m sensing a theme here, that people want to know more about how to connect with great clients.

How One Writer Grew Her Pay — and Left Demand Studios Behind

By Tiffany Jansen
I used to write for content mills. I know I should be ashamed of myself, but I’m not.
Working for Demand Studios taught me a lot: sticking to a word count, following guidelines, writing on a deadline, working with editors and, most importantly, that I could earn money writing.

4 Great Ways to Find Local Writing Clients

It’s a big, wide world of freelance writing out there in our shiny 21st Century. Global, even. I’ve had clients in Australia, the U.K., Canada, and states all over the U.S.

Marketing 101 for Freelance Writers #4: How to Get Great Clients in 60 Seconds

Ever been tongue-tied at a networking event?
Somebody asked, “And what do you do?”
And you said, “I’m a freelance writer.”
So far so good.

4 Random Ways One Freelance Writer Networked and Found New Clients

By Elizabeth Pagel-Hogan
If you’re a writer for whom the word “network” has only one meaning — and that’s when your connection to the server goes down — you’re missing out on some great opportunities to find clients.

Marketing 101 for Freelance Writers #17: How to Earn More Just From Schmoozing

In last week’s installment of Marketing 101, we learned that the most effective way to do nearly any form of marketing is to get a personal introduction to the editor or marketing manager you want to hire you.
Do you know the best way to get more of those personal connections? You need to get out and meet people. Ideally, in person.
Before you start up, I know — you’re shy. You hate parties.
Think of it this way:  You’re going to earn more money just by standing around shooting the breeze with people. Just like those people there on the right, in the picture. There will often be drinks and snacks involved.
That doesn’t look like agony, now does it?
You can do this. And you really want to, because people who do in-person networking, are usually the ones who earn more. It’s just that simple.
Why? The connections you make when you meet people face-to-face are way deeper than those of those Twitter followers you’ve got. Those personal connections will open doors for you and grease those marketing wheels for you, making everything happen easier and faster.
Need a crash course in how to network? Here are the basics:

5 Rules for Networking Success

  1. Know what you’re looking for. Be ready to answer questions about who your ideal client is. People will want to help you, but they can’t if they don’t know what sort of referrals you want.
  2. Have a “me” speech. You should have a short, 90-second speech ready that describes the type of writing you do and are looking for. Practice saying it with a friend until it feels conversational and comfortable.
  3. Ask about them. Writers say they hate networking because they don’t like talking about themselves. But really, you don’t have to say much. Everyone else would love to tell you all about what they do. Ask about their ideal client and how you could help.
  4. Have fun. Smile!  You’re out of your cave and out in the big city having a drink. Project confidence, faking it if necessary. Nobody wants to stay in touch with people who sound desperate and broke.
  5. Follow up. The real networking begins after you go home from the event. You’ve met people — now it’s time to take that stack of business cards and cement those relationships. Connect in social media to stay in touch, send them relevant articles, send them job leads. Meet interesting people for coffee. Keep the conversation going.
Hopefully, I’ve sold you that in-person networking will not kill you, is actually fun when done right, and should be an important part of your marketing effort to grow your writing income.
Once you’ve got that in your head, the next question is where to network. There are many choices.

7 Good Places to Network

  1. Casual networking. Chat up those other moms and dads while you’re watching that soccer game. Do they have a business? Who do they work for that might use freelance copywriters?
  2. Business groups. Check out your local chamber or business association — some are pricey to join while others are quite affordable. Many put on occasional open-house events you can crash. My local chamber puts on a variety of events every month, from casual after-hours get-togethers to sit-down luncheons.
  3. Regional or national events. Hitting a big-time event such as SXSW, BlogWorld, or SOBCON can give you a chance to meet many people at once, and to meet more big guns in your target industry. Yes, it can be a major financial investment to fly to one of these — but my experience has been that if you work this opportunity, you will grow your business many times more than the cost of that plane ticket and hotel.
  4. Pro networking groups. BNI is one of the best-known in this category, and I believe the most expensive. Advantage here: You will be the only freelance writer in the group — they only allow one person per occupation in each local chapter.
  5. Social media in person. My local Linked:Seattle group, for instance, routinely sees more than 500 people turn up at its live events. This is a great way to make deeper connections with those tweeps you hang with online.
  6. Writers groups. You might be staying away because you think these events will just be a bunch of sad, desperate, starving writers crying into their cheap glasses of chardonnay… but it’s not like that. Growing your network of other writers who know your talents can put you in their downline for referrals when those writers get leads they don’t have time for or that aren’t their speed. They’re also great to know for reality-checking prices and snooping around about whether that prospective new client is a nightmare. I’ve gotten several great clients through attending MediaBistro events.
  7. Skype calls. I like to book at least one Skype call a week with someone who might help my business in some way. If you don’t live near a major city, this can be a great way to build connections when it’s hard to appear in person. The phone-company people used to say this, but Skype really is the next best thing to being there.
Which type of networking will be best for you? You won’t know until you get out there, experiment, and meet people.

How to Land Great Clients (Even if Networking Scares the Beejus Out of You)

by Rebecca Sylvester
You’ve read that making connections is the way to make more freelance income NOW.
You know you could land high-paying gigs if you just had the courage to promote yourself.

How to Win the Freelance Writing Game

Trying to make it as a freelance writer can feel a lot like trying to play a very complicated game — one where no one tells you the rules.
Well, today, I get out the freelance-writing game box, open it up, unfold the instruction sheet and lay it out for you.

How to Break Through the Barriers That Hold Writers Back

I needed to get out of the library, but the door was blocked. And I’m claustrophobic.
My kids were acting up and I really needed to get them out of there, increasing my sense of panic.

The Writer’s Instant Cure for Feeling Stuck

Ever found yourself scribbling story ideas down as you’re driving away from your house to go on vacation?
That happens to me every time.

The Question That Doubled My Freelance Writing Income

It was 2009, and I was at one of my first in-person networking meetings, hoping to scare up some new freelance writing clients.
As the economy went down, nearly every editor I worked for either got laid off or the publication folded altogether.

How to Find a Freelance Writing Gig: Here are the Options

Finding clients — especially good ones — seems to be the mysterious part of the freelance writing life.
People don’t write me asking, “How can I learn to write competently, so I can be a freelance writer?”
Instead, they ask questions like this one I got yesterday:

How Not to Network — A Guide for the Pushy and Clueless

Growing your network can be a great way to find more and better clients as a freelance writer.
But it’s come to my attention recently that not everybody understands how to do that.
There is some basic etiquette to know when it comes to connecting with brand-new people and getting them interested in helping you.

5 Sound Bite Mistakes That Will Lose You Freelance Clients

By Susan Harrow
When you’re asked how your freelance writing services help clients, do you have a ready answer?
Here’s why you need one (and not just for going to a networking meeting or taking a prospect’s Skype call).
In this new age of media 2.0, the media is more often searching for experts when they have the need rather than poring over hundreds of useless press releases that don’t have information that is relevant for their audience.

8 Important Questions to Ask Before You Publish Your Book

Right now, I feel like I’m drowning.
I’m in the final frenzy of preparing for the launch week of my new print business book, The Pocket Small Business Owner’s Guide to Starting Your Business on a Shoestring.

How to HALT the Crazy and Be a Productive Writer Again

Do you sometimes feel like life just won’t let you write?
The kids are screaming. You’re juggling responsibilities with job, family, maybe even caring for parents or other relatives.

How to Get Freelance Clients Without Doing a Darn Thing

By Tiffany Jansen
I was a brand-new full-time freelance writer. I had the passion. I had the drive. I had the skills.
I did not have the clients.

5 Steps to Take Your Freelance Writing Biz to the Next Level

By Kristen Hicks
You know you’re a good writer.
You meet deadlines, craft compelling copy with perfect grammar, and always behave professionally.
So why are you still struggling to find work?

How I Found 488 Red-Hot Freelance Writing Prospects

By Ayelet Weisz
What is the most urgent need for every new freelance writer? Clients.
And finding them isn’t always easy.

3 Simple Ways to Find Better-Paying Freelance Writing Jobs

Do you feel like it’s a pipe dream to make a living as a freelance writer?
I hear a lot of comments like this from writers who are about ready to give up on their writing dreams.
They write me to say:

The Laid-Back Method That Grows Your Freelance Business

By Daryl George
Have you ever labored over writing the perfect guest post or pitch, only to be greeted by silence or rejection?

5 Ways Freelance Writers Can Earn More Without Marketing

Hands up, writers — who loves to do marketing and reach out to new prospects?
Yeah. I thought so.

4 Reasons Why Grammar Police Make Terrible Writers

by Linda Formichelli
The other day I received this email in response to a marketing message I sent out to my subscription list:
Basic grammar forbids the use of double negatives, “…using the wrong
set of skills for the wrong job”. An authority on writing must master
the rules of writing before they can be taken seriously.

WordPress - Media Setting

In this chapter, we will study about Media Settings in WordPress. It is used to set the height and width of the images which you're going to use on your website.
Step (1) − Click on Settings →

Changing Blogger post URL How to change the blog post URL in Blogger

If you are about to publish a new post then you can change the blog post URL easily without any additional steps.