Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

css style "direction:rtl" not work #56

Open
arzoni1 opened this issue Jan 12, 2017 · 3 comments
Open

css style "direction:rtl" not work #56

arzoni1 opened this issue Jan 12, 2017 · 3 comments

Comments

@arzoni1
Copy link

arzoni1 commented Jan 12, 2017

css style "direction:rtl" not work. do you support this style?

@kbrown01
Copy link
Contributor

Please setup a simple example in a fiddle showing the issue and we will address it to your sample. I do not believe that it is mapped currently in the conversion as it is more complex than simple directionality especially if you are trying to override bidi choice,

@arzoni1
Copy link
Author

arzoni1 commented Jan 18, 2017

example code:
the id left to the name in the pdf file

<title>TODO supply a title</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
    <script src="xepOnline.jqPlugin.js"></script>
    <style>
        @media print {

#test{direction:rtl}
}

    </style>
</head>
<body><div style="direction: rtl" id="test">
      
        
       <table><tr><td>
                id</td>
                <td>
                    name
                </td>
            </tr></table>
            </div>
    <input> <button onclick="return xepOnline.Formatter.Format('test')"></button>

</body>

@arzoni1
Copy link
Author

arzoni1 commented Jan 18, 2017

sory, this code
example code:
the id left to the name in the pdf file

<title>TODO supply a title</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
    <script src="xepOnline.jqPlugin.js"></script>
    <style>
        @media print {

#test{direction:rtl}
}

    </style>
</head>
<body><div style="direction: rtl" id="test">
      
        
       <table><tr><td>
                id</td>
                <td>
                    name
                </td>
            </tr></table>
         <button onclick="return xepOnline.Formatter.Format('test')">convert to pdf</button>
            </div>
    

</body>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants