def get_user_Q_all(author, html=None):
    "authorを指定して、問題データの一覧リストを返す"
    userinfo = get_userinfo(author)
    if userinfo is None:
        root = qdata_key()
    else:
        root = userinfo.key
    query = Question.query( ancestor = root ).order(Question.qnum)
    #query = query.filter(Question.author == author )
    q = query.fetch()
    num = len(q)
    out = ""
    for i in q:
        if html is None:
            out += "Q%d SIZE %dX%d LINE_NUM %d (%s)\n" % (i.qnum, i.cols, i.rows, i.linenum, i.author)
        else:
            url = '/user/%s/Q/%d' % (author, i.qnum)
            out += '<a href="%s">Q%d SIZE %dX%d LINE_NUM %d (%s)</a><br />\n' % (url, i.qnum, i.cols, i.rows, i.linenum, i.author)
    return out