問題タブ [pdf-reactor]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
pdf-reactor - PDFreactor を使用してブラウザ DOM から PDF ドキュメントを作成できますか?
PDFreactor を Web サービスとして使用して、ブラウザーで実行されている JavaScript が REST API を使用して、ページ コンテンツを DOM から PDF に変換することができますか? このアプリケーションでは、ブラウザでレンダリングされるコンテンツは、ブラウザ側の JavaScript によってのみ生成されます (D3 ライブラリを使用)。ここでの要件は、(ボタンまたはメニュー アクションを介して) 現在レンダリングされているページ コンテンツからブラウザー エンドユーザーに「PDF にエクスポート」タイプのアクションを提供することです。目標は、Web サービスが PDF を生成できるように、REST API を介して現在の DOM から PDFreactor に要素を移動することです。これは PDFreactor の合理的な使用ですか?
前もって感謝します。
php - PDFReactor Cookie は HttpOnly ですか?
PHP からレンダリングされた Web ページに Cookie を渡そうとしています。
私の構成は次のとおりです。
$config = 配列(
しかし、document.cookie を介して Cookie にアクセスしようとすると、プロパティが空になります。
助言がありますか?
html-to-pdf - textarea の `text-indent`、`line-height` プロパティを結果の PDF ドキュメントに適用する方法は?
pdfreactor サーバーは適用されずtext-indent、line-heightテキスト領域のプロパティです。修正方法は?
<textarea style="height: 79px;width: 767px; text-indent: 63px; background-size: 100% 16px; line-height: 16px; left: 33px;top: 593px;font-size: 11px;font-family: Arial;background-image: none;background-color: white;color: black;">
This is a comment This is a comment This is a comment This is a comment This is a comment This is a comment This is a commentThis is a commentThis is a comment This is a comment This is a comment This is a commentThis is a commentThis is a comment This is a commentThis is a comment This is a comment This is a comment This is a commentThis is a commentThis is a comment This is a comment This is a comment This is a comment This is a comment This is a comment This is a comment This is a comment This is a comment This is a comment This is a comment This is a comment This is a comment This is a comment This is a commentThis is a comment This is a comment This is a comment This is a comment 123456789123
</textarea>
次の画像は、ブラウザとpdfでレンダリングする方法を示しています(pdfreactorを使用して変換した後)
上の画像(1.0)は、ブラウザでの表示方法を示しています。
上記(2.0)の画像は、pdfreactorを使用してPDFに変換した後のレンダリング方法を示しています
これらの画像は、上記の HTML スニペットを変換するときにテキスト領域の text-indent および line-height プロパティが適用されていないことを明確に示しています。pdfreactorで textarea のこれらのプロパティをレンダリングするソリューションはありますか?
pdf-reactor - PDFReactor Preview を使用している場合に PDFReactor のソースで JavaScript をデバッグする
PDFReactor のソース ドキュメントでいくつかの JavaScript を実行していますが、これは自明ではありません。JavaScript やデバッグ ツールからログを取得する方法が見つかりません。
私が見ていない方法はありますか?
リモートロギング/デバッグが機能するかどうかを確認するために xconsole.io と jsconsole を試しましたが、うまくいきませんでした

