How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
Windows Ram Disk Device Driver
By MarkUK on Jul 12
Max Bid: Open to fair suggestions


Simulation of online auction web service using age ...
By paok-thanos4a on Jul 12
Max Bid: $200


PHP - WYSWYG Editor (snippetmaster clone)
By Portal Designs on Jul 12
Max Bid: Open to fair suggestions


System Cleaner
By Endemix on Jul 12
Max Bid: Open to fair suggestions


MFC Application
By lwinkenb on Jul 12
Max Bid: Open to fair suggestions


problem in VB with custom cursors
By jkoder59 on Jul 12
Max Bid: $25


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(144 open)
   Access 
(56 open)
   MySQL 
(79 open)
   Oracle 
(10 open)
   SQL Server 
(49 open)
   Other DB 
(19 open)
Documentation / Tech Writing 
(16 open)
Data Entry 
(20 open)
Game Development 
(26 open)
Graphics / Art / Music 
(53 open)
   Graphics 
(60 open)
     Adobe AfterEffects 
(1 open)
     Adobe Photoshop 
(18 open)
     Adobe Premiere 
(4 open)
     3d Animation 
(15 open)
   Art (Misc.) 
(19 open)
   Music 
(11 open)
   3d Modeling 
(12 open)
Language Specific 
(91 open)
   ASP 
(59 open)
   ASP .NET 
(38 open)
   C# 
(37 open)
   C++ / C 
(109 open)
   Carbon (Mac OS) 
(1 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(13 open)
   Delphi 
(25 open)
   Java 
(62 open)
   JSP 
(8 open)
   Perl 
(42 open)
   PHP 
(87 open)
   XML/XSL 
(30 open)
   Visual Basic 
(146 open)
   Visual Basic .Net 
(57 open)
   Other 
(52 open)
Misc 
(28 open)
   CAD 
(3 open)
MultiMedia 
(41 open)
   Video Editing 
(6 open)
Network 
(40 open)
   Network Design 
(12 open)
   Network Implementation 
(12 open)
Platforms 
(72 open)
   Windows 
(173 open)
     MS Exchange 
(5 open)
     MS Office 
(14 open)
     Other 
(14 open)
   Darwin 
(1 open)
   Internet Browser 
(45 open)
   Linux 
(57 open)
   UNIX 
(27 open)
   Hand Held/PDA Programming 
(9 open)
Requirements 
(12 open)
Security 
(30 open)
Testing / Quality Assurance 
(17 open)
Web 
(148 open)
   Page Design 
(82 open)
   Flash 
(45 open)
   Web Services 
(71 open)
   Web (Other) 
(69 open)
Training 
(10 open)
   Computer Based 
(10 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Insert Table into RTF Document From C++
Bid Request Id: 426
Bookmark in my 'To Do' list
Posted by: Mark Henri (0 ratings)
Non-action Ratio: Very Good - 0.00%
Buyer Security Verifications: Unverified
Approved on: Jun 15, 2001
4:18:21 PM EDT
Bidding Closes: Jul 29, 2001
4:18:21 PM EDT
Viewed (by coders): 259 times
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Unknown
Bidding Type: Open Auction
Categories: Language Specific, C++ / C
Enter chat room for this bid request
(0 active users at Jul 12, 2003 10:08:21 AM EDT)

Description:
I've written a windows application in MS Visual C++ that does text substitution on an RTF document. Currently it replaces constants such as ~101 with name, ~102 with address, ~115 with amount owed etc. This is fairly simple. I need to be able to insert a two column table in the middle of the the document that contains bulleted lists in each column in the same way.


Deliverables:
details
In the middle of the document is an escape code like '~200' that needs to be replaced with a computer generated two column table with bulleted lists in each column. The contents of the table varies with each print of the document and is derived from a database query. If the user selects 2 column and enters data as AddItem( string, 0 ), the lists should be self balancing. That is, if six strings were entered, the result is three bulleted items on each side.

Here's the class design--

class RTFTable {
public:
   RTFTable();
   RTFTable( RTFTable& ) { assert(0);} // don't allow copy
   ~RTFTable();
   enum { AUTO, EXPLICIT };
   void SetColumns( int numberColumns ); // 1 or 2 only
   void Balancing( int balancing=RTFTable::AUTO );
   void AddItem( const char* s, int nColumn=0 ); // 0=auto, 1=col 1, 2=col 2
   const char* GetRTFString() { return _strString.c_ptr(); }
private:
   string _rtfString;
   // other variables such as lists etc. to
   // support the class.  I prefer template
   // containers rather than user implemented
   // list structures if possible.  The use
   // of auto_ptr is also strongly encouraged
   // but may not be necessary.
};
</pre>

Here's an example of how I'll use this class-- 


   // create the object that holds the resulting RTF
   // table and bulleted list
   RTFTable rtf;
   rtf.SetColumns( 2 );
   rtf.Balancing( AUTO );
   // open the database and loop through record sets
   while ( more_records )
   {
      string line = recordset.GetField( "line" );
      rtf.AddItem( line.c_ptr() );
   }
   originalRTFDocument.Replace( "~200", rtf.GetRTFString() );
   originalRTFDocument >> outFile;
</pre>

Here's a sample application that does what I want in HTML-- <a href="http://members.home.net/markhenri/byterite/specs/sample.html">click here</a>



Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
amit dey
(20 ratings)
in Bangalore, Karnataka
India
Bid id: 4,305
 
$30 (USD) Jun 17, 2001
9:13:13 PM EDT
 9.5
(Excellent)
   
Will provide you code for writing tables.
Code is in vc++ project.
Pl.contact me for details.
 




Quick Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Anuj Gakhar
Rated a 9.97 on 102 jobs 
Securenext
Rated a 9.96 on 109 jobs 
Buddies
Rated a 9.82 on 80 jobs 
Andrei Remenchuk
Rated a 10 on 13 jobs 
Codman
Rated a 9.97 on 149 jobs 
Michael Sharp
Rated a 9.97 on 181 jobs 
D-N-S
Rated a 9.93 on 37 jobs 
markesh
Rated a 10 on 22 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
Tometa Software, Inc.
Rated a 10 on 10 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.