PDF Hover Tool Phase 2

Activating tool results in a small always-on-top popup window containing the following:

. Dropdown of map_indeces

. New Item button

. Label of current rectangle's (X,Y) coordinate (existing)

. Save button

Upon tool activation, tool should open and read a parameter file with the following:

. DB Host

. DB username

. DB password

. Default rectangle width

. Default width increment

. Default rectangle height

. Default height increment

tool should then open and read a MySQL database table map_index containing:

. Map Index

. Add Date


tool will populate a dropdown box with the map_index of available map_indexes. Dropdown should behave as if the most recently added map_index is selected by default, with an option to change map_index selected.

The last option of the dropdown will be "New". Selecting this option will prompt for confirmation: "Create a new copy of Map Index ?". Clicking OK will create a new map_index that is a copy of the desired map. This will insert a record into the map_index table of MAX(map_index)+1, with the current date. The tool will then copy all items of the currently displayed selection and insert them as new records into the rcon_map table, using the newly added map_index number.


When an index is selected, read table rcon_map containing the following:

. Page #

. RCON (item name)

. Page rotation (0 or 90)

. Ordering (int, unique to page, top left to bottom right)

. X coordinate of lower left of rectangle

. Y coordinate of lower left of rectangle

. width of rectangle

. height of rectangle (default 12)

Using the information in the rcon_map table, draw a graphical layout of light blue rectangles over the current PDF page.

. Display the associated RCON name at the center of each rectangle.

. Each rectangle should be selectable and draggable in the following ways:

. individually (click and drag)

. by drawing a selection rectangle around multiple objects

. ctrl-clicking individual rectangles to add them to a selection set.

. When a rectangle is selected:

. Dbl-clicking the rectangle will make its name editable

. pressing the right arrow, will increase its width by 1 width increment

. pressing the left arrow, will decrease its width by 1 width increment

. pressing the up arrow, will increase its height by 1 height increment

. pressing the down arrow, will decrease its height by 1 height increment

Once selected, moving the rectangle(s) will modify the X,Y coordinate in memory accordingly. Selected rectangles should assume a different color (perhaps gray) as to indicate they have been selected.

NOTE: If the page is rotated all height values become width values, etc. To the user, it should appear to work the same way, regardless of page orientation.


Works in tandem with the hover tool. When New Item button is clicked, tool will create a new rectangle at the X,Y coordinate of the currently hi-lighted text object, with dimensions equal to the default height and width.


Clicking the Save button will validate all rectangles have an item name. Any items without a name will hi-light and a messagebox will appear alerting the user. Once all rectangles are validated, tool will then write/update all modified rcon_map fields to the table. Newly created items will be inserted into the rcon_map table, assigning the PDF's page# and page rotation values. Advancing to the next page will prompt for a save, if any changes have been made.

Skills: C++ Programming, MySQL, PDF

See more: tool top hover pdf, int map, blue host, save pdf, mysql dropdown, moving center, map drawing, draw map, create editable pdf, mysql insert multiple records, insert multiple records, mysql multiple insert, mysql populate table, draw dimensions, object drawing, table draggable, text fields editable, editable mysql, read write update, mysql inserted, pdf memory, dropdown multiple fields, save orientation, user tool, mysql update values

About the Employer:
( 1 review ) Spring, United States

Project ID: #2529610

1 freelancer is bidding on average $250 for this job


Custom software development (<b><i>Removed by Admin</i></b>)

$250 USD in 1 day
(0 Reviews)