View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Importation xlsx - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

Importation xlsx

More
23 Mai 2013 08:40 - 23 Mai 2013 10:47 #1 by LEVA
Importation xlsx was created by LEVA
Hi Babynus,

my work on the xlsx importation :

I used the following tool : XLSXReader

Warning: Spoiler!



And then I updated Importable.php :

Warning: Spoiler!


I tried to make it universal. import() uses importCSV() or imprtXSLX() to create an array $data and then uses it to import things.

Let me know what you think.



PS : those spoiler smileys are insane x)
PS2 :By the way I forgot to precise : I place the XLSXReader.php file in the external directory.
Last edit: 23 Mai 2013 10:47 by LEVA.
The following user(s) said Thank You: babynus

Please Connexion or Create an account to join the conversation.

More
23 Mai 2013 10:33 #2 by babynus
Replied by babynus on topic Re: Importation xlsx
Great !

I'll have a look asap, and try to include it in next version !

Thanks for your contribution.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
16 Jui 2013 22:46 #3 by babynus
Replied by babynus on topic Re: Importation xlsx
Hi LEVA,

Your contribution has been included in V3.4.0. B)

Many thanks for your great work :)

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
17 Jui 2013 08:25 #4 by LEVA
Replied by LEVA on topic Re: Importation xlsx
I hope it was not a big deal to adapt my work, I found some nasty mistakes afterwards ^^

Well I'm glad it was helpful ! ;)

Please Connexion or Create an account to join the conversation.

More
17 Jui 2013 20:10 #5 by babynus
Replied by babynus on topic Re: Importation xlsx

I found some nasty mistakes afterwards

I did not :sick:
Hope I did not miss anything.
If you have some fixings, please share !

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
12 Juil 2013 11:27 #6 by LEVA
Replied by LEVA on topic Importation xlsx
Hi Babynus, sorry for the delay.


I was thinking for example at :
if (count($fields) > count($title)) {
                        $line="";
                        foreach($fields as $field){
                            $line.=$field." ;; ";
                        }
                        self::$cptError+=1;
                        $htmlResult.= '<td colspan="' . count($title) . '" class="messageData" style="border:1px solid black;">';
                        $htmlResult.= $line;
                        $htmlResult.= '</td>';
                        $htmlResult.= '<td class="messageData" style="border:1px solid black;">';
                        $htmlResult.= '<div class="messageERROR" >ERROR : column count is incorrect</div>';
                        $htmlResult.= '</td>';
                        continue;
                    }


This part has nothing to do in import(), but must be in importCSV().

I dont remember any other bug.. and I hardly have time to go back on this..

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.050 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.